Fix toolbar View menu item always being checked at start.
Introduced by #1293, after the 3.11.4 release.
This commit is contained in:
parent
0dce1007e9
commit
b8339b8d73
|
@ -427,11 +427,6 @@ class gPodder(BuilderWidget, dbus.service.Object):
|
|||
|
||||
self.bluetooth_episodes_action.set_enabled(self.bluetooth_available)
|
||||
|
||||
action = Gio.SimpleAction.new_stateful(
|
||||
'showToolbar', None, GLib.Variant.new_boolean(self.config.show_toolbar))
|
||||
action.connect('activate', self.on_itemShowToolbar_activate)
|
||||
g.add_action(action)
|
||||
|
||||
def inject_extensions_menu(self):
|
||||
"""
|
||||
Update Extras/Extensions menu.
|
||||
|
|
Loading…
Reference in New Issue