aboutsummaryrefslogtreecommitdiff
path: root/src/main-window.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-09-26 15:25:58 +0200
committerMihai Moldovan <ionic@ionic.de>2023-10-05 13:43:15 +0200
commit199b64043b71bf31c38249a83ce5a4b1181e78e8 (patch)
tree1ee6da39eab48b6d2d2a4594da9e089f1e404ca2 /src/main-window.vala
parent2d3628eb860621cd88743470cbd6b140eed72b6b (diff)
downloadarctica-greeter-199b64043b71bf31c38249a83ce5a4b1181e78e8.tar.gz
arctica-greeter-199b64043b71bf31c38249a83ce5a4b1181e78e8.tar.bz2
arctica-greeter-199b64043b71bf31c38249a83ce5a4b1181e78e8.zip
src/main-window.vala: Drop obsolete / commented out code.
Diffstat (limited to 'src/main-window.vala')
-rw-r--r--src/main-window.vala18
1 files changed, 1 insertions, 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);