diff options
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -96,7 +96,9 @@ gtkadd(my $icon = Gtk2::TrayIcon->new("MdkApplet"), ) ); $eventbox->signal_connect(button_press_event => sub { - $_[1]->button == 1 and showMainWindow(); #just for testing + if ($_[1]->button == 1) { + if (-e conffile) { showMainWindow() } else { configure } + } $_[1]->button == 3 && $menu and $menu->popup(undef, undef, undef, undef, $_[1]->button, $_[1]->time); }); @@ -232,7 +234,7 @@ sub browser { $Br{$wm} } sub displayLogs { - system "logdrake --explain=drakxtools &" + system "/usr/sbin/logdrake --explain=drakxtools &" } sub setState { my $state_type = shift; |