Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webtoolbar.py
diff options
context:
space:
mode:
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,