[niepce: 21/22] Fix the menu bar display. Remove the "hide title bar" until we revamp the actual layout.
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce: 21/22] Fix the menu bar display. Remove the "hide title bar" until we revamp the actual layout.
- Date: Tue, 29 Jul 2014 08:07:16 +0000 (UTC)
commit 1e700d1f8d671c80e22cd4889a362208d27db5df
Author: Hubert Figuière <hub figuiere net>
Date: Tue Jul 29 09:53:54 2014 +0200
Fix the menu bar display.
Remove the "hide title bar" until we revamp the actual layout.
src/fwk/toolkit/application.cpp | 3 ++-
src/niepce/ui/niepcewindow.cpp | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/fwk/toolkit/application.cpp b/src/fwk/toolkit/application.cpp
index 6f9e26e..dc76152 100644
--- a/src/fwk/toolkit/application.cpp
+++ b/src/fwk/toolkit/application.cpp
@@ -109,9 +109,10 @@ void Application::on_startup()
auto window = makeMainFrame();
_add(window, true);
- _ready();
set_menubar(window->get_menu());
+
+ _ready();
}
void Application::init_actions()
diff --git a/src/niepce/ui/niepcewindow.cpp b/src/niepce/ui/niepcewindow.cpp
index ccac139..c4746a6 100644
--- a/src/niepce/ui/niepcewindow.cpp
+++ b/src/niepce/ui/niepcewindow.cpp
@@ -59,7 +59,7 @@ NiepceWindow::NiepceWindow()
: fwk::AppFrame("mainWindow-frame")
, m_vbox(Gtk::ORIENTATION_VERTICAL)
{
- gtkWindow().property_hide_titlebar_when_maximized() = true;
+// gtkWindow().property_hide_titlebar_when_maximized() = true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]