← Back to team overview

desktop-packages team mailing list archive

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

 

I can confirm that I can't create a separator either. Running alacarte from terminal and trying, I get the same output as Francesco Fumanti.
I find it extremely odd that this is not fixed yet seeing as this has never been an issue in previous releases.

-- 
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