[gnome-shell-extensions] Use a proper arrows instead of UTF8



commit 5e9f66f3d115e88edcffeb442e45e6964bd6e125
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Mar 9 20:58:43 2015 +0100

    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();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]