[niepce/gtk4: 3/10] gtk4: Fix main menu position (regression)




commit 7a1912bb1e2925620f442a2a59b0f9e22e42e656
Author: Hubert Figuière <hub figuiere net>
Date:   Sun Mar 20 12:00:04 2022 -0400

    gtk4: Fix main menu position (regression)

 src/niepce/ui/niepcewindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/niepce/ui/niepcewindow.cpp b/src/niepce/ui/niepcewindow.cpp
index d87aff7..623980f 100644
--- a/src/niepce/ui/niepcewindow.cpp
+++ b/src/niepce/ui/niepcewindow.cpp
@@ -67,7 +67,7 @@ NiepceWindow::NiepceWindow()
     menu_btn->set_direction(Gtk::ArrowType::NONE);
     m_main_menu = Gio::Menu::create();
     menu_btn->set_menu_model(m_main_menu);
-    header->pack_start(*menu_btn);
+    header->pack_end(*menu_btn);
 
     // Undo redo buttons
     Gtk::Box *button_box = Gtk::manage(new Gtk::Box);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]