aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-storage.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-01-24 08:56:21 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-01-24 08:56:21 +0800
commit4e98233a4d7f8e06736b716c92a04f7e0709e16e (patch)
treece2a7c44513429147e65a7b20f70e52c4e8d3de6 /shell/e-local-storage.c
parent15a1741ae42da39ffd66e7ba6bd0d73da99e5ac9 (diff)
downloadgsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.tar
gsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.tar.gz
gsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.tar.bz2
gsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.tar.lz
gsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.tar.xz
gsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.tar.zst
gsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.zip
Fix the logic for updating the shortuct labels when the display names
of the corresponding folders change, so that it doesn't crash. I have removed the redundant "folder_updated" signal on `ELocalStorage' and changed EStorage so that it emits "updated_folder" automatically when any of the folders changes its properties. svn path=/trunk/; revision=7770
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r--shell/e-local-storage.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index 2ab98555da..a149e21fca 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -69,13 +69,6 @@ struct _ELocalStoragePrivate {
EvolutionLocalStorage *bonobo_interface;
};
-enum {
- FOLDER_UPDATED,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = { 0 };
-
/* Utility functions. */
@@ -555,8 +548,6 @@ bonobo_interface_update_folder_cb (EvolutionLocalStorage *bonobo_local_storage,
e_folder_set_name (folder, display_name);
e_folder_set_highlighted (folder, highlighted);
-
- gtk_signal_emit (GTK_OBJECT (local_storage), signals[FOLDER_UPDATED], path);
}
@@ -577,17 +568,6 @@ class_init (ELocalStorageClass *class)
storage_class->get_name = impl_get_name;
storage_class->async_create_folder = impl_async_create_folder;
storage_class->async_remove_folder = impl_async_remove_folder;
-
- signals[FOLDER_UPDATED] =
- gtk_signal_new ("folder_updated",
- GTK_RUN_LAST,
- object_class->type,
- GTK_SIGNAL_OFFSET (ELocalStorageClass, folder_updated),
- gtk_marshal_NONE__STRING,
- GTK_TYPE_NONE, 1,
- GTK_TYPE_STRING);
-
- gtk_object_class_add_signals (object_class, signals, LAST_SIGNAL);
}
static void