Add title attribute to assistant.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 16 Apr 2007 13:19:11 +0000 (13:19 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 16 Apr 2007 13:19:11 +0000 (13:19 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@945 959494ce-11ee-0310-bf91-de5d638817bd

common/makegdesc

index 4fd4f46..74f5b95 100755 (executable)
@@ -27,6 +27,9 @@ sub printwidgets
            }
        } elsif($widget->{"type"} eq "assistant") {
            print "${p}stack[$sl] = gtk_assistant_new();\n";
+           if(defined($widget->{"title"})) {
+               print "${p}gtk_window_set_title(GTK_WINDOW(stack[$sl]), \"" . $widget->{"title"} . "\");\n";
+           }
            $pf = sub
            {
                my($widget, $p, $sl) = @_;