Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webtoolbar.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-03-16 16:10:57 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-03-16 16:10:57 (GMT)
commit1656a89381d8449b38410aef38437ee0cf9f3da3 (patch)
tree3a8e1285f6b559cd080aadcb899e1ed3adb1820d /webtoolbar.py
parentb1b155764150607a4ccb1f09954f0ba201223c2a (diff)
Make filechoosers be transient windows (right fix).
Diffstat (limited to 'webtoolbar.py')
-rwxr-xr-xwebtoolbar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/webtoolbar.py b/webtoolbar.py
index ad7b783..cc64f14 100755
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -124,6 +124,7 @@ class WebToolbar(Toolbar):
def _save_cb(self, button):
chooser = FileChooserDialog(title=None,
+ parent=self._embed.get_toplevel(),
action=gtk.FILE_CHOOSER_ACTION_SAVE,
buttons=(gtk.STOCK_CANCEL,
gtk.RESPONSE_CANCEL,
@@ -141,6 +142,7 @@ class WebToolbar(Toolbar):
def _open_cb(self, button):
chooser = FileChooserDialog(title=None,
+ parent=self._embed.get_toplevel(),
action=gtk.FILE_CHOOSER_ACTION_OPEN,
buttons=(gtk.STOCK_CANCEL,
gtk.RESPONSE_CANCEL,