r13082 - in /desktop/etch/gnome-panel/debian: changelog patches/02_switch-user_lock.patch
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Fri Oct 12 23:33:32 UTC 2007
Author: joss
Date: Fri Oct 12 23:33:31 2007
New Revision: 13082
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13082
Log:
* 02_switch-user_lock.patch: new patch; lock screen when switching
user. Closes: #433259.
Added:
desktop/etch/gnome-panel/debian/patches/02_switch-user_lock.patch
Modified:
desktop/etch/gnome-panel/debian/changelog
Modified: desktop/etch/gnome-panel/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/etch/gnome-panel/debian/changelog?rev=13082&op=diff
==============================================================================
--- desktop/etch/gnome-panel/debian/changelog (original)
+++ desktop/etch/gnome-panel/debian/changelog Fri Oct 12 23:33:31 2007
@@ -1,3 +1,10 @@
+gnome-panel (2.14.3-6) stable; urgency=low
+
+ * 02_switch-user_lock.patch: new patch; lock screen when switching
+ user. Closes: #433259.
+
+ -- Josselin Mouette <joss at debian.org> Sat, 13 Oct 2007 00:57:54 +0200
+
gnome-panel (2.14.3-5) unstable; urgency=medium
* Add a get-orig-source target to retrieve the upstream tarball.
Added: desktop/etch/gnome-panel/debian/patches/02_switch-user_lock.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/etch/gnome-panel/debian/patches/02_switch-user_lock.patch?rev=13082&op=file
==============================================================================
--- desktop/etch/gnome-panel/debian/patches/02_switch-user_lock.patch (added)
+++ desktop/etch/gnome-panel/debian/patches/02_switch-user_lock.patch Fri Oct 12 23:33:31 2007
@@ -1,0 +1,35 @@
+--- gnome-panel/panel-logout.c.orig 2006-02-27 19:06:54.000000000 +0100
++++ gnome-panel/panel-logout.c 2007-10-13 00:56:34.684393891 +0200
+@@ -33,6 +33,7 @@
+ #include "panel-logout.h"
+ #include "panel-gdm.h"
+ #include "panel-session.h"
++#include "panel-util.h"
+
+ #define PANEL_LOGOUT_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PANEL_TYPE_LOGOUT_DIALOG, PanelLogoutDialogPrivate))
+
+@@ -159,6 +160,8 @@
+ guint response_id,
+ gpointer data)
+ {
++ GdkScreen *screen;
++ screen = g_object_ref (gtk_window_get_screen (GTK_WINDOW (logout_dialog)));
+ gtk_widget_destroy (logout_dialog);
+
+ switch (response_id) {
+@@ -169,6 +172,7 @@
+ panel_session_request_logout ();
+ break;
+ case PANEL_LOGOUT_RESPONSE_SWITCH_USER:
++ panel_lock_screen (screen);
+ gdm_new_login ();
+ break;
+ case PANEL_LOGOUT_RESPONSE_SHUTDOWN:
+@@ -192,6 +196,7 @@
+ default:
+ g_assert_not_reached ();
+ }
++ g_object_unref (screen);
+ }
+
+ static gboolean
More information about the pkg-gnome-commits
mailing list