After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649621 - A gnome shell extension to display distributor logo instead of 'Activities'
A gnome shell extension to display distributor logo instead of 'Activities'
Status: RESOLVED WONTFIX
Product: gnome-shell
Classification: Core
Component: extensions
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-05-07 01:48 UTC by Malcolm Lewis
Modified: 2013-05-24 15:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-New-Extension-hotspot-icon.patch (4.46 KB, patch)
2011-05-07 01:48 UTC, Malcolm Lewis
reviewed Details | Review

Description Malcolm Lewis 2011-05-07 01:48:06 UTC
Created attachment 187402 [details] [review]
0001-New-Extension-hotspot-icon.patch

A simple extension that removes the text string 'Activities' and replaces with the distributors icon.
Comment 1 Giovanni Campagna 2011-05-09 19:41:15 UTC
Review of attachment 187402 [details] [review]:

::: extensions/hotspot-icon/extension.js
@@ +5,3 @@
+	hotCornerButton = Main.panel.button;
+
+	let logo = new St.Icon({ icon_type: St.IconType.FULLCOLOR, icon_size: hotCornerButton.height, icon_name: 'distributor' });

I would suggest using CSS (system-status-icon style class) instead of hardcoding the height (which is too big and overflows, btw)
And 'distributor' is not a valid icon name on my system, it's 'start-here'

@@ +7,3 @@
+	let logo = new St.Icon({ icon_type: St.IconType.FULLCOLOR, icon_size: hotCornerButton.height, icon_name: 'distributor' });
+	let box = new St.BoxLayout();
+	box.add_actor(logo);

Why the BoxLayout?

@@ +9,3 @@
+	box.add_actor(logo);
+
+	Main.panel.button.set_child(box);

You get better results if you add Main.panel.button.y_fill = true
Comment 2 Otto Kekäläinen 2013-03-07 20:45:09 UTC
In general I think it is a bit stupid to have the text "Actions". It reminds somewhat of the Windows "Start" but it does not closely give the appropriate credit to what Gnome Shell really is. Why not just show the Gnome logo there?

If Gnome ever late gets other parallel items to Actions, like Places or something, then the text can be re-introduced, but at the moment just "Actions" seems weird.
Comment 3 Tomeu Vizoso 2013-05-09 07:21:42 UTC
Note that currently, extensions get loaded after a few frames have been rendered, so the user will see the 'Activities' text before it changes to the icon (see bug 699981).
Comment 4 Florian Müllner 2013-05-24 15:25:14 UTC
Giovanni, is this something you want to add to gnome-shell-extensions, or should we refer this to extensions.gnome.org?
Comment 5 Giovanni Campagna 2013-05-24 15:30:33 UTC
I believe that extensions.gnome.org is a more suitable place to host and distribute this. gnome-shell-extensions is a core module, and additions to it should happen for classic mode only.