[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/gnome-panel/devel gnome-panel-2.10.1-panel-unset-sm-client-id.patch, NONE, 1.1 gnome-panel.spec, 1.68, 1.69



Author: markmc

Update of /cvs/dist/rpms/gnome-panel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29335

Modified Files:
	gnome-panel.spec 
Added Files:
	gnome-panel-2.10.1-panel-unset-sm-client-id.patch 
Log Message:
* Mon Jun 27 2005 Mark McLoughlin <markmc redhat com> 2.10.1-11
- Fix "panel doesn't notice new screen size" issue (bug #160439)


gnome-panel-2.10.1-panel-unset-sm-client-id.patch:
 main.c          |    4 ++--
 panel-session.c |    5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

--- NEW FILE gnome-panel-2.10.1-panel-unset-sm-client-id.patch ---
--- gnome-panel-2.10.1/gnome-panel/panel-session.c.panel-unset-sm-client-id	2005-03-27 17:26:53.000000000 +0100
+++ gnome-panel-2.10.1/gnome-panel/panel-session.c	2005-06-27 15:39:39.000000000 +0100
@@ -74,6 +74,11 @@
 {
 	GnomeClient *client;
 
+	/* We don't want the WM to try and save/restore our
+	 * window position
+	 */
+	gdk_set_sm_client_id (NULL);
+
 	client = gnome_master_client ();
 
         if (!getenv ("GNOME_PANEL_DEBUG"))
--- gnome-panel-2.10.1/gnome-panel/main.c.panel-unset-sm-client-id	2005-03-27 17:26:53.000000000 +0100
+++ gnome-panel-2.10.1/gnome-panel/main.c	2005-06-27 16:13:39.000000000 +0100
@@ -71,6 +71,8 @@
 	panel_multiscreen_init ();
 	panel_init_stock_icons_and_items ();
 
+	panel_session_init ();
+
 	gconf_client_add_dir (panel_gconf_get_client (),
 			      "/desktop/gnome/interface",
 			      GCONF_CLIENT_PRELOAD_NONE,
@@ -80,8 +82,6 @@
 	panel_lockdown_init ();
 	panel_profile_load ();
 
-	panel_session_init ();
-
 	/*add forbidden lists to ALL panels*/
 	g_slist_foreach (panels,
 			 (GFunc)panel_widget_add_forbidden,


Index: gnome-panel.spec
===================================================================
RCS file: /cvs/dist/rpms/gnome-panel/devel/gnome-panel.spec,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- gnome-panel.spec	11 May 2005 08:58:37 -0000	1.68
+++ gnome-panel.spec	27 Jun 2005 15:30:50 -0000	1.69
@@ -23,7 +23,7 @@
 Summary: GNOME panel
 Name: gnome-panel
 Version: 2.10.1
-Release: 10
+Release: 11
 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
@@ -76,6 +76,7 @@
 Patch3: gnome-panel-2.10.1-no-huge-icons.patch
 Patch4: gnome-panel-2.10.1-fix-recent-items-crash.patch
 Patch5: gnome-panel-2.10.1-no-window-group-for-you.patch
+Patch6: gnome-panel-2.10.1-panel-unset-sm-client-id.patch
 
 %description
 
@@ -103,6 +104,7 @@
 %patch3 -p1 -b .no-huge-icons
 %patch4 -p1 -b .fix-recent-items-crash
 %patch5 -p1 -b .no-window-group-for-you
+%patch6 -p1 -b .panel-unset-sm-client-id
 
 cp -f %{SOURCE1} gnome-panel/panel-default-setup.entries
 cp -f %{SOURCE3} gnome-panel/panel-compatibility.schemas
@@ -241,6 +243,9 @@
 %{_datadir}/gtk-doc
 
 %changelog
+* Mon Jun 27 2005 Mark McLoughlin <markmc redhat com> 2.10.1-11
+- Fix "panel doesn't notice new screen size" issue (bug #160439)
+
 * Wed May 11 2005 Mark McLoughlin <markmc redhat com> 2.10.1-10
 - Fix "dialogs pop up under panel dialogs" issue (bug #156425)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]