From c53b62316b18792c7c0f20a8f37b91649a854130 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 28 Apr 2012 14:13:34 +0000 Subject: fix style issue with alert --- (limited to 'AbacusActivity.py') diff --git a/AbacusActivity.py b/AbacusActivity.py index 0f2f6be..a8b414c 100644 --- a/AbacusActivity.py +++ b/AbacusActivity.py @@ -307,6 +307,15 @@ class AbacusActivity(activity.Activity): self.remove_alert(alert) alert.connect('response', _notification_alert_response_cb, self) + + alert._title_label.set_use_markup(True) + alert._title_label.set_markup('%s' % ( + style.COLOR_WHITE.get_html(), alert.props.title)) + + alert._msg_label.set_use_markup(True) + alert._msg_label.set_markup('%s' % ( + style.COLOR_WHITE.get_html(), alert.props.msg)) + self.add_alert(alert) alert.show() -- cgit v0.9.1