[clocks] Fix timer design
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clocks] Fix timer design
- Date: Mon, 25 Jun 2012 15:56:24 +0000 (UTC)
commit 7b7adc5969260e467145f49d98402ea7b5edea7f
Author: Eslam Mostafa <cseslam gmail com>
Date: Sun Jun 24 23:19:48 2012 +0200
Fix timer design
Signed-off-by: Seif Lotfy <seif lotfy com>
gtk-style.css | 7 +++++++
timer.py | 5 ++---
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/gtk-style.css b/gtk-style.css
index dddbe63..4f33579 100644
--- a/gtk-style.css
+++ b/gtk-style.css
@@ -3,6 +3,13 @@
@define-color clocks_lap_color #999999;
@define-color clocks_stop_color #ff0000;
+.black-bg {
+ background-color: mix (@entry-color,
+ shade (#000, 0.5),
+ 0.8);
+ color: #ffffff;
+}
+
.clocks-continue {
background-image: -gtk-gradient (linear,
left top, left bottom,
diff --git a/timer.py b/timer.py
index 13b88ac..379ef0b 100644
--- a/timer.py
+++ b/timer.py
@@ -18,7 +18,7 @@
"""
-from gi.repository import Gtk, Gio
+from gi.repository import Gtk, Gio, Gdk
TIMER = "<span font_desc=\"64.0\">%02i</span>"
TIMER_LABEL_MARKUP = "<span font_desc=\"64.0\">%02i:%02i:%02i</span>"
@@ -150,8 +150,7 @@ class TimerScreen (Gtk.Box):
self.pack_start(top_spacer, False, True, 6)
self.pack_start(center, False, True, 6)
- self.pack_start(bottom_spacer, True, True, 6)
-
+ self.pack_start(bottom_spacer, True, True, 6)
def _on_right_button_clicked(self, data):
self.timer.reset()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]