GTK3 fix. Method has changed for removing sub menus from pop-up menus

svn: r20423
This commit is contained in:
Gary Burton 2012-09-19 19:50:14 +00:00
parent 2e3638d1fd
commit 104b16a18a

View File

@ -1423,7 +1423,7 @@ class GrampletPane(Gtk.ScrolledWindow):
if rg_menu:
qr_menu = rg_menu.get_submenu()
if qr_menu is not None:
rg_menu.remove_submenu()
rg_menu.set_submenu(None)
names = [gramplet.title for gramplet in self.closed_gramplets]
names.extend(opts["title"] for opts in self.closed_opts)
names.sort()