diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-12 10:39:38 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-12 10:39:38 +0000 |
commit | 190418a078b1eb7ea3c5d38a08bdab3cbd422086 (patch) | |
tree | bb336ccecde7052d26d3d8d8c97238744a373aad /sysutils/gnomecontrolcenter2/files/patch-capplets_gnome-keyboard-properties-xkbot.c | |
parent | 6b0c40606cac591d75b88d05c7276bd16c369035 (diff) |
Notes
Diffstat (limited to 'sysutils/gnomecontrolcenter2/files/patch-capplets_gnome-keyboard-properties-xkbot.c')
-rw-r--r-- | sysutils/gnomecontrolcenter2/files/patch-capplets_gnome-keyboard-properties-xkbot.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/gnomecontrolcenter2/files/patch-capplets_gnome-keyboard-properties-xkbot.c b/sysutils/gnomecontrolcenter2/files/patch-capplets_gnome-keyboard-properties-xkbot.c new file mode 100644 index 000000000000..02374b23ac45 --- /dev/null +++ b/sysutils/gnomecontrolcenter2/files/patch-capplets_gnome-keyboard-properties-xkbot.c @@ -0,0 +1,33 @@ +--- capplets/keyboard/gnome-keyboard-properties-xkbot.c.orig Wed Jan 19 18:16:13 2005 ++++ capplets/keyboard/gnome-keyboard-properties-xkbot.c Wed Feb 9 21:33:00 2005 +@@ -242,21 +242,25 @@ + Bool allowMultipleSelection, + GladeXML * dialog) + { ++ gchar *utfGroupName, *titlemarkup; ++ GtkWidget *expander; ++ GtkWidget *vbox; ++ GtkWidget *align; + GSList * expanders_list = g_object_get_data (G_OBJECT (dialog), EXPANDERS_PROP); + + current1stLevelId = configItem->name; + +- gchar *utfGroupName = xci_desc_to_utf8 (configItem); +- gchar *titlemarkup = g_strconcat ("<span>", utfGroupName, "</span>", NULL); ++ utfGroupName = xci_desc_to_utf8 (configItem); ++ titlemarkup = g_strconcat ("<span>", utfGroupName, "</span>", NULL); + +- GtkWidget *expander = gtk_expander_new (titlemarkup); ++ expander = gtk_expander_new (titlemarkup); + g_object_set_data_full (G_OBJECT (expander), "utfGroupName", utfGroupName, g_free); + + g_free (titlemarkup); + gtk_expander_set_use_markup (GTK_EXPANDER (expander), TRUE); +- GtkWidget *align = gtk_alignment_new (0, 0, 1, 1); ++ align = gtk_alignment_new (0, 0, 1, 1); + gtk_alignment_set_padding (GTK_ALIGNMENT (align), 6, 12, 12, 0); +- GtkWidget *vbox = gtk_vbox_new (TRUE, 6); ++ vbox = gtk_vbox_new (TRUE, 6); + gtk_container_add (GTK_CONTAINER (align), vbox); + gtk_container_add (GTK_CONTAINER (expander), align); + currentVbox = vbox; |