deskbar-applet r2128 - in trunk: . deskbar/ui
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r2128 - in trunk: . deskbar/ui
- Date: Thu, 17 Apr 2008 13:37:05 +0100 (BST)
Author: sebp
Date: Thu Apr 17 13:37:05 2008
New Revision: 2128
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2128&view=rev
Log:
Set window size to size_request before it's shown.
Otherwise we have a blank area at the bottom after a search term has been entered.
Modified:
trunk/ChangeLog
trunk/deskbar/ui/CuemiacAlignedView.py
Modified: trunk/deskbar/ui/CuemiacAlignedView.py
==============================================================================
--- trunk/deskbar/ui/CuemiacAlignedView.py (original)
+++ trunk/deskbar/ui/CuemiacAlignedView.py Thu Apr 17 13:37:05 2008
@@ -195,6 +195,8 @@
def receive_focus(self, time):
self.applet.set_state(gtk.STATE_SELECTED)
self.update_position()
+ w, h = self.size_request()
+ self.resize(w, h)
self.show()
self.present_with_time(time)
self.entry.grab_focus()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]