diff --git a/src/app/browser.cpp b/src/app/browser.cpp index b6c57ecf..4734a337 100644 --- a/src/app/browser.cpp +++ b/src/app/browser.cpp @@ -12,4 +12,11 @@ Browser::Browser() WIDTH, HEIGHT ); +} + +Browser::Header::Header() +{ + set_show_title_buttons( + SHOW_TITLE_BUTTONS + ); } \ No newline at end of file diff --git a/src/app/browser.h b/src/app/browser.h index e42f9d75..f5c0acb6 100644 --- a/src/app/browser.h +++ b/src/app/browser.h @@ -11,15 +11,19 @@ namespace app { public: - const char* TITLE = "Basic application"; - const guint WIDTH = 640; - const guint HEIGHT = 480; + const Glib::ustring TITLE = "Basic application"; + const int WIDTH = 640; + const int HEIGHT = 480; Browser(); class Header : Gtk::HeaderBar { + public: + const bool SHOW_TITLE_BUTTONS = true; + + Header(); }; class Container : Gtk::Notebook