summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-05-09 15:02:17 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-05-09 15:02:17 +0000
commit871dc655922a5acd7424b2a49564d45de5561b6b (patch)
tree6b57744c0d0ddaa637c8ba2275907e44b13d4037
parent2ba14ef4d49b0cd727d23f350e2eade3f4c011a9 (diff)
downloaddraksnapshot-871dc655922a5acd7424b2a49564d45de5561b6b.tar
draksnapshot-871dc655922a5acd7424b2a49564d45de5561b6b.tar.gz
draksnapshot-871dc655922a5acd7424b2a49564d45de5561b6b.tar.bz2
draksnapshot-871dc655922a5acd7424b2a49564d45de5561b6b.tar.xz
draksnapshot-871dc655922a5acd7424b2a49564d45de5561b6b.zip
default to /media instead of /home (gtk+ default) if not configured,
where the discs will be mounted by HAL (#39802) git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@242425 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r--NEWS2
-rwxr-xr-xdraksnapshot-config3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 269dc99..5e52d3d 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@
- configurator:
o exclude snapshot point from being backuped (thus preventing to
recursively backup the backup directory) (#39801)
+ o default to /media instead of /home if not configured, where the
+ discs will be mounted by HAL (#39802)
Version 0.9 - 3 April 2008, Thierry Vignaud
diff --git a/draksnapshot-config b/draksnapshot-config
index 72aab47..594c85e 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -101,6 +101,9 @@ my %interval_titles = (
my (%entries, $where);
+# if not configured, just default where will be mounted the discs by HAL:
+$backup_directory ||= '/media/';
+
my $box;
gtkadd($my_win->{window},
gtknew('VBox', children => [