Michael Schmitt wrote: > In the graphics dialog, the shortcut for "_S_ubcaption" conflicts with > "Scale"; fixed. > in the "open" dialog, "Documents" and "Examples" do not have > shortcuts; This is a little bit more tricky. Where are the user buttons defined (John)?
> in "find & replace", no shortcuts are defined for "<" and ">"; Alt+F/ Alt+B and Ctrl+r/ Ctrl+s work here (but we should probably give a hint on those). > the "external material" dialog does not provide a shortcut for > "Apply" Added. (and apply is not activated if you enter the file name by hand) Couldn't fix this. Jürgen
Index: src/frontends/xforms/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.197 diff -u -r1.197 ChangeLog --- src/frontends/xforms/ChangeLog 2001/11/12 16:12:47 1.197 +++ src/frontends/xforms/ChangeLog 2001/11/13 07:41:15 @@ -1,3 +1,8 @@ +2001-11-13 Jürgen Spitzmüller <[EMAIL PROTECTED]> + + * forms/form_graphics.fd: fixed shortcut clash + * forms/form-external.fd: added shortcut for "Apply" + 2001-11-12 John Levon <[EMAIL PROTECTED]> * FormFiledialog.C: don't reset path if new dir Index: src/frontends/xforms/form_external.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/form_external.C,v retrieving revision 1.4 diff -u -r1.4 form_external.C --- src/frontends/xforms/form_external.C 2001/04/11 17:14:19 1.4 +++ src/frontends/xforms/form_external.C 2001/11/13 07:41:16 @@ -93,7 +93,11 @@ fl_set_object_lsize(obj, FL_NORMAL_SIZE); fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast); fl_set_object_callback(obj, C_FormBaseOKCB, 0); - fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 355, 270, 90, 30, _("Apply")); + { + char const * const dummy = N_("Apply|#A"); + fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 355, 270, 90, 30, idex(_(dummy))); + fl_set_button_shortcut(obj, scex(_(dummy)), 1); + } fl_set_object_color(obj, FL_COL1, FL_BLACK); fl_set_object_lsize(obj, FL_NORMAL_SIZE); fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast); Index: src/frontends/xforms/form_graphics.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/form_graphics.C,v retrieving revision 1.20 diff -u -r1.20 form_graphics.C --- src/frontends/xforms/form_graphics.C 2001/11/05 17:07:23 1.20 +++ src/frontends/xforms/form_graphics.C 2001/11/13 07:41:16 @@ -89,7 +89,7 @@ fl_set_object_callback(obj, C_FormBaseInputCB, 0); obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 20, 230, 450, 90, _("Subcaption")); { - char const * const dummy = N_("Subcaption|#S"); + char const * const dummy = N_("Subcaption|#u"); fdui->check_subcaption = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 110, 240, 30, 30, idex(_(dummy))); fl_set_button_shortcut(obj, scex(_(dummy)), 1); } Index: src/frontends/xforms/forms/form_external.fd =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/forms/form_external.fd,v retrieving revision 1.4 diff -u -r1.4 form_external.fd --- src/frontends/xforms/forms/form_external.fd 2001/04/11 17:14:20 1.4 +++ src/frontends/xforms/forms/form_external.fd 2001/11/13 07:41:19 @@ -202,7 +202,7 @@ style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Apply +label: Apply|#A shortcut: resize: FL_RESIZE_ALL gravity: FL_SouthEast FL_SouthEast Index: src/frontends/xforms/forms/form_graphics.fd =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/forms/form_graphics.fd,v retrieving revision 1.13 diff -u -r1.13 form_graphics.fd --- src/frontends/xforms/forms/form_graphics.fd 2001/11/05 17:07:23 1.13 +++ src/frontends/xforms/forms/form_graphics.fd 2001/11/13 07:41:19 @@ -310,7 +310,7 @@ style: FL_NORMAL_STYLE size: FL_DEFAULT_SIZE lcol: FL_BLACK -label: Subcaption|#S +label: Subcaption|#u shortcut: resize: FL_RESIZE_ALL gravity: FL_NoGravity FL_NoGravity