[goffice] Improve sensitivity handling of SI related widgets in format selector.
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Improve sensitivity handling of SI related widgets in format selector.
- Date: Thu, 1 Dec 2011 17:13:24 +0000 (UTC)
commit 32e9faebb6fbbd3398d53ecbf68e41c198ce7c21
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Thu Dec 1 10:12:46 2011 -0700
Improve sensitivity handling of SI related widgets in format selector.
2011-12-01 Andreas J. Guelzow <aguelzow pyrshep ca>
* goffice/gtk/go-format-sel.c (cb_si_combo_changed): check "Append
this SI unit" button
ChangeLog | 7 ++++++-
goffice/gtk/go-format-sel.c | 2 ++
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0ab8780..27c8d5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2011-12-01 Andreas J. Guelzow <aguelzow pyrshep ca>
- * goffice/gtk/go-format-sel.c (cb_si_unit_toggle): set the scale
+ * goffice/gtk/go-format-sel.c (cb_si_combo_changed): check "Append
+ this SI unit" button
+
+2011-12-01 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * goffice/gtk/go-format-sel.c (cb_si_unit_toggle): set the scale
correctly
2011-11-30 Andreas J. Guelzow <aguelzow pyrshep ca>
diff --git a/goffice/gtk/go-format-sel.c b/goffice/gtk/go-format-sel.c
index e359e70..ff12509 100644
--- a/goffice/gtk/go-format-sel.c
+++ b/goffice/gtk/go-format-sel.c
@@ -502,6 +502,8 @@ cb_si_unit_toggle (GtkWidget *w, GOFormatSel *gfs)
static void
cb_si_combo_changed (G_GNUC_UNUSED GtkWidget *w, GOFormatSel *gfs)
{
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (gfs->format.widget[F_SI_SI_UNIT_BUTTON]),
+ TRUE);
cb_si_unit_toggle (gfs->format.widget[F_SI_SI_UNIT_BUTTON], gfs);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]