From f093fd9b687946f4120013da601409818253551b Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Wed, 12 Sep 2001 09:30:47 +0000 Subject: [PATCH] Fix spurious warning about a shortcut when the dialog is built. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2734 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/xforms/ChangeLog | 5 +++++ src/frontends/xforms/form_citation.C | 1 - src/frontends/xforms/forms/form_citation.fd | 3 +-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 41fae88b09..59866f337a 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,8 @@ +2001-09-12 Angus Leeming + + * forms/form_citation.fd: remove spurious shortcut to a labelframe! + (Thereby removing a warning message when the dialog is built.) + 2001-09-11 Angus Leeming * FormDocument.C (input, options_update): add code to enable the diff --git a/src/frontends/xforms/form_citation.C b/src/frontends/xforms/form_citation.C index 7cdefe5c77..5e552f3863 100644 --- a/src/frontends/xforms/form_citation.C +++ b/src/frontends/xforms/form_citation.C @@ -94,7 +94,6 @@ FD_form_citation * FormCitation::build_citation() fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast); fl_set_object_callback(obj, C_FormBaseInputCB, 0); fdui->frame_style = obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 410, 280, 370, 80, _("Citation style")); - fl_set_object_shortcut(obj, _("frame_style"), 1); fl_set_object_lsize(obj, FL_NORMAL_SIZE); fl_set_object_lstyle(obj, FL_BOLD_STYLE); fdui->choice_style = obj = fl_add_choice(FL_NORMAL_CHOICE, 550, 290, 130, 30, ""); diff --git a/src/frontends/xforms/forms/form_citation.fd b/src/frontends/xforms/forms/form_citation.fd index 10eb4896df..556fae5115 100644 --- a/src/frontends/xforms/forms/form_citation.fd +++ b/src/frontends/xforms/forms/form_citation.fd @@ -157,7 +157,6 @@ callback: argument: -------------------- - class: FL_LABELFRAME type: ENGRAVED_FRAME box: 410 140 370 120 @@ -276,7 +275,7 @@ style: FL_BOLD_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK label: Citation style -shortcut: frame_style +shortcut: resize: FL_RESIZE_ALL gravity: FL_NoGravity FL_NoGravity name: frame_style