mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
gtk_patch_2003_10_30
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8007 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
95d8934808
commit
43259038fd
@ -1,11 +1,17 @@
|
||||
2003-10-28 Huang Ying <hying_caritas@163.com>
|
||||
* codeConvert.h (etc): Change FcChar to XftChar according to the libxft
|
||||
interface changing.
|
||||
* FileDialogPrivate.C : get rid of button support in FileDialog
|
||||
because of the implementation of Gtk::FileSelection changed.
|
||||
* glade/.cvsignore : add *.gladep, which is generated during editing
|
||||
*.galde
|
||||
* Add MathPanel, TableCreate and Url dialog
|
||||
2003-10-30 Huang Ying <hying_caritas@163.com>
|
||||
|
||||
* GToolbar.C : change layouts widget update code according xforms
|
||||
frontends to prevent layouts widget from disable always.
|
||||
|
||||
2003-10-28 Huang Ying <hying_caritas@163.com>
|
||||
|
||||
* codeConvert.h (etc): Change FcChar to XftChar according to the
|
||||
libxft interface changing.
|
||||
* FileDialogPrivate.C : get rid of button support in FileDialog
|
||||
because of the implementation of Gtk::FileSelection changed.
|
||||
* glade/.cvsignore : add *.gladep, which is generated during
|
||||
editing *.galde
|
||||
* Add MathPanel, TableCreate and Url dialog
|
||||
|
||||
2003-10-15 José Matos <jamatos@lyx.org>
|
||||
|
||||
|
@ -208,6 +208,13 @@ void GToolbar::update()
|
||||
ToolbarBackend::Item * item =
|
||||
reinterpret_cast<ToolbarBackend::Item*>(
|
||||
widget->get_data(gToolData));
|
||||
if (item->first.action == ToolbarBackend::LAYOUTS) {
|
||||
LyXFunc const & lf = view_->getLyXFunc();
|
||||
bool const sensitive =
|
||||
!lf.getStatus(FuncRequest(LFUN_LAYOUT)).disabled();
|
||||
widget->set_sensitive(sensitive);
|
||||
continue;
|
||||
}
|
||||
FuncStatus const status = view_->
|
||||
getLyXFunc().getStatus(item->first);
|
||||
bool sensitive = !status.disabled();
|
||||
|
Loading…
Reference in New Issue
Block a user