Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/dialogs


Modified Files:
        etk_location_add_dialog.c 


Log Message:
* Small change to default config - assume that the core will place quotes 
around filenames, therefore no need to put them in the app lines
* Support right click menu removal of location entries, and associated API.  
This doesn't destroy the associated plugin instance, and its message consumer, 
yet - but the hooks are there

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/dialogs/etk_location_add_dialog.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- etk_location_add_dialog.c   19 Mar 2006 00:35:26 -0000      1.9
+++ etk_location_add_dialog.c   22 Mar 2006 11:04:52 -0000      1.10
@@ -91,6 +91,7 @@
                /*Finish!*/
                const char *host= NULL, *path = NULL, *name = NULL, *username = 
NULL, *password = NULL;
                char buffer[PATH_MAX];
+               Entropy_Config_Structure* structure;
 
                name = etk_entry_text_get(ETK_ENTRY(dialog->name_entry));
                host = etk_entry_text_get(ETK_ENTRY(dialog->host_widget_entry));
@@ -120,8 +121,8 @@
        
                printf("Final URI: '%s'\n", buffer);
 
-               entropy_config_standard_structures_add (dialog->instance, 
(char*)name, buffer);
-               (*dialog->add_callback)(dialog->instance, (char*)name, buffer);
+               structure = entropy_config_standard_structures_add((char*)name, 
buffer);
+               (*dialog->add_callback)(dialog->instance, structure);
 
                etk_object_destroy(ETK_OBJECT(dialog->window));
        }
@@ -156,7 +157,7 @@
 
 
 void etk_location_add_dialog_create(entropy_gui_component_instance* instance, 
-               void (*add_callback)(entropy_gui_component_instance*, char*, 
char*) )
+               void (*add_callback)(entropy_gui_component_instance*, 
Entropy_Config_Structure*) )
 {
        Ecore_List* filesystems;
        evfs_filesystem* system;




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to