forked from enlightenment/enlightenment
parent
c6b39dff61
commit
cdd86db6ac
|
@ -44,8 +44,10 @@ static int _e_border_cb_window_state_request(void *data, int ev_type, void *ev);
|
|||
static int _e_border_cb_window_move_resize_request(void *data, int ev_type, void *ev);
|
||||
static int _e_border_cb_desktop_change(void *data, int ev_type, void *ev);
|
||||
static int _e_border_cb_sync_alarm(void *data, int ev_type, void *ev);
|
||||
#if 0
|
||||
static int _e_border_cb_efreet_desktop_list_change(void *data, int ev_type, void *ev);
|
||||
static int _e_border_cb_efreet_desktop_change(void *data, int ev_type, void *ev);
|
||||
#endif
|
||||
static int _e_border_cb_config_icon_theme(void *data, int ev_type, void *ev);
|
||||
|
||||
static int _e_border_cb_pointer_warp(void *data, int ev_type, void *ev);
|
||||
|
@ -186,8 +188,10 @@ e_border_init(void)
|
|||
ecore_x_passive_grab_replay_func_set(_e_border_cb_grab_replay, NULL);
|
||||
|
||||
handlers = eina_list_append(handlers, ecore_event_handler_add(E_EVENT_POINTER_WARP, _e_border_cb_pointer_warp, NULL));
|
||||
#if 0
|
||||
handlers = eina_list_append(handlers, ecore_event_handler_add(EFREET_EVENT_DESKTOP_LIST_CHANGE, _e_border_cb_efreet_desktop_list_change, NULL));
|
||||
handlers = eina_list_append(handlers, ecore_event_handler_add(EFREET_EVENT_DESKTOP_CHANGE, _e_border_cb_efreet_desktop_change, NULL));
|
||||
#endif
|
||||
handlers = eina_list_append(handlers, ecore_event_handler_add(E_EVENT_CONFIG_ICON_THEME, _e_border_cb_config_icon_theme, NULL));
|
||||
|
||||
if (!borders_hash) borders_hash = eina_hash_string_superfast_new(NULL);
|
||||
|
@ -4965,6 +4969,7 @@ _e_border_cb_sync_alarm(void *data, int ev_type, void *ev)
|
|||
return 1;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
_e_border_cb_efreet_desktop_list_change(void *data, int ev_type, void *ev)
|
||||
{
|
||||
|
@ -5042,6 +5047,7 @@ _e_border_cb_efreet_desktop_change(void *data, int ev_type, void *ev)
|
|||
}
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
_e_border_cb_config_icon_theme(void *data, int ev_type, void *ev)
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#include "e.h"
|
||||
|
||||
#if 0
|
||||
static void _e_configure_efreet_desktop_update(void);
|
||||
static int _e_configure_cb_efreet_desktop_list_change(void *data, int type, void *event);
|
||||
static int _e_configure_cb_efreet_desktop_change(void *data, int type, void *event);
|
||||
#endif
|
||||
static void _e_configure_registry_item_full_add(const char *path, int pri, const char *label, const char *icon_file, const char *icon, E_Config_Dialog *(*func) (E_Container *con, const char *params), void (*generic_func) (E_Container *con, const char *params), Efreet_Desktop *desktop);
|
||||
|
||||
EAPI Eina_List *e_configure_registry = NULL;
|
||||
|
@ -36,15 +38,18 @@ e_configure_init(void)
|
|||
maug = e_int_menus_menu_augmentation_add_sorted
|
||||
("config/1", _("Modules"), _e_configure_menu_add, NULL, NULL, NULL);
|
||||
|
||||
#if 0
|
||||
handlers = eina_list_append
|
||||
(handlers, ecore_event_handler_add
|
||||
(EFREET_EVENT_DESKTOP_LIST_CHANGE, _e_configure_cb_efreet_desktop_list_change, NULL));
|
||||
handlers = eina_list_append
|
||||
(handlers, ecore_event_handler_add
|
||||
(EFREET_EVENT_DESKTOP_CHANGE, _e_configure_cb_efreet_desktop_change, NULL));
|
||||
#endif
|
||||
// _e_configure_efreet_desktop_update();
|
||||
}
|
||||
|
||||
#if 0
|
||||
static void
|
||||
_e_configure_efreet_desktop_update(void)
|
||||
{
|
||||
|
@ -180,6 +185,7 @@ _e_configure_cb_efreet_desktop_change(void *data, int type, void *event)
|
|||
_e_configure_efreet_desktop_update();
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
_e_configure_registry_item_full_add(const char *path, int pri, const char *label, const char *icon_file, const char *icon, E_Config_Dialog *(*func) (E_Container *con, const char *params), void (*generic_func) (E_Container *con, const char *params), Efreet_Desktop *desktop)
|
||||
|
|
|
@ -11,7 +11,9 @@ static void _e_order_cb_monitor (void *data, Ecore_File_Monitor *em, Ecore_File_
|
|||
static void _e_order_read (E_Order *eo);
|
||||
static void _e_order_save (E_Order *eo);
|
||||
|
||||
#if 0
|
||||
static int _e_order_cb_efreet_desktop_change(void *data, int ev_type, void *ev);
|
||||
#endif
|
||||
|
||||
static Eina_List *orders = NULL;
|
||||
static Eina_List *handlers = NULL;
|
||||
|
@ -20,7 +22,9 @@ static Eina_List *handlers = NULL;
|
|||
EAPI int
|
||||
e_order_init(void)
|
||||
{
|
||||
#if 0
|
||||
handlers = eina_list_append(handlers, ecore_event_handler_add(EFREET_EVENT_DESKTOP_CHANGE, _e_order_cb_efreet_desktop_change, NULL));
|
||||
#endif
|
||||
efreet_menu_file_set(e_config->default_system_menu);
|
||||
return 1;
|
||||
}
|
||||
|
@ -261,6 +265,7 @@ _e_order_save(E_Order *eo)
|
|||
fclose(f);
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
_e_order_cb_efreet_desktop_change(void *data, int ev_type, void *ev)
|
||||
{
|
||||
|
@ -323,3 +328,4 @@ _e_order_cb_efreet_desktop_change(void *data, int ev_type, void *ev)
|
|||
}
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -61,8 +61,10 @@ static void _il_home_apps_populate(void);
|
|||
static void _il_home_apps_unpopulate(void);
|
||||
static void _il_home_fmc_set(Evas_Object *obj);
|
||||
static void _il_home_desks_populate(void);
|
||||
#if 0
|
||||
static int _il_home_desktop_list_change(void *data, int type, void *event);
|
||||
static int _il_home_desktop_change(void *data, int type, void *event);
|
||||
#endif
|
||||
static int _il_home_update_deferred(void *data);
|
||||
static int _il_home_win_cb_exe_del(void *data, int type, void *event);
|
||||
static E_Border *_il_home_desktop_find_border(E_Zone *zone, Efreet_Desktop *desktop);
|
||||
|
@ -98,6 +100,7 @@ e_modapi_init(E_Module *m)
|
|||
_il_home_apps_unpopulate();
|
||||
_il_home_apps_populate();
|
||||
|
||||
#if 0
|
||||
handlers =
|
||||
eina_list_append(handlers,
|
||||
ecore_event_handler_add(EFREET_EVENT_DESKTOP_LIST_CHANGE,
|
||||
|
@ -107,6 +110,7 @@ e_modapi_init(E_Module *m)
|
|||
eina_list_append(handlers,
|
||||
ecore_event_handler_add(EFREET_EVENT_DESKTOP_CHANGE,
|
||||
_il_home_desktop_change, NULL));
|
||||
#endif
|
||||
|
||||
handlers =
|
||||
eina_list_append(handlers,
|
||||
|
@ -658,6 +662,7 @@ _il_home_desks_populate(void)
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
_il_home_desktop_list_change(void *data, int type, void *event)
|
||||
{
|
||||
|
@ -673,6 +678,7 @@ _il_home_desktop_change(void *data, int type, void *event)
|
|||
defer = ecore_timer_add(1.0, _il_home_update_deferred, NULL);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
_il_home_update_deferred(void *data)
|
||||
|
|
|
@ -190,6 +190,7 @@ _e_flaunch_cb_delayed_repopulate(void *data)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
_e_flaunch_cb_desktop_list_change(void *data, int type, void *event)
|
||||
{
|
||||
|
@ -211,6 +212,7 @@ _e_flaunch_cb_desktop_change(void *data, int type, void *event)
|
|||
fl->repopulate_timer = ecore_timer_add(0.5, _e_flaunch_cb_delayed_repopulate, fl);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
e_flaunch_init(void)
|
||||
|
@ -269,12 +271,14 @@ e_flaunch_new(E_Zone *zone, const char *themedir)
|
|||
fl->handlers = eina_list_append
|
||||
(fl->handlers, ecore_event_handler_add
|
||||
(E_EVENT_ZONE_MOVE_RESIZE, _e_flaunch_cb_zone_move_resize, fl));
|
||||
#if 0
|
||||
fl->handlers = eina_list_append
|
||||
(fl->handlers, ecore_event_handler_add
|
||||
(EFREET_EVENT_DESKTOP_LIST_CHANGE, _e_flaunch_cb_desktop_list_change, fl));
|
||||
fl->handlers = eina_list_append
|
||||
(fl->handlers, ecore_event_handler_add
|
||||
(EFREET_EVENT_DESKTOP_CHANGE, _e_flaunch_cb_desktop_change, fl));
|
||||
#endif
|
||||
|
||||
return fl;
|
||||
}
|
||||
|
|
|
@ -51,8 +51,10 @@ static void _cb_slipwin_border_select(void *data, E_Slipwin *esw, E_Border *bd);
|
|||
static void _cb_slipshelf_border_select(void *data, E_Slipshelf *ess, E_Border *bd);
|
||||
static void _cb_slipshelf_border_home2(void *data, E_Slipshelf *ess, E_Border *pbd);
|
||||
static void _cb_selected(void *data, Evas_Object *obj, void *event_info);
|
||||
#if 0
|
||||
static int _cb_efreet_desktop_list_change(void *data, int type, void *event);
|
||||
static int _cb_efreet_desktop_change(void *data, int type, void *event);
|
||||
#endif
|
||||
static void _apps_unpopulate(void);
|
||||
static void _apps_populate(void);
|
||||
static int _cb_update_deferred(void *data);
|
||||
|
@ -157,12 +159,14 @@ _e_mod_win_init(E_Module *m)
|
|||
handlers = eina_list_append
|
||||
(handlers, ecore_event_handler_add
|
||||
(ECORE_EXE_EVENT_DEL, _cb_event_exe_del, NULL));
|
||||
#if 0
|
||||
handlers = eina_list_append
|
||||
(handlers, ecore_event_handler_add
|
||||
(EFREET_EVENT_DESKTOP_LIST_CHANGE, _cb_efreet_desktop_list_change, NULL));
|
||||
handlers = eina_list_append
|
||||
(handlers, ecore_event_handler_add
|
||||
(EFREET_EVENT_DESKTOP_CHANGE, _cb_efreet_desktop_change, NULL));
|
||||
#endif
|
||||
handlers = eina_list_append
|
||||
(handlers, ecore_event_handler_add
|
||||
(E_EVENT_ZONE_MOVE_RESIZE, _cb_zone_move_resize, NULL));
|
||||
|
@ -1199,6 +1203,7 @@ _cb_selected(void *data, Evas_Object *obj, void *event_info)
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
_cb_efreet_desktop_list_change(void *data, int type, void *event)
|
||||
{
|
||||
|
@ -1214,6 +1219,7 @@ _cb_efreet_desktop_change(void *data, int type, void *event)
|
|||
defer = ecore_timer_add(1.0, _cb_update_deferred, NULL);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
_cb_update_deferred(void *data)
|
||||
|
|
Loading…
Reference in New Issue