]> git.lyx.org Git - lyx.git/blob - src/frontends/gnome/gnomeBC.C
ws changes
[lyx.git] / src / frontends / gnome / gnomeBC.C
1 /**
2  * \file gnomeBC.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Baruch Even
7  *
8  * Full author contact details are available in file CREDITS
9  */
10 #include <config.h>
11
12 #ifdef __GNUG__
13 #pragma implementation
14 #endif
15
16 #include "gnomeBC.h"
17
18 #include <gtkmm/widget.h>
19 #include <gtkmm/button.h>
20
21 gnomeBC::gnomeBC(string const & cancel, string const & close)
22         : GuiBC<Gtk::Button, Gtk::Widget>(cancel, close)
23 {}
24
25
26 void gnomeBC::setWidgetEnabled(Gtk::Widget * obj, bool enabled)
27 {
28         if (obj)
29                 obj->set_sensitive(enabled);
30 }
31
32
33 void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
34 {
35         if (btn)
36                 btn->set_sensitive(enabled);
37 }
38
39
40 void gnomeBC::setButtonLabel(Gtk::Button * obj, string const & label)
41 {}