2019-11-05 20:55:05 +00:00
|
|
|
From 3e3634b59455da0cbae1de4af0ce5cf97be8b80d Mon Sep 17 00:00:00 2001
|
2019-05-07 05:14:22 +00:00
|
|
|
From: Ray Strode <rstrode@redhat.com>
|
|
|
|
Date: Tue, 21 Jan 2014 16:48:17 -0500
|
|
|
|
Subject: [PATCH] apps-menu: add logo icon to Applications menu
|
|
|
|
|
|
|
|
Brand requested it.
|
|
|
|
---
|
2019-11-05 20:55:05 +00:00
|
|
|
extensions/apps-menu/extension.js | 8 ++++++++
|
|
|
|
1 file changed, 8 insertions(+)
|
2019-05-07 05:14:22 +00:00
|
|
|
|
|
|
|
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
|
2019-11-05 20:55:05 +00:00
|
|
|
index d7ba570..d62e3d7 100644
|
2019-05-07 05:14:22 +00:00
|
|
|
--- a/extensions/apps-menu/extension.js
|
|
|
|
+++ b/extensions/apps-menu/extension.js
|
2019-11-05 20:55:05 +00:00
|
|
|
@@ -390,6 +390,14 @@ class ApplicationsButton extends PanelMenu.Button {
|
2019-05-07 05:14:22 +00:00
|
|
|
|
|
|
|
let hbox = new St.BoxLayout({ style_class: 'panel-status-menu-box' });
|
|
|
|
|
2019-11-05 20:55:05 +00:00
|
|
|
+ let iconFile = Gio.File.new_for_path(
|
|
|
|
+ '/usr/share/icons/hicolor/scalable/apps/start-here.svg');
|
|
|
|
+ this._icon = new St.Icon({
|
|
|
|
+ gicon: new Gio.FileIcon({ file: iconFile }),
|
|
|
|
+ style_class: 'panel-logo-icon'
|
|
|
|
+ });
|
2019-05-07 05:14:22 +00:00
|
|
|
+ hbox.add_actor(this._icon);
|
|
|
|
+
|
2019-11-05 20:55:05 +00:00
|
|
|
this._label = new St.Label({
|
|
|
|
text: _('Applications'),
|
|
|
|
y_expand: true,
|
2019-05-07 05:14:22 +00:00
|
|
|
--
|
2019-11-05 20:55:05 +00:00
|
|
|
2.21.0
|
2019-05-07 05:14:22 +00:00
|
|
|
|