mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +00:00
skip taskbar fix for win
This commit is contained in:
parent
7e9576a947
commit
9777d4e00c
1 changed files with 2 additions and 2 deletions
|
@ -516,7 +516,7 @@ def show_file_open_dialog(parent, title=None):
|
||||||
chooser.set_select_multiple(True)
|
chooser.set_select_multiple(True)
|
||||||
if not common.windows_check():
|
if not common.windows_check():
|
||||||
chooser.set_icon(common.get_logo(32))
|
chooser.set_icon(common.get_logo(32))
|
||||||
chooser.set_property("skip-taskbar-hint", True)
|
chooser.set_property("skip-taskbar-hint", True)
|
||||||
|
|
||||||
response = chooser.run()
|
response = chooser.run()
|
||||||
if response == gtk.RESPONSE_OK:
|
if response == gtk.RESPONSE_OK:
|
||||||
|
@ -532,7 +532,7 @@ def show_directory_chooser_dialog(parent, title):
|
||||||
buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OK, gtk.RESPONSE_OK))
|
buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OK, gtk.RESPONSE_OK))
|
||||||
if not common.windows_check():
|
if not common.windows_check():
|
||||||
chooser.set_icon(common.get_logo(32))
|
chooser.set_icon(common.get_logo(32))
|
||||||
chooser.set_property("skip-taskbar-hint", True)
|
chooser.set_property("skip-taskbar-hint", True)
|
||||||
config = pref.Preferences()
|
config = pref.Preferences()
|
||||||
chooser.set_current_folder(config.get("choose_directory_dialog_path"))
|
chooser.set_current_folder(config.get("choose_directory_dialog_path"))
|
||||||
if chooser.run() == gtk.RESPONSE_OK:
|
if chooser.run() == gtk.RESPONSE_OK:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue