summaryrefslogtreecommitdiff
path: root/src/math-buttons.c
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-11-24 20:51:23 -0500
committerSteve Zesch <[email protected]>2012-11-24 20:51:23 -0500
commit90225e87811feb654e9a3c71734d0e6844f987ed (patch)
tree58030b0c20f6555d5387c7e0824b68fa9f242ba8 /src/math-buttons.c
parentf2afbc975e249e765ee7d7452165912f1b4b479b (diff)
downloadmate-calc-90225e87811feb654e9a3c71734d0e6844f987ed.tar.bz2
mate-calc-90225e87811feb654e9a3c71734d0e6844f987ed.tar.xz
Fixed gsettings.
Diffstat (limited to 'src/math-buttons.c')
-rw-r--r--src/math-buttons.c4
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);