From 90225e87811feb654e9a3c71734d0e6844f987ed Mon Sep 17 00:00:00 2001 From: Steve Zesch Date: Sat, 24 Nov 2012 20:51:23 -0500 Subject: Fixed gsettings. --- src/math-window.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/math-window.c') diff --git a/src/math-window.c b/src/math-window.c index 4692ec8..164a457 100644 --- a/src/math-window.c +++ b/src/math-window.c @@ -14,6 +14,7 @@ #include #include "math-window.h" +#include "utility.h" enum { PROP_0, @@ -295,6 +296,7 @@ static void button_mode_changed_cb(MathButtons *buttons, GParamSpec *spec, MathW } gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu), TRUE); + g_settings_set_enum(g_settings_var, "button-mode", math_buttons_get_mode(buttons)); } static GtkWidget *add_menu(GtkWidget *menu_bar, const gchar *name) -- cgit v1.2.1