Public bug reported:

Binary package hint: gimmie

Hi, Ubuntu guys. I'm the Mandriva maintainer for gimmie (an experimental
GNOME panel / launcher). I noticed that two particular gimmie bugs are
getting a *huge* amount of duplicate reports from Ubuntu users in GNOME
Bugzilla:

http://bugzilla.gnome.org/show_bug.cgi?id=421732
http://bugzilla.gnome.org/show_bug.cgi?id=421620

I've fixed these in the Mandriva package by backporting the following
two patches from SVN. You should probably apply these to your package
too. :)

--------------------------

--- trunk/gimmie/gimmie_computer.py     2007/03/22 00:44:46     385
+++ trunk/gimmie/gimmie_computer.py     2007/03/22 20:22:15     389
@@ -103,7 +103,8 @@
                     uri = volume.get_activation_uri()
                     break
             else:
-                raise ValueError, "Cannot find URI to open for drive '%s'" % 
drive
+                raise ValueError, "Cannot find URI to open for drive '%s'" % \
+                      drive.get_display_name()
 
         Item.__init__(self,
                       uri=uri,
@@ -214,7 +215,10 @@
         yield self.cd_burner
 
         for drive in self.vol_monitor.get_connected_drives():
-            yield DriveItem(drive)
+            try:
+                yield DriveItem(drive)
+            except ValueError:
+                pass
 
 
 class PrinterItem(Item):

--------------------------------

--- trunk/gimmie/gimmie_computer.py     2007/03/22 20:22:15     389
+++ trunk/gimmie/gimmie_computer.py     2007/03/25 03:16:42     391
@@ -485,12 +485,8 @@
                              uri="source://Administration",
                              filter_by_date=False)
 
-        self.system_settings_menu_tree = None
-        try:
-            self.system_settings_menu_tree = MenuTree("system-settings.menu")
-            self.system_settings_menu_tree.connect("reload", lambda x: 
self.emit("reload"))
-        except ValueError:
-            pass
+        self.system_settings_menu_tree = MenuTree("system-settings.menu")
+        self.system_settings_menu_tree.connect("reload", lambda x: 
self.emit("reload"))
 
         self.system_settings_menu_source = None
         self.do_reload()
@@ -737,7 +733,10 @@
                        settings]
 
         if not settings.has_administration():
-            source_list.append(AdministrationSource())
+            try:
+                source_list.append(AdministrationSource())
+            except ValueError, err:
+                print " !!! Error loading Administration items:", err
         
         ### Uncomment to list settings inside their toplevel folders in the 
sidebar
         #source_list += SettingsSource().get_toplevel_source_list()

** Affects: gimmie (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Suggested patches for gimmie
https://bugs.launchpad.net/bugs/114534
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to