Commit 17f7d2f4 authored by Andreas J. Guelzow's avatar Andreas J. Guelzow Committed by Andreas J. Guelzow

add and change a few links vary the help link depending on which dialog we

2003-08-11  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* help.h: add and change a few links
	* dialog-autofilter.c (dialog_auto_filter): vary the help link
	  depending on which dialog we a reusing
	* dialog-autosave.c (dialog_autosave): fix typo
parent 0184deef
2003-08-11 Andreas J. Guelzow <aguelzow@taliesin.ca>
* help.h: add and change a few links
* dialog-autofilter.c (dialog_auto_filter): vary the help link
depending on which dialog we a reusing
* dialog-autosave.c (dialog_autosave): fix typo
2003-08-09 Andreas J. Guelzow <aguelzow@taliesin.ca>
* help.h: new, list of help links for all help buttons
......
......@@ -289,7 +289,8 @@ dialog_auto_filter (WorkbookControlGUI *wbcg,
/* a candidate for merging into attach guru */
gnumeric_init_help_button (
glade_xml_get_widget (state->gui, "help_button"),
GNUMERIC_HELP_LINK_AUTOFILTER);
is_expr ? GNUMERIC_HELP_LINK_AUTOFILTER_CUSTOM :
GNUMERIC_HELP_LINK_AUTOFILTER_TOP_TEN);
g_object_set_data_full (G_OBJECT (state->dialog),
"state", state, (GDestroyNotify)cb_autofilter_destroy);
wbcg_edit_attach_guru (state->wbcg, state->dialog);
......
......@@ -210,7 +210,7 @@ dialog_autosave (WorkbookControlGUI *wbcg)
gnumeric_init_help_button (
glade_xml_get_widget (state->gui, "button3"),
GNUMERIC_HELP_LINK_AUTOFILTER);
GNUMERIC_HELP_LINK_AUTOSAVE);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (state->autosave_on_off),
wbcg->autosave);
......
......@@ -18,22 +18,23 @@
#define GNUMERIC_HELP_H
/* ../sheet-object-graphic.c */
#define GNUMERIC_HELP_LINK_SO_LINE ""
#define GNUMERIC_HELP_LINK_SO_ARROW ""
#define GNUMERIC_HELP_LINK_SO_LINE "sect-graphics-drawings"
#define GNUMERIC_HELP_LINK_SO_ARROW "sect-graphics-drawings"
/* ../sheet-object-graphic.c */
#define GNUMERIC_HELP_LINK_SO_FILLED ""
#define GNUMERIC_HELP_LINK_SO_FILLED "sect-graphics-drawings"
/* ../sheet-object-widget.c */
#define GNUMERIC_HELP_LINK_SO_FRAME ""
#define GNUMERIC_HELP_LINK_SO_ADJUSTMENT ""
#define GNUMERIC_HELP_LINK_SO_CHECKBOX ""
#define GNUMERIC_HELP_LINK_SO_FRAME "sect-graphics-drawings"
#define GNUMERIC_HELP_LINK_SO_ADJUSTMENT "sect-graphics-drawings"
#define GNUMERIC_HELP_LINK_SO_CHECKBOX "sect-graphics-drawings"
/* dialog-autocorrect.c */
#define GNUMERIC_HELP_LINK_AUTOCORRECT "sect-data-entry"
/* dialog-autofilter.c */
#define GNUMERIC_HELP_LINK_AUTOFILTER ""
#define GNUMERIC_HELP_LINK_AUTOFILTER_TOP_TEN "sect-data-modify"
#define GNUMERIC_HELP_LINK_AUTOFILTER_CUSTOM "sect-data-modify"
/* dialog-autoformat.c */
#define GNUMERIC_HELP_LINK_AUTOFORMAT "sect-data-entry"
......@@ -69,7 +70,7 @@
#define GNUMERIC_HELP_LINK_FUNCTION_SELECT "sect-data-entry"
/* dialog-goal-seek.c */
#define GNUMERIC_HELP_LINK_GOAL_SEEK "sect-analysis-goalseek"
#define GNUMERIC_HELP_LINK_GOAL_SEEK "sect-advanced-analysis-goalseek"
/* dialog-goto-cell.c */
#define GNUMERIC_HELP_LINK_GOTO_CELL "sect-worksheets-viewing"
......@@ -110,7 +111,7 @@
#define GNUMERIC_HELP_LINK_SHEET_MANAGER "sect-worksheets-managing"
/* dialog-solver.c */
#define GNUMERIC_HELP_LINK_SOLVER "sect-analysis-solver"
#define GNUMERIC_HELP_LINK_SOLVER "sect-advanced-analysis-solver"
/* dialog-summary.c */
#define GNUMERIC_HELP_LINK_SUMMARY "sect-workbooks-docsummary"
......@@ -156,14 +157,14 @@
#define GNUMERIC_HELP_LINK_RANDOM_GENERATOR "sect-dataentryadv"
/* dialog-scenarios.c */
#define GNUMERIC_HELP_LINK_SCENARIOS_ADD ""
#define GNUMERIC_HELP_LINK_SCENARIOS_VIEW ""
#define GNUMERIC_HELP_LINK_SCENARIOS_ADD "sect-advanced-analysis-scenarios"
#define GNUMERIC_HELP_LINK_SCENARIOS_VIEW "sect-advanced-analysis-scenarios"
/* dialog-shuffle.c */
#define GNUMERIC_HELP_LINK_DATA_SHUFFLE "sect-data-modify"
/* dialog-simulation.c */
#define GNUMERIC_HELP_LINK_SIMULATION "sect-analysis-simulation"
#define GNUMERIC_HELP_LINK_SIMULATION "sect-advanced-analysis-simulation"
/**********************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment