On Sun, 15 May 2005 15:36:19 -0500 Frederick Reeve <[EMAIL PROTECTED]> babbled:
(B
(Bsorry to rain on your parade... but ... :( i cant use patches that are inline. 
(Bmailers line-wrap them and so the diff doesn't work anymore. always attach 
(Bdiffs! :) BUT - i can re-implement this fairly trivially long before u get me 
(Bfixed patches :)
(B
(B> I made a small modification to e17/apps/e/src/bin/e_remote_main.c and
(B> e_bindings.h.  Just made it so you could use NONE as a modifier arg for
(B> enlightenment_remote allowing for example:
(B> 
(B> enlightenment_remote -binding-mouse-add ZONE 3 NONE 0 "menu_show" "clients"
(B> 
(B> to work instead of:
(B> 
(B> enlightenment_remote -binding-mouse-add ZONE 3 "" 0 "menu_show" "clients"
(B> 
(B> I had just seen some questions about it on the forum and figured if I
(B> added that and put it in the error message as an option the questions
(B> maybe less for the future.  Its a brainless thing I know but I only do
(B> what I can.
(B> 
(B> Btw is there any chance EFL will be getting python bindings?  I would
(B> love to do them myself but I'm afraid I don't know a thing about swig.
(B> 
(B> Diff follows:
(B> 
(B> Index: e17/apps/e/src/bin/e_bindings.h
(B> ===================================================================
(B> RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_bindings.h,v
(B> retrieving revision 1.7
(B> diff -u -r1.7 e_bindings.h
(B> --- e17/apps/e/src/bin/e_bindings.h    30 Apr 2005 05:07:27 -0000    1.7
(B> +++ e17/apps/e/src/bin/e_bindings.h    15 May 2005 19:36:05 -0000
(B> @@ -19,6 +19,7 @@
(B>   */
(B>  typedef enum _E_Binding_Modifier
(B>  {
(B> +   E_BINDING_MODIFIER_NONE = 0,
(B>     E_BINDING_MODIFIER_SHIFT = (1 << 0),
(B>     E_BINDING_MODIFIER_CTRL = (1 << 1),
(B>     E_BINDING_MODIFIER_ALT = (1 << 2),
(B> Index: e17/apps/e/src/bin/e_remote_main.c
(B> ===================================================================
(B> RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_remote_main.c,v
(B> retrieving revision 1.23
(B> diff -u -r1.23 e_remote_main.c
(B> --- e17/apps/e/src/bin/e_remote_main.c    13 May 2005 17:21:04 -0000    1.23
(B> +++ e17/apps/e/src/bin/e_remote_main.c    15 May 2005 19:36:06 -0000
(B> @@ -82,8 +82,9 @@
(B>            else if (!strncmp(pp, "WIN|", 4)) eb->modifiers |=
(B> E_BINDING_MODIFIER_WIN;
(B>            else if (strlen(pp) > 0)
(B>              {
(B> -               printf("OPT3 moidifier unknonw. Must be or mask of:\n"
(B> -                  "  SHIFT CTRL ALT WIN\n");
(B> +               printf("OPT3 moidifier unknown. Must be or mask of:\n"
(B> +                  "  SHIFT CTRL ALT WIN\n"
(B> +                  "  or stand-alone NONE\n");
(B>                 exit(-1);
(B>              }
(B>            pp = p + 1;
(B> @@ -94,10 +95,12 @@
(B>            else if (!strcmp(pp, "CTRL")) eb->modifiers |=
(B> E_BINDING_MODIFIER_CTRL;
(B>            else if (!strcmp(pp, "ALT")) eb->modifiers |=
(B> E_BINDING_MODIFIER_ALT;
(B>            else if (!strcmp(pp, "WIN")) eb->modifiers |=
(B> E_BINDING_MODIFIER_WIN;
(B> +          else if (!strcmp(pp, "NONE")) eb->modifiers =
(B> E_BINDING_MODIFIER_NONE;
(B>            else if (strlen(pp) > 0)
(B>              {
(B> -               printf("OPT3 moidifier unknonw. Must be or mask of:\n"
(B> -                  "  SHIFT CTRL ALT WIN\n");
(B> +               printf("OPT3 moidifier unknown. Must be or mask of:\n"
(B> +                  "  SHIFT CTRL ALT WIN\n"
(B> +                  "  or stand-alone NONE\n");
(B>                 exit(-1);
(B>              }
(B>            break;
(B> @@ -177,7 +180,8 @@
(B>            else if (strlen(pp) > 0)
(B>              {
(B>                 printf("OPT3 moidifier unknonw. Must be or mask of:\n"
(B> -                  "  SHIFT CTRL ALT WIN\n");
(B> +                  "  SHIFT CTRL ALT WIN\n"
(B> +                  "  or stand-alone NONE\n");
(B>                 exit(-1);
(B>              }
(B>            pp = p + 1;
(B> @@ -188,10 +192,12 @@
(B>            else if (!strcmp(pp, "CTRL")) eb->modifiers |=
(B> E_BINDING_MODIFIER_CTRL;
(B>            else if (!strcmp(pp, "ALT")) eb->modifiers |=
(B> E_BINDING_MODIFIER_ALT;
(B>            else if (!strcmp(pp, "WIN")) eb->modifiers |=
(B> E_BINDING_MODIFIER_WIN;
(B> +          else if (!strcmp(pp, "NONE")) eb->modifiers =
(B> E_BINDING_MODIFIER_NONE;
(B>            else if (strlen(pp) > 0)
(B>              {
(B>                 printf("OPT3 moidifier unknonw. Must be or mask of:\n"
(B> -                  "  SHIFT CTRL ALT WIN\n");
(B> +                  "  SHIFT CTRL ALT WIN\n"
(B> +                  "  or stand-alone NONE\n");
(B>                 exit(-1);
(B>              }
(B>            break;
(B> 
(B> =================================================================================
(B> Frederick Reeve (Cylix)                                    
(B> [EMAIL PROTECTED]
(B> 
(B> 
(B> -------------------------------------------------------
(B> This SF.Net email is sponsored by Oracle Space Sweepstakes
(B> Want to be the first software developer in space?
(B> Enter now for the Oracle Space Sweepstakes!
(B> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
(B> _______________________________________________
(B> enlightenment-devel mailing list
(B> [email protected]
(B> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B> 
(B
(B
(B-- 
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
$BMg9%B?(B                              [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B-------------------------------------------------------
(BThis SF.Net email is sponsored by Oracle Space Sweepstakes
(BWant to be the first software developer in space?
(BEnter now for the Oracle Space Sweepstakes!
(Bhttp://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
(B_______________________________________________
(Benlightenment-devel mailing list
([email protected]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to