E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path Modified Files: module.desktop.in Log Message: Fix up module.desktop descriptions for new box width. === RCS file: /cvs/e/e_modules/efm_path/module.desktop.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- module.desktop.in 6 Dec 2007 05:34:00 - 1.3 +++ module.desktop.in 30 Dec 2007 19:49:23 - 1.4 @@ -13,11 +13,11 @@ Exec=enlightenment StartupNotify=false Icon=e-module-efm_path -Comment=hilightEfm Path Module/hilightbrA module that allows a user to typebr a location into the filemanager. +Comment=hilightEfm Path Module/hilightbrbrA module that allows a user to type a location into the filemanager. Comment[de]= -Comment[es]=hilightMódulo de Ruta EFM/hilightUn módulo que permite al usuario escribirbruna dirección dentro del Administrador de archivos. +Comment[es]=hilightMódulo de Ruta EFM/hilightbrbrUn módulo que permite al usuario escribir una dirección dentro del Administrador de archivos. Comment[fr]= -Comment[it]=hilightModulo percorso EFM/hilightbrUn modulo che permetti dibrinserire un percorso nel modulobrdel file manager. +Comment[it]=hilightModulo percorso EFM/hilightbrbrUn modulo che permetti di inserire un percorso nel modulo del file manager. Comment[ja]= Comment[pt]= Comment[pt_BR]= - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path Modified Files: e-module-efm_path.edc Log Message: Font is not used in the edc, remove it. === RCS file: /cvs/e/e_modules/efm_path/e-module-efm_path.edc,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e-module-efm_path.edc 12 Nov 2007 02:36:32 - 1.3 +++ e-module-efm_path.edc 26 Dec 2007 17:42:38 - 1.4 @@ -1,8 +1,3 @@ -fonts -{ - font: Vera.ttf Vera; -} - images { image: entry.png COMP; - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/src Modified Files: e_mod_main.c Log Message: Adjust default size of location module. === RCS file: /cvs/e/e_modules/efm_path/src/e_mod_main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- e_mod_main.c25 Nov 2007 03:32:24 - 1.4 +++ e_mod_main.c8 Dec 2007 23:51:23 - 1.5 @@ -128,8 +128,7 @@ static void _gc_orient(E_Gadcon_Client *gcc) { - e_gadcon_client_aspect_set(gcc, 16, 16); - e_gadcon_client_min_size_set(gcc, 16, 16); + e_gadcon_client_min_size_set(gcc, 32, 16); } static char * - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/src Modified Files: e_mod_main.c Log Message: Fix efm_path menu. === RCS file: /cvs/e/e_modules/efm_path/src/e_mod_main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_mod_main.c20 Nov 2007 06:39:35 - 1.3 +++ e_mod_main.c25 Nov 2007 03:32:24 - 1.4 @@ -6,7 +6,6 @@ { E_Gadcon_Client *gcc; Evas_Object *o_entry, *o_base, *o_loc, *o_event; - E_Menu *menu; E_Toolbar *tbar; char *path; }; @@ -35,7 +34,6 @@ void *event_info); static void _cb_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info); -static void _cb_menu_post (void *data, E_Menu *m); static Evas_List *instances = NULL; static E_Module *path_mod = NULL; @@ -115,12 +113,6 @@ inst = gcc-data; if (!inst) return; instances = evas_list_remove(instances, inst); - if (inst-menu) - { - e_menu_post_deactivate_callback_set(inst-menu, NULL, NULL); - e_object_del(E_OBJECT(inst-menu)); - inst-menu = NULL; - } evas_object_event_callback_del(inst-o_event, EVAS_CALLBACK_MOUSE_DOWN, _cb_mouse_down); evas_object_event_callback_del(inst-o_base, EVAS_CALLBACK_MOUSE_DOWN, _cb_mouse_down); @@ -331,28 +323,12 @@ inst = data; ev = event_info; - if ((ev-button != 3) || (inst-menu)) return; + if ((ev-button != 3) || (inst-gcc-menu)) return; zone = e_util_zone_current_get(e_manager_current_get()); - mn = e_menu_new(); - e_menu_post_deactivate_callback_set(mn, _cb_menu_post, inst); - inst-menu = mn; e_gadcon_client_util_menu_items_append(inst-gcc, mn, 0); ecore_x_pointer_xy_get(zone-container-win, x, y); - e_menu_activate_mouse(inst-menu, zone, x, y, 1, 1, + e_menu_activate_mouse(mn, zone, x, y, 1, 1, E_MENU_POP_DIRECTION_DOWN, ev-timestamp); - evas_event_feed_mouse_up(inst-gcc-gadcon-evas, ev-button, - EVAS_BUTTON_NONE, ev-timestamp, NULL); -// e_util_evas_fake_mouse_up_later(e, ev-button); -} - -static void -_cb_menu_post(void *data, E_Menu *m) -{ - Instance *inst; - - inst = data; - if (!inst-menu) return; - e_object_del(E_OBJECT(inst-menu)); - inst-menu = NULL; + e_util_evas_fake_mouse_up_later(e, ev-button); } - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/src Modified Files: e_mod_main.h Log Message: Add missing macro for gettext translations. === RCS file: /cvs/e/e_modules/efm_path/src/e_mod_main.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_mod_main.h11 Nov 2007 19:25:19 - 1.1 +++ e_mod_main.h24 Nov 2007 00:47:05 - 1.2 @@ -1,6 +1,8 @@ #ifndef E_MOD_MAIN_H #define E_MOD_MAIN_H +#define D_(str) dgettext(PACKAGE, str) + EAPI extern E_Module_Api e_modapi; EAPI void *e_modapi_init (E_Module *m); - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path Log Message: Directory /cvs/e/e_modules/efm_path added to the repository - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/images Log Message: Directory /cvs/e/e_modules/efm_path/images added to the repository - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/fonts Log Message: Directory /cvs/e/e_modules/efm_path/fonts added to the repository - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/src Log Message: Directory /cvs/e/e_modules/efm_path/src added to the repository - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/images Added Files: entry.png Log Message: Add example efm module. Doesn't do much and may still have buggers, use with caution. Packagers users should really ignore this module for now, still needs more testing. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/fonts Added Files: Vera.ttf Log Message: Add example efm module. Doesn't do much and may still have buggers, use with caution. Packagers users should really ignore this module for now, still needs more testing. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path Added Files: AUTHORS COPYING COPYING-PLAIN ChangeLog INSTALL Makefile.am NEWS README autogen.sh configure.in e-module-efm_path.edc module.desktop.in Log Message: Add example efm module. Doesn't do much and may still have buggers, use with caution. Packagers users should really ignore this module for now, still needs more testing. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/src Added Files: Makefile.am e_mod_main.c e_mod_main.h Log Message: Add example efm module. Doesn't do much and may still have buggers, use with caution. Packagers users should really ignore this module for now, still needs more testing. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path Modified Files: e-module-efm_path.edc Log Message: Fix module icon. === RCS file: /cvs/e/e_modules/efm_path/e-module-efm_path.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e-module-efm_path.edc 11 Nov 2007 19:25:18 - 1.1 +++ e-module-efm_path.edc 11 Nov 2007 19:56:10 - 1.2 @@ -24,6 +24,8 @@ description { state: default 0.0; + aspect: 4.0 4.0; + aspect_preference: BOTH; image.normal: entry.png; } } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path Modified Files: e-module-efm_path.edc Log Message: Clean up edc a bit. Add an event rectangle to the module so that it's easier to get the menu to show. Do a little more cleanup on shutdown. === RCS file: /cvs/e/e_modules/efm_path/e-module-efm_path.edc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e-module-efm_path.edc 11 Nov 2007 19:56:10 - 1.2 +++ e-module-efm_path.edc 12 Nov 2007 02:36:32 - 1.3 @@ -54,11 +54,7 @@ { state: default 0.0; align: 0.0 0.5; - rel1 -{ - relative: 0.0 0.0; - to: base; -} + rel1.to: base; rel2 { relative: 0.2 1.0; @@ -78,11 +74,7 @@ relative: 1.0 0.0; to_x: e.swallow.location; } - rel2 -{ - offset: -2 -1; - to: base; -} + rel2.to: base; } } } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: efm_path devilhorns
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : efm_path Dir : e_modules/efm_path/src Modified Files: e_mod_main.c Log Message: Clean up edc a bit. Add an event rectangle to the module so that it's easier to get the menu to show. Do a little more cleanup on shutdown. === RCS file: /cvs/e/e_modules/efm_path/src/e_mod_main.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_mod_main.c11 Nov 2007 19:25:19 - 1.1 +++ e_mod_main.c12 Nov 2007 02:36:32 - 1.2 @@ -5,7 +5,7 @@ struct _Instance { E_Gadcon_Client *gcc; - Evas_Object *o_entry, *o_base, *o_loc; + Evas_Object *o_entry, *o_base, *o_loc, *o_event; E_Menu *menu; E_Toolbar *tbar; char *path; @@ -72,7 +72,6 @@ evas_object_show(inst-o_loc); inst-o_entry = e_widget_entry_add(gc-evas, (inst-path), NULL, NULL, NULL); - e_widget_can_focus_set(inst-o_entry, 0); edje_object_part_swallow(inst-o_base, e.swallow.entry, inst-o_entry); evas_object_show(inst-o_entry); @@ -94,10 +93,16 @@ evas_object_smart_callback_add(inst-o_base, selection_change, _cb_sel_changed, inst); + inst-o_event = evas_object_rectangle_add(gc-evas); + evas_object_color_set(inst-o_event, 255, 0, 0, 142); + evas_object_repeat_events_set(inst-o_event, 1); + evas_object_event_callback_add(inst-o_event, EVAS_CALLBACK_MOUSE_DOWN, + _cb_mouse_down, inst); + evas_object_show(inst-o_event); + inst-gcc = e_gadcon_client_new(gc, name, id, style, inst-o_base); inst-gcc-data = inst; - e_gadcon_client_resizable_set(inst-gcc, 1); instances = evas_list_append(instances, inst); return inst-gcc; } @@ -110,6 +115,17 @@ inst = gcc-data; if (!inst) return; instances = evas_list_remove(instances, inst); + if (inst-menu) + { + e_menu_post_deactivate_callback_set(inst-menu, NULL, NULL); + e_object_del(E_OBJECT(inst-menu)); + inst-menu = NULL; + } + + evas_object_event_callback_del(inst-o_event, EVAS_CALLBACK_MOUSE_DOWN, _cb_mouse_down); + evas_object_event_callback_del(inst-o_base, EVAS_CALLBACK_MOUSE_DOWN, _cb_mouse_down); + + if (inst-o_event) evas_object_del(inst-o_event); if (inst-o_loc) evas_object_del(inst-o_loc); if (inst-o_entry) evas_object_del(inst-o_entry); if (inst-o_base) evas_object_del(inst-o_base); @@ -325,7 +341,9 @@ ecore_x_pointer_xy_get(zone-container-win, x, y); e_menu_activate_mouse(inst-menu, zone, x, y, 1, 1, E_MENU_POP_DIRECTION_DOWN, ev-timestamp); - e_util_evas_fake_mouse_up_later(e, ev-button); + evas_event_feed_mouse_up(inst-gcc-gadcon-evas, ev-button, + EVAS_BUTTON_NONE, ev-timestamp, NULL); +// e_util_evas_fake_mouse_up_later(e, ev-button); } static void - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs