summaryrefslogtreecommitdiffstats
path: root/draksnapshot-config
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 /draksnapshot-config
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
Diffstat (limited to 'draksnapshot-config')
-rwxr-xr-xdraksnapshot-config3
1 files changed, 3 insertions, 0 deletions
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 => [