Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_eap_editor.c e_int_border_menu.c Log Message: Make internal eap editor stop using weird names if possible, and use a name from the border icccm. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_eap_editor.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- e_eap_editor.c 31 May 2006 18:58:26 -0000 1.27 +++ e_eap_editor.c 5 Jun 2006 15:36:02 -0000 1.28 @@ -160,7 +160,7 @@ eap->width = 128; eap->height = 128; - if ((eap->name) && (eap->exe)) + if ((eap->name) && (eap->exe)) e_app_fields_save(eap); return 1; =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_border_menu.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- e_int_border_menu.c 3 Jun 2006 02:47:54 -0000 1.21 +++ e_int_border_menu.c 5 Jun 2006 15:36:02 -0000 1.22 @@ -562,7 +562,7 @@ E_App *a; E_Border *bd; char *bname = NULL, *bclass = NULL; - + char path[4096]; bd = data; a = bd->app; @@ -574,9 +574,16 @@ if (!a) { - a = e_app_empty_new(NULL); - if (a) + if (bname) { + snprintf(path, sizeof(path), "%s/.e/e/applications/all/%s.eap", getenv("HOME"), bname); + a = e_app_empty_new(path); + } + else + a = e_app_empty_new(NULL); + + if (a) + { if (bname) a->win_name = evas_stringshare_add(bname); if (bclass) a->win_class = evas_stringshare_add(bclass); if (bd->client.icccm.window_role) _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs