summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/menus.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-04-27 14:33:29 +0000
committerjkh <jkh@FreeBSD.org>1999-04-27 14:33:29 +0000
commit19ffa5eea896737615fbb68cbd6bbcbac4ec4918 (patch)
treea760591f5f1b8bbdeda85d3001444691a1b1c059 /usr.sbin/sade/menus.c
parentc85ea5017c00c71172e6cfb5bd1cd171837b5812 (diff)
downloadFreeBSD-src-19ffa5eea896737615fbb68cbd6bbcbac4ec4918.zip
FreeBSD-src-19ffa5eea896737615fbb68cbd6bbcbac4ec4918.tar.gz
o Make package matching for specific package loading use the Latest/
feature of packages now so that no version info is embedded. o Add a default X desktop menu offering afterstep, enlightenment, KDE, GNOME and Windowmaker desktops instead of the boring twm(1) based one if the user so chooses. This will require a little testing.
Diffstat (limited to 'usr.sbin/sade/menus.c')
-rw-r--r--usr.sbin/sade/menus.c29
1 files changed, 27 insertions, 2 deletions
diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c
index 5d7fb7a..ab984fa 100644
--- a/usr.sbin/sade/menus.c
+++ b/usr.sbin/sade/menus.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: menus.c,v 1.194 1999/04/21 07:22:37 obrien Exp $
+ * $Id: menus.c,v 1.195 1999/04/24 01:53:54 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -446,6 +446,31 @@ DMenu MenuXF86Config = {
{ NULL } },
};
+DMenu MenuXDesktops = {
+ DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
+ "Please select the default X desktop to use.",
+ "By default, XFree86 comes with a fairly vanilla desktop which\n"
+ "is based around the twm(1) window manager and does not offer\n"
+ "much in the way of features. It does have the advantage of\n"
+ "being a standard part of X so you don't need to load anything\n"
+ "extra in order to use it. If, however, you have access to a\n"
+ "reasonably full packages collection on your installation media,\n"
+ "you can choose any one of the following desktops as alternatives.",
+ NULL,
+ NULL,
+ { { "Gnome", "The GNOME desktop environment.",
+ NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=gnome" },
+ { "KDE", "The K Desktop Environment.",
+ NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=kde" },
+ { "Afterstep", "The Afterstep Window manager",
+ NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=afterstep" },
+ { "Windowmaker", "The Windowmaker Window manager",
+ NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=windowmaker" },
+ { "Enlightenment","The E Window manager (24 bit recommended)",
+ NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=enlightenment" },
+ { NULL } },
+};
+
DMenu MenuMediaCDROM = {
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
"Choose a CDROM type",
@@ -1165,7 +1190,7 @@ DMenu MenuConfigure = {
{ "D HTML Docs", "Go to the HTML documentation menu (post-install)",
NULL, docBrowser },
{ "X XFree86", "Configure XFree86",
- NULL, configXEnvironment },
+ NULL, configXSetup },
{ "E Exit", "Exit this menu (returning to previous)",
NULL, dmenuExit },
{ NULL } },
OpenPOWER on IntegriCloud