summaryrefslogtreecommitdiffstats
path: root/draksnapshot-config
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-09-29 17:31:57 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-09-29 17:31:57 +0000
commitd2b6014d462f87e53d98bb6c02924445374f66e7 (patch)
treea558c8422d557fbc391cebf38825f24178288ec3 /draksnapshot-config
parent8d15ef833af55e3e864b078c52b9e805ada460ed (diff)
downloaddraksnapshot-d2b6014d462f87e53d98bb6c02924445374f66e7.tar
draksnapshot-d2b6014d462f87e53d98bb6c02924445374f66e7.tar.gz
draksnapshot-d2b6014d462f87e53d98bb6c02924445374f66e7.tar.bz2
draksnapshot-d2b6014d462f87e53d98bb6c02924445374f66e7.tar.xz
draksnapshot-d2b6014d462f87e53d98bb6c02924445374f66e7.zip
further use mygtk2
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@247038 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'draksnapshot-config')
-rwxr-xr-xdraksnapshot-config5
1 files changed, 2 insertions, 3 deletions
diff --git a/draksnapshot-config b/draksnapshot-config
index 1e7000f..8cc712b 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -153,9 +153,8 @@ gtkadd($my_win->{window},
clicked => sub {
my $file_dlg;
$file_dlg =
- gtknew('FileChooserDialog', title => N("Path selection"), action => 'select_folder');
- $file_dlg->set_transient_for($my_win->{real_window});
- $file_dlg->set_modal(1);
+ gtknew('FileChooserDialog', title => N("Path selection"), action => 'select_folder',
+ transient_for => $my_win->{real_window}, modal => 1);
$file_dlg->set_filename($where->get_text);
$file_dlg->show;
my $answer = $file_dlg->run;