aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/attachment-reminder
diff options
context:
space:
mode:
authorJohnny Jacob <jjohnny@src.gnome.org>2008-05-26 19:20:45 +0800
committerJohnny Jacob <jjohnny@src.gnome.org>2008-05-26 19:20:45 +0800
commitf4db10997283c2455a81e4d6342492aa902ad27b (patch)
treee6ab4d2aae18ceef6d17143edda0471332f59465 /plugins/attachment-reminder
parentf0c1d53ccf969bb46397ba1602f7b6cb36640e95 (diff)
downloadgsoc2013-evolution-f4db10997283c2455a81e4d6342492aa902ad27b.tar
gsoc2013-evolution-f4db10997283c2455a81e4d6342492aa902ad27b.tar.gz
gsoc2013-evolution-f4db10997283c2455a81e4d6342492aa902ad27b.tar.bz2
gsoc2013-evolution-f4db10997283c2455a81e4d6342492aa902ad27b.tar.lz
gsoc2013-evolution-f4db10997283c2455a81e4d6342492aa902ad27b.tar.xz
gsoc2013-evolution-f4db10997283c2455a81e4d6342492aa902ad27b.tar.zst
gsoc2013-evolution-f4db10997283c2455a81e4d6342492aa902ad27b.zip
Fix for Bug 496476 : Let the plugin configure widgets expand (resize).
svn path=/trunk/; revision=35549
Diffstat (limited to 'plugins/attachment-reminder')
-rw-r--r--plugins/attachment-reminder/ChangeLog9
-rw-r--r--plugins/attachment-reminder/attachment-reminder.c4
-rw-r--r--plugins/attachment-reminder/attachment-reminder.glade55
3 files changed, 27 insertions, 41 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 <jjohnny@novell.com>
+
+ ** 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 <jjohnny@novell.com>
** 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 @@
<property name="visible">True</property>
<property name="spacing">5</property>
<child>
- <placeholder/>
- </child>
- <child>
- <widget class="GtkTable" id="clue_container">
+ <widget class="GtkHBox" id="clue_container">
<property name="visible">True</property>
- <property name="n_rows">1</property>
- <property name="n_columns">3</property>
- <property name="column_spacing">7</property>
- <property name="row_spacing">6</property>
+ <property name="spacing">6</property>
<child>
- <placeholder/>
+ <widget class="GtkScrolledWindow" id="scrolledwindow1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <child>
+ <widget class="GtkTreeView" id="clue_treeview">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="border_width">1</property>
+ </widget>
+ </child>
+ </widget>
</child>
<child>
<widget class="GtkVButtonBox" id="vbuttonbox2">
@@ -67,38 +73,11 @@
</child>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="x_options"></property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow1">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <child>
- <widget class="GtkTreeView" id="clue_treeview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="border_width">1</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="y_options">GTK_FILL</property>
+ <property name="expand">False</property>
+ <property name="position">1</property>
</packing>
</child>
</widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
</child>
</widget>
</child>