]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
changed requester to zenity as debian dropped support for the much better Xdialog, mt
authorhadaq@CountingHouse <hadaq@CountingHouse>
Fri, 28 Feb 2014 01:59:00 +0000 (02:59 +0100)
committerhadaq@CountingHouse <hadaq@CountingHouse>
Fri, 28 Feb 2014 01:59:00 +0000 (02:59 +0100)
utils/doyoureallywant.pl

index 84c918226eef2963bca4d89b6c89d439ac05a900..5c5674f5a84af23927b1b932eaae0cd10ca1a3cc 100755 (executable)
@@ -11,10 +11,10 @@ my $text;
 $text="You really want to $ARGV[0]?";
 
 #my $cmd = "kdialog --yesno \"$text\" --title \"Restart/Stop DAQ\"";
-
 #my $cmd = "gdialog --yesno \"$text\" --title \"Restart/Stop DAQ\"";
+#my $cmd = "Xdialog --title \"Restart/Stop DAQ\" --yesno \"$text\" 10 100";
 
-my $cmd = "Xdialog --title \"Restart/Stop DAQ\" --yesno \"$text\" 10 100";
+my $cmd = "zenity --question --title=\"Restart/Stop DAQ\" --text=\"$text\" --height=10 --width=100";
 
 my $r = system($cmd);