aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Janetzek <hannes.janetzek@gmail.com>2010-10-14 14:25:12 +0000
committerHannes Janetzek <hannes.janetzek@gmail.com>2010-10-14 14:25:12 +0000
commit68063b6523de7c3680487373ae8b92ed4b15f35b (patch)
treeac9d0e67a42f99917f995a42d03133f86958fbbe
parenta751cbca6dbf0882faa0d767b4efe77eec7e9794 (diff)
downloadenlightenment-68063b6523de7c3680487373ae8b92ed4b15f35b.tar.gz
enlightenment-68063b6523de7c3680487373ae8b92ed4b15f35b.tar.xz
enlightenment-68063b6523de7c3680487373ae8b92ed4b15f35b.zip
evry-files: show homedir option is obsolete. turning it off produced a segv
SVN revision: 53401
-rw-r--r--src/modules/everything-files/e_mod_main.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/modules/everything-files/e_mod_main.c b/src/modules/everything-files/e_mod_main.c
index d4d7d1e59..49032fed1 100644
--- a/src/modules/everything-files/e_mod_main.c
+++ b/src/modules/everything-files/e_mod_main.c
@@ -318,7 +318,7 @@ _scan_cancel_func(void *data)
Plugin *p = d->plugin;
Evry_Item_File *file;
- if (!d->run_cnt)
+ if (!d->run_cnt) /* _scan_func was canceled */
{
EINA_LIST_FREE(d->files, file)
{
@@ -327,7 +327,7 @@ _scan_cancel_func(void *data)
free(file);
}
}
- else
+ else /* _scan_mime_func was canceled */
{
EINA_LIST_FREE(d->files, file)
EVRY_ITEM_FREE(file);
@@ -340,7 +340,6 @@ _scan_cancel_func(void *data)
free(d->directory);
E_FREE(d);
-
}
static void
@@ -642,8 +641,8 @@ _begin(Evry_Plugin *plugin, const Evry_Item *it)
EVRY_PLUGIN_INSTANCE(p, plugin);
p->parent = EINA_FALSE;
- if (_conf->show_homedir)
- p->directory = eina_stringshare_add(e_user_homedir_get());
+ /* if (_conf->show_homedir) */
+ p->directory = eina_stringshare_add(e_user_homedir_get());
_read_directory(p);
@@ -1546,9 +1545,9 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
of = e_widget_framelist_add(evas, _("General"), 0);
e_widget_framelist_content_align_set(of, 0.0, 0.0);
- ow = e_widget_check_add(evas, _("Show home directory"),
- &(cfdata->show_homedir));
- e_widget_framelist_object_append(of, ow);
+ /* ow = e_widget_check_add(evas, _("Show home directory"),
+ * &(cfdata->show_homedir));
+ * e_widget_framelist_object_append(of, ow); */
ow = e_widget_check_add(evas, _("Show recent files"),
&(cfdata->show_recent));