_Efreet_Desktop Struct Reference

Efreet_Desktop. More...

#include <efreet_desktop.h>

Data Fields

int type
 type of desktop file
int ref
 reference count - internal
char * version
 version of spec file conforms to
char * orig_path
 original path to .desktop file
long long load_time
 modified time of .desktop on disk
char * name
 Specific name of the application.
char * generic_name
 Generic name of the application.
char * comment
 Tooltip for the entry.
char * icon
 Icon to display in file manager, menus, etc.
char * try_exec
 Binary to determine if app is installed.
char * exec
 Program to execute.
char * path
 Working directory to run app in.
char * startup_wm_class
 If specified will map at least one window with the given string as it's WM class or WM name.
char * url
 URL to access if type is EFREET_TYPE_LINK.
Eina_List * only_show_in
 list of environments that should display the icon
Eina_List * not_show_in
 list of environments that shoudn't display the icon
Eina_List * categories
 Categories in which item should be shown.
Eina_List * mime_types
 The mime types supppored by this app.
unsigned char no_display
 Don't display this application in menus.
unsigned char hidden
 User delete the item.
unsigned char terminal
 Does the program run in a terminal.
unsigned char startup_notify
 The starup notify settings of the app.
unsigned char eet:1
 The desktop file is in eet cache.
Eina_Hash * x
 Keep track of all user extensions, keys that begin with X-.
void * type_data
 Type specific data for custom types.
unsigned char dbus_activatable
 Activate application by dbus, not Exec.
Eina_List * actions
 List of Efreet_Desktop_Actions, application actions.
Eina_List * implements
 Interfaces which is file implements.
Eina_List * keywords
 Keywords which describe this entry.

Detailed Description

Efreet_Desktop.

a parsed representation of a .desktop file

Field Documentation

◆ type

int _Efreet_Desktop::type

type of desktop file

Referenced by efreet_desktop_free(), efreet_desktop_get(), and efreet_desktop_save().

◆ ref

int _Efreet_Desktop::ref

◆ version

char* _Efreet_Desktop::version

version of spec file conforms to

Referenced by efreet_desktop_free().

◆ orig_path

◆ load_time

long long _Efreet_Desktop::load_time

modified time of .desktop on disk

Referenced by efreet_desktop_empty_new().

◆ name

char* _Efreet_Desktop::name

Specific name of the application.

Referenced by efreet_desktop_free(), and efreet_menu_desktop_insert().

◆ generic_name

char* _Efreet_Desktop::generic_name

Generic name of the application.

Referenced by efreet_desktop_free().

◆ comment

char* _Efreet_Desktop::comment

Tooltip for the entry.

Referenced by efreet_desktop_free().

◆ icon

char* _Efreet_Desktop::icon

Icon to display in file manager, menus, etc.

Referenced by efreet_desktop_free(), and efreet_menu_desktop_insert().

◆ try_exec

char* _Efreet_Desktop::try_exec

Binary to determine if app is installed.

Referenced by efreet_desktop_free().

◆ exec

◆ path

char* _Efreet_Desktop::path

Working directory to run app in.

Referenced by efreet_desktop_free().

◆ startup_wm_class

char* _Efreet_Desktop::startup_wm_class

If specified will map at least one window with the given string as it's WM class or WM name.

Referenced by efreet_desktop_free().

◆ url

char* _Efreet_Desktop::url

URL to access if type is EFREET_TYPE_LINK.

Referenced by efreet_desktop_free().

◆ only_show_in

Eina_List* _Efreet_Desktop::only_show_in

list of environments that should display the icon

Referenced by efreet_desktop_free(), and efreet_desktop_save().

◆ not_show_in

Eina_List* _Efreet_Desktop::not_show_in

list of environments that shoudn't display the icon

Referenced by efreet_desktop_free(), and efreet_desktop_save().

◆ categories

Eina_List* _Efreet_Desktop::categories

◆ mime_types

Eina_List* _Efreet_Desktop::mime_types

The mime types supppored by this app.

Referenced by efreet_desktop_free().

◆ eet

unsigned char _Efreet_Desktop::eet

The desktop file is in eet cache.

Referenced by efreet_desktop_free(), efreet_desktop_get(), and efreet_desktop_save_as().

◆ x

Eina_Hash* _Efreet_Desktop::x

Keep track of all user extensions, keys that begin with X-.

Referenced by efreet_desktop_free(), efreet_desktop_x_field_del(), efreet_desktop_x_field_get(), and efreet_desktop_x_field_set().

◆ type_data

void* _Efreet_Desktop::type_data

Type specific data for custom types.

Referenced by efreet_desktop_free(), and efreet_desktop_type_data_get().

◆ dbus_activatable

unsigned char _Efreet_Desktop::dbus_activatable

Activate application by dbus, not Exec.

Since
1.12

◆ actions

Eina_List* _Efreet_Desktop::actions

List of Efreet_Desktop_Actions, application actions.

Since
1.12

Referenced by efreet_desktop_free().

◆ implements

Eina_List* _Efreet_Desktop::implements

Interfaces which is file implements.

Since
1.12

Referenced by efreet_desktop_free().

◆ keywords

Eina_List* _Efreet_Desktop::keywords

Keywords which describe this entry.

Since
1.12

Referenced by efreet_desktop_free().