gnome-panel r11188 - trunk/gnome-panel



Author: vuntz
Date: Mon Aug  4 03:08:58 2008
New Revision: 11188
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11188&view=rev

Log:
2008-08-04  Vincent Untz  <vuntz gnome org>

	* panel-toplevel.c: (panel_toplevel_update_struts): remove the special
	case for auto-hidden panels. We just update the struts as if they were
	normal panels, with their current position.
	This changes a bit the behavior (ie, full-screen windows resize when
	the panel gets unhidden and then hidden again), but after playing with
	it, I think the new behavior is actually quite nice. If we revert the
	change, then we'll have to fix bug #529031 by clamping auto_hide_size,
	like we do in panel_toplevel_update_auto_hide_position().
	Fix bug #529031.


Modified:
   trunk/gnome-panel/ChangeLog
   trunk/gnome-panel/panel-toplevel.c

Modified: trunk/gnome-panel/panel-toplevel.c
==============================================================================
--- trunk/gnome-panel/panel-toplevel.c	(original)
+++ trunk/gnome-panel/panel-toplevel.c	Mon Aug  4 03:08:58 2008
@@ -1439,9 +1439,6 @@
 		g_object_notify (G_OBJECT (toplevel), "orientation");
 	}
 
-	if (toplevel->priv->auto_hide && strut > 0)
-		strut = toplevel->priv->auto_hide_size;
-
 	if (strut > 0)
 		geometry_changed = panel_struts_register_strut (toplevel,
 								screen,



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