dom0/core: fix zenity fallback in qrexec_daemon
这个提交包含在:
父节点
51d0b3dba3
当前提交
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
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户