After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 167377 - Copying a toolbar/menubar is broken
Copying a toolbar/menubar is broken
Status: RESOLVED FIXED
Product: Gazpacho
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Gazpacho Maintainer(s)
Gazpacho Maintainer(s)
Depends on:
Blocks: 172261
 
 
Reported: 2005-02-14 19:37 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2005-04-06 20:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johan (not receiving bugmail) Dahlin 2005-02-14 19:37:15 UTC
Create a new Window, add a toolbar or a menubar to it, mark the menu, press Ctrl-C.

The following exception will be raised:

Traceback (most recent call last):
  • File "/home/jdahlin/dev/sicem/gazpacho/gazpacho/application.py", line 641 in _copy_cb
    self._real_copy()
  • File "/home/jdahlin/dev/sicem/gazpacho/gazpacho/application.py", line 638 in _real_copy
    self._command_manager.copy(gwidget)
  • File "/home/jdahlin/dev/sicem/gazpacho/gazpacho/command.py", line 153 in copy
    copy = copy_widget(widget)
  • File "/home/jdahlin/dev/sicem/gazpacho/gazpacho/widget.py", line 51 in copy_widget
    copy._apply_properties(src._properties)
  • File "/home/jdahlin/dev/sicem/gazpacho/gazpacho/widget.py", line 541 in _apply_properties
    prop.klass._set_function(self.widget, prop._value)
  • File "/home/jdahlin/dev/sicem/gazpacho/gazpacho/gladegtk.py", line 701 in glade_gtk_menu_or_tool_bar_ui_set
    new_widget = _get_new_widget_after_uimanager_change(widget, ui_string)
  • File "/home/jdahlin/dev/sicem/gazpacho/gazpacho/gladegtk.py", line 692 in _get_new_widget_after_uimanager_change
    new_widget.set_data('merge_id', merge_id)
AttributeError: 'NoneType' object has no attribute 'set_data'

Comment 1 Lorenzo Gil Sanchez 2005-04-06 20:02:09 UTC
Fixed in trunk