GTK3: set correct back/forward icons

svn: r20250
This commit is contained in:
Benny Malengier 2012-08-22 12:49:11 +00:00
parent fdd1b1f6b1
commit 908d287477

View File

@ -1562,7 +1562,7 @@ class PedigreeView(NavigationView):
]
for stock_id, callback, sensitivity in entries:
item = Gtk.ImageMenuItem(stock_id)
item = Gtk.ImageMenuItem.new_from_stock(stock_id=stock_id, accel_group=None)
item.set_sensitive(sensitivity)
if stock_id == _("Home"):
im = Gtk.Image.new_from_stock(Gtk.STOCK_HOME, Gtk.IconSize.MENU)