aboutsummaryrefslogtreecommitdiffstats
path: root/filter/score-editor.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-10-24 02:35:28 +0800
committerChris Lahey <clahey@src.gnome.org>2000-10-24 02:35:28 +0800
commit27f51ae4e98b5c13dccc67d434028fb147f314d3 (patch)
treedce71abdcc06d1f307283080906b56b76eb9c109 /filter/score-editor.c
parent61008a12e175494276ed24de4b3d214f66041cd1 (diff)
downloadgsoc2013-evolution-27f51ae4e98b5c13dccc67d434028fb147f314d3.tar
gsoc2013-evolution-27f51ae4e98b5c13dccc67d434028fb147f314d3.tar.gz
gsoc2013-evolution-27f51ae4e98b5c13dccc67d434028fb147f314d3.tar.bz2
gsoc2013-evolution-27f51ae4e98b5c13dccc67d434028fb147f314d3.tar.lz
gsoc2013-evolution-27f51ae4e98b5c13dccc67d434028fb147f314d3.tar.xz
gsoc2013-evolution-27f51ae4e98b5c13dccc67d434028fb147f314d3.tar.zst
gsoc2013-evolution-27f51ae4e98b5c13dccc67d434028fb147f314d3.zip
Fixed these widgets to resize properly.
2000-10-23 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-part.c, filter-rule.c, rule-context.c, score-editor.c, vfolder-editor.c: Fixed these widgets to resize properly. svn path=/trunk/; revision=6117
Diffstat (limited to 'filter/score-editor.c')
-rw-r--r--filter/score-editor.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/filter/score-editor.c b/filter/score-editor.c
index aa575120a8..77031d6e77 100644
--- a/filter/score-editor.c
+++ b/filter/score-editor.c
@@ -127,7 +127,8 @@ static void rule_add(GtkWidget *widget, struct _editor_data *data)
gd = (GnomeDialog *)gnome_dialog_new(_("Add Rule"),
GNOME_STOCK_BUTTON_OK, GNOME_STOCK_BUTTON_CANCEL,
NULL);
- gtk_box_pack_start((GtkBox *)gd->vbox, w, FALSE, TRUE, 0);
+ gtk_window_set_policy(GTK_WINDOW(gd), FALSE, TRUE, FALSE);
+ gtk_box_pack_start((GtkBox *)gd->vbox, w, TRUE, TRUE, 0);
gtk_widget_show((GtkWidget *)gd);
result = gnome_dialog_run_and_close(gd);
if (result == 0) {
@@ -163,7 +164,8 @@ static void rule_edit(GtkWidget *widget, struct _editor_data *data)
rule = data->current;
w = filter_rule_get_widget(rule, data->f);
gd = (GnomeDialog *)gnome_dialog_new(_("Edit Score Rule"), GNOME_STOCK_BUTTON_OK, NULL);
- gtk_box_pack_start((GtkBox *)gd->vbox, w, FALSE, TRUE, 0);
+ gtk_window_set_policy(GTK_WINDOW(gd), FALSE, TRUE, FALSE);
+ gtk_box_pack_start((GtkBox *)gd->vbox, w, TRUE, TRUE, 0);
gtk_widget_show((GtkWidget *)gd);
result = gnome_dialog_run_and_close(gd);