add labels to </> in searche and replace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3175 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-12-10 11:18:30 +00:00
parent fe31e337c1
commit 2ce57e3f40
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-11-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* forms/form_search.fd: Added label text to search buttons
(to make the shortcuts visible).
2001-12-05 John Levon <moz@compsoc.man.ac.uk> 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
* FormParagraph.C: set combo box correctly for VSpace::LENGTH * FormParagraph.C: set combo box correctly for VSpace::LENGTH

View File

@ -46,7 +46,7 @@ FD_form_search * FormSearch::build_search()
fl_set_object_resize(obj, FL_RESIZE_X); fl_set_object_resize(obj, FL_RESIZE_X);
fl_set_object_callback(obj, C_FormBaseInputCB, 0); fl_set_object_callback(obj, C_FormBaseInputCB, 0);
{ {
char const * const dummy = N_(" >|#F^s"); char const * const dummy = N_("Forwards >|#F^s");
fdui->findnext = obj = fl_add_button(FL_NORMAL_BUTTON, 200, 80, 90, 30, idex(_(dummy))); fdui->findnext = obj = fl_add_button(FL_NORMAL_BUTTON, 200, 80, 90, 30, idex(_(dummy)));
fl_set_button_shortcut(obj, scex(_(dummy)), 1); fl_set_button_shortcut(obj, scex(_(dummy)), 1);
} }
@ -54,7 +54,7 @@ FD_form_search * FormSearch::build_search()
fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast); fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
fl_set_object_callback(obj, C_FormBaseInputCB, 0); fl_set_object_callback(obj, C_FormBaseInputCB, 0);
{ {
char const * const dummy = N_(" <|#B^r"); char const * const dummy = N_(" < Backwards|#B^r");
fdui->findprev = obj = fl_add_button(FL_NORMAL_BUTTON, 110, 80, 90, 30, idex(_(dummy))); fdui->findprev = obj = fl_add_button(FL_NORMAL_BUTTON, 110, 80, 90, 30, idex(_(dummy)));
fl_set_button_shortcut(obj, scex(_(dummy)), 1); fl_set_button_shortcut(obj, scex(_(dummy)), 1);
} }

View File

@ -94,7 +94,7 @@ alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE size: FL_NORMAL_SIZE
lcol: FL_BLACK lcol: FL_BLACK
label: >|#F^s label: Forwards >|#F^s
shortcut: shortcut:
resize: FL_RESIZE_NONE resize: FL_RESIZE_NONE
gravity: FL_SouthEast FL_SouthEast gravity: FL_SouthEast FL_SouthEast
@ -112,7 +112,7 @@ alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE size: FL_NORMAL_SIZE
lcol: FL_BLACK lcol: FL_BLACK
label: <|#B^r label: < Backwards|#B^r
shortcut: shortcut:
resize: FL_RESIZE_NONE resize: FL_RESIZE_NONE
gravity: FL_SouthEast FL_SouthEast gravity: FL_SouthEast FL_SouthEast