From 199b64043b71bf31c38249a83ce5a4b1181e78e8 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 26 Sep 2023 15:25:58 +0200 Subject: src/main-window.vala: Drop obsolete / commented out code. --- src/main-window.vala | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/main-window.vala b/src/main-window.vala index 943ad25..5332186 100644 --- a/src/main-window.vala +++ b/src/main-window.vala @@ -74,23 +74,7 @@ public class MainWindow : Gtk.Window shadow_style = "background-image: url('%s'); background-repeat: repeat;".printf(shadow_path); } - /* Disable the shadow image, we will use CSS instead. */ - /* - try - { - var style = new Gtk.CssProvider (); - style.load_from_data ("* {background-color: transparent; - %s - }".printf(shadow_style), -1); - var context = menubox.get_style_context (); - context.add_provider (style, - Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION); - } - catch (Error e) - { - debug ("Internal error loading menubox style: %s", e.message); - } - */ + menubox.set_size_request (-1, MENUBAR_HEIGHT); menubox.show (); login_box.add (menubox); -- cgit v1.2.3