diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-16 09:41:46 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-16 09:41:46 +0000 |
commit | a9909767dac512edd8ecf674aece402337ff677e (patch) | |
tree | 473bdae4baa6fd33bbd22efb8c0ba23e34b4df7d | |
parent | 0615413c3f1fadfd216ba47dec3c9c28ec2861ed (diff) | |
download | rpmdrake-a9909767dac512edd8ecf674aece402337ff677e.tar rpmdrake-a9909767dac512edd8ecf674aece402337ff677e.tar.gz rpmdrake-a9909767dac512edd8ecf674aece402337ff677e.tar.bz2 rpmdrake-a9909767dac512edd8ecf674aece402337ff677e.tar.xz rpmdrake-a9909767dac512edd8ecf674aece402337ff677e.zip |
display a graphical warning when trying more than one instance instead
of silently exiting
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | rpmdrake | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- rpmdrake + o display a graphical warning when trying more than one instance + instead of silently exiting - MandrivaUpdate: o do not display the banner when height <= 480 instead of just < 480 (#54550) @@ -767,7 +767,8 @@ sub run_treeview_dialog { if (my $pid = is_running('rpmdrake')) { - die "rpmdrake is already running ($pid)\n"; + interactive_msg(N("Warning"), N("rpmdrake is already running (pid: $pid)"., yesno => [ N("Quit") ]); + exit(0); } $w = ugtk2->new(N("Software Management")); |