diff options
author | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
commit | dee9f17b595ea903a982d31d1124b302bb17e2ff (patch) | |
tree | 295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/awn-extras-applets/cairo-menu-upower.patch | |
parent | 380530d02a5449fdef97b63b394a6743c3de0092 (diff) |
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/awn-extras-applets/cairo-menu-upower.patch')
-rw-r--r-- | community/awn-extras-applets/cairo-menu-upower.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/community/awn-extras-applets/cairo-menu-upower.patch b/community/awn-extras-applets/cairo-menu-upower.patch deleted file mode 100644 index 08e79a68d..000000000 --- a/community/awn-extras-applets/cairo-menu-upower.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -Naur awn-extras-0.4.0.orig/applets/maintained/cairo-menu/gnome-menu-builder.c awn-extras-0.4.0/applets/maintained/cairo-menu/gnome-menu-builder.c ---- awn-extras-0.4.0.orig/applets/maintained/cairo-menu/gnome-menu-builder.c 2010-04-10 01:26:19.000000000 +0200 -+++ awn-extras-0.4.0/applets/maintained/cairo-menu/gnome-menu-builder.c 2012-12-29 05:46:45.971364855 +0100 -@@ -104,7 +104,7 @@ - - if (have_gnome_session_manager) - { -- add_special_item (menu,_("Logout"),"gnome-logout","gnome-session-save","--logout-dialog --gui"); -+ add_special_item (menu,_("Logout"),"gnome-logout","gnome-session-quit","--logout"); - } - else if (dbus_service_exists ("org.xfce.SessionManager") ) - { -@@ -121,35 +121,13 @@ - { - add_special_item (menu,_("Lock Screen"),"system-lock-screen","xscreensaver-command","-lock"); - } -- if (dbus_service_exists ("org.freedesktop.PowerManagement")) -- { -- if (!add_special_item (menu,_("Suspend"),"gnome-session-suspend","gnome-power-cmd","suspend")) -- { -- add_special_item (menu,_("Suspend"),"gnome-session-suspend","dbus-send","--session --dest=org.freedesktop.PowerManagement --type=method_call --print-reply --reply-timeout=2000 /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.Suspend"); -- } -- -- if (!add_special_item (menu,_("Hibernate"),"gnome-session-hibernate","gnome-power-cmd","hibernate")) -- { -- add_special_item (menu,_("Hibernate"),"gnome-session-hibernate","dbus-send","--session --dest=org.freedesktop.PowerManagement --type=method_call --print-reply --reply-timeout=2000 /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.Hibernate"); -- } - -- } -- else if (dbus_service_exists ("org.gnome.PowerManagement")) -- { -- if (!add_special_item (menu,_("Suspend"),"gnome-session-suspend","gnome-power-cmd","suspend")) -- { -- -- } -- -- if (!add_special_item (menu,_("Hibernate"),"gnome-session-hibernate","gnome-power-cmd","hibernate")) -- { -+ add_special_item (menu,_("Suspend"),"gnome-session-suspend","dbus-send","--system --dest=org.freedesktop.UPower --type=method_call --print-reply --reply-timeout=2000 /org/freedesktop/UPower org.freedesktop.UPower.Suspend"); -+ add_special_item (menu,_("Hibernate"),"gnome-session-hibernate","dbus-send","--system --dest=org.freedesktop.UPower --type=method_call --print-reply --reply-timeout=2000 /org/freedesktop/UPower org.freedesktop.UPower.Hibernate"); - -- } -- } -- - if (have_gnome_session_manager) - { -- add_special_item (menu,_("Shutdown"),"gnome-logout","gnome-session-save","--shutdown-dialog --gui"); -+ add_special_item (menu,_("Shutdown"),"gnome-shutdown","gnome-session-quit","--power-off"); - } - gtk_widget_show_all (menu); - return FALSE; |