Blame SOURCES/0001-apps-menu-add-logo-icon-to-Applications-menu.patch

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