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-buttons.c | |
parent | f2afbc975e249e765ee7d7452165912f1b4b479b (diff) | |
download | mate-calc-90225e87811feb654e9a3c71734d0e6844f987ed.tar.bz2 mate-calc-90225e87811feb654e9a3c71734d0e6844f987ed.tar.xz |
Fixed gsettings.
Diffstat (limited to 'src/math-buttons.c')
-rw-r--r-- | src/math-buttons.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/math-buttons.c b/src/math-buttons.c index a64c27f..ade7efc 100644 --- a/src/math-buttons.c +++ b/src/math-buttons.c @@ -15,6 +15,7 @@ #include "math-variable-popup.h" #include "financial.h" #include "mp-serializer.h" +#include "utility.h" enum { PROP_0, @@ -753,7 +754,8 @@ math_buttons_set_programming_base(MathButtons *buttons, gint base) return; buttons->priv->programming_base = base; - g_object_notify(G_OBJECT(buttons), "programming-base"); + + g_settings_set_int(g_settings_var, "base", math_buttons_get_programming_base(buttons)); if (buttons->priv->mode == PROGRAMMING) math_equation_set_base(buttons->priv->equation, base); |