aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2003-09-26 00:11:29 +0800
committerRodney Dawes <dobey@src.gnome.org>2003-09-26 00:11:29 +0800
commit9588114593ab8b125876a7a7dec54cc6f6f920c4 (patch)
tree4d2ce6a444d1f8a2944ea2923d2d4cfb848d54b4 /mail
parentb8c1050886081df207fb30f16884c844e7e17fd9 (diff)
downloadgsoc2013-evolution-9588114593ab8b125876a7a7dec54cc6f6f920c4.tar.gz
gsoc2013-evolution-9588114593ab8b125876a7a7dec54cc6f6f920c4.tar.zst
gsoc2013-evolution-9588114593ab8b125876a7a7dec54cc6f6f920c4.zip
Make the dialog more HIG-compliant by fixing widget alignment/spacing
2003-09-25 Rodney Dawes <dobey@ximian.com> * mail-send-recv.c: Make the dialog more HIG-compliant by fixing widget alignment/spacing issues, and removing separators svn path=/trunk/; revision=22702
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-send-recv.c10
2 files changed, 7 insertions, 8 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index acc4252739..d58f45afbc 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-25 Rodney Dawes <dobey@ximian.com>
+
+ * mail-send-recv.c: Make the dialog more HIG-compliant by fixing
+ widget alignment/spacing issues, and removing separators
+
2003-09-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-preferences.c (mail_preferences_construct): Same as below.
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 890434daa5..0ba9ae3179 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -305,11 +305,10 @@ build_dialogue (EAccountList *accounts, CamelFolder *outbox, const char *destina
EAccount *account;
EIterator *iter;
- gd = (GtkDialog *)send_recv_dialogue = gtk_dialog_new_with_buttons(_("Send & Receive Mail"), NULL, 0, NULL);
+ gd = (GtkDialog *)send_recv_dialogue = gtk_dialog_new_with_buttons(_("Send & Receive Mail"), NULL, GTK_DIALOG_NO_SEPARATOR, NULL);
stop = (GtkButton *)e_gtk_button_new_with_icon(_("Cancel _All"), GTK_STOCK_CANCEL);
gtk_widget_show((GtkWidget *)stop);
gtk_dialog_add_action_widget(gd, (GtkWidget *)stop, GTK_RESPONSE_CANCEL);
- g_object_set(gd, "resizable", FALSE, NULL);
gnome_window_icon_set_from_file (GTK_WINDOW (gd), EVOLUTION_ICONSDIR "/send-receive.xpm");
num_sources = 0;
@@ -327,7 +326,7 @@ build_dialogue (EAccountList *accounts, CamelFolder *outbox, const char *destina
g_object_unref (iter);
table = (GtkTable *) gtk_table_new (num_sources, 4, FALSE);
- gtk_container_set_border_width ((GtkContainer *) table, 6);
+ gtk_container_set_border_width ((GtkContainer *) table, 3);
gtk_box_pack_start (GTK_BOX (gd->vbox), GTK_WIDGET (table), TRUE, TRUE, 0);
@@ -413,11 +412,6 @@ build_dialogue (EAccountList *accounts, CamelFolder *outbox, const char *destina
g_object_unref (iter);
- line = (GtkHSeparator *)gtk_hseparator_new ();
- gtk_table_attach (table, GTK_WIDGET (line), 0, 4, row, row+1, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 1, 3);
- row++;
- gtk_widget_show_all (GTK_WIDGET (table));
-
if (outbox && destination) {
info = g_hash_table_lookup (data->active, SEND_URI_KEY);
if (info == NULL) {