summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-12 15:42:10 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-12 15:42:10 (EST)
commit4bd688d7a15be374d1b9085c1e5a3abe61abb673 (patch)
treee1d774a98db15cd2ead0d38f765ba6628f90bd8a /src/config
parent3f481c97cf4982ff083209ddbbc167b688eba617 (diff)
downloadmarquee-4bd688d7a15be374d1b9085c1e5a3abe61abb673.zip
marquee-4bd688d7a15be374d1b9085c1e5a3abe61abb673.tar.gz
marquee-4bd688d7a15be374d1b9085c1e5a3abe61abb673.tar.bz2
MqProfiles: Handle only the changes done hint
Diffstat (limited to 'src/config')
-rw-r--r--src/config/profiles.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/profiles.c b/src/config/profiles.c
index 8447ca2..8d7100d 100644
--- a/src/config/profiles.c
+++ b/src/config/profiles.c
@@ -119,6 +119,10 @@ changed(GFileMonitor G_GNUC_UNUSED *monitor, GFile G_GNUC_UNUSED *file,
gchar *cur_name;
gchar *cur_color;
+ if (event_type != G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT) {
+ return;
+ }
+
/* Save the current profile. */
if (profiles->current) {
cur_name = mq_profiles_get_name( profiles, profiles->current);