]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/gnomeBC.C
A lean, clean and working start to the new, improved gnome frontend.
[lyx.git] / src / frontends / gnome / gnomeBC.C
index 5d057bfaa8e0f9e4f835311e6591853400749701..e79bb70931c02689ca217a3f15a892010dcb94c1 100644 (file)
@@ -5,6 +5,7 @@
 #endif
 
 #include "gnomeBC.h"
+#include "ButtonController.tmpl"
 #include "gtk--/widget.h"
 #include "gtk--/button.h"
 
@@ -20,7 +21,7 @@ void gnomeBC::setWidgetEnabled(Gtk::Widget * obj, bool enabled)
 }
 
 
-void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled) 
+void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
 {
        if (btn)
                btn->set_sensitive(enabled);
@@ -28,8 +29,4 @@ void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
 
 
 void gnomeBC::setButtonLabel(Gtk::Button * obj, string const & label)
-{
-#warning Implement me! (be 20010329)
-       // There is no methods set_text!
-       //obj->set_text(label);
-}
+{}