Fix main window showing a menubar under earlier GTK versions.
* src/client/components/main-window.vala (MainWindow::MainWindow): Restore explictly setting show-menubar property to false.
This commit is contained in:
parent
56179ba066
commit
5c8e838ea9
1 changed files with 5 additions and 0 deletions
|
|
@ -49,6 +49,11 @@ public class MainWindow : Gtk.ApplicationWindow {
|
|||
public MainWindow(GearyApplication application) {
|
||||
Object(application: application);
|
||||
|
||||
// GTK+ 3.14 (and others?) ignores this property in the UI
|
||||
// file, so set it explicitly here to avoid having a menubar
|
||||
// appear when the desktop shell does not show the app menu
|
||||
this.show_menubar = false;
|
||||
|
||||
load_config(application.config);
|
||||
restore_saved_window_state();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue