From 16f645ab25fff354e42b8348d2eceaa65fad5b86 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 16 Mar 2004 17:58:47 +0000 Subject: Don't focus the name_entry widget here. 2004-03-16 Jeffrey Stedfast * 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 --- mail/mail-component.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mail/mail-component.c') 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, -- cgit