Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        Makefile.am e_includes.h e_int_menus.c 
Added Files:
        e_fileman.c e_fileman.h e_fileman_smart.c e_fileman_smart.h 


Log Message:
EFM - The E17 file manager and file browser smart object.

*** BEFORE YOU USE ***
This is alpha software and may cause E17 to crash, lockup, use 99% of
your cpu, or even delete your files! I would advise using it in Xnest
if you want to test or develop it.
*** BEFORE YOU USE ***

EFM can:
- browse files and directories
- generate thumbnails
- launch executables
- do some xdnd
- monitor files and directories
- delete and rename files

EFM cant:
- scroll
- associate applications with files
- purge its thumbnails (do it manually: ~/.e/e/fileman/thumbnails)
- do a lot of things you'd expect it to do because its still in alpha stage

Current TODO:

- scrolling

- we need a redraw function that will just re-arrange and not do
  the whole thing. for example, when we resize, we should just
  check the file offset and fill the empty space with icons
    
- is the offset code working properly? i have a feeling we're displayin
  more icons that the visible space can take and they are being hidden.
     
- emit all sorts of signals on double click, right click, single click...
     
- aspect ratio on thumbnails.
    
- add typebuffer like in evidence.
      
- keyboard shortcuts for directory and file navigation.
  
- multi select
      
- allow for icon movement inside the canvas
      
- add metadata system which allows us to save icon positions and will
  eventually allow us to have custom icon sizes, custom bgs per dir...
        
- double check dir monitoring. note: when we are in a dir that is constantly
  changing, we cant keep calling redraw_new as it will kill us.
  
- we need to fix the icon edc to allow us to have icon labels what will
  wrap on wrap=char
  
- fix bugs  
            


===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/Makefile.am,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- Makefile.am 9 Oct 2005 18:03:41 -0000       1.53
+++ Makefile.am 10 Oct 2005 00:55:07 -0000      1.54
@@ -80,7 +80,9 @@
 e_theme_about.h \
 e_apps_cache.h \
 e_entry.h \
-e_scrollbar.h
+e_fileman.h \
+e_scrollbar.h \
+e_fileman_smart.h
 
 enlightenment_src = \
 e_user.c \
@@ -142,7 +144,9 @@
 e_theme_about.c \
 e_apps_cache.c \
 e_entry.c \
+e_fileman.c \
 e_scrollbar.c \
+e_fileman_smart.c \
 $(ENLIGHTENMENTHEADERS)
 
 enlightenment_SOURCES = \
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_includes.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- e_includes.h        9 Oct 2005 18:03:41 -0000       1.38
+++ e_includes.h        10 Oct 2005 00:55:07 -0000      1.39
@@ -62,3 +62,5 @@
 #include "e_theme_about.h"
 #include "e_apps_cache.h"
 #include "e_scrollbar.h"
+#include "e_fileman.h"
+#include "e_fileman_smart.h"
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -3 -r1.102 -r1.103
--- e_int_menus.c       9 Oct 2005 18:03:41 -0000       1.102
+++ e_int_menus.c       10 Oct 2005 00:55:07 -0000      1.103
@@ -32,6 +32,7 @@
 static void _e_int_menus_apps_del_hook       (void *obj);
 static void _e_int_menus_apps_free_hook      (void *obj);
 static void _e_int_menus_apps_run            (void *data, E_Menu *m, 
E_Menu_Item *mi);
+static void _e_int_menus_main_fm(void *data, E_Menu *m, E_Menu_Item *mi);  
 static void _e_int_menus_config_pre_cb       (void *data, E_Menu *m);
 static void _e_int_menus_config_free_hook    (void *obj);
 static void _e_int_menus_config_item_cb      (void *data, E_Menu *m, 
E_Menu_Item *mi);
@@ -140,9 +141,14 @@
        mi = e_menu_item_new(m);
        e_menu_item_label_set(mi, _("Run Command"));
        e_util_menu_item_edje_icon_set(mi, "enlightenment/run");
-       e_menu_item_callback_set(mi, _e_int_menus_main_run, NULL);
+       e_menu_item_callback_set(mi, _e_int_menus_main_run, NULL);      
      }
 
+   mi = e_menu_item_new(m);
+   e_menu_item_label_set(mi, _("File Manager"));
+   e_util_menu_item_edje_icon_set(mi, "enlightenment/fileman");
+   e_menu_item_callback_set(mi, _e_int_menus_main_fm, NULL);   
+      
    subm = e_int_menus_config_new();
    dat->config = subm;
    mi = e_menu_item_new(m);
@@ -378,6 +384,15 @@
 }
 
 static void
+_e_int_menus_main_fm(void *data, E_Menu *m, E_Menu_Item *mi)
+{
+   E_Fileman *fileman;
+   
+   fileman = e_fileman_new (m->zone->container);
+   e_fileman_show (fileman);
+}
+
+static void
 _e_int_menus_main_restart(void *data, E_Menu *m, E_Menu_Item *mi)
 {
    E_Action *a;




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to