Add preferences window with option to turn off maximized windows

This is very limited right now. See README.md for other options to
integrate here (and throughout the app).
This commit is contained in:
2014-06-30 22:51:15 +02:00
parent 1cee8bf38c
commit b2cab90dcb
5 changed files with 143 additions and 26 deletions

View File

@@ -63,7 +63,11 @@ new_window_cb(GSimpleAction *action, GVariant *parameter, gpointer user_data)
static void
preferences_cb(GSimpleAction *action, GVariant *parameter, gpointer user_data)
{
ag_preferences_show_dialog();
AgApp *app = AG_APP(user_data);
GtkWindow *window;
window = ag_app_peek_first_window(app);
ag_preferences_show_dialog(window);
}
static void