Double entry in control screenlets

Bug #222948 reported by Julien Lavergne
2
Affects Status Importance Assigned to Milestone
Screenlets
Fix Released
Undecided
Unassigned
screenlets (Debian)
Fix Released
Unknown

Bug Description

When you activate the Application menu in Control Screenlets, entries are doubled if you launch a second Control Screenlets.
The path to reproduce it :
--- /usr/share/screenlets/Control/menu.xml.sav 2008-04-22 12:30:04 +0200
+++ /usr/share/screenlets/Control/menu.xml 2008-04-22 12:30:51 +0200
@@ -29,11 +29,11 @@
        <imageitem label="Inkscape" icon="inkscape" id="exec:inkscape" />
        <separator />
        <!-- add applications-menu -->
- <!--<item label="Applications">
+ <item label="Applications">
                <appdir path="/usr/share/applications/"
                        cats="Office,Development,Game,Utility" />

Revision history for this message
Helder Fraga (whise) wrote :

will be fixed in 0.0.1

line 245

  # remove duplicates
  for app in applist:
   if applist.count(app) > 1:
    applist.remove(app)
  # sort list
  applist.sort()

Revision history for this message
Helder Fraga (whise) wrote :

i mean 0.1.1

Revision history for this message
Helder Fraga (whise) wrote :

in the xmlmenu.py

Helder Fraga (whise)
Changed in screenlets:
status: New → Fix Committed
Changed in screenlets:
status: Unknown → Confirmed
Changed in screenlets:
status: Confirmed → Fix Released
Helder Fraga (whise)
Changed in screenlets:
status: Fix Committed → 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.