diff options
author | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-03-05 05:01:55 +0000 |
---|---|---|
committer | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-03-05 05:01:55 +0000 |
commit | c836ea63bc96b57940e654d7645c9ce4e6d36e16 (patch) | |
tree | 85a74bba97059737fe8a65d92c17dcc62e8b3dd8 | |
parent | 7ac74dc459e05e874b43fa22b23153409cd6817b (diff) | |
download | draksnapshot-c836ea63bc96b57940e654d7645c9ce4e6d36e16.tar draksnapshot-c836ea63bc96b57940e654d7645c9ce4e6d36e16.tar.gz draksnapshot-c836ea63bc96b57940e654d7645c9ce4e6d36e16.tar.bz2 draksnapshot-c836ea63bc96b57940e654d7645c9ce4e6d36e16.tar.xz draksnapshot-c836ea63bc96b57940e654d7645c9ce4e6d36e16.zip |
remember current state
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@238621 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-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() { |