mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 07:45:44 +00:00
John's small fixes to qt2 and xforms + his elegant replacement to FL_TRANSIENT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1612 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
02f23c0f37
commit
2e279fe9c7
@ -1,3 +1,7 @@
|
|||||||
|
2001-02-16 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
|
* FormParagraph.C: fix bview->update()
|
||||||
|
|
||||||
2001-01-24 Edwin Leuven <leuven@fee.uva.nl>
|
2001-01-24 Edwin Leuven <leuven@fee.uva.nl>
|
||||||
|
|
||||||
*FormParagraph.C:
|
*FormParagraph.C:
|
||||||
|
@ -171,7 +171,11 @@ void FormParagraph::apply()
|
|||||||
dialog_->getHfillBetween(),
|
dialog_->getHfillBetween(),
|
||||||
dialog_->getStartNewMinipage());
|
dialog_->getStartNewMinipage());
|
||||||
|
|
||||||
lv_->view()->update(BufferView::SELECT | BufferView::FITCUR | BufferView::CHANGE);
|
lv_->view()->update(lv_->view()->text,
|
||||||
|
BufferView::SELECT |
|
||||||
|
BufferView::FITCUR |
|
||||||
|
BufferView::CHANGE);
|
||||||
|
|
||||||
lv_->buffer()->markDirty();
|
lv_->buffer()->markDirty();
|
||||||
setMinibuffer(lv_, _("Paragraph layout set"));
|
setMinibuffer(lv_, _("Paragraph layout set"));
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2001-02-23 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
|
* FormBase.C: no longer transient dialogs, XMapWindow()
|
||||||
|
in attempt to de-iconify
|
||||||
|
|
||||||
|
* FormDocument.C: remove DO_USE_DEFAULT_LANGUAGE
|
||||||
|
|
||||||
2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
|
2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
* FormDocument.C (checkMarginValues): Activate "use geometry" button
|
* FormDocument.C (checkMarginValues): Activate "use geometry" button
|
||||||
|
@ -99,13 +99,21 @@ void FormBase::show()
|
|||||||
|
|
||||||
if (form()->visible) {
|
if (form()->visible) {
|
||||||
fl_raise_form(form());
|
fl_raise_form(form());
|
||||||
|
/* This XMapWindow() will hopefully ensure that
|
||||||
|
* iconified dialogs are de-iconified. Mad props
|
||||||
|
* out to those crazy Xlib guys for forgetting a
|
||||||
|
* XDeiconifyWindow(). At least WindowMaker, when
|
||||||
|
* being notified of the redirected MapRequest will
|
||||||
|
* specifically de-iconify. From source, fvwm2 seems
|
||||||
|
* to do the same.
|
||||||
|
*/
|
||||||
|
XMapWindow(fl_get_display(), form()->window);
|
||||||
} else {
|
} else {
|
||||||
// calls to fl_set_form_minsize/maxsize apply only to the next
|
// calls to fl_set_form_minsize/maxsize apply only to the next
|
||||||
// fl_show_form(), so connect() comes first.
|
// fl_show_form(), so connect() comes first.
|
||||||
connect();
|
connect();
|
||||||
fl_show_form(form(),
|
fl_show_form(form(),
|
||||||
FL_PLACE_MOUSE | FL_FREE_SIZE,
|
FL_PLACE_MOUSE | FL_FREE_SIZE, 0,
|
||||||
FL_TRANSIENT,
|
|
||||||
title.c_str());
|
title.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -223,10 +223,7 @@ void FormDocument::build()
|
|||||||
combo_language->shortcut("#L",1);
|
combo_language->shortcut("#L",1);
|
||||||
combo_language->setcallback(ComboInputCB, this);
|
combo_language->setcallback(ComboInputCB, this);
|
||||||
fl_end_form();
|
fl_end_form();
|
||||||
// "default" is not part of the languages array any more.
|
|
||||||
#ifdef DO_USE_DEFAULT_LANGUAGE
|
|
||||||
combo_language->addto("default");
|
|
||||||
#endif
|
|
||||||
for (Languages::const_iterator cit = languages.begin();
|
for (Languages::const_iterator cit = languages.begin();
|
||||||
cit != languages.end(); ++cit) {
|
cit != languages.end(); ++cit) {
|
||||||
combo_language->addto((*cit).second.lang());
|
combo_language->addto((*cit).second.lang());
|
||||||
|
Loading…
Reference in New Issue
Block a user