status: Stop using .panel-status-button
This used to be the style-class for status icons (i.e. icon-only top bar items). It got unused a while ago when the class used by status icons stopped using it - except for the keyboard indicator, which set the class manually to appear as status icon despite not being a real icon. Now that the button highlight is provided by the .panel-button class on a parent, the obsolete class results in a double border on the keyboard indicator when active - just drop it from there as well to fix.
This commit is contained in:
@@ -589,7 +589,6 @@ const InputSourceIndicator = new Lang.Class({
|
||||
this._hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
|
||||
|
||||
this.actor.add_child(this._hbox);
|
||||
this.actor.add_style_class_name('panel-status-button');
|
||||
|
||||
this._propSeparator = new PopupMenu.PopupSeparatorMenuItem();
|
||||
this.menu.addMenuItem(this._propSeparator);
|
||||
|
Reference in New Issue
Block a user