aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-storage-set-view-listener.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-03-08 03:23:44 +0800
committerDan Winship <danw@src.gnome.org>2002-03-08 03:23:44 +0800
commit17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f (patch)
tree75ef407a74103389c3b8b3546cf5311c55160de3 /shell/evolution-storage-set-view-listener.c
parentd6f174ad5110ce2b86f5a4eb45d658b13735b26d (diff)
downloadgsoc2013-evolution-17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f.tar
gsoc2013-evolution-17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f.tar.gz
gsoc2013-evolution-17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f.tar.bz2
gsoc2013-evolution-17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f.tar.lz
gsoc2013-evolution-17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f.tar.xz
gsoc2013-evolution-17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f.tar.zst
gsoc2013-evolution-17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f.zip
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
Diffstat (limited to 'shell/evolution-storage-set-view-listener.c')
-rw-r--r--shell/evolution-storage-set-view-listener.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/shell/evolution-storage-set-view-listener.c b/shell/evolution-storage-set-view-listener.c
index 69dd778ec5..28841f72d4 100644
--- a/shell/evolution-storage-set-view-listener.c
+++ b/shell/evolution-storage-set-view-listener.c
@@ -41,7 +41,6 @@ struct _EvolutionStorageSetViewListenerPrivate {
enum {
FOLDER_SELECTED,
- STORAGE_SELECTED,
LAST_SIGNAL
};
static guint signals[LAST_SIGNAL] = { 0 };
@@ -72,18 +71,6 @@ impl_GNOME_Evolution_StorageSetViewListener_notifyFolderSelected (PortableServer
gtk_signal_emit (GTK_OBJECT (listener), signals[FOLDER_SELECTED], uri);
}
-static void
-impl_GNOME_Evolution_StorageSetViewListener_notifyStorageSelected (PortableServer_Servant servant,
- const CORBA_char *uri,
- CORBA_Environment *ev)
-{
- EvolutionStorageSetViewListener *listener;
-
- listener = gtk_object_from_servant (servant);
-
- gtk_signal_emit (GTK_OBJECT (listener), signals[STORAGE_SELECTED], uri);
-}
-
static EvolutionStorageSetViewListenerServant *
create_servant (EvolutionStorageSetViewListener *listener)
{
@@ -183,7 +170,6 @@ corba_class_init (void)
epv = g_new0 (POA_GNOME_Evolution_StorageSetViewListener__epv, 1);
epv->notifyFolderSelected = impl_GNOME_Evolution_StorageSetViewListener_notifyFolderSelected;
- epv->notifyStorageSelected = impl_GNOME_Evolution_StorageSetViewListener_notifyStorageSelected;
vepv = & my_GNOME_Evolution_StorageSetViewListener_vepv;
vepv->_base_epv = base_epv;
@@ -208,14 +194,6 @@ class_init (EvolutionStorageSetViewListenerClass *klass)
GTK_TYPE_NONE, 1,
GTK_TYPE_STRING);
- signals[STORAGE_SELECTED] = gtk_signal_new ("storage_selected",
- GTK_RUN_FIRST,
- object_class->type,
- GTK_SIGNAL_OFFSET (EvolutionStorageSetViewListenerClass, storage_selected),
- gtk_marshal_NONE__STRING,
- GTK_TYPE_NONE, 1,
- GTK_TYPE_STRING);
-
gtk_object_class_add_signals (object_class, signals, LAST_SIGNAL);
corba_class_init ();