+Sat Mar 3 13:32:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkimmodule.c (gtk_im_module_init): Remove spurious
+ const.
+
+ * gdk-pixbuf-2.0.pc.in gtk+-2.0.pc.in: Fix include path.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): If there
+ is no focus widget for the dialog currently, grab the focus as well
+ as the default.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): Get
+ the action area's children to iterate through, not the
+ dialog's children.
+
Sat Mar 3 13:21:27 2001 Owen Taylor <otaylor@redhat.com>
* tests/Makefile.am tests/testsocket.c tests/testsocket_child.c:
+Sat Mar 3 13:32:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkimmodule.c (gtk_im_module_init): Remove spurious
+ const.
+
+ * gdk-pixbuf-2.0.pc.in gtk+-2.0.pc.in: Fix include path.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): If there
+ is no focus widget for the dialog currently, grab the focus as well
+ as the default.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): Get
+ the action area's children to iterate through, not the
+ dialog's children.
+
Sat Mar 3 13:21:27 2001 Owen Taylor <otaylor@redhat.com>
* tests/Makefile.am tests/testsocket.c tests/testsocket_child.c:
+Sat Mar 3 13:32:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkimmodule.c (gtk_im_module_init): Remove spurious
+ const.
+
+ * gdk-pixbuf-2.0.pc.in gtk+-2.0.pc.in: Fix include path.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): If there
+ is no focus widget for the dialog currently, grab the focus as well
+ as the default.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): Get
+ the action area's children to iterate through, not the
+ dialog's children.
+
Sat Mar 3 13:21:27 2001 Owen Taylor <otaylor@redhat.com>
* tests/Makefile.am tests/testsocket.c tests/testsocket_child.c:
+Sat Mar 3 13:32:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkimmodule.c (gtk_im_module_init): Remove spurious
+ const.
+
+ * gdk-pixbuf-2.0.pc.in gtk+-2.0.pc.in: Fix include path.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): If there
+ is no focus widget for the dialog currently, grab the focus as well
+ as the default.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): Get
+ the action area's children to iterate through, not the
+ dialog's children.
+
Sat Mar 3 13:21:27 2001 Owen Taylor <otaylor@redhat.com>
* tests/Makefile.am tests/testsocket.c tests/testsocket_child.c:
+Sat Mar 3 13:32:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkimmodule.c (gtk_im_module_init): Remove spurious
+ const.
+
+ * gdk-pixbuf-2.0.pc.in gtk+-2.0.pc.in: Fix include path.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): If there
+ is no focus widget for the dialog currently, grab the focus as well
+ as the default.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): Get
+ the action area's children to iterate through, not the
+ dialog's children.
+
Sat Mar 3 13:21:27 2001 Owen Taylor <otaylor@redhat.com>
* tests/Makefile.am tests/testsocket.c tests/testsocket_child.c:
+Sat Mar 3 13:32:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkimmodule.c (gtk_im_module_init): Remove spurious
+ const.
+
+ * gdk-pixbuf-2.0.pc.in gtk+-2.0.pc.in: Fix include path.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): If there
+ is no focus widget for the dialog currently, grab the focus as well
+ as the default.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): Get
+ the action area's children to iterate through, not the
+ dialog's children.
+
Sat Mar 3 13:21:27 2001 Owen Taylor <otaylor@redhat.com>
* tests/Makefile.am tests/testsocket.c tests/testsocket_child.c:
+Sat Mar 3 13:32:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkimmodule.c (gtk_im_module_init): Remove spurious
+ const.
+
+ * gdk-pixbuf-2.0.pc.in gtk+-2.0.pc.in: Fix include path.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): If there
+ is no focus widget for the dialog currently, grab the focus as well
+ as the default.
+
+ * gtk/gtkdialog.c (gtk_dialog_set_default_response): Get
+ the action area's children to iterate through, not the
+ dialog's children.
+
Sat Mar 3 13:21:27 2001 Owen Taylor <otaylor@redhat.com>
* tests/Makefile.am tests/testsocket.c tests/testsocket_child.c:
Version: @VERSION@
Requires: gobject-2.0,gmodule-2.0
Libs: -L${libdir} -lgdk_pixbuf-1.3 @INTLLIBS@ @MATH_LIB@
-Cflags: -I${includedir}
+Cflags: -I${includedir}/gtk-2.0.
Version: @VERSION@
Requires: gdk-${target}-2.0
Libs: -L${libdir} -lgtk-${target}-1.3
-Cflags: -I${includedir}
+Cflags: -I${includedir}/gtk-2.0
GList *children;
GList *tmp_list;
- children = gtk_container_children (GTK_CONTAINER (dialog));
+ children = gtk_container_children (GTK_CONTAINER (dialog->action_area));
tmp_list = children;
while (tmp_list != NULL)
"gtk-dialog-response-data");
if (rd && rd->response_id == response_id)
- gtk_widget_grab_default (widget);
-
+ {
+ gtk_widget_grab_default (widget);
+
+ if (!GTK_WINDOW (dialog)->focus_widget)
+ gtk_widget_grab_focus (widget);
+ }
+
tmp_list = g_list_next (tmp_list);
}
{
GString *line_buf = g_string_new (NULL);
GString *tmp_buf = g_string_new (NULL);
- const gchar *filename = gtk_rc_get_im_module_file();
+ gchar *filename = gtk_rc_get_im_module_file();
FILE *file;
gboolean have_error = FALSE;