[Xfce4-commits] <xfce4-notes-plugin:master> settings: Make notebook visible and set border width 6

Mike Massonnet noreply at xfce.org
Mon May 13 20:14:10 CEST 2013


Updating branch refs/heads/master
         to 87856fa93f8e652e3d4d0554858f538f687312ac (commit)
       from 2566cb754a4578518d7b674d532138ccace18c89 (commit)

commit 87856fa93f8e652e3d4d0554858f538f687312ac
Author: Mike Massonnet <mmassonnet at gmail.com>
Date:   Mon Mar 4 17:38:37 2013 +0100

    settings: Make notebook visible and set border width 6

 src/defines.h              |    2 +-
 src/main-settings-dialog.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/defines.h b/src/defines.h
index 0dbf312..678fc47 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -22,7 +22,7 @@
 #define PLUGIN_WEBSITE                  "http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin"
 #define PLUGIN_XFCONF_CHANNEL           "xfce4-notes-plugin"
 
-#define BORDER                          8
+#define BORDER                          6
 #define CORNER_MARGIN                   20
 
 /* Default settings */
diff --git a/src/main-settings-dialog.c b/src/main-settings-dialog.c
index adbe2e5..ed96208 100644
--- a/src/main-settings-dialog.c
+++ b/src/main-settings-dialog.c
@@ -109,8 +109,8 @@ prop_dialog_new (void)
   /* Notebook */
   notebook = gtk_notebook_new ();
   gtk_notebook_set_show_tabs (GTK_NOTEBOOK (notebook), FALSE);
-  gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook), FALSE);
-  gtk_container_set_border_width (GTK_CONTAINER (notebook), 0);
+  gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook), TRUE);
+  gtk_container_set_border_width (GTK_CONTAINER (notebook), 6);
   gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), notebook);
 
   /* VBox */


More information about the Xfce4-commits mailing list