summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file-operations.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-file-operations.c')
-rw-r--r--libcaja-private/caja-file-operations.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c
index a1172533..b76ef038 100644
--- a/libcaja-private/caja-file-operations.c
+++ b/libcaja-private/caja-file-operations.c
@@ -200,6 +200,8 @@ caja_application_notify_unmount_show (const gchar *message)
gchar **strings;
strings = g_strsplit (message, "\n", 0);
+ if (!g_settings_get_boolean (caja_preferences, CAJA_PREFERENCES_SHOW_NOTIFICATIONS)) return;
+
if (unmount_notify == NULL) {
unmount_notify =
notify_notification_new (strings[0], strings[1],