bigboard r7331 - in trunk/bigboard/stocks: people search
- From: otaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: bigboard r7331 - in trunk/bigboard/stocks: people search
- Date: Wed, 7 May 2008 20:14:48 +0100 (BST)
Author: otaylor
Date: Wed May 7 19:14:47 2008
New Revision: 7331
URL: http://svn.gnome.org/viewvc/bigboard?rev=7331&view=rev
Log:
Make the border of the search popout and people slideout
and people popouts consistent with the other slideouts
(at least in the Fedora theme, fixes the problem where
the search slideout wasn't distinguished from a white
background.)
with the ote
Modified:
trunk/bigboard/stocks/people/PeopleStock.py
trunk/bigboard/stocks/search/SearchStock.py
Modified: trunk/bigboard/stocks/people/PeopleStock.py
==============================================================================
--- trunk/bigboard/stocks/people/PeopleStock.py (original)
+++ trunk/bigboard/stocks/people/PeopleStock.py Wed May 7 19:14:47 2008
@@ -157,9 +157,7 @@
coords = item.get_screen_coords()
p = ProfileItem(item.get_person(),
- themed=True,
- border=1,
- border_color = 0x0000000ff)
+ themed=True)
self.__slideout.get_root().append(p)
p.connect("close", self.__close_slideout)
Modified: trunk/bigboard/stocks/search/SearchStock.py
==============================================================================
--- trunk/bigboard/stocks/search/SearchStock.py (original)
+++ trunk/bigboard/stocks/search/SearchStock.py Wed May 7 19:14:47 2008
@@ -174,14 +174,14 @@
else:
# this is a heading
renderer.set_property('weight', pango.WEIGHT_BOLD)
- renderer.set_property('theme-part', 'header')
+ renderer.set_property('theme-part', 'header-no-top-border')
def __render_icon(self, col, cell, model, iter):
result = model.get_value(iter, 0)
if result:
theme_part = None
else:
- theme_part = 'header'
+ theme_part = 'header-no-top-border'
cell.set_property('theme-part', theme_part)
pixbuf = model.get(iter, 1)[0]
if isinstance(pixbuf, gtk.gdk.Pixbuf):
@@ -432,10 +432,13 @@
treeview = self.__results_view.get_widget()
treeview.show()
+ root = hippo.CanvasBox(classes='slideout-root')
+ self.__results_window.set_root(root)
+
item = hippo.CanvasWidget(widget=treeview)
# Set user data so our cell renderer can go back from the widget to the canvas item
treeview.set_data('canvas-item', item)
- self.__results_window.set_root(item)
+ root.append(item)
self.__idle_search_id = 0
self.connect('changed', self.__on_changed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]