[kupfer] browser: Use Window.present_with_time



commit 454a1261c4861b800e86c1407e5808eda64897e4
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Sun Aug 23 17:18:43 2009 +0200

    browser: Use Window.present_with_time

 kupfer/browser.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/browser.py b/kupfer/browser.py
index 54eedcd..2302c9f 100644
--- a/kupfer/browser.py
+++ b/kupfer/browser.py
@@ -1215,8 +1215,8 @@ class WindowController (pretty.OutputMixin):
 
 	def activate(self, sender=None, time=0):
 		evttime = time if time else gtk.get_current_event_time()
-		self.window.show()
 		self.window.stick()
+		self.window.present_with_time(time)
 		self.window.window.focus(timestamp=evttime)
 		self.interface.focus()
 	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]