bigboard r7273 - trunk/bigboard



Author: otaylor
Date: Tue Mar 25 15:16:46 2008
New Revision: 7273
URL: http://svn.gnome.org/viewvc/bigboard?rev=7273&view=rev

Log:
Fix bug locating installed stylesheets


Modified:
   trunk/bigboard/big_widgets.py

Modified: trunk/bigboard/big_widgets.py
==============================================================================
--- trunk/bigboard/big_widgets.py	(original)
+++ trunk/bigboard/big_widgets.py	Tue Mar 25 15:16:46 2008
@@ -73,7 +73,7 @@
             is_default = True
 
         theme_engine = package.getInstance()
-        stylesheet_name = re.sub(r"\..*?$", ".css", package.__file__)
+        stylesheet_name = re.sub(r"\.[^.]*$", ".css", package.__file__)
 
         theme = hippo.CanvasTheme(theme_engine = theme_engine, theme_stylesheet = stylesheet_name)
         if is_default and self.__default_theme == None:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]