diff --git a/dispvm/qfile-daemon-dvm b/dispvm/qfile-daemon-dvm index 90907671..73d0d08e 100755 --- a/dispvm/qfile-daemon-dvm +++ b/dispvm/qfile-daemon-dvm @@ -46,10 +46,7 @@ class QfileDaemonDvm: qmemman_client.close() errmsg = 'Not enough memory to create DVM. ' errmsg +='Terminate some appVM and retry.' - if os.path.exists('/usr/bin/kdialog'): - subprocess.call(['/usr/bin/kdialog', '--sorry', errmsg]) - else: - subprocess.call(['/usr/bin/zenity', '--warning', '--text', errmsg]) + tray_notify_error(errmsg) return None tray_notify("Starting new DispVM...", "red")