From a029fa8f3f9b0901612735f4c628dedf8475e0dd Mon Sep 17 00:00:00 2001 From: Zach Tibbitts Date: Wed, 21 Feb 2007 18:33:47 +0000 Subject: [PATCH] add dlgs skip taskbar as well --- src/dgtk.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dgtk.py b/src/dgtk.py index e248498f9..93593c4cb 100644 --- a/src/dgtk.py +++ b/src/dgtk.py @@ -43,7 +43,8 @@ def show_file_open_dialog(parent=None): chooser.add_filter(f1) chooser.set_icon_from_file(dcommon.get_pixmap("deluge32.png")) - + chooser.set_property("skip-taskbar-hint", True) + response = chooser.run() if response == gtk.RESPONSE_OK: result = chooser.get_filename() @@ -56,6 +57,7 @@ def show_directory_chooser_dialog(parent=None): chooser = gtk.FileChooserDialog(_("Choose a download directory"), parent, gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER, buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OK, gtk.RESPONSE_OK)) chooser.set_icon_from_file(dcommon.get_pixmap("deluge32.png")) + chooser.set_property("skip-taskbar-hint", True) if chooser.run() == gtk.RESPONSE_OK: result = chooser.get_filename() else: