git-gui: align the new recursive checkbox with the radiobuttons.
[gitweb.git] / lib / class.tcl
index dc2141192a21e7416268cc94beda78d6ceb8f86f..f08506f3834a1ec821390190b920146d83078997 100644 (file)
@@ -134,6 +134,14 @@ proc delete_this {{t {}}} {
        if {[namespace exists $t]} {namespace delete $t}
 }
 
+proc make_dialog {t w args} {
+       upvar $t top $w pfx this this
+       global use_ttk
+       uplevel [linsert $args 0 make_toplevel $t $w]
+       catch {wm attributes $top -type dialog}
+       pave_toplevel $pfx
+}
+
 proc make_toplevel {t w args} {
        upvar $t top $w pfx this this