[Xfce4-commits] <xfce4-notes-plugin:master> Align the title on the left

Mike Massonnet noreply at xfce.org
Mon Mar 8 21:58:03 CET 2010


Updating branch refs/heads/master
         to e69e13f5fe0b1df9e7c345c674dde2aa9d30f2a7 (commit)
       from bac7dffda0d9d115d02582ad1748c3994bc02ff3 (commit)

commit e69e13f5fe0b1df9e7c345c674dde2aa9d30f2a7
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Mon Mar 8 21:48:21 2010 +0100

    Align the title on the left

 ChangeLog       |    4 ++++
 lib/window.vala |    3 ++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 22040ea..47e8be5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-03-08  Mike Massonnet <mmassonnet at xfce.org>
 
+Align the title on the left
+
+2010-03-08  Mike Massonnet <mmassonnet at xfce.org>
+
 Rename sub-menu "Go" to "Groups" (bug #6249)
 
 2010-03-08  Mike Massonnet <mmassonnet at xfce.org>
diff --git a/lib/window.vala b/lib/window.vala
index 0dc18e4..6a2cec3 100644
--- a/lib/window.vala
+++ b/lib/window.vala
@@ -226,8 +226,9 @@ namespace Xnp {
 			this.title_label = new Gtk.Label (null);
 			this.title_label.set_markup ("<b>"+this.title+"</b>");
 			this.title_label.ellipsize = Pango.EllipsizeMode.END;
+			this.title_label.xalign = (float)0.0;
 			title_evbox.add (this.title_label);
-			title_box.pack_start (title_evbox, true, true, 2);
+			title_box.pack_start (title_evbox, true, true, 6);
 			var close_box = new Gtk.Button ();
 			close_box.tooltip_text = Gtk.accelerator_get_label (0xff1b, 0); // GDK_Escape
 			close_box.set_relief (Gtk.ReliefStyle.NONE);



More information about the Xfce4-commits mailing list