aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-storage-set.c')
-rw-r--r--shell/e-storage-set.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/shell/e-storage-set.c b/shell/e-storage-set.c
index 7d3fb84a59..246af39f68 100644
--- a/shell/e-storage-set.c
+++ b/shell/e-storage-set.c
@@ -59,6 +59,7 @@ enum {
NEW_STORAGE,
REMOVED_STORAGE,
NEW_FOLDER,
+ UPDATED_FOLDER,
REMOVED_FOLDER,
LAST_SIGNAL
};
@@ -136,6 +137,21 @@ storage_new_folder_cb (EStorage *storage,
}
static void
+storage_updated_folder_cb (EStorage *storage,
+ const char *path,
+ void *data)
+{
+ EStorageSet *storage_set;
+ char *full_path;
+
+ storage_set = E_STORAGE_SET (data);
+
+ full_path = make_full_path (storage, path);
+ gtk_signal_emit (GTK_OBJECT (storage_set), signals[UPDATED_FOLDER], full_path);
+ g_free (full_path);
+}
+
+static void
storage_removed_folder_cb (EStorage *storage,
const char *path,
void *data)
@@ -242,6 +258,14 @@ class_init (EStorageSetClass *klass)
gtk_marshal_NONE__STRING,
GTK_TYPE_NONE, 1,
GTK_TYPE_STRING);
+ signals[UPDATED_FOLDER] =
+ gtk_signal_new ("updated_folder",
+ GTK_RUN_FIRST,
+ object_class->type,
+ GTK_SIGNAL_OFFSET (EStorageSetClass, updated_folder),
+ gtk_marshal_NONE__STRING,
+ GTK_TYPE_NONE, 1,
+ GTK_TYPE_STRING);
signals[REMOVED_FOLDER] =
gtk_signal_new ("removed_folder",
GTK_RUN_FIRST,
@@ -347,6 +371,8 @@ e_storage_set_add_storage (EStorageSet *storage_set,
gtk_signal_connect (GTK_OBJECT (storage), "new_folder",
GTK_SIGNAL_FUNC (storage_new_folder_cb), storage_set);
+ gtk_signal_connect (GTK_OBJECT (storage), "updated_folder",
+ GTK_SIGNAL_FUNC (storage_updated_folder_cb), storage_set);
gtk_signal_connect (GTK_OBJECT (storage), "removed_folder",
GTK_SIGNAL_FUNC (storage_removed_folder_cb), storage_set);
4eb135df457ef7766aea01b666da50d0'>Update to 0.8.4.roam2000-12-162-2/+2 * p5-Crypt-SSLeay is needed by LWP if you want to do https (SSL)alfred2000-12-166-0/+63 * Update to version 3.1.1.dannyboy2000-12-153-2/+3 * Style fixup only: use tabs consistently; sort man pages.nectar2000-12-151-21/+20 * Update 0.3c -> 0.3dnectar2000-12-156-48/+17 * A command-line Rijndael (AES) encryption/decryption utility.roam2000-12-136-0/+44 * Upgrade to 2.0.1kevlo2000-12-126-16/+86 * Update Sendmail.README with instructions on how to enable thesteve2000-12-112-8/+60 * Upgrade to latest version.vanilla2000-12-102-2/+2 * Fix broken link to coast.cs -> ftp.cerias.will2000-12-091-1/+1 * Update e-mail address.nsayer2000-12-091-1/+1 * Upgrade to 4110 virus definitions.kris2000-12-072-2/+2 * Update to version 3.1.1kevlo2000-12-043-3/+9 * Follow new etc/rc.d start/stop convention.archie2000-11-291-27/+52 * Maintainer upgrade to 1.0.6.dougb2000-11-2618-56/+116 * Take over maintainershiproam2000-11-251-1/+1 * Install a copy of the manpage as "pgp2" to better co-exist with otherobrien2000-11-251-1/+4 * Remove the restriction on these due to containing DES code.obrien2000-11-252-3/+0 * Ditch out "Version required" from comments section.sobomax2000-11-231-1/+0 * update my email address - roam@orbitel.bg -> roam@FreeBSD.orgroam2000-11-22