summaryrefslogtreecommitdiffstats
path: root/meta/packages/matchbox-config-gtk
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-07-27 09:43:21 +0000
committerRoss Burton <ross@openedhand.com>2007-07-27 09:43:21 +0000
commita9b72e49056cd6e6ef3e332eb30115563ea4cfe6 (patch)
tree08fe2a1ba0fce5dd59a96730216e1d93ccb87127 /meta/packages/matchbox-config-gtk
parentaaa60bf2aa84a8668d2767777b41723dd531c9a5 (diff)
downloadpoky-a9b72e49056cd6e6ef3e332eb30115563ea4cfe6.tar.gz
Disable the Handed option for now
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2236 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/matchbox-config-gtk')
-rw-r--r--meta/packages/matchbox-config-gtk/files/no-handed.patch33
-rw-r--r--meta/packages/matchbox-config-gtk/matchbox-config-gtk_svn.bb10
2 files changed, 40 insertions, 3 deletions
diff --git a/meta/packages/matchbox-config-gtk/files/no-handed.patch b/meta/packages/matchbox-config-gtk/files/no-handed.patch
new file mode 100644
index 0000000000..91b27ae171
--- /dev/null
+++ b/meta/packages/matchbox-config-gtk/files/no-handed.patch
@@ -0,0 +1,33 @@
1Index: matchbox-config-gtk/appearance/mb-appearance.c
2===================================================================
3--- matchbox-config-gtk/appearance/mb-appearance.c (revision 1614)
4+++ matchbox-config-gtk/appearance/mb-appearance.c (working copy)
5@@ -300,11 +300,13 @@
6 gtk_font_button_set_font_name (GTK_FONT_BUTTON (font_button),
7 gconf_value_get_string (value));
8 } else if (strcmp (key, HANDED_KEY) == 0) {
9+#if 0
10 GEnumValue *e;
11 e = g_enum_get_value_by_name (g_type_class_ref (GTK_TYPE_CORNER_TYPE),
12 gconf_value_get_string (value));
13 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (handed_check),
14 e->value == GTK_CORNER_TOP_RIGHT);
15+#endif
16 }
17 }
18
19@@ -395,12 +397,13 @@
20 gtk_container_add (GTK_CONTAINER (align), font_button);
21
22 /* Left/Right Handed */
23-
24+#if 0
25 frame = new_frame (_("Orientation"), &align);
26 gtk_box_pack_start (GTK_BOX (box), frame, TRUE, TRUE, 0);
27 handed_check = gtk_check_button_new_with_mnemonic (_("_Left-handed"));
28 g_signal_connect (handed_check, "toggled", G_CALLBACK (on_handed_set), NULL);
29 gtk_container_add (GTK_CONTAINER (align), handed_check);
30+#endif
31
32 gconf_client_add_dir (gconf, INTERFACE_DIR, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
33 g_signal_connect (gconf, "value-changed", G_CALLBACK (on_gconf_value_changed), NULL);
diff --git a/meta/packages/matchbox-config-gtk/matchbox-config-gtk_svn.bb b/meta/packages/matchbox-config-gtk/matchbox-config-gtk_svn.bb
index ec11e45ad7..0e91006661 100644
--- a/meta/packages/matchbox-config-gtk/matchbox-config-gtk_svn.bb
+++ b/meta/packages/matchbox-config-gtk/matchbox-config-gtk_svn.bb
@@ -1,11 +1,15 @@
1DESCRIPTION = "Matchbox gtk theme configuration application." 1DESCRIPTION = "Matchbox GTK+ theme configuration application."
2LICENSE = "GPL" 2LICENSE = "GPL"
3DEPENDS = "gconf libglade gtk+" 3DEPENDS = "gconf gtk+"
4RDEPENDS = "settings-daemon" 4RDEPENDS = "settings-daemon"
5
5PV = "0.0+svn${SRCDATE}" 6PV = "0.0+svn${SRCDATE}"
7PR = "r1"
8
6S = "${WORKDIR}/${PN}" 9S = "${WORKDIR}/${PN}"
7 10
8SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http" 11SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
12 file://no-handed.patch;patch=1;pnum=0"
9 13
10inherit autotools pkgconfig 14inherit autotools pkgconfig
11 15