The directory icons will be called .directory as per the FDE spec. This
will likely be implemented later today. SVN revision: 26580
This commit is contained in:
parent
87d76d0048
commit
72e7b91b3f
|
@ -433,7 +433,7 @@ e_app_new(const char *path, int scan_subdirs)
|
||||||
{
|
{
|
||||||
if ((!a->idle_fill) && (!a->filled))
|
if ((!a->idle_fill) && (!a->filled))
|
||||||
{
|
{
|
||||||
snprintf(buf, sizeof(buf), "%s/.directory.desktop", path);
|
snprintf(buf, sizeof(buf), "%s/.directory", path);
|
||||||
if (ecore_file_exists(buf))
|
if (ecore_file_exists(buf))
|
||||||
e_app_fields_fill(a, buf);
|
e_app_fields_fill(a, buf);
|
||||||
else
|
else
|
||||||
|
@ -2469,7 +2469,7 @@ _e_app_cb_monitor(void *data, Ecore_File_Monitor *em,
|
||||||
printf("BUG: Weird event for .order: %d\n", event);
|
printf("BUG: Weird event for .order: %d\n", event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!strcmp(file, ".directory.desktop"))
|
else if (!strcmp(file, ".directory"))
|
||||||
{
|
{
|
||||||
if ((event == ECORE_FILE_EVENT_CREATED_FILE) ||
|
if ((event == ECORE_FILE_EVENT_CREATED_FILE) ||
|
||||||
(event == ECORE_FILE_EVENT_MODIFIED))
|
(event == ECORE_FILE_EVENT_MODIFIED))
|
||||||
|
@ -2495,7 +2495,7 @@ _e_app_cb_monitor(void *data, Ecore_File_Monitor *em,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("BUG: Weird event for .directory.desktop: %d\n", event);
|
printf("BUG: Weird event for .directory: %d\n", event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -487,7 +487,7 @@ _e_int_menus_apps_scan(E_Menu *m)
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
|
|
||||||
/* FIXME: .directory.eaps are obsolete, but have yet to be replaced by FDO stuff. */
|
/* FIXME: .directory.eaps are obsolete, but have yet to be replaced by FDO stuff. */
|
||||||
snprintf(buf, sizeof(buf), "%s/.directory.desktop", a->path);
|
snprintf(buf, sizeof(buf), "%s/.directory", a->path);
|
||||||
if (!((a->icon_class) &&
|
if (!((a->icon_class) &&
|
||||||
(e_util_menu_item_edje_icon_list_set(mi, a->icon_class))))
|
(e_util_menu_item_edje_icon_list_set(mi, a->icon_class))))
|
||||||
/*e_menu_item_icon_edje_set(mi, buf, "icon")*/;
|
/*e_menu_item_icon_edje_set(mi, buf, "icon")*/;
|
||||||
|
|
Loading…
Reference in New Issue