diff options
-rwxr-xr-x | draksnapshot-applet | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/draksnapshot-applet b/draksnapshot-applet index b117713..b3221c7 100755 --- a/draksnapshot-applet +++ b/draksnapshot-applet @@ -42,7 +42,7 @@ use Gtk2::Notify '-init', 'draksnapshot'; ugtk2::add_icon_path("/usr/share/draksnapshot/pixmaps/"); -my ($menu, $timeout, @discs); +my ($menu, $timeout, @discs, $state_global); my $localfile = "$ENV{HOME}/.draksnapshot"; @@ -165,6 +165,7 @@ sub go2State { my $state = shift; $menu->destroy if $menu; $menu = setState($state); + $state_global = $state; } sub isNetwork() { |