Re: [E-devel] edje_editor: first snapshot!
Selon DaveMDS [EMAIL PROTECTED]: Hi all, I have done a first snapshot of the edje_editor source . this is the link http://www.gurumeditation.it/edje_editor-0.1-beta3.tar.gz It's the very first release so expect various segv just type make and RUN IN PLACE. NOTE: The file you are workin on must have a name, so save at least once before inserting parts Hope you like the work. DaveMDS PS: the program need glib2 to run and complile. This is because I have started the project with a gtk interface. And I have made intensive use of gstring. Hope I will make a version without glib in a short time. I haven't tested the app and read the code yet, but maybe you could use Etk_String instead of gstring. It supports most of the things supported by GString iirc. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_editor: first snapshot!
On Thu, Dec 21, 2006 at 06:29:55AM +0100, DaveMDS wrote: Hi all, I have done a first snapshot of the edje_editor source . this is the link http://www.gurumeditation.it/edje_editor-0.1-beta3.tar.gz Well, the editor looks kewl for me. I think it will be really usefull. The only thing I've noticed, that when I add, for example, rectangle, some new config widgets appers in the window, and main window changes it's size. Unfortunatelly for me, the size of the main window became greater than my screen resolution (1280x800), and the part of the window go offscreen. But generally speaking, the editor is really nice. It's the very first release so expect various segv just type make and RUN IN PLACE. NOTE: The file you are workin on must have a name, so save at least once before inserting parts Hope you like the work. DaveMDS PS: the program need glib2 to run and complile. This is because I have started the project with a gtk interface. And I have made intensive use of gstring. Hope I will make a version without glib in a short time. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Aleksej Struk Master Degree Student Free University of Bozen-Bolzano Faculty of Computer Science phone: +39-0471-061749 cell phone: +39-3204627049 +370-61278908 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_editor: first snapshot!
[EMAIL PROTECTED] ha scritto: Selon DaveMDS [EMAIL PROTECTED]: Hi all, I have done a first snapshot of the edje_editor source . this is the link http://www.gurumeditation.it/edje_editor-0.1-beta3.tar.gz It's the very first release so expect various segv just type make and RUN IN PLACE. NOTE: The file you are workin on must have a name, so save at least once before inserting parts Hope you like the work. DaveMDS PS: the program need glib2 to run and complile. This is because I have started the project with a gtk interface. And I have made intensive use of gstring. Hope I will make a version without glib in a short time. I haven't tested the app and read the code yet, but maybe you could use Etk_String instead of gstring. It supports most of the things supported by GString iirc. Thanks I will give some test with Etk_String. DaveMDS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_editor: first snapshot!
Aleksej Struk ha scritto: On Thu, Dec 21, 2006 at 06:29:55AM +0100, DaveMDS wrote: Hi all, I have done a first snapshot of the edje_editor source . this is the link http://www.gurumeditation.it/edje_editor-0.1-beta3.tar.gz Well, the editor looks kewl for me. I think it will be really usefull. The only thing I've noticed, that when I add, for example, rectangle, some new config widgets appers in the window, and main window changes it's size. Unfortunatelly for me, the size of the main window became greater than my screen resolution (1280x800), and the part of the window go offscreen. Yes, a know problem ( I have done all the work at 1600x1200 ). Some Idea? I have to change all the widget placement ? But generally speaking, the editor is really nice. It's the very first release so expect various segv just type make and RUN IN PLACE. NOTE: The file you are workin on must have a name, so save at least once before inserting parts Hope you like the work. DaveMDS PS: the program need glib2 to run and complile. This is because I have started the project with a gtk interface. And I have made intensive use of gstring. Hope I will make a version without glib in a short time. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_editor: first snapshot!
On Thu, Dec 21, 2006 at 02:53:28PM +0100, DaveMDS wrote: Aleksej Struk ha scritto: On Thu, Dec 21, 2006 at 06:29:55AM +0100, DaveMDS wrote: Hi all, I have done a first snapshot of the edje_editor source . this is the link http://www.gurumeditation.it/edje_editor-0.1-beta3.tar.gz Well, the editor looks kewl for me. I think it will be really usefull. The only thing I've noticed, that when I add, for example, rectangle, some new config widgets appers in the window, and main window changes it's size. Unfortunatelly for me, the size of the main window became greater than my screen resolution (1280x800), and the part of the window go offscreen. Yes, a know problem ( I have done all the work at 1600x1200 ). Some Idea? I have to change all the widget placement ? First, I would propose to reduce the height of the preview widget. Second, I'd place all the configuration widgets under the preview widget, rather than under the groups/parts list. So, the following scheme, when rectangle is added, should show my idea: | || | |B | Groups | Preview| |U | List | Widget | |T || | |T ||--| |O || Position | |N | Description| | |S || | | | Rectangle | | But generally speaking, the editor is really nice. It's the very first release so expect various segv just type make and RUN IN PLACE. NOTE: The file you are workin on must have a name, so save at least once before inserting parts Hope you like the work. DaveMDS PS: the program need glib2 to run and complile. This is because I have started the project with a gtk interface. And I have made intensive use of gstring. Hope I will make a version without glib in a short time. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE -- Aleksej Struk Master Degree Student Free University of Bozen-Bolzano Faculty of Computer Science phone: +39-0471-061749 cell phone: +39-3204627049 +370-61278908 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Add application key bindings from border menu....
Hello, Here is a patch that will add a border menu item that allows you to enter a key binding for the current app. It utilizes the existing key binding config dialog. When launched from the border menu, it will immediately prompt for the binding. It then selects the Defined Command as an action, and fills in the Action Params with the present app's command line args. Quirks/Limitations: Well, in short... the command line and args may not be exactly what you expect. For example, some apps are started via shell scripts. Firefox and Thunderbird for example. If you start them up and create a key binding in this fashion, you get firefox-bin and thunderbird bin respectively. This will not launch those apps (on my machine anyway). Additionally, complex command lines may not be as you expect either. Command lines with pipes and `command substitutions` in particular. Comments welcome. -- Regards, Ravenlock Index: e17/apps/e/src/bin/e_border.h === RCS file: /var/cvs/e/e17/apps/e/src/bin/e_border.h,v retrieving revision 1.153 diff -u -r1.153 e_border.h --- e17/apps/e/src/bin/e_border.h 30 Nov 2006 17:42:41 - 1.153 +++ e17/apps/e/src/bin/e_border.h 21 Dec 2006 23:07:43 - @@ -412,6 +412,7 @@ E_Config_Dialog *border_locks_dialog; E_Config_Dialog *border_remember_dialog; E_Config_Dialog *border_border_dialog; + E_Config_Dialog *border_keybinding_dialog; E_Dialog *border_prop_dialog; E_Menu *border_stacking_menu; E_Menu *border_maximize_menu; Index: e17/apps/e/src/bin/e_int_border_menu.c === RCS file: /var/cvs/e/e17/apps/e/src/bin/e_int_border_menu.c,v retrieving revision 1.53 diff -u -r1.53 e_int_border_menu.c --- e17/apps/e/src/bin/e_int_border_menu.c 25 Nov 2006 20:40:27 - 1.53 +++ e17/apps/e/src/bin/e_int_border_menu.c 21 Dec 2006 23:07:43 - @@ -31,6 +31,7 @@ static void _e_border_menu_cb_raise(void *data, E_Menu *m, E_Menu_Item *mi); static void _e_border_menu_cb_lower(void *data, E_Menu *m, E_Menu_Item *mi); static void _e_border_menu_cb_state_pre(void *data, E_Menu *m, E_Menu_Item *mi); +static void _e_border_menu_cb_keybinding_add(void *data, E_Menu *m, E_Menu_Item *mi); EAPI void e_int_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y, int key, Ecore_X_Time timestamp) @@ -268,6 +269,12 @@ e_menu_item_label_set(mi, _(Add App To Launcher)); e_menu_item_submenu_pre_callback_set(mi, _e_border_menu_cb_icon_add_pre, bd); e_util_menu_item_edje_icon_set(mi, enlightenment/applications); + + mi = e_menu_item_new(m); + e_menu_item_label_set(mi, _(Add Keybinding)); + e_menu_item_callback_set(mi, _e_border_menu_cb_keybinding_add, bd); + e_util_menu_item_edje_icon_set(mi, enlightenment/keys); + } mi = e_menu_item_new(m); @@ -920,3 +927,17 @@ e/widgets/border/default/fullscreen); } } + +static void +_e_border_menu_cb_keybinding_add(void *data, E_Menu *m, E_Menu_Item *mi) +{ + + E_Border *bd; + + bd = data; + if (!bd) return; + if (bd-border_keybinding_dialog) return; + + bd-border_keybinding_dialog = e_int_config_keybindings_border_add(bd); + +} Index: e17/apps/e/src/bin/e_int_config_keybindings.c === RCS file: /var/cvs/e/e17/apps/e/src/bin/e_int_config_keybindings.c,v retrieving revision 1.49 diff -u -r1.49 e_int_config_keybindings.c --- e17/apps/e/src/bin/e_int_config_keybindings.c 16 Dec 2006 20:32:40 - 1.49 +++ e17/apps/e/src/bin/e_int_config_keybindings.c 21 Dec 2006 23:07:44 - @@ -45,6 +45,7 @@ struct _E_Config_Dialog_Data { + E_Border *border; Evas *evas; struct { @@ -59,7 +60,10 @@ char *cur; int cur_act; int add; - + + int border_add; + char *border_params; + E_Dialog *dia; Ecore_X_Window bind_win; Evas_List *handlers; @@ -96,6 +100,46 @@ return cfd; } +EAPI E_Config_Dialog * +e_int_config_keybindings_border_add(E_Border *border) +{ + int i; + E_Config_Dialog *cfd; + char *buf; + char *ws; + + cfd = e_int_config_keybindings(NULL); + if (!cfd) return cfd; + cfd-cfdata-border = border; + + /* Fill in our param with the proper command line */ + buf = strdup(); + for (i = 0; i = border-client.icccm.command.argc - 1; i++) + { + ws = strstr(border-client.icccm.command.argv[i], ); + if (!ws) + { + buf = realloc(buf, strlen(buf) + strlen(border-client.icccm.command.argv[i]) + 2); + strcat(buf, border-client.icccm.command.argv[i]); + } + else + { + buf = realloc(buf, strlen(buf) + strlen(border-client.icccm.command.argv[i]) + 4); + strcat(buf, \); + strcat(buf, border-client.icccm.command.argv[i]); +
Re: [E-devel] Add application key bindings from border menu....
On Thu, Dec 21, 2006 at 04:01:58PM -0600, Ravenlock wrote: Hello, Here is a patch that will add a border menu item that allows you to enter a key binding for the current app. It utilizes the existing key binding config dialog. When launched from the border menu, it will immediately prompt for the binding. It then selects the Defined Command as an action, and fills in the Action Params with the present app's command line args. Quirks/Limitations: Well, in short... the command line and args may not be exactly what you expect. For example, some apps are started via shell scripts. Firefox and Thunderbird for example. If you start them up and create a key binding in this fashion, you get firefox-bin and thunderbird bin respectively. This will not launch those apps (on my machine anyway). Additionally, complex command lines may not be as you expect either. Command lines with pipes and `command substitutions` in particular. Comments welcome. For apps that have associated .desktop files, we could possibly use that to determine how to launch it properly. rephorm - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Add application key bindings from border menu....
On 12/21/2006 16:08, Brian Mattern wrote: On Thu, Dec 21, 2006 at 04:01:58PM -0600, Ravenlock wrote: Hello, Here is a patch that will add a border menu item that allows you to enter a key binding for the current app. It utilizes the existing key binding config dialog. When launched from the border menu, it will immediately prompt for the binding. It then selects the Defined Command as an action, and fills in the Action Params with the present app's command line args. Quirks/Limitations: Well, in short... the command line and args may not be exactly what you expect. For example, some apps are started via shell scripts. Firefox and Thunderbird for example. If you start them up and create a key binding in this fashion, you get firefox-bin and thunderbird bin respectively. This will not launch those apps (on my machine anyway). Additionally, complex command lines may not be as you expect either. Command lines with pipes and `command substitutions` in particular. Comments welcome. For apps that have associated .desktop files, we could possibly use that to determine how to launch it properly. True. I'll look into it. rephorm - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards, Ravenlock - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Add application key bindings from border menu....
Ravenlock wrote: Hello, Here is a patch that will add a border menu item that allows you to enter a key binding for the current app. It utilizes the existing key binding config dialog. When launched from the border menu, it will immediately prompt for the binding. It then selects the Defined Command as an action, and fills in the Action Params with the present app's command line args. Quirks/Limitations: Well, in short... the command line and args may not be exactly what you expect. For example, some apps are started via shell scripts. Firefox and Thunderbird for example. If you start them up and create a key binding in this fashion, you get firefox-bin and thunderbird bin respectively. This will not launch those apps (on my machine anyway). Additionally, complex command lines may not be as you expect either. Command lines with pipes and `command substitutions` in particular. Comments welcome. I know this is minor, but check that formatting :) dh - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Add application key bindings from border menu....
On 12/21/2006 16:59, Christopher Michael wrote: Ravenlock wrote: Hello, Here is a patch that will add a border menu item that allows you to enter a key binding for the current app. It utilizes the existing key binding config dialog. When launched from the border menu, it will immediately prompt for the binding. It then selects the Defined Command as an action, and fills in the Action Params with the present app's command line args. Quirks/Limitations: Well, in short... the command line and args may not be exactly what you expect. For example, some apps are started via shell scripts. Firefox and Thunderbird for example. If you start them up and create a key binding in this fashion, you get firefox-bin and thunderbird bin respectively. This will not launch those apps (on my machine anyway). Additionally, complex command lines may not be as you expect either. Command lines with pipes and `command substitutions` in particular. Comments welcome. I know this is minor, but check that formatting :) Not minor at all. I'll clean it up. dh -- Regards, Ravenlock - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel