[gnome-control-center] online-accounts: Remove code duplicated from .ui



commit d0601dd4174ffc014b21ec5c31680b56c6d6c0c9
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Sep 13 16:58:41 2011 +0100

    online-accounts: Remove code duplicated from .ui

 panels/online-accounts/cc-online-accounts-panel.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/panels/online-accounts/cc-online-accounts-panel.c b/panels/online-accounts/cc-online-accounts-panel.c
index 4e4c197..6771c8d 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -130,11 +130,8 @@ goa_panel_init (GoaPanel *panel)
   context = gtk_widget_get_style_context (GTK_WIDGET (gtk_builder_get_object (panel->builder, "accounts-tree-scrolledwindow")));
   gtk_style_context_set_junction_sides (context, GTK_JUNCTION_BOTTOM);
   context = gtk_widget_get_style_context (panel->toolbar);
-  gtk_style_context_add_class (context, GTK_STYLE_CLASS_INLINE_TOOLBAR);
   gtk_style_context_set_junction_sides (context, GTK_JUNCTION_TOP);
 
-  gtk_notebook_set_show_tabs (GTK_NOTEBOOK (gtk_builder_get_object (panel->builder, "accounts-notebook")), FALSE);
-
   panel->accounts_treeview = GTK_WIDGET (gtk_builder_get_object (panel->builder, "accounts-tree-treeview"));
   g_signal_connect (gtk_tree_view_get_selection (GTK_TREE_VIEW (panel->accounts_treeview)),
                     "changed",



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