diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-accounts-dialog.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-accounts-dialog.c b/libempathy-gtk/empathy-accounts-dialog.c index efc5ccc80..765962b6c 100644 --- a/libempathy-gtk/empathy-accounts-dialog.c +++ b/libempathy-gtk/empathy-accounts-dialog.c @@ -395,16 +395,18 @@ accounts_dialog_model_add_columns (EmpathyAccountsDialog *dialog) view = GTK_TREE_VIEW (dialog->treeview); gtk_tree_view_set_headers_visible (view, TRUE); - column = gtk_tree_view_column_new (); - gtk_tree_view_column_set_title (column, _("Accounts")); - /* Enabled */ cell = gtk_cell_renderer_toggle_new (); - gtk_tree_view_column_pack_start (column, cell, FALSE); - gtk_tree_view_column_add_attribute (column, cell, "active", COL_ENABLED); + gtk_tree_view_insert_column_with_attributes (view, -1, + NULL, cell, + "active", COL_ENABLED, + NULL); g_signal_connect (cell, "toggled", G_CALLBACK (accounts_dialog_enable_toggled_cb), dialog); + + column = gtk_tree_view_column_new (); + gtk_tree_view_column_set_title (column, _("Accounts")); /* Icon */ cell = gtk_cell_renderer_pixbuf_new (); |