dom0/core: fix zenity fallback in qrexec_daemon
This commit is contained in:
parent
51d0b3dba3
commit
ba779a1920
@ -99,8 +99,9 @@ int ask_on_connect_timeout(int xid, int timeout)
|
||||
#define KDIALOG_CMD "kdialog --title 'Qrexec daemon' --warningyesno "
|
||||
#define ZENITY_CMD "zenity --title 'Qrexec daemon' --question --text "
|
||||
snprintf(text, sizeof(text),
|
||||
ret==0 ? KDIALOG_CMD : ZENITY_CMD
|
||||
"%s"
|
||||
"'Timeout while trying connecting to qrexec agent (Xen domain ID: %d). Do you want to wait next %d seconds?'",
|
||||
ret==0 ? KDIALOG_CMD : ZENITY_CMD,
|
||||
xid, timeout);
|
||||
#undef KDIALOG_CMD
|
||||
#undef ZENITY_CMD
|
||||
|
Loading…
Reference in New Issue
Block a user