fix from herbert for % height

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4641 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-07-15 11:57:48 +00:00
parent 9a39e0d33f
commit 1cb11db386
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-07-11 Herbert Voss <voss@perce.de>
* FormGraphics.C (input): test also the height for %-value, when
importing the latex-value into the lyx-view
2002-07-10 Andrew Zabolotny <zap@cobra.ru> 2002-07-10 Andrew Zabolotny <zap@cobra.ru>
* combox.C (peek_event): * combox.C (peek_event):

View File

@ -553,7 +553,8 @@ ButtonPolicy::SMInput FormGraphics::input(FL_OBJECT * ob, long)
setEnabled(lyxview_->check_lyxaspectratio, 0); setEnabled(lyxview_->check_lyxaspectratio, 0);
setEnabled(lyxview_->input_lyxscale, 1); setEnabled(lyxview_->input_lyxscale, 1);
} else if (ob == lyxview_->button_latex_values) { } else if (ob == lyxview_->button_latex_values) {
if (contains(fl_get_choice_text(size_->choice_width),'%')) if (contains(fl_get_choice_text(size_->choice_width),'%')
|| contains(fl_get_choice_text(size_->choice_height),'%'))
Alert::alert(_("Warning!"), Alert::alert(_("Warning!"),
_("No %-units are allowed here."), _("No %-units are allowed here."),
_("Cannot use the values from LaTeX size!")); _("Cannot use the values from LaTeX size!"));

View File

@ -28,7 +28,7 @@ What's new
- better support for entering cyrillic and greek alphabets - better support for entering cyrillic and greek alphabets
- support selection via the numpad direction keys - support the numpad direction keys as equivalent to normal cursor keys
- update template for IEEEtran; update hebrew article class - update template for IEEEtran; update hebrew article class
@ -117,6 +117,8 @@ What's new
- fix command line crash and give useful exit status on some errors - fix command line crash and give useful exit status on some errors
- fix the detection of cygwin in Reconfigure when the shell is not bash
- fix latex import when using --with-version-suffix configure flag - fix latex import when using --with-version-suffix configure flag
- make latex import script (reLyX) honor the LYX_DIR_12x envirnment - make latex import script (reLyX) honor the LYX_DIR_12x envirnment