Define notebook.pos.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 23 Apr 2007 23:56:03 +0000 (23:56 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 23 Apr 2007 23:56:03 +0000 (23:56 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@969 959494ce-11ee-0310-bf91-de5d638817bd

common/makegdesc

index 5ffcf09..12c1cda 100755 (executable)
@@ -185,6 +185,9 @@ sub printwidgets
            $widget->{"noshow"} = 1;
        } elsif($widget->{"type"} =~ /^[hv]paned$/) {
            print "${p}stack[$sl] = gtk_" . $widget->{"type"} . "_new();\n";
+           if(defined($widget->{"pos"})) {
+               print "${p}gtk_notebook_set_tab_pos(GTK_NOTEBOOK(stack[$sl]), GTK_POS_" . $widget->{"pos"} . ")\n";
+           }
            $widget->{"cur"} = 1;
            $pf = sub
            {