aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2023-10-05 13:44:45 +0200
committerMihai Moldovan <ionic@ionic.de>2023-10-05 13:44:45 +0200
commit55cfcc8b789c23b891d32e50e7986bafe9cee280 (patch)
tree1ee6da39eab48b6d2d2a4594da9e089f1e404ca2
parent2d3628eb860621cd88743470cbd6b140eed72b6b (diff)
parent199b64043b71bf31c38249a83ce5a4b1181e78e8 (diff)
downloadarctica-greeter-55cfcc8b789c23b891d32e50e7986bafe9cee280.tar.gz
arctica-greeter-55cfcc8b789c23b891d32e50e7986bafe9cee280.tar.bz2
arctica-greeter-55cfcc8b789c23b891d32e50e7986bafe9cee280.zip
Merge branch 'sunweaver-mr/drop-commented-out-code'
Attributes GH PR #79: https://github.com/ArcticaProject/arctica-greeter/pull/79
-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);