forked from AuroraMiddleware/gtk
Remove code to grab the focus here, it is no longer needed since we focus
Mon Nov 25 12:34:44 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkdialog.c (gtk_dialog_set_default_response): Remove code to grab the focus here, it is no longer needed since we focus a widget on map, and can cause harm. (#99048, Daniel Elstner)
This commit is contained in:
parent
374f142ab7
commit
5e17ddfb11
@ -1,3 +1,10 @@
|
||||
Mon Nov 25 12:34:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdialog.c (gtk_dialog_set_default_response):
|
||||
Remove code to grab the focus here, it is no longer
|
||||
needed since we focus a widget on map, and can cause
|
||||
harm. (#99048, Daniel Elstner)
|
||||
|
||||
2002-11-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Merge from stable:
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Nov 25 12:34:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdialog.c (gtk_dialog_set_default_response):
|
||||
Remove code to grab the focus here, it is no longer
|
||||
needed since we focus a widget on map, and can cause
|
||||
harm. (#99048, Daniel Elstner)
|
||||
|
||||
2002-11-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Merge from stable:
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Nov 25 12:34:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdialog.c (gtk_dialog_set_default_response):
|
||||
Remove code to grab the focus here, it is no longer
|
||||
needed since we focus a widget on map, and can cause
|
||||
harm. (#99048, Daniel Elstner)
|
||||
|
||||
2002-11-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Merge from stable:
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Nov 25 12:34:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdialog.c (gtk_dialog_set_default_response):
|
||||
Remove code to grab the focus here, it is no longer
|
||||
needed since we focus a widget on map, and can cause
|
||||
harm. (#99048, Daniel Elstner)
|
||||
|
||||
2002-11-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Merge from stable:
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Nov 25 12:34:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdialog.c (gtk_dialog_set_default_response):
|
||||
Remove code to grab the focus here, it is no longer
|
||||
needed since we focus a widget on map, and can cause
|
||||
harm. (#99048, Daniel Elstner)
|
||||
|
||||
2002-11-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Merge from stable:
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Nov 25 12:34:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdialog.c (gtk_dialog_set_default_response):
|
||||
Remove code to grab the focus here, it is no longer
|
||||
needed since we focus a widget on map, and can cause
|
||||
harm. (#99048, Daniel Elstner)
|
||||
|
||||
2002-11-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Merge from stable:
|
||||
|
@ -717,12 +717,7 @@ gtk_dialog_set_default_response (GtkDialog *dialog,
|
||||
"gtk-dialog-response-data");
|
||||
|
||||
if (rd && rd->response_id == response_id)
|
||||
{
|
||||
gtk_widget_grab_default (widget);
|
||||
|
||||
if (!GTK_WINDOW (dialog)->focus_widget)
|
||||
gtk_widget_grab_focus (widget);
|
||||
}
|
||||
gtk_widget_grab_default (widget);
|
||||
|
||||
tmp_list = g_list_next (tmp_list);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user