[empathy] accounts-dialog: set the ypad on the "Name" cell



commit 4a8a45fd6495f06a8fef623192cf8674baca71cb
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Nov 9 14:14:04 2009 +0000

    accounts-dialog: set the ypad on the "Name" cell
    
    Some accounts don't have an icon so we shouldn't use the icon cell to
    set this padding (#601150).

 src/empathy-accounts-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index c11d9a3..75ed75d 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -863,7 +863,6 @@ accounts_dialog_model_add_columns (EmpathyAccountsDialog *dialog)
       accounts_dialog_model_pixbuf_data_func,
       dialog,
       NULL);
-  g_object_set (cell, "ypad", 4, NULL);
 
   /* Name renderer */
   cell = gtk_cell_renderer_text_new ();
@@ -880,6 +879,7 @@ accounts_dialog_model_add_columns (EmpathyAccountsDialog *dialog)
   g_signal_connect (cell, "editing-started",
       G_CALLBACK (accounts_dialog_name_editing_started_cb),
       dialog);
+  g_object_set (cell, "ypad", 4, NULL);
 
   /* Delete column */
   cell = empathy_cell_renderer_activatable_new ();



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