summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch')
-rw-r--r--meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch b/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch
new file mode 100644
index 0000000000..825694962b
--- /dev/null
+++ b/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch
@@ -0,0 +1,35 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: appearance/mb-appearance.c
4===================================================================
5--- appearance/mb-appearance.c (revision 1614)
6+++ appearance/mb-appearance.c (working copy)
7@@ -300,11 +300,13 @@
8 gtk_font_button_set_font_name (GTK_FONT_BUTTON (font_button),
9 gconf_value_get_string (value));
10 } else if (strcmp (key, HANDED_KEY) == 0) {
11+#if 0
12 GEnumValue *e;
13 e = g_enum_get_value_by_name (g_type_class_ref (GTK_TYPE_CORNER_TYPE),
14 gconf_value_get_string (value));
15 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (handed_check),
16 e->value == GTK_CORNER_TOP_RIGHT);
17+#endif
18 }
19 }
20
21@@ -395,12 +397,13 @@
22 gtk_container_add (GTK_CONTAINER (align), font_button);
23
24 /* Left/Right Handed */
25-
26+#if 0
27 frame = new_frame (_("Orientation"), &align);
28 gtk_box_pack_start (GTK_BOX (box), frame, TRUE, TRUE, 0);
29 handed_check = gtk_check_button_new_with_mnemonic (_("_Left-handed"));
30 g_signal_connect (handed_check, "toggled", G_CALLBACK (on_handed_set), NULL);
31 gtk_container_add (GTK_CONTAINER (align), handed_check);
32+#endif
33
34 gconf_client_add_dir (gconf, INTERFACE_DIR, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
35 g_signal_connect (gconf, "value-changed", G_CALLBACK (on_gconf_value_changed), NULL);