Drawable scrollbars shouldn't autofocus for keyboard ops.

-Yosh
This commit is contained in:
Manish Singh 1998-03-11 05:38:45 +00:00
parent 1406c936c4
commit 16aacc47a8
4 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Tue Mar 10 21:31:21 PST 1998 Manish Singh <yosh@gimp.org>
* app/interface.c: scrollbars in the drawing area shouldn't
autofocus
Tue Mar 10 17:09:27 PST 1998 Manish Singh <yosh@gimp.org>
* app/app_procs.c

View File

@ -675,7 +675,9 @@ create_display_shell (int gdisp_id,
gdisp);
gdisp->hsb = gtk_hscrollbar_new (gdisp->hsbdata);
GTK_WIDGET_UNSET_FLAGS (gdisp->hsb, GTK_CAN_FOCUS);
gdisp->vsb = gtk_vscrollbar_new (gdisp->vsbdata);
GTK_WIDGET_UNSET_FLAGS (gdisp->vsb, GTK_CAN_FOCUS);
gdisp->canvas = gtk_drawing_area_new ();
gtk_drawing_area_size (GTK_DRAWING_AREA (gdisp->canvas), n_width, n_height);

View File

@ -675,7 +675,9 @@ create_display_shell (int gdisp_id,
gdisp);
gdisp->hsb = gtk_hscrollbar_new (gdisp->hsbdata);
GTK_WIDGET_UNSET_FLAGS (gdisp->hsb, GTK_CAN_FOCUS);
gdisp->vsb = gtk_vscrollbar_new (gdisp->vsbdata);
GTK_WIDGET_UNSET_FLAGS (gdisp->vsb, GTK_CAN_FOCUS);
gdisp->canvas = gtk_drawing_area_new ();
gtk_drawing_area_size (GTK_DRAWING_AREA (gdisp->canvas), n_width, n_height);

View File

@ -675,7 +675,9 @@ create_display_shell (int gdisp_id,
gdisp);
gdisp->hsb = gtk_hscrollbar_new (gdisp->hsbdata);
GTK_WIDGET_UNSET_FLAGS (gdisp->hsb, GTK_CAN_FOCUS);
gdisp->vsb = gtk_vscrollbar_new (gdisp->vsbdata);
GTK_WIDGET_UNSET_FLAGS (gdisp->vsb, GTK_CAN_FOCUS);
gdisp->canvas = gtk_drawing_area_new ();
gtk_drawing_area_size (GTK_DRAWING_AREA (gdisp->canvas), n_width, n_height);