[tracker/collation-gconf-locale: 20/31] libtracker-data: Call busy callback before starting index recreation on locale change
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/collation-gconf-locale: 20/31] libtracker-data: Call busy callback before starting index recreation on locale change
- Date: Wed, 17 Nov 2010 15:44:46 +0000 (UTC)
commit 9e0e981d652153095caf9db69ac8a95276904f87
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Nov 4 14:09:01 2010 +0200
libtracker-data: Call busy callback before starting index recreation on locale change
src/libtracker-data/tracker-data-manager.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index e2ae2d5..0c61b97 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3774,6 +3774,11 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
/* If locale changed, re-create indexes */
if (!read_only && tracker_db_manager_locale_changed ()) {
+ /* Update status */
+ if (busy_callback) {
+ busy_callback (busy_status, 0, busy_user_data);
+ }
+
/* No need to reset the collator in the db interface,
* as this is only executed during startup, which should
* already have the proper locale set in the collator */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]