mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
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:
parent
2034ab8642
commit
f571e582a8
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user