Title: [commits] (morgen) [11364] In the subscribe dialog, have the text in the URL field auto-selected, to save half a second during copy/paste operation.
Revision
11364
Author
morgen
Date
2006-08-09 14:51:47 -0700 (Wed, 09 Aug 2006)

Log Message

In the subscribe dialog, have the text in the URL field auto-selected, to save half a second during copy/paste operation.

Modified Paths

Diff

Modified: trunk/chandler/application/dialogs/SubscribeCollection.py (11363 => 11364)

--- trunk/chandler/application/dialogs/SubscribeCollection.py	2006-08-09 20:40:18 UTC (rev 11363)
+++ trunk/chandler/application/dialogs/SubscribeCollection.py	2006-08-09 21:51:47 UTC (rev 11364)
@@ -78,7 +78,7 @@
         if self.mine:
             self.checkboxKeepOut.SetValue(False)
         self.forceFreeBusy = wx.xrc.XRCCTRL(self, "CHECKBOX_FORCEFREEBUSY")
-        
+
         self.subscribeButton = wx.xrc.XRCCTRL(self, "wxID_OK")
 
         self.Bind(wx.EVT_BUTTON, self.OnSubscribe, id=wx.ID_OK)
@@ -86,9 +86,9 @@
 
         self.SetDefaultItem(wx.xrc.XRCCTRL(self, "wxID_OK"))
 
+        self.textUrl.SetFocus()
+        self.textUrl.SetSelection(-1, -1)
 
-        self.textUrl.SetFocus()
-        self.textUrl.SetInsertionPointEnd()
         self.subscribing = False
 
         if immediate:




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to