|
|
e1cefa |
From 271f4dee47e19e3e0f3f7c6a8cf49e41044899a1 Mon Sep 17 00:00:00 2001
|
|
|
e1cefa |
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
|
|
e1cefa |
Date: Mon, 9 Mar 2015 20:58:43 +0100
|
|
|
e1cefa |
Subject: [PATCH] Use a proper arrows instead of UTF8
|
|
|
e1cefa |
|
|
|
e1cefa |
All proper shell menus were updated to do that a while ago, we
|
|
|
e1cefa |
should do the same for consistency.
|
|
|
e1cefa |
|
|
|
e1cefa |
https://bugzilla.gnome.org/show_bug.cgi?id=745909
|
|
|
e1cefa |
---
|
|
|
e1cefa |
extensions/drive-menu/extension.js | 4 +---
|
|
|
e1cefa |
extensions/places-menu/extension.js | 4 +---
|
|
|
e1cefa |
2 files changed, 2 insertions(+), 6 deletions(-)
|
|
|
e1cefa |
|
|
|
e1cefa |
diff --git a/extensions/drive-menu/extension.js b/extensions/drive-menu/extension.js
|
|
|
e1cefa |
index fe42a4c..8d22987 100644
|
|
|
e1cefa |
--- a/extensions/drive-menu/extension.js
|
|
|
e1cefa |
+++ b/extensions/drive-menu/extension.js
|
|
|
e1cefa |
@@ -128,9 +128,7 @@ const DriveMenu = new Lang.Class({
|
|
|
e1cefa |
style_class: 'system-status-icon' });
|
|
|
e1cefa |
|
|
|
e1cefa |
hbox.add_child(icon);
|
|
|
e1cefa |
- hbox.add_child(new St.Label({ text: '\u25BE',
|
|
|
e1cefa |
- y_expand: true,
|
|
|
e1cefa |
- y_align: Clutter.ActorAlign.CENTER }));
|
|
|
e1cefa |
+ hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
|
|
|
e1cefa |
this.actor.add_child(hbox);
|
|
|
e1cefa |
|
|
|
e1cefa |
this._monitor = Gio.VolumeMonitor.get();
|
|
|
e1cefa |
diff --git a/extensions/places-menu/extension.js b/extensions/places-menu/extension.js
|
|
|
e1cefa |
index a8660c8..767fb87 100644
|
|
|
e1cefa |
--- a/extensions/places-menu/extension.js
|
|
|
e1cefa |
+++ b/extensions/places-menu/extension.js
|
|
|
e1cefa |
@@ -82,9 +82,7 @@ const PlacesMenu = new Lang.Class({
|
|
|
e1cefa |
y_expand: true,
|
|
|
e1cefa |
y_align: Clutter.ActorAlign.CENTER });
|
|
|
e1cefa |
hbox.add_child(label);
|
|
|
e1cefa |
- hbox.add_child(new St.Label({ text: '\u25BE',
|
|
|
e1cefa |
- y_expand: true,
|
|
|
e1cefa |
- y_align: Clutter.ActorAlign.CENTER }));
|
|
|
e1cefa |
+ hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
|
|
|
e1cefa |
this.actor.add_actor(hbox);
|
|
|
e1cefa |
|
|
|
e1cefa |
this.placesManager = new PlaceDisplay.PlacesManager();
|
|
|
e1cefa |
--
|
|
|
e1cefa |
2.3.6
|
|
|
e1cefa |
|