From 2b46866a5c311283f2d67cbf00802e47b308ec16 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 9 Oct 2012 17:48:50 -0400 Subject: Bug 685675 - Fix packing of spell check language options Word-wrapped GtkLabels and GtkTables just don't seem to get along. The vertical allocation for the GtkLabel was way too big. Replace the GtkTable with a GtkGrid. --- mail/mail-config.ui | 74 +++++++++++++++++++++------------------- modules/mail/em-composer-prefs.c | 12 +------ 2 files changed, 39 insertions(+), 47 deletions(-) diff --git a/mail/mail-config.ui b/mail/mail-config.ui index 00a47c2736..cef8453de7 100644 --- a/mail/mail-config.ui +++ b/mail/mail-config.ui @@ -1,6 +1,6 @@ - + 400 False @@ -659,47 +659,16 @@ False 12 - + True False - 2 - 2 - 6 6 - - - True - False - 0 - gtk-dialog-info - - - 1 - 2 - - - - - - - True - False - 0 - The list of languages here reflects only the languages for which you have a dictionary installed. - True - - - 1 - 2 - 1 - 2 - - - True True + True + True in @@ -718,7 +687,40 @@ - 2 + 0 + 0 + 2 + 1 + + + + + True + False + 0 + gtk-dialog-info + + + 0 + 1 + 1 + 1 + + + + + True + False + True + 0 + The list of languages here reflects only the languages for which you have a dictionary installed. + True + + + 1 + 1 + 1 + 1 diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c index 3a092efe49..4a7216915b 100644 --- a/modules/mail/em-composer-prefs.c +++ b/modules/mail/em-composer-prefs.c @@ -290,17 +290,7 @@ static EMConfigItem emcp_items[] = { { E_CONFIG_PAGE, (gchar *) "20.spellcheck", (gchar *) "vboxSpellChecking", - emcp_widget_glade }, - - { E_CONFIG_SECTION_TABLE, - (gchar *) "20.spellcheck/00.languages", - (gchar *) "languages-table", - emcp_widget_glade }, - - { E_CONFIG_SECTION, - (gchar *) "20.spellcheck/00.options", - (gchar *) "spell-options-vbox", - emcp_widget_glade }, + emcp_widget_glade } }; static void -- cgit v1.2.3