[anjal] Better packing



commit f1d89f39627b7e70be7698158c9723c0b9752ae8
Author: Srinivasa Ragavan <sragavan novell com>
Date:   Thu Apr 2 14:04:29 2009 +0530

    Better packing
---
 src/mail-folder-view.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/mail-folder-view.c b/src/mail-folder-view.c
index a66d11a..960e2f1 100644
--- a/src/mail-folder-view.c
+++ b/src/mail-folder-view.c
@@ -1245,6 +1245,10 @@ mail_folder_view_construct (MailFolderView *shell)
 	gtk_tree_view_column_pack_start (column, vbox, TRUE);
 	gtk_tree_view_column_set_cell_data_func (column, vbox, draw_flags, shell, NULL);
 
+	/* dummy renderers for nice packing */
+	cell = custom_cell_renderer_toggle_pixbuf_new (gdk_pixbuf_new_from_xpm_data ((const char **) empty_xpm), gdk_pixbuf_new_from_xpm_data ((const char **) empty_xpm));	
+	custom_cell_renderer_vbox_append (vbox, cell);
+
 	/* Pack a renderer for unread indication */
 	cell = custom_cell_renderer_toggle_pixbuf_new (gdk_pixbuf_new_from_file(unread_image, NULL), gdk_pixbuf_new_from_file(unread_image, NULL));
 	g_object_set_data (cell, "mfv", shell);
@@ -1258,8 +1262,6 @@ mail_folder_view_construct (MailFolderView *shell)
 	/* dummy renderers for nice packing */
 	cell = custom_cell_renderer_toggle_pixbuf_new (gdk_pixbuf_new_from_xpm_data ((const char **) empty_xpm), gdk_pixbuf_new_from_xpm_data ((const char **) empty_xpm));	
 	custom_cell_renderer_vbox_append (vbox, cell);
-	cell = custom_cell_renderer_toggle_pixbuf_new (gdk_pixbuf_new_from_xpm_data ((const char **) empty_xpm), gdk_pixbuf_new_from_xpm_data ((const char **) empty_xpm));	
-	custom_cell_renderer_vbox_append (vbox, cell);
 	
 	/* Create the single column */
 	column = gtk_tree_view_column_new ();



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