From 5e9f66f3d115e88edcffeb442e45e6964bd6e125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 9 Mar 2015 20:58:43 +0100 Subject: [PATCH] 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 --- extensions/drive-menu/extension.js | 4 +--- extensions/places-menu/extension.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/extensions/drive-menu/extension.js b/extensions/drive-menu/extension.js index fe42a4ca..8d22987c 100644 --- a/extensions/drive-menu/extension.js +++ b/extensions/drive-menu/extension.js @@ -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(); diff --git a/extensions/places-menu/extension.js b/extensions/places-menu/extension.js index a8660c8b..767fb878 100644 --- a/extensions/places-menu/extension.js +++ b/extensions/places-menu/extension.js @@ -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();