Author: benny
Date: 2006-08-09 15:06:38 +0000 (Wed, 09 Aug 2006)
New Revision: 22696

Modified:
   thunar/trunk/ChangeLog
   thunar/trunk/configure.in.in
   thunar/trunk/thunar/thunar-details-view.c
Log:
2006-08-09      Benedikt Meurer <[EMAIL PROTECTED]>

        * thunar/thunar-details-view.c(thunar_details_view_init): Enable
          rubberband selection with GTK+ 2.9.0 and above. Bug #1996.
        * configure.in.in: Depend on exo 0.3.1.9svn.




Modified: thunar/trunk/ChangeLog
===================================================================
--- thunar/trunk/ChangeLog      2006-08-09 15:03:06 UTC (rev 22695)
+++ thunar/trunk/ChangeLog      2006-08-09 15:06:38 UTC (rev 22696)
@@ -1,3 +1,9 @@
+2006-08-09     Benedikt Meurer <[EMAIL PROTECTED]>
+
+       * thunar/thunar-details-view.c(thunar_details_view_init): Enable
+         rubberband selection with GTK+ 2.9.0 and above. Bug #1996.
+       * configure.in.in: Depend on exo 0.3.1.9svn.
+
 2006-08-08     Benedikt Meurer <[EMAIL PROTECTED]>
 
        * configure.in.in, docs/ThumbnailersCacheFormat.txt, docs/Makefile.am,

Modified: thunar/trunk/configure.in.in
===================================================================
--- thunar/trunk/configure.in.in        2006-08-09 15:03:06 UTC (rev 22695)
+++ thunar/trunk/configure.in.in        2006-08-09 15:06:38 UTC (rev 22696)
@@ -144,7 +144,7 @@
 dnl ***********************************
 dnl *** Check for required packages ***
 dnl ***********************************
-XDT_CHECK_PACKAGE([EXO], [exo-0.3], [0.3.1.8])
+XDT_CHECK_PACKAGE([EXO], [exo-0.3], [0.3.1.9])
 XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.6.4])
 XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.4])
 XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])

Modified: thunar/trunk/thunar/thunar-details-view.c
===================================================================
--- thunar/trunk/thunar/thunar-details-view.c   2006-08-09 15:03:06 UTC (rev 
22695)
+++ thunar/trunk/thunar/thunar-details-view.c   2006-08-09 15:06:38 UTC (rev 
22696)
@@ -248,6 +248,11 @@
   gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree_view), TRUE);
   gtk_tree_view_set_enable_search (GTK_TREE_VIEW (tree_view), TRUE);
 
+  /* enable rubberbanding (if supported) */
+#if GTK_CHECK_VERSION(2,9,0)
+  gtk_tree_view_set_rubber_banding (GTK_TREE_VIEW (tree_view), TRUE);
+#endif
+
   /* connect to the default column model */
   details_view->column_model = thunar_column_model_get_default ();
   g_signal_connect (G_OBJECT (details_view->column_model), "columns-changed", 
G_CALLBACK (thunar_details_view_columns_changed), details_view);

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to