summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-03-05 05:01:55 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-03-05 05:01:55 +0000
commitc836ea63bc96b57940e654d7645c9ce4e6d36e16 (patch)
tree85a74bba97059737fe8a65d92c17dcc62e8b3dd8
parent7ac74dc459e05e874b43fa22b23153409cd6817b (diff)
downloaddraksnapshot-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-xdraksnapshot-applet3
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() {