** Attachment added: "test.glade"
   http://launchpadlibrarian.net/15428073/test.glade

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/15428074/Dependencies.txt

** Description changed:

  Binary package hint: glade-3
  
  Here are the steps to reproduce the problem using Glade 3.4.1:
  - Create a new window, add a menu bar to it.
  - Right click the menu bar, click edit
  - Add an image stock preferences menu item after gtk-delete in the Edit menu.
  - Add a menu item betwenn the preferences menu item and the gtk-delete menu 
item
  - By default this menu item is of type Normal, change the label to something 
else, in my case "menutiemHaha"
  - Now change the type to seperator.
  - Save
  In glade, the menu item will appear as a seperator, however, when using the 
glade file in a simple python pygtk app, the item will appear as a normal menu 
item, with a label.
  Upon examining the glade file in a text editor, I found the offending piece 
of XML:
-                   <widget class="GtkSeparatorMenuItem" id="menuitem6">
-                     <property name="visible">True</property>
-                     <property name="events">GDK_POINTER_MOTION_MASK | 
GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | 
GDK_BUTTON_RELEASE_MASK</property>
-                     <property name="label" 
translatable="yes">menuitemHaha</property>
-                     <property name="use_underline">True</property>
-                   </widget>
+ <widget class="GtkSeparatorMenuItem" id="menuitem6">
+  <property name="visible">True</property>
+  <property name="events">GDK_POINTER_MOTION_MASK | 
GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | 
GDK_BUTTON_RELEASE_MASK</property>
+  <property name="label" translatable="yes">menuitemHaha</property>
+  <property name="use_underline">True</property>
+ </widget>
  The element property with the name "label" should have been deleted.
  
  Attached is the glade file generated by Glade and not edited by hand.
  
  ProblemType: Bug
  Architecture: i386
  Date: Thu Jun 19 11:53:48 2008
  DistroRelease: Ubuntu 7.10
  NonfreeKernelModules: fglrx
  Package: glade-3 3.4.1-1~getdeb1
  PackageArchitecture: i386
  SourcePackage: glade-3
  Uname: Linux david-laptop 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 
2008 i686 GNU/Linux
  UnreportableReason: This is not a genuine Ubuntu package

-- 
menu seperator had label
https://bugs.launchpad.net/bugs/241251
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to