From 17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 7 Mar 2002 19:23:44 +0000 Subject: Addendum to previous commit: Remove "storage_selected" vs "folder_selected" distinction. * evolution-storage-set-view.c (storage_set_view_widget_storage_selected_cb): Removed. * evolution-storage-set-view-listener.c (impl_GNOME_Evolution_StorageSetViewListener_notifyStorageSelected): Removed. (class_init): Remove STORAGE_SELECTED signal. * e-storage-set-view.c (impl_cursor_activated): Always emit FOLDER_SELECTED, never STORAGE_SELECTED. (class_init): Remove STORAGE_SELECTED signal. * e-shell-view.c (storage_selected_cb): Removed. * e-shell-folder-creation-dialog.c (storage_set_view_storage_selected_cb): Removed. * Evolution-StorageSetView.idl (StorageSetViewListener): Remove notifyStorageSelected. svn path=/trunk/; revision=15968 --- shell/e-shell-folder-creation-dialog.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'shell/e-shell-folder-creation-dialog.c') diff --git a/shell/e-shell-folder-creation-dialog.c b/shell/e-shell-folder-creation-dialog.c index dbbdcdfd74..7b9b5ab4de 100644 --- a/shell/e-shell-folder-creation-dialog.c +++ b/shell/e-shell-folder-creation-dialog.c @@ -262,19 +262,6 @@ storage_set_view_folder_selected_cb (EStorageSetView *storage_set_view, gnome_dialog_set_sensitive (GNOME_DIALOG (dialog_data->dialog), 0, TRUE); } -static void -storage_set_view_storage_selected_cb (EStorageSetView *storage_set_view, - const char *name, - void *data) -{ - DialogData *dialog_data; - - dialog_data = (DialogData *) data; - - if (GTK_ENTRY (dialog_data->folder_name_entry)->text_length > 0) - gnome_dialog_set_sensitive (GNOME_DIALOG (dialog_data->dialog), 0, TRUE); -} - /* Shell signal callbacks. */ @@ -549,8 +536,6 @@ e_shell_show_folder_creation_dialog (EShell *shell, gtk_signal_connect (GTK_OBJECT (dialog_data->storage_set_view), "folder_selected", storage_set_view_folder_selected_cb, dialog_data); - gtk_signal_connect (GTK_OBJECT (dialog_data->storage_set_view), "storage_selected", - storage_set_view_storage_selected_cb, dialog_data); gtk_signal_connect_while_alive (GTK_OBJECT (shell), "destroy", GTK_SIGNAL_FUNC (shell_destroy_cb), dialog_data, -- cgit v1.2.3