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

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