Use a proper arrows instead of UTF8
All proper shell menus were updated to do that a while ago, we should do the same for consistency. https://bugzilla.gnome.org/show_bug.cgi?id=745909
This commit is contained in:
committed by
Jakub Steiner
parent
c1929e34d1
commit
5e9f66f3d1
@@ -128,9 +128,7 @@ const DriveMenu = new Lang.Class({
|
||||
style_class: 'system-status-icon' });
|
||||
|
||||
hbox.add_child(icon);
|
||||
hbox.add_child(new St.Label({ text: '\u25BE',
|
||||
y_expand: true,
|
||||
y_align: Clutter.ActorAlign.CENTER }));
|
||||
hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
|
||||
this.actor.add_child(hbox);
|
||||
|
||||
this._monitor = Gio.VolumeMonitor.get();
|
||||
|
||||
@@ -82,9 +82,7 @@ const PlacesMenu = new Lang.Class({
|
||||
y_expand: true,
|
||||
y_align: Clutter.ActorAlign.CENTER });
|
||||
hbox.add_child(label);
|
||||
hbox.add_child(new St.Label({ text: '\u25BE',
|
||||
y_expand: true,
|
||||
y_align: Clutter.ActorAlign.CENTER }));
|
||||
hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
|
||||
this.actor.add_actor(hbox);
|
||||
|
||||
this.placesManager = new PlaceDisplay.PlacesManager();
|
||||
|
||||
Reference in New Issue
Block a user