gtk+ r19924 - in trunk: . gtk



Author: johan
Date: Sun Mar 23 08:17:07 2008
New Revision: 19924
URL: http://svn.gnome.org/viewvc/gtk+?rev=19924&view=rev

Log:
2008-03-23  Johan Dahlin  <johan gnome org>

	* gtk/gtk-builder-convert:
	Properly convert GtkImageMenuItems which use stock labels but don't
	have any children.
	(#523932, Brian Pepple)



Modified:
   trunk/ChangeLog
   trunk/gtk/gtk-builder-convert

Modified: trunk/gtk/gtk-builder-convert
==============================================================================
--- trunk/gtk/gtk-builder-convert	(original)
+++ trunk/gtk/gtk-builder-convert	Sun Mar 23 08:17:07 2008
@@ -422,7 +422,7 @@
 
         if get_property(node, 'use_stock') == 'True':
             if 'label' in properties:
-                properties['stock_id'] = child
+                properties['stock_id'] = properties['label']
                 del properties['label']
 
         properties['name'] = object_id



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]