summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserembed.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-03-08 22:21:47 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-03-08 22:21:47 +0000
commit2247fc6659fc9ffeb7d169f01d7e9c11e68f239c (patch)
tree45e5e2200eac443ec63bf8835324fdc52695e858 /gtk/gtkfilechooserembed.h
parentbe4fd08c0aab27b8bc02f1328805ba0997e4b706 (diff)
downloadgtk+-2247fc6659fc9ffeb7d169f01d7e9c11e68f239c.tar.gz
Fixes #136105.
2004-03-08 Federico Mena Quintero <federico@ximian.com> Fixes #136105. * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface): Added an ::initial_focus() method. * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_delegate_iface_init): Set the initial_focus method. (delegate_initial_focus): Implement. (_gtk_file_chooser_embed_initial_focus): New function. * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_constructor): Call _gtk_file_chooser_embed_initial_focus(). * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Install the ::initial_focus() handler. (gtk_file_chooser_default_initial_focus): Implement.
Diffstat (limited to 'gtk/gtkfilechooserembed.h')
-rw-r--r--gtk/gtkfilechooserembed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserembed.h b/gtk/gtkfilechooserembed.h
index 7c6d6bb31e..4a02e947af 100644
--- a/gtk/gtkfilechooserembed.h
+++ b/gtk/gtkfilechooserembed.h
@@ -48,6 +48,8 @@ struct _GtkFileChooserEmbedIface
gboolean *resize_vertically);
gboolean (*should_respond) (GtkFileChooserEmbed *chooser_embed);
+
+ void (*initial_focus) (GtkFileChooserEmbed *chooser_embed);
/* Signals
*/
void (*default_size_changed) (GtkFileChooserEmbed *chooser_embed);
@@ -64,6 +66,8 @@ void _gtk_file_chooser_embed_get_resizable_hints (GtkFileChooserEmbed *chooser_
gboolean _gtk_file_chooser_embed_should_respond (GtkFileChooserEmbed *chooser_embed);
+void _gtk_file_chooser_embed_initial_focus (GtkFileChooserEmbed *chooser_embed);
+
void _gtk_file_chooser_embed_delegate_iface_init (GtkFileChooserEmbedIface *iface);
void _gtk_file_chooser_embed_set_delegate (GtkFileChooserEmbed *receiver,
GtkFileChooserEmbed *delegate);