diff options
author | Rodney Dawes <dobey@ximian.com> | 2004-01-25 23:47:27 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2004-01-25 23:47:27 +0800 |
commit | c689c8ff99d433e32e43c33ff3d18d068b989962 (patch) | |
tree | d3a86d15b48e2789098b1f58b0e2fc5c2ea1dc0e /mail/em-folder-tree.c | |
parent | a960914290eb999976a5ed08fab9d9d08f9e57d9 (diff) | |
download | gsoc2013-evolution-c689c8ff99d433e32e43c33ff3d18d068b989962.tar.gz gsoc2013-evolution-c689c8ff99d433e32e43c33ff3d18d068b989962.tar.zst gsoc2013-evolution-c689c8ff99d433e32e43c33ff3d18d068b989962.zip |
Cast the name entry to a GtkWidget to avoid a compiler warning Grab focus
2004-01-25 Rodney Dawes <dobey@ximian.com>
* em-folder-selector.c (em_folder_selector_create_new): Cast the
name entry to a GtkWidget to avoid a compiler warning
* em-folder-tree.c (emft_popup_new_folder): Grab focus on the name
entry when we show the dialog (#53089)
Fixes #53089
svn path=/trunk/; revision=24423
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 0396ec4de6..c374faf047 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -1306,6 +1306,7 @@ emft_popup_new_folder (GtkWidget *item, EMFolderTree *emft) em_folder_selector_set_selected ((EMFolderSelector *) dialog, emft->priv->selected_uri); g_signal_connect (dialog, "response", G_CALLBACK (emft_popup_new_folder_response), emft); gtk_widget_show (dialog); + gtk_widget_grab_focus ((GtkWidget *) ((EMFolderSelector *)dialog)->name_entry); } static void |