Skip to content

Commit

Permalink
Workaround pylint issue
Browse files Browse the repository at this point in the history
For some reaslon pylint doesn't see GLib.VariantType.new
  • Loading branch information
marmarek committed Jul 7, 2024
1 parent 6179e39 commit 66e5cfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qui/tray/disk_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ def __init__(self, **properties):
self.set_application_id("org.qubes.qui.tray.DiskSpace")
self.register()

# for some reaslon pylint doesn't see GLib.VariantType.new
# pylint: disable=no-member
prefs_action = Gio.SimpleAction.new("prefs", GLib.VariantType.new("s"))
prefs_action.connect("activate", launch_preferences_dialog)
self.add_action(prefs_action)
Expand Down

0 comments on commit 66e5cfb

Please sign in to comment.