gnome-blog r311 - trunk
- From: herzi svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-blog r311 - trunk
- Date: Sat, 22 Mar 2008 02:32:23 +0000 (GMT)
Author: herzi
Date: Sat Mar 22 02:32:23 2008
New Revision: 311
URL: http://svn.gnome.org/viewvc/gnome-blog?rev=311&view=rev
Log:
2008-03-22 Sven Herzberg <sven imendio com>
Align the label properly (now it's baseline matches the one of the
clock applet)
* blog_applet.py: copied the hack from the clock applet
Modified:
trunk/ChangeLog
trunk/blog_applet.py
Modified: trunk/blog_applet.py
==============================================================================
--- trunk/blog_applet.py (original)
+++ trunk/blog_applet.py Sat Mar 22 02:32:23 2008
@@ -38,6 +38,18 @@
self.arrow = gtk.Arrow(gtk.ARROW_DOWN, gtk.SHADOW_IN)
button_box.pack_start(self.arrow)
+ gtk.rc_parse_string ("""
+style "gnome-blog-applet-button-style"
+{
+ GtkWidget::focus-line-width=0
+ GtkWidget::focus-padding=0
+}
+
+widget "*.gnome-blog-applet-button" style "gnome-blog-applet-button-style"
+""");
+
+ self.toggle.set_name("gnome-blog-applet-button")
+
self.toggle.add(button_box)
self.add(self.toggle)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]