summaryrefslogtreecommitdiffstats
path: root/dia_dud.inc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:08 +0000
commit5ce8d30439463838f845c78bc926cc9b310a8743 (patch)
treebb1852dc58711c7baee31216a765067dfa49b65b /dia_dud.inc
parent10658e71475bd964263d09f1a661f24fadfaf496 (diff)
downloadbootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.tar
bootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.tar.gz
bootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.tar.bz2
bootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.tar.xz
bootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.zip
imported openSUSE.tar.bz2 (from gfxboot-4.1.19-2.1.src.rpm)4.1.19.1
Diffstat (limited to 'dia_dud.inc')
-rw-r--r--dia_dud.inc119
1 files changed, 0 insertions, 119 deletions
diff --git a/dia_dud.inc b/dia_dud.inc
deleted file mode 100644
index 5fb08c9..0000000
--- a/dia_dud.inc
+++ /dev/null
@@ -1,119 +0,0 @@
-% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-%
-% Driver update dialog.
-%
-% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-% Some global vars.
-%
-/.dud_yes 0 def
-/.dud_no 1 def
-
-/dud.default .dud_no def
-
-/dud.options [
- "updatemodules"
- ""
-] def
-
-
-% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-% Build driver update menu.
-%
-% ( ) ==> ( )
-%
-/dud.init {
- /xmenu.dud .xm_size array def
-
- /xmenu xmenu.dud def
-
- xmenu .xm_current dud.default put
- xmenu .xm_list [ /txt_yes /txt_no ] put
-
- xmenu .xm_title /txt_driver_update put
-
- pmenu.init
-} def
-
-
-% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-% Update driver update mode.
-%
-% ( ) ==> ( )
-%
-/dud.update {
- /xmenu xmenu.dud def
-
- /window.action actRedrawPanel def
-
- pmenu.update
-} def
-
-
-% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-% Show driver update menu.
-%
-% ( ) => ( )
-%
-/panel.dud {
- "driverupdate" help.setcontext
-
- window.xmenu
- dup .xmenu xmenu.dud put
- dup .xmenu.update /dud.update put
- dup window.init
- window.show
-} def
-
-
-% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-% Return width of panel entry.
-%
-% ( ) => ( width )
-%
-/panel.dud.width {
- /xmenu xmenu.dud def
-
- pmenu.width
-} def
-
-
-% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-% Redraw panel entry.
-%
-% ( panel ) => ( )
-%
-/panel.dud.update {
- /xmenu xmenu.dud def
-
- pmenu.panel.update
-} def
-
-
-% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-/dud.dialog {
-
- /dia window.dialog def
-
- dia .text "" put
-
- xmenu .xm_current get
-
- pop
-
- dia .ed.focus 0 put
- dia .ed.width 300 put
-
- dia .buttons [
- button.ok button.default actNothing button.setaction
- button.cancel button.notdefault actNothing button.setaction
- ] put
-
- dia window.init
- dia window.show
-
-} def
-
-