[Xfce4-commits] <xfce4-notes-plugin:master> Always show notebook borders

Mike Massonnet noreply at xfce.org
Mon Mar 15 19:20:01 CET 2010


Updating branch refs/heads/master
         to ff8c5ec8f0f5242477940b58a9b8d9b5e90ccf1d (commit)
       from 769bd4cab00f7196991179227d73b831edeb7332 (commit)

commit ff8c5ec8f0f5242477940b58a9b8d9b5e90ccf1d
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Mon Mar 15 19:15:21 2010 +0100

    Always show notebook borders
    
    If the notebook border is not shown with hidden tabs, the scrollbars are drawn
    on top of the parent window which is dark but they need to be drawn on top of
    a light background, so now the borders are always on.

 ChangeLog       |    8 ++++++++
 lib/window.vala |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index bb9f457..3bd5984 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-03-15  Mike Massonnet <mmassonnet at xfce.org>
+
+Always show notebook borders
+
+If the notebook border is not shown with hidden tabs, the scrollbars are drawn
+on top of the parent window which is dark but they need to be drawn on top of
+a light background, so now the borders are always on.
+
 2010-03-14  Mike Massonnet <mmassonnet at xfce.org>
 
 Add a custom Cairo drawn close button icon
diff --git a/lib/window.vala b/lib/window.vala
index 60fbf36..a83b55a 100644
--- a/lib/window.vala
+++ b/lib/window.vala
@@ -252,7 +252,7 @@ namespace Xnp {
 			/* Build Notebook */
 			this.notebook = new Gtk.Notebook ();
 			this.notebook.name = "notes-notebook";
-			this.notebook.show_border = false;
+			this.notebook.show_border = true;
 			this.notebook.show_tabs = false;
 			this.notebook.tab_pos = Gtk.PositionType.TOP;
 			this.notebook.tab_border = 4;



More information about the Xfce4-commits mailing list