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

79c34a
From fe6695b8d45fe7d1d9aea8c41c9aa54048a9704d 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
---
79c34a
 extensions/apps-menu/extension.js | 5 +++++
79c34a
 1 file changed, 5 insertions(+)
79c34a
79c34a
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
79c34a
index 2f4002a..41d1faf 100644
79c34a
--- a/extensions/apps-menu/extension.js
79c34a
+++ b/extensions/apps-menu/extension.js
79c34a
@@ -433,6 +433,11 @@ const ApplicationsButton = new Lang.Class({
79c34a
 
79c34a
         let hbox = new St.BoxLayout({ style_class: 'panel-status-menu-box' });
79c34a
 
79c34a
+        let iconFile = Gio.File.new_for_path('/usr/share/icons/hicolor/scalable/apps/start-here.svg');
79c34a
+        this._icon = new St.Icon({ gicon: new Gio.FileIcon({ file: iconFile }),
79c34a
+                                   style_class: 'panel-logo-icon' });
79c34a
+        hbox.add_actor(this._icon);
79c34a
+
79c34a
         this._label = new St.Label({ text: _("Applications"),
79c34a
                                      y_expand: true,
79c34a
                                      y_align: Clutter.ActorAlign.CENTER });
79c34a
-- 
79c34a
2.14.2
79c34a