[nautilus-actions] Also monitors schemas to be triggered when importing a schema



commit 3354b1c25968854430147f453d622e505004487a
Author: Pierre Wieser <pwieser trychlos org>
Date:   Fri Apr 9 12:40:38 2010 +0200

    Also monitors schemas to be triggered when importing a schema
    
    Importing an action via a schema file doesn't trigger /apps/nautilus-actions, but only
    /schemas/apps/nautilus-actions.

 ChangeLog                          |    3 +++
 src/io-gconf/nagp-gconf-provider.c |    6 ++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8170c61..02a5d1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-04-09 Pierre Wieser <pwieser trychlos org>
 
+	* src/io-gconf/nagp-gconf-provider.c (install_monitors):
+	Also monitors schemas to be triggered when importing a schema.
+
 	* configure.ac: Bump version number for release.
 
 	* src/nact/nact-iaction-tab.c (on_icon_browse):
diff --git a/src/io-gconf/nagp-gconf-provider.c b/src/io-gconf/nagp-gconf-provider.c
index e4796d5..46cd68a 100644
--- a/src/io-gconf/nagp-gconf-provider.c
+++ b/src/io-gconf/nagp-gconf-provider.c
@@ -274,6 +274,12 @@ install_monitors( NagpGConfProvider *provider )
 					( GConfClientNotifyFunc ) config_path_changed_cb,
 					provider ));
 
+	list = g_list_prepend( list,
+			na_gconf_monitor_new(
+					NAGP_SCHEMAS_PATH,
+					( GConfClientNotifyFunc ) config_path_changed_cb,
+					provider ));
+
 	return( list );
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]