[Pkg-bazaar-commits] ./bzr-gtk/unstable r531: Fix network drives listing in olive-gtk.
Jelmer Vernooij
jelmer at samba.org
Fri Apr 10 07:50:39 UTC 2009
------------------------------------------------------------
revno: 531
author: Kevin Light <klight at walkertechnical.com>
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Tue 2008-07-01 23:56:25 +0200
message:
Fix network drives listing in olive-gtk.
modified:
NEWS
olive/__init__.py
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS 2008-07-01 21:54:21 +0000
+++ b/NEWS 2008-07-01 21:56:25 +0000
@@ -28,6 +28,8 @@
* Remove use of upstream removed Repository.revision_parents()
(Jelmer Vernooij)
+ * List network drives in Olive. (Kevin Light, #244308)
+
CHANGES
* Moved notify icon code to separate script. (Jelmer Vernooij)
=== modified file 'olive/__init__.py'
--- a/olive/__init__.py 2008-06-30 12:15:06 +0000
+++ b/olive/__init__.py 2008-07-01 21:56:25 +0000
@@ -1489,7 +1489,8 @@
driveletters = []
for drive in string.ascii_uppercase:
- if win32file.GetDriveType(drive+':') == win32file.DRIVE_FIXED:
+ if win32file.GetDriveType(drive+':') == win32file.DRIVE_FIXED or\
+ win32file.GetDriveType(drive+':') == win32file.DRIVE_REMOTE:
driveletters.append(drive+':')
return driveletters
More information about the Pkg-bazaar-commits
mailing list