[Xfce4-commits] <xfce4-notes-plugin:master> Restore tab orientation after setting the tab label text

Mike Massonnet noreply at xfce.org
Wed Mar 3 22:02:01 CET 2010


Updating branch refs/heads/master
         to 5f99d4aac6141509d9c0e2257c6ed530078408e7 (commit)
       from 10ddaaa4b682762fd1235e7ef8c0b0865e29faa9 (commit)

commit 5f99d4aac6141509d9c0e2257c6ed530078408e7
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Wed Mar 3 21:54:45 2010 +0100

    Restore tab orientation after setting the tab label text

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

diff --git a/ChangeLog b/ChangeLog
index 84ce304..6a3cf05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-03  Mike Massonnet <mmassonnet at xfce.org>
+
+Restore tab orientation when the tab label changes (bug #6246)
+
 2009-12-29  Mike Massonnet <mmassonnet at xfce.org>
 
 New About menu item in the window menu
diff --git a/lib/window.vala b/lib/window.vala
index fe78696..c9323c0 100644
--- a/lib/window.vala
+++ b/lib/window.vala
@@ -593,6 +593,7 @@ namespace Xnp {
 		 */
 		private void note_notify_name_cb (Xnp.Note note, GLib.ParamSpec pspec) {
 			this.notebook.set_tab_label_text (note, note.name);
+			_notebook_update_tabs_angle ();
 			int page = this.notebook.get_current_page ();
 			var current_note = (Xnp.Note)(this.notebook.get_nth_page (page));
 			if (note == current_note)



More information about the Xfce4-commits mailing list