From a0bc70fb2fbcbe9b902e4cbd83b902ad9c4b6cfe Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 26 Jul 2007 21:22:36 +0200 Subject: [PATCH 1/2] #2511 Fix journal entries background in the object chooser. --- NEWS | 1 + sugar/graphics/objectchooser.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index a4618de8..8d3cb75f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +* #2511 Fix journal entries background in the object chooser. (tomeu) * Activity launching now timeout after 120 seconds. (marco) * Add timeout arg to sugar.datastore.Datastore. (tomeu) * Presence Service monitor in dev console (smcv) diff --git a/sugar/graphics/objectchooser.py b/sugar/graphics/objectchooser.py index aea83156..fa707868 100644 --- a/sugar/graphics/objectchooser.py +++ b/sugar/graphics/objectchooser.py @@ -105,6 +105,8 @@ class CollapsedEntry(Frame): Frame.__init__(self) self.props.box_height = units.grid_to_pixels(1) self.props.spacing = units.points_to_pixels(5) + self.props.border_color = color.FRAME_BORDER.get_int() + self.props.background_color = color.DESKTOP_BACKGROUND.get_int() self.jobject = jobject self._icon_name = None From 43d57912e74f3d8b79ffb8eb7ac1f9fe99f43f13 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 26 Jul 2007 21:52:38 +0200 Subject: [PATCH 2/2] Don't import pygtk in the clipboard service as it is not used. --- services/clipboard/sugar-clipboard | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/clipboard/sugar-clipboard b/services/clipboard/sugar-clipboard index 6ce1e869..4cffa33b 100755 --- a/services/clipboard/sugar-clipboard +++ b/services/clipboard/sugar-clipboard @@ -26,9 +26,6 @@ from sugar import logger logger.start('clipboard') import gobject -import pygtk -pygtk.require('2.0') - import dbus.glib from sugar import env