[Commits] (jeffrey) - Keep current working directory from changing
when using file selector dialog for iCalendar import. Fixes
bug 2620, icons not found after importing a .ics file. r=morgen
commits at osafoundation.org
commits at osafoundation.org
Fri Mar 11 15:16:27 PST 2005
Commit by: jeffrey
Modified files:
chandler/parcels/osaf/views/main/Main.py 1.153 1.154
Log message:
- Keep current working directory from changing when using file selector dialog for iCalendar import. Fixes bug 2620, icons not found after importing a .ics file. r=morgen
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/views/main/Main.py.diff?r1=text&tr1=1.153&r2=text&tr2=1.154
Index: chandler/parcels/osaf/views/main/Main.py
diff -u chandler/parcels/osaf/views/main/Main.py:1.153 chandler/parcels/osaf/views/main/Main.py:1.154
--- chandler/parcels/osaf/views/main/Main.py:1.153 Tue Mar 1 15:28:16 2005
+++ chandler/parcels/osaf/views/main/Main.py Fri Mar 11 15:16:25 2005
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.153 $"
-__date__ = "$Date: 2005/03/01 23:28:16 $"
+__version__ = "$Revision: 1.154 $"
+__date__ = "$Date: 2005/03/11 23:16:25 $"
__copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -337,7 +337,7 @@
wildcard = "iCalendar files|*.ics|All files (*.*)|*.*"
dlg = wx.FileDialog(wx.GetApp().mainFrame, "Choose a file to import",
"", "import.ics", wildcard,
- wx.OPEN | wx.CHANGE_DIR | wx.HIDE_READONLY)
+ wx.OPEN | wx.HIDE_READONLY)
if dlg.ShowModal() == wx.ID_OK:
(dir, filename) = os.path.split(dlg.GetPath())
dlg.Destroy()
More information about the Commits
mailing list