diff options
author | Steve Zesch <[email protected]> | 2012-11-24 20:51:23 -0500 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2012-11-24 20:51:23 -0500 |
commit | 90225e87811feb654e9a3c71734d0e6844f987ed (patch) | |
tree | 58030b0c20f6555d5387c7e0824b68fa9f242ba8 /src/math-window.c | |
parent | f2afbc975e249e765ee7d7452165912f1b4b479b (diff) | |
download | mate-calc-90225e87811feb654e9a3c71734d0e6844f987ed.tar.bz2 mate-calc-90225e87811feb654e9a3c71734d0e6844f987ed.tar.xz |
Fixed gsettings.
Diffstat (limited to 'src/math-window.c')
-rw-r--r-- | src/math-window.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <gdk/gdkkeysyms.h> #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) |