Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics/style.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-07 17:26:39 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-07 17:26:39 (GMT)
commit7e324af1797a21576a54be290198721d405f744a (patch)
treeb10e7d7127d1547087488730c10462beeb427216 /sugar/graphics/style.py
parent5d57b261eeb4f9cb70722bc4d6f95c1b1bd89d61 (diff)
Added toolbar and button controls.
Diffstat (limited to 'sugar/graphics/style.py')
-rw-r--r--sugar/graphics/style.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/graphics/style.py b/sugar/graphics/style.py
index 779605c..2525e3e 100644
--- a/sugar/graphics/style.py
+++ b/sugar/graphics/style.py
@@ -14,6 +14,7 @@
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
+import logging
import gtk
@@ -45,6 +46,8 @@ def apply_stylesheet(item, stylesheet_name):
style_sheet = _styles[stylesheet_name]
for name in style_sheet.keys():
item.set_property(name, style_sheet[name])
+ else:
+ logging.debug('Stylesheet %s not found.' % stylesheet_name)
def get_font_description(style, relative_size):
base_size = 18 * _screen_factor