Commit a8f2e87cd80ea9cf0fddfc1d9062eec225d405df
1 parent
5f8fe9b3
Exists in
master
and in
2 other branches
Disabling F10 redirection.
Showing
2 changed files
with
8 additions
and
1 deletions
Show diff stats
src/objects/window/window.c
@@ -275,6 +275,13 @@ | @@ -275,6 +275,13 @@ | ||
275 | // Get settings | 275 | // Get settings |
276 | g_autoptr(GSettings) settings = pw3270_application_window_settings_new(); | 276 | g_autoptr(GSettings) settings = pw3270_application_window_settings_new(); |
277 | 277 | ||
278 | + // Override defaults | ||
279 | + { | ||
280 | + // https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtksettings.c | ||
281 | + GtkSettings *settings = gtk_widget_get_settings(GTK_WIDGET (widget)); | ||
282 | + g_object_set(settings,"gtk-menu-bar-accel","",NULL); | ||
283 | + } | ||
284 | + | ||
278 | // Setup defaults | 285 | // Setup defaults |
279 | widget->state.width = 800; | 286 | widget->state.width = 800; |
280 | widget->state.height = 500; | 287 | widget->state.height = 500; |