[gimp] app: properly select icon view items



commit 8a1517f18b0119717d4d9854f647493da110a2a6
Author: Michael Natterer <mitch gimp org>
Date:   Thu Oct 21 11:53:41 2010 +0200

    app: properly select icon view items
    
    so that they are visually selected also when the widget never got
    focus.

 app/widgets/gimpcontainericonview.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpcontainericonview.c b/app/widgets/gimpcontainericonview.c
index d814f4c..656616a 100644
--- a/app/widgets/gimpcontainericonview.c
+++ b/app/widgets/gimpcontainericonview.c
@@ -539,6 +539,7 @@ gimp_container_icon_view_select_item (GimpContainerView *view,
                                        gimp_container_icon_view_selection_changed,
                                        icon_view);
 
+      gtk_icon_view_select_path (icon_view->view, path);
       gtk_icon_view_set_cursor (icon_view->view, path, NULL, FALSE);
 
       g_signal_handlers_unblock_by_func (icon_view->view,



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