Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : proto
Dir : e17/proto/entropy/src/plugins
Modified Files:
etk_list_viewer.c layout_etk_simple.c
Log Message:
* Show file type even if we don't have stat
===================================================================
RCS file:
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/etk_list_viewer.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- etk_list_viewer.c 22 Feb 2006 14:25:54 -0000 1.17
+++ etk_list_viewer.c 26 Feb 2006 04:00:14 -0000 1.18
@@ -241,7 +241,9 @@
if (!file->retrieved_stat) {
new_row = etk_tree_append(ETK_TREE(viewer->tree),
col1, PACKAGE_DATA_DIR "/icons/default.png",
- col2, file->filename, NULL);
+ col2, file->filename,
+ col4, file->mime_type,
+ NULL);
} else {
// time_t stime = file->properties.st_mtime
===================================================================
RCS file:
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/layout_etk_simple.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- layout_etk_simple.c 26 Feb 2006 02:33:25 -0000 1.16
+++ layout_etk_simple.c 26 Feb 2006 04:00:14 -0000 1.17
@@ -20,6 +20,8 @@
Etk_Widget *statusbar_box;
Etk_Widget *statusbars[3];
+ Ecore_Hash* toplevel_row_entries;
+
Etk_Widget* popup;
};
@@ -287,6 +289,9 @@
_entropy_etk_menu_item_new(ETK_MENU_ITEM_NORMAL, _("Delete this entry"),
ETK_STOCK_DOCUMENT_OPEN, ETK_MENU_SHELL(gui->popup),NULL);
+ /*Make the toplevel row hash*/
+ gui->toplevel_row_entries = ecore_hash_new(ecore_direct_hash,
ecore_direct_compare);
+
/*Config load*/
if (!(tmp = entropy_config_str_get ("layout_ewl_simple", "structure_bar"))) {
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs