Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : apps/exhibit

Dir     : e17/apps/exhibit/src/bin


Modified Files:
        exhibit_main.c exhibit_tab.c 


Log Message:
Patch from mcalamelli to fix segfault after saving file
+ fix for tab paths

===================================================================
RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_main.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -3 -r1.120 -r1.121
--- exhibit_main.c      2 Sep 2007 18:37:37 -0000       1.120
+++ exhibit_main.c      5 Sep 2007 10:15:50 -0000       1.121
@@ -539,6 +539,7 @@
                 _ex_main_itree_add(path, path);
              else
                 _ex_main_itree_add(path, NULL);
+              e->cur_tab->images = evas_list_append(e->cur_tab->images, 
strdup(path));
              break;
           default:
              D(("Unknown ecore file event occured\n"));
===================================================================
RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_tab.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- exhibit_tab.c       2 Sep 2007 18:37:37 -0000       1.41
+++ exhibit_tab.c       5 Sep 2007 10:15:50 -0000       1.42
@@ -70,7 +70,7 @@
    
etk_scrolled_view_policy_set(etk_tree_scrolled_view_get(ETK_TREE(tab->itree)), 
ETK_POLICY_AUTO, ETK_POLICY_SHOW);
    etk_tree_build(ETK_TREE(tab->itree));
 
-   tab->dir = _ex_path_normalize(dir);
+   tab->dir = _ex_path_normalize(ecore_file_realpath(dir));
    tab->alignment = etk_alignment_new(0.5, 0.5, 0.0, 0.0);   
    
    tab->image = etk_image_new();



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to