aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-10-24 03:31:14 +0800
committerChris Lahey <clahey@src.gnome.org>2000-10-24 03:31:14 +0800
commitde0c82f3825e8bd17b8a18e19e1ae7b1557a5210 (patch)
tree5480a88c370db80bdfaa1c33b96ced02b71c051f /mail/folder-browser.c
parent842c503a80c143a24ac61c89a51f47cb3b8e4031 (diff)
downloadgsoc2013-evolution-de0c82f3825e8bd17b8a18e19e1ae7b1557a5210.tar.gz
gsoc2013-evolution-de0c82f3825e8bd17b8a18e19e1ae7b1557a5210.tar.zst
gsoc2013-evolution-de0c82f3825e8bd17b8a18e19e1ae7b1557a5210.zip
Made the top of the folder browser a little prettier.
2000-10-23 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c: Made the top of the folder browser a little prettier. * mail-display.c, mail-vfolder.c: Made more dialogs resizable. svn path=/trunk/; revision=6126
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 567fc70da1..86f5214b45 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -462,6 +462,7 @@ folder_browser_gui_init (FolderBrowser *fb)
{
GtkWidget *hbox, *label;
GtkButton *button, *searchbutton;
+ GtkWidget *search_alignment, *save_alignment;
/*
* The panned container
@@ -482,6 +483,8 @@ folder_browser_gui_init (FolderBrowser *fb)
fb->search_entry = gtk_entry_new();
gtk_widget_show(fb->search_entry);
gtk_signal_connect(GTK_OBJECT (fb->search_entry), "activate", search_activate, fb);
+ search_alignment = gtk_alignment_new(.5, .5, 0, 0);
+ gtk_widget_show(search_alignment);
searchbutton = (GtkButton *)gtk_button_new_with_label(_("Full Search"));
gtk_widget_show((GtkWidget *)searchbutton);
label = gtk_label_new(_("Search"));
@@ -489,13 +492,17 @@ folder_browser_gui_init (FolderBrowser *fb)
fb->search_menu = create_option_menu(search_options, 0, fb);
button = (GtkButton *)gtk_button_new_with_label(_("Save"));
gtk_widget_show((GtkWidget *)button);
+ save_alignment = gtk_alignment_new(.5, .5, 0, 0);
+ gtk_widget_show(save_alignment);
gtk_signal_connect((GtkObject *)button, "clicked", search_save, fb);
gtk_signal_connect((GtkObject *)searchbutton, "clicked", search_full, fb);
- gtk_box_pack_end((GtkBox *)hbox, (GtkWidget *)button, FALSE, FALSE, 3);
+ gtk_container_add(GTK_CONTAINER(save_alignment), GTK_WIDGET(button));
+ gtk_box_pack_end((GtkBox *)hbox, save_alignment, FALSE, FALSE, 3);
gtk_box_pack_end((GtkBox *)hbox, fb->search_entry, FALSE, FALSE, 3);
gtk_box_pack_end((GtkBox *)hbox, fb->search_menu, FALSE, FALSE, 3);
gtk_box_pack_end((GtkBox *)hbox, label, FALSE, FALSE, 3);
- gtk_box_pack_end((GtkBox *)hbox, (GtkWidget *)searchbutton, FALSE, FALSE, 3);
+ gtk_container_add(GTK_CONTAINER(search_alignment), GTK_WIDGET(searchbutton));
+ gtk_box_pack_end((GtkBox *)hbox, search_alignment, FALSE, FALSE, 3);
gtk_table_attach (
GTK_TABLE (fb), hbox,
0, 1, 0, 1,