bigboard r7370 - in trunk/bigboard: . stocks/files stocks/google_calendar
- From: marco svn gnome org
- To: svn-commits-list gnome org
- Subject: bigboard r7370 - in trunk/bigboard: . stocks/files stocks/google_calendar
- Date: Wed, 18 Jun 2008 17:46:20 +0000 (UTC)
Author: marco
Date: Wed Jun 18 17:46:20 2008
New Revision: 7370
URL: http://svn.gnome.org/viewvc/bigboard?rev=7370&view=rev
Log:
Remove hardcoded font sizes from calendar
Added:
trunk/bigboard/stocks/files/browser.css
trunk/bigboard/stocks/google_calendar/stock.css
Modified:
trunk/bigboard/Makefile.am
trunk/bigboard/stocks/google_calendar/CalendarStock.py
Modified: trunk/bigboard/Makefile.am
==============================================================================
--- trunk/bigboard/Makefile.am (original)
+++ trunk/bigboard/Makefile.am Wed Jun 18 17:46:20 2008
@@ -39,7 +39,7 @@
appstock_PYTHON = stocks/apps/*.py stocks/apps/*.png stocks/apps/*.css
calendarstockdir=$(stocksdir)/google_calendar
-calendarstock_PYTHON = stocks/google_calendar/*.py stocks/google_calendar/*.png
+calendarstock_PYTHON = stocks/google_calendar/*.py stocks/google_calendar/*.png stocks/google_calendar/*.css
mailstockdir=$(stocksdir)/mail
mailstock_PYTHON = stocks/mail/*.py stocks/mail/*.png
Added: trunk/bigboard/stocks/files/browser.css
==============================================================================
--- (empty file)
+++ trunk/bigboard/stocks/files/browser.css Wed Jun 18 17:46:20 2008
@@ -0,0 +1,9 @@
+.title {
+ font-size: 0.9em;
+ font-weight: bold;
+ color: #3F3F3F;
+}
+
+.action {
+ font-size: 0.9em;
+}
Modified: trunk/bigboard/stocks/google_calendar/CalendarStock.py
==============================================================================
--- trunk/bigboard/stocks/google_calendar/CalendarStock.py (original)
+++ trunk/bigboard/stocks/google_calendar/CalendarStock.py Wed Jun 18 17:46:20 2008
@@ -94,7 +94,7 @@
canvas_text.set_property("attributes", attrs)
# stuff for today is bold
if is_today:
- canvas_text.set_property("font", "13px Bold")
+ canvas_text.set_property("classes", "today")
def compare_by_date(event_a, event_b):
return cmp(event_a.get_start_time(), event_b.get_start_time())
@@ -337,7 +337,7 @@
end_color=end_color)
self.append(self.__header)
- event_link = ActionLink(text=self.__get_title(), font="14px", padding=4)
+ event_link = ActionLink(text=self.__get_title(), padding=4)
event_link.connect("activated", self.__on_activate_web)
attrs = pango.AttrList()
@@ -784,7 +784,7 @@
_logger.debug("have a google login, refreshing events")
title = hippo.CanvasText(xalign=hippo.ALIGNMENT_START, size_mode=hippo.CANVAS_SIZE_ELLIPSIZE_END)
title.set_property("text", fmt_date(self.__day_displayed))
- title.set_property("font", "13px Bold")
+ title.set_property("id", "event-title")
self.__box.append(title)
content_box = hippo.CanvasBox(orientation=hippo.ORIENTATION_HORIZONTAL)
Added: trunk/bigboard/stocks/google_calendar/stock.css
==============================================================================
--- (empty file)
+++ trunk/bigboard/stocks/google_calendar/stock.css Wed Jun 18 17:46:20 2008
@@ -0,0 +1,9 @@
+.today {
+ font-size: 0.9em;
+ font-weight: bold;
+}
+
+#event-title {
+ font-size: 0.9em;
+ font-weight: bold;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]