Commit a36798e9 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

added the scrolled window to the GimpToolOptionsEditor struct.

2004-01-30  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptooloptionseditor.[ch]: added the scrolled
	window to the GimpToolOptionsEditor struct.

	(gimp_tool_options_editor_tool_changed): set the active tool's
	help ID on the scrolled window. Fixes bug #132969.
parent 85d95a5e
2004-01-30 Michael Natterer <mitch@gimp.org>
* app/widgets/gimptooloptionseditor.[ch]: added the scrolled
window to the GimpToolOptionsEditor struct.
(gimp_tool_options_editor_tool_changed): set the active tool's
help ID on the scrolled window. Fixes bug #132969.
2004-01-30 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/dialog.c: map the Home button to
......@@ -177,7 +177,7 @@ gimp_tool_options_editor_init (GimpToolOptionsEditor *editor)
editor);
g_free (str);
scrolled_win = gtk_scrolled_window_new (NULL, NULL);
editor->scrolled_window = scrolled_win = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_win),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
......@@ -498,6 +498,9 @@ gimp_tool_options_editor_tool_changed (GimpContext *context,
gtk_widget_show (options_gui);
editor->visible_tool_options = tool_info->tool_options;
gimp_help_set_help_data (editor->scrolled_window, NULL,
tool_info->help_id);
}
else
{
......
......@@ -42,6 +42,7 @@ struct _GimpToolOptionsEditor
Gimp *gimp;
GtkWidget *scrolled_window;
GtkWidget *options_vbox;
GtkWidget *save_button;
......
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