Revision: 1854
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1854&view=rev
Author:   nadvornik
Date:     2009-09-14 21:25:10 +0000 (Mon, 14 Sep 2009)

Log Message:
-----------
fixed selection handling in sidebar

Modified Paths:
--------------
    trunk/src/bar_comment.c
    trunk/src/bar_gps.c
    trunk/src/bar_keywords.c

Modified: trunk/src/bar_comment.c
===================================================================
--- trunk/src/bar_comment.c     2009-09-13 21:08:40 UTC (rev 1853)
+++ trunk/src/bar_comment.c     2009-09-14 21:25:10 UTC (rev 1854)
@@ -83,11 +83,14 @@
        comment = text_widget_text_pull(pcd->comment_view);
 
        list = layout_selection_list(pcd->pane.lw);
+       list = file_data_process_groups_in_selection(list, FALSE, NULL);
+       
        work = list;
        while (work)
                {
                FileData *fd = work->data;
                work = work->next;
+               if (fd == pcd->fd) continue;
 
                if (append)
                        {

Modified: trunk/src/bar_gps.c
===================================================================
--- trunk/src/bar_gps.c 2009-09-13 21:08:40 UTC (rev 1853)
+++ trunk/src/bar_gps.c 2009-09-14 21:25:10 UTC (rev 1854)
@@ -326,6 +326,7 @@
         * Use a background process in case the user selects a large number of 
files.
         */
        list = layout_selection_list(pgd->pane.lw);
+       list = file_data_process_groups_in_selection(list, FALSE, NULL);
 
        if (list != NULL)
                {

Modified: trunk/src/bar_keywords.c
===================================================================
--- trunk/src/bar_keywords.c    2009-09-13 21:08:40 UTC (rev 1853)
+++ trunk/src/bar_keywords.c    2009-09-14 21:25:10 UTC (rev 1854)
@@ -366,6 +366,8 @@
        keywords = keyword_list_pull(pkd->keyword_view);
 
        list = layout_selection_list(pkd->pane.lw);
+       list = file_data_process_groups_in_selection(list, FALSE, NULL);
+       
        work = list;
        while (work)
                {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to