Author: olivier
Date: 2009-02-18 22:21:16 +0000 (Wed, 18 Feb 2009)
New Revision: 29513

Modified:
   xfwm4/trunk/ChangeLog
   xfwm4/trunk/NEWS
   xfwm4/trunk/settings-dialogs/workspace-settings.c
Log:
        * settings-dialogs/workspace-settings.c: Fix limits for margin being
          inverted - patch by Mike Massonnet <mike.masson...@gmail.com> 
          (Bug #4931). 
 

Modified: xfwm4/trunk/ChangeLog
===================================================================
--- xfwm4/trunk/ChangeLog       2009-02-18 22:17:27 UTC (rev 29512)
+++ xfwm4/trunk/ChangeLog       2009-02-18 22:21:16 UTC (rev 29513)
@@ -1,5 +1,11 @@
 2009-02-18     olivier
 
+       * settings-dialogs/workspace-settings.c: Fix limits for margin being
+         inverted - patch by Mike Massonnet <mike.masson...@gmail.com> 
+         (Bug #4931).
+
+2009-02-18     olivier
+
        * src/placement.c: Same, still not right (Bug #4960).
 
 2009-02-18     olivier

Modified: xfwm4/trunk/NEWS
===================================================================
--- xfwm4/trunk/NEWS    2009-02-18 22:17:27 UTC (rev 29512)
+++ xfwm4/trunk/NEWS    2009-02-18 22:21:16 UTC (rev 29513)
@@ -16,6 +16,7 @@
 - Fix compilation failure in debug full without render
 - Fix ICCCM synthetic unmap notify handling causing a race condition with
   amule when started hidden to system tray (Bug #4928)
+- Fix margin max value (Bug #4931)
 
 4.5.99.1 (Xfce 4.6rc1)
 ======================

Modified: xfwm4/trunk/settings-dialogs/workspace-settings.c
===================================================================
--- xfwm4/trunk/settings-dialogs/workspace-settings.c   2009-02-18 22:17:27 UTC 
(rev 29512)
+++ xfwm4/trunk/settings-dialogs/workspace-settings.c   2009-02-18 22:21:16 UTC 
(rev 29513)
@@ -320,10 +320,10 @@
     wmax = gdk_screen_width () / 4;
     hmax = gdk_screen_height () / 4;
 
-    gtk_spin_button_set_range (GTK_SPIN_BUTTON (margin_top_spinbutton), 0, 
wmax);
-    gtk_spin_button_set_range (GTK_SPIN_BUTTON (margin_right_spinbutton), 0, 
hmax);
-    gtk_spin_button_set_range (GTK_SPIN_BUTTON (margin_bottom_spinbutton), 0, 
wmax);
-    gtk_spin_button_set_range (GTK_SPIN_BUTTON (margin_left_spinbutton), 0, 
hmax);
+    gtk_spin_button_set_range (GTK_SPIN_BUTTON (margin_top_spinbutton), 0, 
hmax);
+    gtk_spin_button_set_range (GTK_SPIN_BUTTON (margin_right_spinbutton), 0, 
wmax);
+    gtk_spin_button_set_range (GTK_SPIN_BUTTON (margin_bottom_spinbutton), 0, 
hmax);
+    gtk_spin_button_set_range (GTK_SPIN_BUTTON (margin_left_spinbutton), 0, 
wmax);
 
     /* Bind easy properties */
     xfconf_g_property_bind (channel,

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to