[gnome-commander] notebook: Remove notebooks' border



commit cc9d67a038897b3593ab8386afc91556a8c9035b
Author: phan <phanyx o2 pl>
Date:   Wed Aug 4 18:15:21 2010 +0200

    notebook: Remove notebooks' border
    
    Border around the right pane notebook makes it harder
    to aim the scrollbar, while app is on fullscreen. Without
    the border, user can aim the scrollbar by simply moving
    the mouse cursor to the right edge of the screen.

 src/gnome-cmd-notebook.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-notebook.h b/src/gnome-cmd-notebook.h
index e1cd265..7769407 100644
--- a/src/gnome-cmd-notebook.h
+++ b/src/gnome-cmd-notebook.h
@@ -39,7 +39,7 @@ struct GnomeCmdNotebook
 
     Private *priv;
 
-    void *operator new (size_t size)    {  return g_object_new (GNOME_CMD_TYPE_NOTEBOOK, "show-tabs", FALSE, "scrollable", TRUE, NULL);  }
+    void *operator new (size_t size)    {  return g_object_new (GNOME_CMD_TYPE_NOTEBOOK, "show-tabs", FALSE, "scrollable", TRUE, "show-border", false, NULL);  }
     void operator delete (void *p)      {  g_object_unref (p);  }
 
     operator GtkWidget * () const       {  return GTK_WIDGET (this);     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]