[gnumeric] set defaults for the hiistogram tool
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] set defaults for the hiistogram tool
- Date: Fri, 17 Apr 2015 02:18:59 +0000 (UTC)
commit 81ffc289c568e9e4b53276829d63f29f0184dd3e
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Thu Apr 16 20:15:28 2015 -0600
set defaults for the hiistogram tool
2015-04-16 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-analysis-tools.c (dialog_histogram_tool): set defaults
src/dialogs/ChangeLog | 4 ++++
src/dialogs/dialog-analysis-tools.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 37c9247..8320c38 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-16 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * dialog-analysis-tools.c (dialog_histogram_tool): set defaults
+
2015-04-16 Morten Welinder <terra gnome org>
* Release 1.12.22
diff --git a/src/dialogs/dialog-analysis-tools.c b/src/dialogs/dialog-analysis-tools.c
index 4e5a9db..55348c7 100644
--- a/src/dialogs/dialog-analysis-tools.c
+++ b/src/dialogs/dialog-analysis-tools.c
@@ -3431,6 +3431,10 @@ dialog_histogram_tool (WBCGtk *wbcg, Sheet *sheet)
histogram_tool_update_sensitivity_cb (NULL, state);
tool_load_selection ((GenericToolState *)state, TRUE);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (state->calculated_button), TRUE);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (go_gtk_builder_get_widget
(state->base.gui,"histogram-button")), TRUE);
+ gtk_entry_set_text (GTK_ENTRY (state->n_entry), "12");
+
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]