From 0db9618c379278da2d85c1ec73d74529fb241b6c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Jan 20 2006 14:46:34 +0000 Subject: Remove switch user --- diff --git a/gnome-panel-2.13.5-switch-user.patch b/gnome-panel-2.13.5-switch-user.patch new file mode 100644 index 0000000..9deb8e4 --- /dev/null +++ b/gnome-panel-2.13.5-switch-user.patch @@ -0,0 +1,15 @@ +--- gnome-panel-2.13.5/gnome-panel/panel-logout.c.switch-user 2006-01-20 09:43:52.000000000 -0500 ++++ gnome-panel-2.13.5/gnome-panel/panel-logout.c 2006-01-20 09:44:26.000000000 -0500 +@@ -205,10 +205,12 @@ + // FIXME set default button + logout_dialog->priv->default_response = PANEL_LOGOUT_DIALOG_LOGOUT; + ++#if 0 + //FIXME is gdm running? + gtk_dialog_add_button (GTK_DIALOG (logout_dialog), + _("_Switch User"), + PANEL_LOGOUT_RESPONSE_SWITCH_USER); ++#endif + gtk_dialog_add_button (GTK_DIALOG (logout_dialog), + GTK_STOCK_CANCEL, + GTK_RESPONSE_CANCEL); diff --git a/gnome-panel.spec b/gnome-panel.spec index 1a4cd33..28490a6 100644 --- a/gnome-panel.spec +++ b/gnome-panel.spec @@ -16,7 +16,7 @@ Summary: GNOME panel Name: gnome-panel Version: 2.13.5 -Release: 1 +Release: 2 URL: http://www.gnome.org Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/gnome-panel/%{name}-%{version}.tar.bz2 Source1: redhat-panel-default-setup.entries @@ -59,6 +59,7 @@ Patch1: gnome-panel-2.12.1-remove-screenshot-menuitem.patch Patch2: gnome-panel-2.10.1-speak-to-us-ye-old-wise-fish.patch Patch4: gnome-panel-2.13.2-rename-system-menu.patch Patch5: gnome-panel-2.12.1-about-fedora.patch +Patch6: gnome-panel-2.13.5-switch-user.patch %description The GNOME panel provides the window list, workspace switcher, menus, and other @@ -84,6 +85,8 @@ Panel Applets using the libpanel-applet library. %patch2 -p1 -b .speak-to-us-ye-old-wise-fish %patch4 -p1 -b .rename-system-menu %patch5 -p1 -b .about-fedora +%patch6 -p1 -b .switch-user + cp -f %{SOURCE1} gnome-panel/panel-default-setup.entries cp -f %{SOURCE3} gnome-panel/panel-compatibility.schemas @@ -194,6 +197,9 @@ fi %{_datadir}/gtk-doc %changelog +* Fri Jan 20 2006 Matthias Clasen 2.13.5-2 +- Remove "Switch user" button + * Tue Jan 17 2006 Matthias Clasen 2.13.5-1 - Update to 2.13.5