Blob Blame History Raw
From 271f4dee47e19e3e0f3f7c6a8cf49e41044899a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
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 fe42a4c..8d22987 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 a8660c8..767fb87 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();
-- 
2.3.6