diff --git a/control-center.spec b/control-center.spec index ab94437..cee4297 100644 --- a/control-center.spec +++ b/control-center.spec @@ -22,7 +22,7 @@ Summary: GNOME Control Center Name: control-center Version: 2.24.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 License: GPLv2+ and GFDL Group: User Interface/Desktops @@ -43,6 +43,9 @@ Patch25: ta-schema.patch # http://bugzilla.gnome.org/show_bug.cgi?id=554957 Patch28: capplet-help.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=554962 +Patch29: hv-max.patch + # call the Fedora/RHEL graphical passwd changing apps Patch95: control-center-2.23.2-passwd.patch Patch96: control-center-2.23.2-gecos.patch @@ -169,6 +172,7 @@ utilities. %patch22 -p0 -b .slab-icon-names %patch25 -p1 -b .ta-schema %patch28 -p1 -b .capplet-help +%patch29 -p1 -b .hv-max # vendor configuration patches %patch95 -p1 -b .passwd @@ -338,6 +342,9 @@ fi %dir %{_datadir}/gnome-control-center/keybindings %changelog +* Sat Oct 4 2008 Matthias Clasen - 2.24.0.1-4 +- Fix horizontal/vertical maximization preference + * Sat Oct 4 2008 Matthias Clasen - 2.24.0.1-3 - Fix help buttons in the appearance capplet diff --git a/hv-max.patch b/hv-max.patch new file mode 100644 index 0000000..5cd18f6 --- /dev/null +++ b/hv-max.patch @@ -0,0 +1,30 @@ +diff -up gnome-control-center-2.24.0.1/libwindow-settings/metacity-window-manager.c.hv-max gnome-control-center-2.24.0.1/libwindow-settings/metacity-window-manager.c +--- gnome-control-center-2.24.0.1/libwindow-settings/metacity-window-manager.c.hv-max 2008-10-04 02:01:24.000000000 -0400 ++++ gnome-control-center-2.24.0.1/libwindow-settings/metacity-window-manager.c 2008-10-04 02:02:53.000000000 -0400 +@@ -214,10 +214,10 @@ metacity_change_settings (GnomeWindowMan + action = "toggle_maximize"; + break; + case DOUBLE_CLICK_MAXIMIZE_VERTICALLY: +- action = "toggle_maximize_vert"; ++ action = "toggle_maximize_vertically"; + break; + case DOUBLE_CLICK_MAXIMIZE_HORIZONTALLY: +- action = "toggle_maximize_horiz"; ++ action = "toggle_maximize_horizontally"; + break; + case DOUBLE_CLICK_MINIMIZE: + action = "minimize"; +@@ -370,9 +370,11 @@ metacity_get_settings (GnomeWindowManage + settings->double_click_action = DOUBLE_CLICK_SHADE; + else if (strcmp (str, "toggle_maximize") == 0) + settings->double_click_action = DOUBLE_CLICK_MAXIMIZE; +- else if (strcmp (str, "toggle_maximize_horiz") == 0) ++ else if (strcmp (str, "toggle_maximize_horizontally") == 0 || ++ strcmp (str, "toggle_maximize_horiz") == 0) + settings->double_click_action = DOUBLE_CLICK_MAXIMIZE_HORIZONTALLY; +- else if (strcmp (str, "toggle_maximize_vert") == 0) ++ else if (strcmp (str, "toggle_maximize_vertically") == 0 || ++ strcmp (str, "toggle_maximize_vert") == 0) + settings->double_click_action = DOUBLE_CLICK_MAXIMIZE_VERTICALLY; + else if (strcmp (str, "minimize") == 0) + settings->double_click_action = DOUBLE_CLICK_MINIMIZE;