rpms/gnome-panel/devel logout-focus.patch, NONE, 1.1 gnome-panel.spec, 1.252, 1.253

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Sun Feb 3 06:54:35 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gnome-panel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6002

Modified Files:
	gnome-panel.spec 
Added Files:
	logout-focus.patch 
Log Message:
Ensure the logout dialog gets focus


logout-focus.patch:

--- NEW FILE logout-focus.patch ---
diff -up gnome-panel-2.21.90/gnome-panel/panel-logout.c.logout-focus gnome-panel-2.21.90/gnome-panel/panel-logout.c
--- gnome-panel-2.21.90/gnome-panel/panel-logout.c.logout-focus	2008-02-03 01:48:13.000000000 -0500
+++ gnome-panel-2.21.90/gnome-panel/panel-logout.c	2008-02-03 01:48:19.000000000 -0500
@@ -449,4 +449,5 @@ panel_logout_new (PanelLogoutDialogType 
 
 	gtk_window_set_screen (GTK_WINDOW (logout_dialog), screen);
 	gtk_widget_show (GTK_WIDGET (logout_dialog));
+	gdk_window_focus (GTK_WIDGET (current_dialog)->window, activate_time);
 }


Index: gnome-panel.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-panel/devel/gnome-panel.spec,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -r1.252 -r1.253
--- gnome-panel.spec	29 Jan 2008 20:28:59 -0000	1.252
+++ gnome-panel.spec	3 Feb 2008 06:53:56 -0000	1.253
@@ -22,7 +22,7 @@
 Summary: GNOME panel
 Name: gnome-panel
 Version: 2.21.90
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://www.gnome.org
 Source0: http://download.gnome.org/sources/gnome-panel/2.21/%{name}-%{version}.tar.bz2
 
@@ -112,9 +112,11 @@
 # try to deal with the 22/24 madness in icon themes
 Patch12: more-sharp-icons.patch
 
-# fix problems with the intlclock integration in 2.21.5
 Patch14: gnome-panel-2.21.5-ck-shutdown.patch
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=514026
+Patch15: logout-focus.patch
+
 Conflicts: gnome-power-manager < 2.15.3
 
 %description
@@ -162,6 +164,7 @@
 %patch11 -p1 -b .applet-error
 %patch12 -p1 -b .more-sharp-icons
 %patch14 -p1 -b .ck-shutdown
+%patch15 -p1 -b .logout-focus
 
 . %{SOURCE6}
 
@@ -346,6 +349,9 @@
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Sun Feb  3 2008 Matthias Clasen <mclasen at redhat.com> - 2.21.90-2
+- Ensure the logout dialog gets focus. 
+
 * Tue Jan 29 2008 Matthias Clasen <mclasen at redhat.com> - 2.21.90-1
 - Update to 2.21.90
 - Drop upstreamed patch




More information about the fedora-extras-commits mailing list