mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
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.
This commit is contained in:
parent
85d95a5e5a
commit
a36798e997
|
@ -1,3 +1,11 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue