Skip to content

Commit

Permalink
Fix prefs window
Browse files Browse the repository at this point in the history
  • Loading branch information
stokito committed Oct 1, 2023
1 parent 4505dc1 commit 5748987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def action_about(self, w):
builder.add_from_file(cfg.ASSETDIR + 'ui/about.glade')
about = builder.get_object('aboutdialog')
about.set_logo_icon_name(Gtk.STOCK_DIALOG_AUTHENTICATION)
about.set_transient_for(self.g_window)
# about.set_transient_for(self.g_window)
about.set_version(cfg.VERSION)
about.connect('response', lambda *args: about.destroy())
about.show()
Expand Down
2 changes: 1 addition & 1 deletion modules/prefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def open_preferences_window(self, parentwindow):
# TODO: Advanced tab
#self.tg_args_gpg_e = builder.get_object('tg_args_gpg_e')
#self.en_args_gpg_e = builder.get_object('en_args_gpg_e')
self.set_transient_for(parentwindow)
# self.set_transient_for(parentwindow)
if access(cfg.USERPREF_FILE, R_OK):
btn_revert = builder.get_object('btn_revert')
btn_revert.set_sensitive(True)
Expand Down

0 comments on commit 5748987

Please sign in to comment.