Commit b3801f42 authored by Manish Singh's avatar Manish Singh

enable adjustment of the gradient list box for scrolling

-Yosh
parent 2114b5ab
Tue Apr 28 23:17:37 PDT 1998 Manish Singh <yosh@gimp.org>
* app/gradient.c: enable adjustment of the gradient list box
for scrolling
Wed Apr 29 00:56:19 1998 Tim Janik <timj@gtk.org>
* app/text_tool.c (text_create_dialog): enable adjustment of the
......
......@@ -2,7 +2,7 @@
SUBDIRS = libgimp plug-ins app data
EXTRA_DIST = TODO NOTES gtkrc gimp_logo.ppm gimp_splash.ppm rmshm user_install gimp_tips.txt ps-menurc gimp.spec
EXTRA_DIST = TODO NOTES gtkrc gimp_logo.ppm gimp_splash.ppm rmshm user_install gimp_tips.txt ps-menurc
gimpdata_DATA = gimprc gimprc_user gtkrc gimp_logo.ppm gimp_splash.ppm gimp_tips.txt ps-menurc
......
......@@ -853,6 +853,9 @@ grad_create_gradient_editor(void)
g_editor->list = gtk_list_new();
gtk_list_set_selection_mode(GTK_LIST(g_editor->list), GTK_SELECTION_BROWSE);
gtk_container_add(GTK_CONTAINER(listbox), g_editor->list);
gtk_container_set_focus_vadjustment(GTK_CONTAINER(g_editor->list),
gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(listbox)));
GTK_WIDGET_UNSET_FLAGS(GTK_SCROLLED_WINDOW(listbox)->vscrollbar, GTK_CAN_FOCUS);
gtk_widget_show(g_editor->list);
/* Buttons for gradient functions */
......
......@@ -853,6 +853,9 @@ grad_create_gradient_editor(void)
g_editor->list = gtk_list_new();
gtk_list_set_selection_mode(GTK_LIST(g_editor->list), GTK_SELECTION_BROWSE);
gtk_container_add(GTK_CONTAINER(listbox), g_editor->list);
gtk_container_set_focus_vadjustment(GTK_CONTAINER(g_editor->list),
gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(listbox)));
GTK_WIDGET_UNSET_FLAGS(GTK_SCROLLED_WINDOW(listbox)->vscrollbar, GTK_CAN_FOCUS);
gtk_widget_show(g_editor->list);
/* Buttons for gradient functions */
......
......@@ -853,6 +853,9 @@ grad_create_gradient_editor(void)
g_editor->list = gtk_list_new();
gtk_list_set_selection_mode(GTK_LIST(g_editor->list), GTK_SELECTION_BROWSE);
gtk_container_add(GTK_CONTAINER(listbox), g_editor->list);
gtk_container_set_focus_vadjustment(GTK_CONTAINER(g_editor->list),
gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(listbox)));
GTK_WIDGET_UNSET_FLAGS(GTK_SCROLLED_WINDOW(listbox)->vscrollbar, GTK_CAN_FOCUS);
gtk_widget_show(g_editor->list);
/* Buttons for gradient functions */
......
......@@ -853,6 +853,9 @@ grad_create_gradient_editor(void)
g_editor->list = gtk_list_new();
gtk_list_set_selection_mode(GTK_LIST(g_editor->list), GTK_SELECTION_BROWSE);
gtk_container_add(GTK_CONTAINER(listbox), g_editor->list);
gtk_container_set_focus_vadjustment(GTK_CONTAINER(g_editor->list),
gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(listbox)));
GTK_WIDGET_UNSET_FLAGS(GTK_SCROLLED_WINDOW(listbox)->vscrollbar, GTK_CAN_FOCUS);
gtk_widget_show(g_editor->list);
/* Buttons for gradient functions */
......
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