"Find it in the menu" is wrong with gnome-shell in use and not visible at all in gnome-panel

Bug #913966 reported by Daniël van Eeden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

The information in the "Find it in the menu" in software-center is correct for GNOME2 (And GNOME 3 fallback?) but not for GNOME 3 (and Unity?).

I need to do this to start AcidRip:
"Activities->Applications->Sound&Video->AcidRip DVD Ripper" (or search for acidrip)

The screenshot shows wat software-center tells me.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center 5.0.3.1
ProcVersionSignature: Ubuntu 3.0.0-15.25-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Jan 9 21:46:52 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
SourcePackage: software-center
UpgradeStatus: Upgraded to oneiric on 2011-10-17 (84 days ago)

Related branches

Revision history for this message
Daniël van Eeden (dveeden) wrote :
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Michael Vogt (mvo) wrote :

If you could test the attached branch with:
$ bzr get lp:~mvo/software-center/lp913966
$ cd lp913966
$ ./software-center
and see if the menu string is removed, that would be nice.

Revision history for this message
Michael Vogt (mvo) wrote :

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

Michael Vogt (mvo)
summary: - "Find it in the menu" is wrong with gnome-shell in use
+ "Find it in the menu" is wrong with gnome-shell in use and not visible
+ at all in gnome-panel
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 5.3.7

---------------
software-center (5.3.7) quantal; urgency=low

  [ Michael Vogt ]
  * lp:~mvo/software-center/cleanup-in-config-code:
    - consolidate and simplify config handling for
      all configuration values
  * lp:~mvo/software-center/distro-detection-robustness:
    - tweak the distro detection to make it more robust
      against changes in the case for the plattform string
      and also makes the filenames/classnames more pythonic
  * lp:~mvo/software-center/fix-seperator-crash:
    - remove instance of self.separator_login as we do not
      use this anymore, prevents a crash
  * lp:~mvo/software-center/improve-test-for-config:
    - additional unit tests for the config handling code
  * lp:~mvo/software-center/set-ssl-stuff-in-webkitwidget:
    - move the webkit.py file into 'widgets' and consolidate
      all of the webkit settings there
  * lp:~mvo/software-center/use-lxml:
    - use python-lxml instead of xml.etree as the former is
      quite a bit faster
  * lp:~mvo/software-center/new-pep8 :
    - use pep8 comandline instead of "import pep8" to make it work again
      on quantal where the internal API of pep8 has changed
  * merged 5.2 branch that includes fix for LP: #1026494
  * lp:~mvo/software-center/cache-for-parse-applications-menu:
    - cache the result of parse_applications menu so it is run
      only once for better startup performance
  * lp:~mvo/software-center/lp913966:
    - support the new gnome 3 in the "where is it" feature
      (LP: #913966)
  * lp:~mvo/software-center/add-currency-property:
    - add a "currency" property to the appdetails and use
      it in the UI
  * lp:~mvo/software-center/no-piston-data-means-error:
    - if we don't get data at all from the webservice/cache in
      piston-generic-helper, emit a error signal
  * lp:~mvo/software-center/rec-small-cleanup:
    - small duplication cleanup
  * lp:~mvo/software-center/dep8:
    - enable automatic dep8 based testsuite running
      on the remote server
  * lp:~mvo/software-center/fix-new-pep8:
    - fix all pep8 issues in quantal branch test
  * softwarecenter/db/categories.py, tests/test_categories.py:
    - do not use cached categories in tests
  * lp:~mvo/software-center/lobby-testfixes:
    - fix tests when categories cache is used with multiple DBs
  * lp:~mvo/software-center/fix-lp870847-5.2:
    - fix incorrect validation pattern in modify_review call, this
      should fix the ablity of users to modify their reviews
      (LP: #870847)

  [ Gary Lasker ]
  * lp:~gary-lasker/software-center/fix-purchaseview-test:
   - fix the purchase view unit test to conform to the new config
     code
  * lp:~gary-lasker/software-center/display-cached-recommendations:
   - display cached recommendations in the lobby view in the case of
     no network access
  * lp:~gary-lasker/software-center/rec-tiny-cleanup:
    - additional bit of cleanup in the recommendations UI code
  * lp:~gary-lasker/software-center/fix-new-pep8-precise-fix:
    - small fix to allow trunk to continue to run on Precise
 -- Michael Vogt <email address hidden> Fri, 17 Aug 2012 11:57:20 +0200

Changed in software-center (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.