[Xfce4-commits] <xfce4-notes-plugin:master> Set notebook tab reorderable via drag and drop

Mike Massonnet noreply at xfce.org
Sun Mar 28 18:02:01 CEST 2010


Updating branch refs/heads/master
         to bda6e3c881703124e28912a25db17d650b93df71 (commit)
       from 2988ca34abfb3a5985111945bf23301ecfc6e23f (commit)

commit bda6e3c881703124e28912a25db17d650b93df71
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Sun Mar 28 14:26:19 2010 +0200

    Set notebook tab reorderable via drag and drop

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

diff --git a/ChangeLog b/ChangeLog
index 31748d9..071865b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-03-28  Mike Massonnet <mmassonnet at xfce.org>
 
+Set notebook tab reorderable via drag and drop
+
+2010-03-28  Mike Massonnet <mmassonnet at xfce.org>
+
 Link to Math lib (-lm) useful for lib/color.c
 
 2010-03-27  Mike Massonnet <mmassonnet at xfce.org>
diff --git a/lib/window.vala b/lib/window.vala
index 392bc99..9a0f71b 100644
--- a/lib/window.vala
+++ b/lib/window.vala
@@ -984,6 +984,7 @@ namespace Xnp {
 			note.show ();
 			this.n_pages++;
 			this.notebook.insert_page (note, null, page);
+			this.notebook.set_tab_reorderable (note, true);
 			note.name = note.name; //note.notify ("name");
 			this.note_inserted (note);
 			_notebook_update_tabs_angle ();



More information about the Xfce4-commits mailing list