[Xfce4-commits] <xfburn:master> Do not allow shrinking the notebook in the vpaned (thanks Peter de Ridder)

David Mohr noreply at xfce.org
Sat Oct 24 23:34:01 CEST 2009


Updating branch refs/heads/master
         to 10efef06c1507037a09148a55b9ec521701eeb23 (commit)
       from 752224158bd3409090e2698acc4a53496ee0f1f7 (commit)

commit 10efef06c1507037a09148a55b9ec521701eeb23
Author: David Mohr <squisher at xfce.org>
Date:   Sat Oct 24 15:32:30 2009 -0600

    Do not allow shrinking the notebook in the vpaned (thanks Peter de Ridder)

 xfburn/xfburn-main-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfburn/xfburn-main-window.c b/xfburn/xfburn-main-window.c
index 500333e..3dfcf1a 100644
--- a/xfburn/xfburn-main-window.c
+++ b/xfburn/xfburn-main-window.c
@@ -304,7 +304,7 @@ xfburn_main_window_init (XfburnMainWindow * mainwin)
 
   /* filebrowser */
   priv->file_browser = xfburn_file_browser_new ();
-  gtk_paned_add1 (GTK_PANED (priv->vpaned), priv->file_browser);
+  gtk_paned_pack1 (GTK_PANED (priv->vpaned), priv->file_browser, TRUE, FALSE);
   gtk_widget_show (priv->file_browser);
 
   gtk_paned_set_position (GTK_PANED (priv->file_browser), xfburn_settings_get_int ("hpaned-position", 250));
@@ -312,7 +312,7 @@ xfburn_main_window_init (XfburnMainWindow * mainwin)
   /* compositions notebook */
   priv->compositions_notebook = xfburn_compositions_notebook_new ();
   gtk_widget_show (priv->compositions_notebook);
-  gtk_paned_add2 (GTK_PANED (priv->vpaned), priv->compositions_notebook);
+  gtk_paned_pack2 (GTK_PANED (priv->vpaned), priv->compositions_notebook, TRUE, FALSE);
   
   gtk_paned_set_position (GTK_PANED (priv->vpaned), xfburn_settings_get_int ("vpaned-position", 200));
 



More information about the Xfce4-commits mailing list