]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/mainapp.h
small patch from Dekel, begin introducing the real boost framework, get rid of the...
[lyx.git] / src / frontends / gnome / mainapp.h
index b0d740071d65430c5c24fbe2395aca4df6b8d4da..e6460ad40acf51d6f130c9053f304f432f7934d0 100644 (file)
@@ -14,6 +14,7 @@
 #include <gnome--/app.h>
 #include <gnome--/appbar.h>
 #include <gtk--/frame.h>
+#include <gtk--/accelgroup.h>
 
 #include "MenuBackend.h"
 
@@ -35,7 +36,7 @@ class GLyxAppWin: public Gnome::App
                   int noelms,
                   Gnome::UI::Array &);
   /// add action area
-  void add_action(Gtk::Container &, string title, bool expand=false);
+  void add_action(Gtk::Container &, string title, bool expand=false, Gtk::AccelGroup * acgr=NULL);
   /// remove action area
   void remove_action();
   /// clears action area if Escape is pressed
@@ -51,6 +52,8 @@ class GLyxAppWin: public Gnome::App
   Gtk::VBox box_;
   Gtk::Widget *view_;
 
+  Gtk::AccelGroup * accel_;
+
   bool action_mode;
   
   // menu size