aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-03-20 06:02:18 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-03-20 06:02:18 +0800
commit2416330235fd55b69377db33190a7645cdc7ef9e (patch)
tree44576c6407d1e59f892a4493cf65c958cbec3f87
parent079d44f566d91d6eff53b7ceabadbeed5df66184 (diff)
downloadgsoc2013-evolution-2416330235fd55b69377db33190a7645cdc7ef9e.tar.gz
gsoc2013-evolution-2416330235fd55b69377db33190a7645cdc7ef9e.tar.zst
gsoc2013-evolution-2416330235fd55b69377db33190a7645cdc7ef9e.zip
Revert ettore's broken patch.
2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Revert ettore's broken patch. * mail-search-dialogue.c (mail_search_dialogue_construct): Make the default size a little smaller. svn path=/trunk/; revision=20372
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-config-druid.c3
-rw-r--r--mail/mail-search-dialogue.c7
3 files changed, 11 insertions, 7 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3c6b19e5d2..8bb538889f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2003-03-19 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-config-druid.c (mail_config_druid_new): Revert ettore's
+ broken patch.
+
+ * mail-search-dialogue.c (mail_search_dialogue_construct): Make
+ the default size a little smaller.
+
2003-03-19 Ettore Perazzoli <ettore@ximian.com>
* importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in:
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index 6be57642c7..6210d8177b 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -631,8 +631,7 @@ mail_config_druid_new (void)
mcw = config_wizard_new ();
mcw->druid = (GnomeDruid *)glade_xml_get_widget (mcw->gui->xml, "druid");
g_object_set_data (G_OBJECT (mcw->druid), "MailConfigWizard", mcw);
- gtk_window_set_type_hint (GTK_WINDOW (mcw->druid), GDK_WINDOW_TYPE_HINT_DIALOG);
-
+
mcw->interior_pages = g_ptr_array_new ();
for (i = 0; i < num_wizard_pages; i++) {
page = glade_xml_get_widget (mcw->gui->xml,
diff --git a/mail/mail-search-dialogue.c b/mail/mail-search-dialogue.c
index 0a692b1ec3..86662793a7 100644
--- a/mail/mail-search-dialogue.c
+++ b/mail/mail-search-dialogue.c
@@ -81,11 +81,8 @@ mail_search_dialogue_construct (MailSearchDialogue *o, FilterRule *rule)
FilterPart *part;
GtkDialog *dialogue = GTK_DIALOG (o);
- g_object_set(dialogue,
- "allow_shrink", FALSE,
- "allow_grow", TRUE,
- "default_width", 500,
- "default_height", 400, NULL);
+ gtk_window_set_default_size ((GtkWindow *) dialogue, 400, 350);
+ gtk_window_set_resizable ((GtkWindow *) dialogue, TRUE);
o->context = rule_context_new ();
rule_context_add_part_set (o->context, "partset", filter_part_get_type (),