]> git.lyx.org Git - lyx.git/blob - src/frontends/gnome/gnomeBC.C
Implement the Log dialog, also update accessors.py
[lyx.git] / src / frontends / gnome / gnomeBC.C
1 #include <config.h>
2
3 #ifdef __GNUG__
4 #pragma implementation
5 #endif
6
7 #include "gnomeBC.h"
8 #include "ButtonController.tmpl"
9
10 #include <gtkmm/widget.h>
11 #include <gtkmm/button.h>
12
13 gnomeBC::gnomeBC(string const & cancel, string const & close)
14         : GuiBC<Gtk::Button, Gtk::Widget>(cancel, close)
15 {}
16
17
18 void gnomeBC::setWidgetEnabled(Gtk::Widget * obj, bool enabled)
19 {
20         if (obj)
21                 obj->set_sensitive(enabled);
22 }
23
24
25 void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
26 {
27         if (btn)
28                 btn->set_sensitive(enabled);
29 }
30
31
32 void gnomeBC::setButtonLabel(Gtk::Button * obj, string const & label)
33 {}