A better fix is of course to simply prepend "Activities" here, but that
would require a new string :/
Something like:
=== modified file 'softwarecenter/ui/gtk3/views/appdetailsview.py'
--- softwarecenter/ui/gtk3/views/appdetailsview.py 2012-04-17 14:50:00
+0000
+++ softwarecenter/ui/gtk3/views/appdetailsview.py 2012-04-17 15:28:00
+0000
@@ -1612,6 +1612,11 @@
# display launcher location
label = Gtk.Label(label=_("Find it in the menu: "))
self.installed_where_hbox.pack_start(label, False, False, 0)
+ if is_gnome_shell_running():
+ class ActivitiesPseudoItem(object):
+ def get_icon(self): return ""
+ def get_name(self): return _("Activities")
+ where.insert(0, ActivitiesPseudoItem())
for (i, item) in enumerate(where):
icon = None
iconname = None
@@ -1673,9 +1678,9 @@
self.installed_where_hbox.set_property("can-focus", False)
self.installed_where_hbox.a11y.set_name('')
- # exit here early if unity or gnome-shell are running (but still
+ # exit here early if unity is running (but still
# show commandline args)
- if is_unity_running() or is_gnome_shell_running():
+ if is_unity_running():
# but still display available commands, even in unity
# because these are not easily discoverable and we don't
# offer a launcher
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/913966
Title:
"Find it in the menu" is wrong with gnome-shell in use
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/913966/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs