summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-09-29 15:55:33 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-09-29 15:55:33 +0000
commitc5b5cd8c991a4d79b8a68e7904eaa6a5d160ae2f (patch)
tree45e5d6703e0631a29b46e53a5d06ff4832abc126
parent58c97661a8eea453963cb5de73320a9557ab1ef2 (diff)
downloaddraksnapshot-c5b5cd8c991a4d79b8a68e7904eaa6a5d160ae2f.tar
draksnapshot-c5b5cd8c991a4d79b8a68e7904eaa6a5d160ae2f.tar.gz
draksnapshot-c5b5cd8c991a4d79b8a68e7904eaa6a5d160ae2f.tar.bz2
draksnapshot-c5b5cd8c991a4d79b8a68e7904eaa6a5d160ae2f.tar.xz
draksnapshot-c5b5cd8c991a4d79b8a68e7904eaa6a5d160ae2f.zip
do not save config when clicking "Close" (#39790)
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@247022 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r--NEWS2
-rwxr-xr-xdraksnapshot-config2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1ecc938..e97b58e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
- applet:
o use HAL in order to detect discs avaible for backup,
thus not detecting some internal SATA discs (#41107)
+- configurator:
+ o do not save config when clicking "Close" (#39790)
Version 0.14 - 26 September 2008, Thierry Vignaud
diff --git a/draksnapshot-config b/draksnapshot-config
index 3ab57e6..149cf74 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -183,7 +183,7 @@ gtkadd($my_win->{window},
]),
0, gtknew('HButtonBox', layout => 'end', border_width => 5, spacing => 5, children_loose => [
gtknew('Button', text => N("Apply"), clicked => \&save),
- gtknew('Button', text => $::isEmbedded ? N("Cancel") : N("Close"), clicked => sub { save(); quit() })
+ gtknew('Button', text => $::isEmbedded ? N("Cancel") : N("Close"), clicked => sub { quit() })
])
])
);