Bug#515665: subdownloader: Should default to home directory, not to /

2010-02-05 Thread Jonathan Wiltshire
tag 515665 patch
thanks

Hi,

The attached trivial patch is cherry-picked from upstream revision 466.

-- 
Jonathan Wiltshire

1024D: 0xDB800B52 / 4216 F01F DCA9 21AC F3D3  A903 CA6B EA3E DB80 0B52
4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51
=== modified file 'gui/main.py'
--- gui/main.py	2009-02-03 20:06:47 +
+++ gui/main.py	2009-02-16 20:40:53 +
@@ -147,7 +147,7 @@
 self.showInstructions()
 
 #Loop to expand the current directory in the folderview.
-lastDir = settings.value("mainwindow/workingDirectory", QVariant(QDir.rootPath()))
+lastDir = settings.value("mainwindow/workingDirectory", QVariant(QDir.homePath()))
 log.debug('Current directory: %s' % lastDir.toString())
 path = QDir(lastDir.toString())
 while True:


signature.asc
Description: Digital signature


Bug#515665: subdownloader: Should default to home directory, not to /

2009-02-16 Thread Johan Walles
Package: subdownloader
Version: 2.0.9.3-1
Severity: normal


When I started subdownloader for the first time I was presented with a file 
tree.  It was based at the 
root of my file system.

I had expected subdownloader to dump me in $HOME.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages subdownloader depends on:
ii  python   2.5.2-3 An interactive high-level object-o
ii  python-crypto2.0.1+dfsg1-2.3 cryptographic algorithms and proto
ii  python-kaa-metadata  0.7.5-1 Media Metadata for Python
ii  python-qt4   4.4.2-4 Python bindings for Qt4

subdownloader recommends no packages.

subdownloader suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org