svn commit: r251913 - head/usr.sbin/bsdconfig/mouse

Devin Teske dteske at FreeBSD.org
Tue Jun 18 08:59:47 UTC 2013


Author: dteske
Date: Tue Jun 18 08:59:47 2013
New Revision: 251913
URL: http://svnweb.freebsd.org/changeset/base/251913

Log:
  Use newly enhanced f_dialog_msgbox() from SVN r251912.

Modified:
  head/usr.sbin/bsdconfig/mouse/disable

Modified: head/usr.sbin/bsdconfig/mouse/disable
==============================================================================
--- head/usr.sbin/bsdconfig/mouse/disable	Tue Jun 18 08:54:02 2013	(r251912)
+++ head/usr.sbin/bsdconfig/mouse/disable	Tue Jun 18 08:59:47 2013	(r251913)
@@ -84,16 +84,7 @@ f_sysrc_delete moused_flags || f_die
 # Message box
 #
 f_dialog_title "$msg_message"
-hline="$hline_press_enter_or_space"
-prompt="$msg_mouse_daemon_is_disabled"
-f_dialog_buttonbox_size height width \
-	"$DIALOG_TITLE" "$DIALOG_BACKTITLE" "$prompt"
-$DIALOG \
-	--title "$DIALOG_TITLE"         \
-	--backtitle "$DIALOG_BACKTITLE" \
-	--hline "$hline"                \
-	--ok-label "$msg_ok"            \
-	--msgbox "$prompt" $height $width
+f_dialog_msgbox "$msg_mouse_daemon_is_disabled" "$hline_press_enter_or_space"
 
 exit $SUCCESS
 


More information about the svn-src-head mailing list