deskbar-applet r1868 - branches/button-ui/deskbar/ui
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r1868 - branches/button-ui/deskbar/ui
- Date: Thu, 24 Jan 2008 21:27:49 +0000 (GMT)
Author: sebp
Date: Thu Jan 24 21:27:49 2008
New Revision: 1868
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=1868&view=rev
Log:
Window's height is resized correctly
We still need a way to customize the width
Modified:
branches/button-ui/deskbar/ui/CuemiacAlignedView.py
Modified: branches/button-ui/deskbar/ui/CuemiacAlignedView.py
==============================================================================
--- branches/button-ui/deskbar/ui/CuemiacAlignedView.py (original)
+++ branches/button-ui/deskbar/ui/CuemiacAlignedView.py Thu Jan 24 21:27:49 2008
@@ -217,7 +217,6 @@
self.results_box.show()
self.__show_matches()
#self.resize( width, self._model.get_window_height() )
- self.__adjust_popup_size()
def display_actions(self, actions, qstring):
self.actions_model.clear()
@@ -237,6 +236,7 @@
# Display default icon in entry
self.update_entry_icon()
self.treeview_model.append (matches, self.entry.get_text())
+ self.__adjust_popup_size ()
def set_sensitive (self, active):
"""
@@ -291,7 +291,7 @@
def __adjust_popup_size (self):
"""adjust window size to the size of the children"""
# FIXME: Should we handle width intelligently also?
- w, h = self.size_request ()
+ w, h = self.cview.size_request ()
h = h + self.header.allocation.height + 2 # To ensure we don't always show scrollbars
h = min (h, self._max_window_height)
w = min (w, self._max_window_width)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]