- # 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
A better fix is of course to simply prepend "Activities" here, but that would require a new string :/
Something like: /ui/gtk3/ views/appdetail sview.py' ui/gtk3/ views/appdetail sview.py 2012-04-17 14:50:00 +0000 ui/gtk3/ views/appdetail sview.py 2012-04-17 15:28:00 +0000 label=_ ("Find it in the menu: "))
self. installed_ where_hbox. pack_start( label, False, False, 0) shell_running( ): oItem(object) : oItem() )
iconname = None
self. installed_ where_hbox. set_property( "can-focus" , False)
self. installed_ where_hbox. a11y.set_ name('' )
=== modified file 'softwarecenter
--- softwarecenter/
+++ softwarecenter/
@@ -1612,6 +1612,11 @@
# display launcher location
label = Gtk.Label(
+ if is_gnome_
+ class ActivitiesPseud
+ def get_icon(self): return ""
+ def get_name(self): return _("Activities")
+ where.insert(0, ActivitiesPseud
for (i, item) in enumerate(where):
icon = None
@@ -1673,9 +1678,9 @@
- # exit here early if unity or gnome-shell are running (but still shell_running( ):
+ # exit here early if unity is running (but still
# show commandline args)
- if is_unity_running() or is_gnome_
+ 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