Updating branch refs/heads/master
         to a5ba2d88a8534cfc0173ab10f3ad5a777ee92f0f (commit)
       from a065d09122165121f5948c7bd3f92727ec0a8ec6 (commit)

commit a5ba2d88a8534cfc0173ab10f3ad5a777ee92f0f
Author: Nick Schermer <n...@xfce.org>
Date:   Fri Dec 7 20:12:41 2012 +0100

    Make tabs scrollable.
    
    This avoids resizing the window with a lot of tabs.

 thunar/thunar-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index 47398c1..d900efb 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -864,6 +864,7 @@ thunar_window_init (ThunarWindow *window)
   g_signal_connect (G_OBJECT (window->notebook), "create-window", G_CALLBACK 
(thunar_window_notebook_create_window), window);
   gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), FALSE);
   gtk_notebook_set_homogeneous_tabs (GTK_NOTEBOOK (window->notebook), TRUE);
+  gtk_notebook_set_scrollable (GTK_NOTEBOOK (window->notebook), TRUE);
   gtk_container_set_border_width (GTK_CONTAINER (window->notebook), 0);
   gtk_notebook_set_group_name (GTK_NOTEBOOK (window->notebook), "thunar-tabs");
   gtk_widget_show (window->notebook);
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to