[PATCH] : Resizable filters edit dialog
- From: Emmanuel <e allaud wanadoo fr>
- To: ML de Balsa <balsa-list gnome org>
- Cc: Pawel Salek <pawsa theochem kth se>
- Subject: [PATCH] : Resizable filters edit dialog
- Date: Thu, 16 May 2002 15:24:55 +0200
Hi all,
this was requested, here is the patch. Thank to Stefen I dug a bit in Gtk
Layout things and it's just so easy ;-) I made it in 20 minutes (just had
to change the expand and fill booleans in boxes packing funcs).
Bye
Manu
--- balsa-current/src/filter-edit-dialog.c Thu May 16 13:24:58 2002
+++ balsa/src/filter-edit-dialog.c Thu May 16 15:17:48 2002
@@ -499,7 +499,7 @@
/* the main notebook */
notebook = gtk_notebook_new();
gtk_notebook_set_tab_pos(GTK_NOTEBOOK(notebook), GTK_POS_TOP);
- gtk_box_pack_start(GTK_BOX(rightside), notebook, FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(rightside), notebook, TRUE, TRUE, 0);
page = build_match_page();
gtk_notebook_append_page(GTK_NOTEBOOK(notebook),
@@ -570,10 +570,13 @@
"clicked", fe_dialog_button_clicked, NULL);
gtk_signal_connect(GTK_OBJECT(fe_window), "destroy",
GTK_SIGNAL_FUNC(fe_destroy_window_cb), NULL);
+
+ gtk_window_set_policy (GTK_WINDOW (fe_window), TRUE, TRUE, FALSE);
+
/* main hbox */
hbox = gtk_hbox_new(FALSE, 0);
gtk_box_pack_start(GTK_BOX(fe_window->vbox),
- hbox, FALSE, FALSE, 0);
+ hbox, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(hbox), piece, FALSE, FALSE, 2);
@@ -582,7 +585,7 @@
fe_right_page = piece = build_right_side();
gtk_widget_set_sensitive(fe_right_page, FALSE);
- gtk_box_pack_start(GTK_BOX(hbox), piece, FALSE, FALSE, 2);
+ gtk_box_pack_start(GTK_BOX(hbox), piece, TRUE, TRUE, 2);
/* Populate the clist of filters */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]