r17337 - in /desktop/unstable/control-center/debian: changelog patches/03_a11y_logout.patch

joss at users.alioth.debian.org joss at users.alioth.debian.org
Fri Oct 24 19:38:22 UTC 2008


Author: joss
Date: Fri Oct 24 19:38:22 2008
New Revision: 17337

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=17337
Log:
03_a11y_logout.patch: use gnome-panel-logout for logout when 
available.

Added:
    desktop/unstable/control-center/debian/patches/03_a11y_logout.patch
Modified:
    desktop/unstable/control-center/debian/changelog

Modified: desktop/unstable/control-center/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/control-center/debian/changelog?rev=17337&op=diff
==============================================================================
--- desktop/unstable/control-center/debian/changelog (original)
+++ desktop/unstable/control-center/debian/changelog Fri Oct 24 19:38:22 2008
@@ -1,3 +1,10 @@
+control-center (1:2.22.2.1-3) UNRELEASED; urgency=low
+
+  * 03_a11y_logout.patch: use gnome-panel-logout for logout when 
+    available.
+
+ -- Josselin Mouette <joss at debian.org>  Fri, 24 Oct 2008 21:41:03 +0200
+
 control-center (1:2.22.2.1-2) unstable; urgency=low
 
   * 02_xklavier_utf8.patch: patch from upstream to accommodate the UTF8

Added: desktop/unstable/control-center/debian/patches/03_a11y_logout.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/control-center/debian/patches/03_a11y_logout.patch?rev=17337&op=file
==============================================================================
--- desktop/unstable/control-center/debian/patches/03_a11y_logout.patch (added)
+++ desktop/unstable/control-center/debian/patches/03_a11y_logout.patch Fri Oct 24 19:38:22 2008
@@ -1,0 +1,17 @@
+--- capplets/accessibility/at-properties/main.c.orig	2008-10-24 21:32:11.628329507 +0200
++++ capplets/accessibility/at-properties/main.c	2008-10-24 21:39:59.927826441 +0200
+@@ -85,8 +85,12 @@
+ 
+ 			gtk_main_quit ();
+ 		}
+-		gnome_client_request_save (client, GNOME_SAVE_GLOBAL, TRUE,
+-					   GNOME_INTERACT_ANY, FALSE, TRUE);
++		const gchar *const argv[] = { "gnome-panel-logout", NULL };
++		if (!g_spawn_async (NULL, (gchar **) argv, NULL, G_SPAWN_SEARCH_PATH,
++		                    NULL, NULL, NULL, NULL)) {
++			gnome_client_request_save (client, GNOME_SAVE_GLOBAL, TRUE,
++			                           GNOME_INTERACT_ANY, FALSE, TRUE);
++		}
+ 	}
+ }
+ 




More information about the pkg-gnome-commits mailing list