Comment 0 for bug 1983607

Revision history for this message
Terra Home (pantomime) wrote :

Under Ubuntu version 22.04 Alacarte refuses to save a menu item if you have not uploaded your own icon image. I suggest that a solution be implemented to create a menu item with a default icon.

Under Debian version 11.4 the error does not occur.
2) Alacarte package Version 4.16.1-1

=

user@ubuntu: $ alacarte

(alacarte:35659): Gtk-CRITICAL **: 19:26:31.197: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:35659): Gtk-CRITICAL **: 19:26:31.197: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 186, in on_response
    self.save()
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 176, in save
    util.fillKeyFile(self.keyfile, self.get_keyfile_edits())
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 234, in get_keyfile_edits
    Icon=get_icon_string(self, self.builder.get_object('icon-image')),
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 58, in get_icon_string
    filename = editor.icon_file
AttributeError: 'LauncherEditor' object has no attribute 'icon_file'
neptun@ESPRIMO-Q556-2:~/Dokumente/0_worker/Tools/0_Ubuntu/my-Ubuntu$
user@ubuntu: $