summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--NEWS1
-rw-r--r--settings-dialogs/workspace-settings.c8
3 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e4146ff1..96884c6e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-02-18 olivier
+ * settings-dialogs/workspace-settings.c: Fix limits for margin being
+ inverted - patch by Mike Massonnet <mike.massonnet@gmail.com>
+ (Bug #4931).
+
+2009-02-18 olivier
+
* src/placement.c: Same, still not right (Bug #4960).
2009-02-18 olivier
diff --git a/NEWS b/NEWS
index 8a0570f24..350640ea9 100644
--- a/NEWS
+++ b/NEWS
@@ -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)
======================
diff --git a/settings-dialogs/workspace-settings.c b/settings-dialogs/workspace-settings.c
index 09e11011d..ee69a1e04 100644
--- a/settings-dialogs/workspace-settings.c
+++ b/settings-dialogs/workspace-settings.c
@@ -320,10 +320,10 @@ workspace_dialog_configure_widgets (GladeXML *gxml,
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,