← Back to team overview

desktop-packages team mailing list archive

[Bug 706980] Re: Cannot add a separator into a menu

 

*** This bug is a duplicate of bug 716324 ***
    https://bugs.launchpad.net/bugs/716324

Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 716324, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.

** This bug has been marked a duplicate of bug 716324
   alacarte crashed with ValueError in __positionItem(): ('Separator',) is not in list

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alacarte in Ubuntu.
https://bugs.launchpad.net/bugs/706980

Title:
  Cannot add a separator into a menu

Status in “alacarte” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: alacarte

  As alacarte does not add separators into menus, I launched it from
  terminal and here is what I get when I click on the button to create a
  separator:

  [code]
  Traceback (most recent call last):
    File "/usr/share/alacarte/Alacarte/MainWindow.py", line 325, in on_new_separator_button_clicked
      self.editor.createSeparator(parent, after=after)
    File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 250, in createSeparator
      self.__positionItem(parent, ('Separator',), before, after)
    File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 694, in __positionItem
      current = parent.contents.index(item)
  ValueError: ('Separator',) is not in list
  [/code]

  Could anybody please have a look at it ?

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/706980/+subscriptions