Enable rubberbanding when "select-multiple" is TRUE. Bug #446068.

2008-05-27  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
        rubberbanding when "select-multiple" is TRUE. Bug #446068.

svn path=/trunk/; revision=20184
This commit is contained in:
Carlos Garnacho
2008-05-27 00:20:18 +00:00
committed by Carlos Garnacho
parent 5d224f01e6
commit cdaca42be3
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2008-05-27 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
rubberbanding when "select-multiple" is TRUE. Bug #446068.
2008-05-27 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable

View File

@@ -5492,6 +5492,8 @@ set_select_multiple (GtkFileChooserDefault *impl,
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (impl->browse_files_tree_view));
gtk_tree_selection_set_mode (selection, mode);
gtk_tree_view_set_rubber_banding (GTK_TREE_VIEW (impl->browse_files_tree_view), select_multiple);
impl->select_multiple = select_multiple;
g_object_notify (G_OBJECT (impl), "select-multiple");