[anjal] BUGFIX: GNOME #589285 - Static size for People button.



commit e3266bbfac913c11635c278fcb6d142e1e605bb0
Author: Srinivasa Ragavan <sragavan novell com>
Date:   Wed Jul 22 09:37:49 2009 +0530

    BUGFIX: GNOME #589285 - Static size for People button.

 src/mail-shell.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/mail-shell.c b/src/mail-shell.c
index 92ab3a6..ffb4263 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -454,7 +454,7 @@ mail_shell_construct (MailShell *shell)
 	shell->mail_component = mail_component_create ((GtkWidget *)shell, FALSE);
 	
 	priv->side_pane = gtk_hpaned_new ();
-	tmp = gtk_vpaned_new ();
+	tmp = gtk_vbox_new (FALSE, 0);
 	mail_view_set_folder_tree_widget ((MailView *)shell->mail_component->mail_view, tmp);
 	((MailSearch *)priv->search_entry)->view = (MailView *)shell->mail_component->mail_view;	
 	mail_view_init_search ((MailView *)shell->mail_component->mail_view, priv->search_entry);
@@ -469,8 +469,8 @@ mail_shell_construct (MailShell *shell)
 	g_signal_connect (img, "clicked", G_CALLBACK(ms_show_people), shell);
 	gtk_widget_show (img);
 
-	gtk_paned_pack2 ((GtkPaned *)tmp, img, FALSE, FALSE);
-	gtk_paned_add1 ((GtkPaned *)tmp, shell->mail_component->folder_tree);
+	gtk_box_pack_end ((GtkBox *)tmp, img, FALSE, FALSE, 0);
+	gtk_box_pack_start ((GtkBox *)tmp, shell->mail_component->folder_tree, TRUE, TRUE, 6);
 	gtk_widget_set_size_request (shell->mail_component->folder_tree, 200, 300);
 	mail_view_set_folder_tree ((MailView *)shell->mail_component->mail_view, shell->mail_component->folder_tree);
 	gtk_widget_show (shell->mail_component->folder_tree);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]