[empathy: 3/7] Swap SMS and Text buttons



commit cac463c56410465da586d911516dfaf5b7e0233d
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Thu Oct 20 09:44:06 2011 +1100

    Swap SMS and Text buttons
    
    The default action should be on the right.

 libempathy-gtk/empathy-new-message-dialog.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-new-message-dialog.c b/libempathy-gtk/empathy-new-message-dialog.c
index 998df16..8ed1712 100644
--- a/libempathy-gtk/empathy-new-message-dialog.c
+++ b/libempathy-gtk/empathy-new-message-dialog.c
@@ -322,14 +322,14 @@ empathy_new_message_dialog_init (EmpathyNewMessageDialog *self)
       GTK_ICON_SIZE_BUTTON);
   gtk_button_set_image (GTK_BUTTON (self->priv->button_chat), image);
 
-  gtk_dialog_add_action_widget (GTK_DIALOG (self), self->priv->button_chat,
-      EMP_NEW_MESSAGE_TEXT);
-  gtk_widget_show (self->priv->button_chat);
-
   gtk_dialog_add_action_widget (GTK_DIALOG (self), self->priv->button_sms,
       EMP_NEW_MESSAGE_SMS);
   gtk_widget_show (self->priv->button_sms);
 
+  gtk_dialog_add_action_widget (GTK_DIALOG (self), self->priv->button_chat,
+      EMP_NEW_MESSAGE_TEXT);
+  gtk_widget_show (self->priv->button_chat);
+
   /* Tweak the dialog */
   gtk_window_set_title (GTK_WINDOW (self), _("New Conversation"));
   gtk_window_set_role (GTK_WINDOW (self), "new_message");



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