gsu: User banner text also for gsu gui.
[gsu.git] / misc / gsu / gui
index 12c8b8b..2e6a7b7 100644 (file)
@@ -139,7 +139,7 @@ gsu_menu()
                let num++
                opts+=" $i $num"
        done
-       result="$(dialog --menu "$header" $opts 3>&1 1>&2 2>&3 3>&-)"
+       result="$(dialog --menu "$gsu_banner_txt ($header)" $opts 3>&1 1>&2 2>&3 3>&-)"
        ret="$?"
 }
 
@@ -208,5 +208,5 @@ gsu_gui()
        fi
        _get_root_nodes "$tree"
        subtree="$result"
-       _browse "$gsu_name main menu" "$tree" "$subtree"
+       _browse "main menu" "$tree" "$subtree"
 }