diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-03-17 01:58:47 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-03-17 01:58:47 +0800 |
commit | 16f645ab25fff354e42b8348d2eceaa65fad5b86 (patch) | |
tree | b4de3e501adc0f4e3b4b59a855b21f07ef240e2e /mail/mail-component.c | |
parent | c94074f354a6d8a2de9a7c623a79130b3d10e338 (diff) | |
download | gsoc2013-evolution-16f645ab25fff354e42b8348d2eceaa65fad5b86.tar.gz gsoc2013-evolution-16f645ab25fff354e42b8348d2eceaa65fad5b86.tar.zst gsoc2013-evolution-16f645ab25fff354e42b8348d2eceaa65fad5b86.zip |
Don't focus the name_entry widget here.
2004-03-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (impl_requestCreateItem): Don't focus the
name_entry widget here.
* em-folder-selector.c (em_folder_selector_create_new): Focus the
name_entry widget here rather than in mail-component.c
svn path=/trunk/; revision=25091
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r-- | mail/mail-component.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c index 56734b8af7..7499420131 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -624,15 +624,13 @@ impl_requestCreateItem (PortableServer_Servant servant, /* This api is fucked up, too tightly integrated with the tree view */ EMFolderTree *folder_tree; GtkWidget *dialog; - + folder_tree = (EMFolderTree *) em_folder_tree_new_with_model(mc->priv->model); dialog = em_folder_selector_create_new (folder_tree, 0, _("Create folder"), _("Specify where to create the folder:")); /* We need to get this from the currently activated component? em_folder_selector_set_selected ((EMFolderSelector *) dialog, emft->priv->selected_uri);*/ g_signal_connect (dialog, "response", G_CALLBACK(emc_new_folder_response), mc); gtk_widget_show(dialog); - /* FIXME: what is this crap, this should go in the folder selector */ - gtk_widget_grab_focus((GtkWidget *)((EMFolderSelector *)dialog)->name_entry); } else { CORBA_exception_set (ev, CORBA_USER_EXCEPTION, |