Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- giveAcxDialog(){
- export NETWIZ_Acx_Module_Dialog="<window title=\"$L_TITLE_Puppy_Network_Wizard\" icon-name=\"gtk-network\" window-position=\"1\">
- <vbox>
- <pixmap icon_size=\"6\">
- <input file stock=\"gtk-dialog-warning\"></input>
- </pixmap>
- <text>
- <label>\"$L_TEXT_Acx_Module_p1 $1. $L_TEXT_Acx_Module_p2\"</label>
- </text>
- <hbox>
- <button>
- <label>$L_BUTTON_Blacklist</label>
- <input file stock=\"gtk-yes\"></input>
- <action>EXIT:Blacklist</action>
- </button>
- <button>
- <label>$L_BUTTON_Unload</label>
- <input file stock=\"gtk-undo\"></input>
- <action>EXIT:Unload</action>
- </button>
- <button cancel></button>
- </hbox>
- </vbox>
- </window>"
- I=$IFS; IFS=""
- for STATEMENT in $(gtkdialog3 --program NETWIZ_Acx_Module_Dialog); do
- eval $STATEMENT
- done
- IFS=$I
- clean_up_gtkdialog NETWIZ_Acx_Module_Dialog
- unset NETWIZ_Acx_Module_Dialog
- case $EXIT in
- Blacklist) blacklist_module "$1" ; return 1 ;;
- Unload) return 0 ;; # askWhichInterfaceForNdiswrapper will continue to unload it
- esac
- return 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement