Properly convert GtkImageMenuItems which use stock labels but don't have

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)


svn path=/trunk/; revision=19924
This commit is contained in:
Johan Dahlin 2008-03-23 08:17:07 +00:00 committed by Johan Dahlin
parent 2034ab8642
commit f571e582a8
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
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)
2008-03-22 Matthew Barnes <mbarnes@redhat.com>
* gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):

View File

@ -422,7 +422,7 @@ class GtkBuilderConverter(object):
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