From 1d4eb29cb0cbf76af4258232d92d2e2332657ca4 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Fri, 10 May 2013 23:20:23 +0200 Subject: [PATCH] ui: Set toolbar style from glade --- data/rygel-preferences.ui | 3 +++ src/ui/rygel-preferences-dialog.vala | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/data/rygel-preferences.ui b/data/rygel-preferences.ui index 584c96c..b53ecb3 100644 --- a/data/rygel-preferences.ui +++ b/data/rygel-preferences.ui @@ -82,6 +82,9 @@ False icons 1 + True diff --git a/src/ui/rygel-preferences-dialog.vala b/src/ui/rygel-preferences-dialog.vala index 184e456..18cbfd9 100644 --- a/src/ui/rygel-preferences-dialog.vala +++ b/src/ui/rygel-preferences-dialog.vala @@ -42,10 +42,6 @@ public class Rygel.PreferencesDialog : GLib.Object { this.builder = new Builder (); this.builder.add_from_file (UI_FILE); - var toolbar = builder.get_object ("toolbar1") as Widget; - var style_context = toolbar.get_style_context (); - style_context.set_junction_sides (JunctionSides.TOP); - style_context.add_class (STYLE_CLASS_INLINE_TOOLBAR); this.dialog = (Dialog) this.builder.get_object (DIALOG); assert (this.dialog != null); -- 2.7.4