From: Sander H. <tj...@us...> - 2005-12-19 17:51:56
|
Update of /cvsroot/amsn/amsn-extras/plugins/desktop_integration In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32267/plugins/desktop_integration Modified Files: desktop_integration.tcl Log Message: fix zenity question and info messages. (Might not work with older zenity but I am not sure) Index: desktop_integration.tcl =================================================================== RCS file: /cvsroot/amsn/amsn-extras/plugins/desktop_integration/desktop_integration.tcl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** desktop_integration.tcl 16 Dec 2005 22:00:21 -0000 1.2 --- desktop_integration.tcl 19 Dec 2005 17:51:42 -0000 1.3 *************** *** 386,390 **** if { $ktype == "msgbox" } { set ktype "info" } plugins_log $plugin_name "Calling \'zenity --$ktype\'" ! catch {exec zenity --$ktype --$ktype-text=\"$message\" --title \"$title\" &} answer } } --- 386,390 ---- if { $ktype == "msgbox" } { set ktype "info" } plugins_log $plugin_name "Calling \'zenity --$ktype\'" ! catch {exec zenity --$ktype --text \"$message\" --title \"$title\" &} answer } } *************** *** 398,402 **** # GNOME yes-no dialog plugins_log $plugin_name "Calling \'zenity --question\'" ! set answer [::desktop_integration::launch_question "zenity --question --question-text \"$message\" --title \"$title\""] } plugins_log $plugin_name "Answer=\'$answer\'" --- 398,402 ---- # GNOME yes-no dialog plugins_log $plugin_name "Calling \'zenity --question\'" ! set answer [::desktop_integration::launch_question "zenity --question --text \"$message\" --title \"$title\""] } plugins_log $plugin_name "Answer=\'$answer\'" |