[gcalctool] Fix angle units combobox getting unsynchronised with settings window



commit ec9936bb49c46796f794a7973f9448e0a308c57c
Author: Robert Ancell <robert ancell gmail com>
Date:   Tue Jun 8 13:11:09 2010 +1000

    Fix angle units combobox getting unsynchronised with settings window

 src/math-buttons.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/math-buttons.c b/src/math-buttons.c
index 2e77137..48e731f 100644
--- a/src/math-buttons.c
+++ b/src/math-buttons.c
@@ -789,7 +789,7 @@ load_mode(MathButtons *buttons, ButtonMode mode)
         gtk_cell_layout_add_attribute(GTK_CELL_LAYOUT(buttons->priv->angle_combo), renderer, "text", 0);
 
         g_signal_connect(buttons->priv->angle_combo, "changed", G_CALLBACK(angle_unit_combobox_changed_cb), buttons);
-        g_signal_connect(buttons->priv->equation, "notify::angle-unit", G_CALLBACK(angle_unit_cb), buttons);
+        g_signal_connect(buttons->priv->equation, "notify::angle-units", G_CALLBACK(angle_unit_cb), buttons);
         angle_unit_cb(buttons->priv->equation, NULL, buttons);
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]