mirror of
https://github.com/quexten/goldwarden.git
synced 2024-09-11 11:15:41 +03:00
Disabel error bell
This commit is contained in:
parent
8a8a2c10a6
commit
70f6a47fd5
@ -45,5 +45,8 @@ class GoldwardenLoginApp(Adw.Application):
|
|||||||
goldwarden.login_with_password(email, "")
|
goldwarden.login_with_password(email, "")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
settings = Gtk.Settings.get_default()
|
||||||
|
settings.set_property("gtk-error-bell", False)
|
||||||
|
|
||||||
app = GoldwardenLoginApp(application_id="com.quexten.Goldwarden.login")
|
app = GoldwardenLoginApp(application_id="com.quexten.Goldwarden.login")
|
||||||
app.run(sys.argv)
|
app.run(sys.argv)
|
@ -108,6 +108,9 @@ class GoldwardenQuickAccessApp(Adw.Application):
|
|||||||
self.update()
|
self.update()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
settings = Gtk.Settings.get_default()
|
||||||
|
settings.set_property("gtk-error-bell", False)
|
||||||
|
|
||||||
token = sys.stdin.readline()
|
token = sys.stdin.readline()
|
||||||
goldwarden.create_authenticated_connection(token)
|
goldwarden.create_authenticated_connection(token)
|
||||||
app = GoldwardenQuickAccessApp(application_id="com.quexten.Goldwarden.quickaccess")
|
app = GoldwardenQuickAccessApp(application_id="com.quexten.Goldwarden.quickaccess")
|
||||||
|
@ -139,7 +139,9 @@ class GoldwardenSettingsApp(Adw.Application):
|
|||||||
dialog.set_visible(True)
|
dialog.set_visible(True)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# read from stdin
|
settings = Gtk.Settings.get_default()
|
||||||
|
settings.set_property("gtk-error-bell", False)
|
||||||
|
|
||||||
token = sys.stdin.readline().strip()
|
token = sys.stdin.readline().strip()
|
||||||
|
|
||||||
goldwarden.create_authenticated_connection(None)
|
goldwarden.create_authenticated_connection(None)
|
||||||
|
Loading…
Reference in New Issue
Block a user