From f4db10997283c2455a81e4d6342492aa902ad27b Mon Sep 17 00:00:00 2001 From: Johnny Jacob Date: Mon, 26 May 2008 11:20:45 +0000 Subject: Fix for Bug 496476 : Let the plugin configure widgets expand (resize). svn path=/trunk/; revision=35549 --- plugins/attachment-reminder/ChangeLog | 9 ++++ plugins/attachment-reminder/attachment-reminder.c | 4 +- .../attachment-reminder/attachment-reminder.glade | 55 +++++++--------------- plugins/plugin-manager/ChangeLog | 7 +++ plugins/plugin-manager/plugin-manager.c | 2 +- 5 files changed, 35 insertions(+), 42 deletions(-) diff --git a/plugins/attachment-reminder/ChangeLog b/plugins/attachment-reminder/ChangeLog index c06349e093..86cf6e0ba6 100644 --- a/plugins/attachment-reminder/ChangeLog +++ b/plugins/attachment-reminder/ChangeLog @@ -1,3 +1,12 @@ +2008-05-23 Johnny Jacob + + ** Fixes Bug 496476. + + * attachment-reminder.glade: Removed GtkTables and added simple HBoxes + + * attachment-reminder.c (e_plugin_lib_get_configure_widget): Let the + configure widget expand. + 2008-05-22 Johnny Jacob ** Fixes Bug #529995 diff --git a/plugins/attachment-reminder/attachment-reminder.c b/plugins/attachment-reminder/attachment-reminder.c index 506bd53669..cfaa2a171c 100644 --- a/plugins/attachment-reminder/attachment-reminder.c +++ b/plugins/attachment-reminder/attachment-reminder.c @@ -55,7 +55,6 @@ typedef struct { GtkWidget *clue_add; GtkWidget *clue_edit; GtkWidget *clue_remove; - GtkWidget *clue_container; GtkListStore *store; } UIData; @@ -504,11 +503,10 @@ e_plugin_lib_get_configure_widget (EPlugin *epl) } /* Add the list here */ - ui->clue_container = glade_xml_get_widget (ui->xml, "clue_container"); hbox = gtk_vbox_new (FALSE, 0); - gtk_box_pack_start (GTK_BOX (hbox), glade_xml_get_widget (ui->xml, "reminder_configuration_box"), FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX (hbox), glade_xml_get_widget (ui->xml, "reminder_configuration_box"), TRUE, TRUE, 0); /* to let free data properly on destroy of configuration widget */ g_object_set_data_full (G_OBJECT (hbox), "myui-data", ui, destroy_ui_data); diff --git a/plugins/attachment-reminder/attachment-reminder.glade b/plugins/attachment-reminder/attachment-reminder.glade index dbf953d2a5..720047f8c3 100644 --- a/plugins/attachment-reminder/attachment-reminder.glade +++ b/plugins/attachment-reminder/attachment-reminder.glade @@ -12,17 +12,23 @@ True 5 - - - - + True - 1 - 3 - 7 - 6 + 6 - + + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + + + True + True + 1 + + + @@ -67,38 +73,11 @@ - 2 - 3 - - - - - - - True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - - - True - True - 1 - - - - - 1 - 2 - GTK_FILL + False + 1 - - False - False - 1 - diff --git a/plugins/plugin-manager/ChangeLog b/plugins/plugin-manager/ChangeLog index fee959ae99..7c20b9b23d 100644 --- a/plugins/plugin-manager/ChangeLog +++ b/plugins/plugin-manager/ChangeLog @@ -1,3 +1,10 @@ +2008-05-23 Johnny Jacob + + ** Fixes Bug 496476. + + * plugin-manager.c (org_gnome_plugin_manager_manage): Let the + plugin configure widget expand. + 2008-03-20 Sankar P * org-gnome-plugin-manager.eplug.xml: diff --git a/plugins/plugin-manager/plugin-manager.c b/plugins/plugin-manager/plugin-manager.c index 823ad98d85..d423cf82ed 100644 --- a/plugins/plugin-manager/plugin-manager.c +++ b/plugins/plugin-manager/plugin-manager.c @@ -304,7 +304,7 @@ org_gnome_plugin_manager_manage (void *ep, ESMenuTargetShell *t) cfg_widget = def_configure_label; } else { gtk_widget_hide (cfg_widget); - gtk_box_pack_start (GTK_BOX (configure_page), cfg_widget, FALSE, FALSE, 6); + gtk_box_pack_start (GTK_BOX (configure_page), cfg_widget, TRUE, TRUE, 6); } gtk_list_store_append (store, &iter); -- cgit v1.2.3