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

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