mirror of https://github.com/GNOME/gimp.git
Drawable scrollbars shouldn't autofocus for keyboard ops.
-Yosh
This commit is contained in:
parent
1406c936c4
commit
16aacc47a8
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue