diff --git a/glade/main-window.glade b/glade/main-window.glade
index 5e1768f..3f150f3 100644
--- a/glade/main-window.glade
+++ b/glade/main-window.glade
@@ -2,6 +2,8 @@
+ 300
+ 200
True
@@ -9,7 +11,7 @@
diff --git a/src/start_gui.cc b/src/start_gui.cc
index d5f7a47..9f9fb8d 100644
--- a/src/start_gui.cc
+++ b/src/start_gui.cc
@@ -24,6 +24,8 @@
#include "start_gui.hh"
#include
+#include
+#include
#include
#include
#include
@@ -49,9 +51,16 @@ start_gui(int argc, char** argv)
// here -- ugly -- derive widgets and then use
// Glade::Xml::get_widget_derived -- better --)
MenuItem* file_quit = NULL;
- refXml->get_widget("Menu.File.Quit", file_quit);
+ refXml->get_widget("MenuItem.File.Quit", file_quit);
file_quit->signal_activate().connect(sigc::ptr_fun(&Main::quit));
+ // About dialog
+ MenuItem* help_about = NULL;
+ refXml->get_widget("MenuItem.Help.About", help_about);
+ AboutDialog* about_dialog = NULL;
+ refXml->get_widget("AboutDialog", about_dialog);
+ help_about->signal_activate().connect(sigc::mem_fun(*about_dialog, &Window::show));
+
main_window->show_all_children();
Main::run(*main_window);