theme: Bring fallback app-menu style closer to GTK+
The fallback app-menu in GTK+'s client side decorations obviously uses the GTK+ theme rather than the shell one; update the style of our own fallback app-menu to resemble that style. https://bugzilla.gnome.org/show_bug.cgi?id=730752
This commit is contained in:
@ -133,6 +133,9 @@ const AppMenu = new Lang.Class({
|
||||
this.parent(Main.layoutManager.dummyCursor, app.menu, app.action_group);
|
||||
|
||||
this.actor.add_style_class_name('fallback-app-menu');
|
||||
let variant = window.get_gtk_theme_variant();
|
||||
if (variant)
|
||||
this.actor.add_style_class_name(variant);
|
||||
|
||||
Main.layoutManager.uiGroup.add_actor(this.actor);
|
||||
this.actor.hide();
|
||||
|
Reference in New Issue
Block a user