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

689e29
From fe6695b8d45fe7d1d9aea8c41c9aa54048a9704d Mon Sep 17 00:00:00 2001
689e29
From: Ray Strode <rstrode@redhat.com>
689e29
Date: Tue, 21 Jan 2014 16:48:17 -0500
689e29
Subject: [PATCH] apps-menu: add logo icon to Applications menu
689e29
689e29
Brand requested it.
689e29
---
689e29
 extensions/apps-menu/extension.js | 5 +++++
689e29
 1 file changed, 5 insertions(+)
689e29
689e29
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
689e29
index 2f4002a..41d1faf 100644
689e29
--- a/extensions/apps-menu/extension.js
689e29
+++ b/extensions/apps-menu/extension.js
689e29
@@ -433,6 +433,11 @@ const ApplicationsButton = new Lang.Class({
689e29
 
689e29
         let hbox = new St.BoxLayout({ style_class: 'panel-status-menu-box' });
689e29
 
689e29
+        let iconFile = Gio.File.new_for_path('/usr/share/icons/hicolor/scalable/apps/start-here.svg');
689e29
+        this._icon = new St.Icon({ gicon: new Gio.FileIcon({ file: iconFile }),
689e29
+                                   style_class: 'panel-logo-icon' });
689e29
+        hbox.add_actor(this._icon);
689e29
+
689e29
         this._label = new St.Label({ text: _("Applications"),
689e29
                                      y_expand: true,
689e29
                                      y_align: Clutter.ActorAlign.CENTER });
689e29
-- 
689e29
2.14.2
689e29