From: fredrik Date: Mon, 16 Apr 2007 03:24:02 +0000 (+0000) Subject: Add filechooser. X-Git-Tag: 0.4~122 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=79138dda33e24df0823b9d39ad78d05ed2b4c4e3 Add filechooser. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@944 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/common/makegdesc b/common/makegdesc index 9ca169c..4fd4f46 100755 --- a/common/makegdesc +++ b/common/makegdesc @@ -293,6 +293,8 @@ sub printwidgets if($widget->{"grip"} eq "n") { print "${p}gtk_statusbar_set_has_resize_grip(GTK_STATUSBAR(stack[$sl]), FALSE);\n"; } + } elsif($widget->{"type"} eq "filechooser") { + print "${p}stack[$sl] = gtk_file_chooser_widget_new(GTK_FILE_CHOOSER_ACTION_" . (defined($widget->{"action"})?$widget->{"action"}:"OPEN") . ");\n"; } else { print STDERR "Unknown widget: " . $widget->{"type"} ."\n"; }