aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r--shell/e-local-storage.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index 173bdf2991..25db4ab988 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -530,24 +530,23 @@ impl_async_remove_folder (EStorage *storage,
/* Callbacks for the `Evolution::LocalStorage' interface we are exposing to the outside world. */
static void
-bonobo_interface_set_display_name_cb (EvolutionLocalStorage *bonobo_local_storage,
- const char *path,
- const char *display_name,
- void *data)
+bonobo_interface_update_folder_cb (EvolutionLocalStorage *bonobo_local_storage,
+ const char *path,
+ const char *display_name,
+ gboolean highlighted,
+ void *data)
{
ELocalStorage *local_storage;
EFolder *folder;
local_storage = E_LOCAL_STORAGE (data);
- g_print ("%s -- %s %s\n", __FUNCTION__, path, display_name);
-
folder = e_storage_get_folder (E_STORAGE (local_storage), path);
if (folder == NULL)
return;
e_folder_set_name (folder, display_name);
-
+ e_folder_set_highlighted (folder, highlighted);
}
@@ -613,8 +612,8 @@ construct (ELocalStorage *local_storage,
g_assert (priv->bonobo_interface == NULL);
priv->bonobo_interface = evolution_local_storage_new (E_LOCAL_STORAGE_NAME);
- gtk_signal_connect (GTK_OBJECT (priv->bonobo_interface), "set_display_name",
- GTK_SIGNAL_FUNC (bonobo_interface_set_display_name_cb),
+ gtk_signal_connect (GTK_OBJECT (priv->bonobo_interface), "update_folder",
+ GTK_SIGNAL_FUNC (bonobo_interface_update_folder_cb),
local_storage);
return load_all_folders (local_storage);