[anjal] Swap positions of new mail and send/receive as per Nick's req.



commit 95bc1730f7de87335925ad40103d701336ce0313
Author: Srinivasa Ragavan <sragavan novell com>
Date:   Thu Jul 16 00:15:33 2009 +0530

    Swap positions of new mail and send/receive as per Nick's req.

 src/mail-shell.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/mail-shell.c b/src/mail-shell.c
index ecf700e..69a4903 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -345,11 +345,6 @@ mail_shell_construct (MailShell *shell)
 		gtk_widget_set_size_request (priv->top_bar, -1, 42);	
 	}
 
-	/* New mail tool button */
-	PACK_IN_TOOL(priv->new_mail, "mail-message-new");
-	gtk_widget_show_all (priv->new_mail);
-	gtk_toolbar_insert ((GtkToolbar *)priv->top_bar, (GtkToolItem *)priv->new_mail, 0);
-
 	/* Check mail button and the spinner */
 	priv->check_mail = (GtkWidget *)gtk_tool_button_new (NULL, NULL);
 	box = gtk_hbox_new (FALSE, 0);
@@ -363,10 +358,15 @@ mail_shell_construct (MailShell *shell)
 	gtk_box_pack_start ((GtkBox *)box, tmp, FALSE, FALSE, 0);
 	gtk_widget_show(box);
 	gtk_tool_button_set_icon_widget ((GtkToolButton *)priv->check_mail, box);
-	gtk_toolbar_insert ((GtkToolbar *)priv->top_bar, (GtkToolItem *)priv->check_mail, 1);
+	gtk_toolbar_insert ((GtkToolbar *)priv->top_bar, (GtkToolItem *)priv->check_mail, 0);
 	gtk_widget_show (priv->check_mail);
 	g_signal_connect (priv->check_mail, "clicked", G_CALLBACK(ms_check_mail), shell);
 
+	/* New mail tool button */
+	PACK_IN_TOOL(priv->new_mail, "mail-message-new");
+	gtk_widget_show_all (priv->new_mail);
+	gtk_toolbar_insert ((GtkToolbar *)priv->top_bar, (GtkToolItem *)priv->new_mail, 1);
+
 	/* Separator before Search */
 	tmp = (GtkWidget *)gtk_separator_tool_item_new ();
 	gtk_toolbar_insert ((GtkToolbar *)priv->top_bar, (GtkToolItem *)tmp, 2);



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