diff --git a/thunar/thunar-shortcuts-model.c b/thunar/thunar-shortcuts-model.c index 525eba9b..e335c986 100644 --- a/thunar/thunar-shortcuts-model.c +++ b/thunar/thunar-shortcuts-model.c @@ -1229,12 +1229,15 @@ thunar_shortcuts_model_add_shortcut_with_path (ThunarShortcutsModel *model, _thunar_return_if_fail (THUNAR_IS_SHORTCUTS_MODEL (model)); _thunar_return_if_fail (shortcut->file == NULL || THUNAR_IS_FILE (shortcut->file)); +#if 0 + /* we want to stay informed about changes to the file */ if (G_LIKELY (shortcut->file != NULL)) { /* watch the trash for changes */ if (thunar_g_file_is_trash (thunar_file_get_file (shortcut->file))) thunar_file_watch (shortcut->file); } +#endif if (path == NULL) { @@ -1748,6 +1751,7 @@ static void thunar_shortcut_free (ThunarShortcut *shortcut, ThunarShortcutsModel *model) { +#if 0 if (G_LIKELY (shortcut->file != NULL)) { /* drop the file watch on trash */ @@ -1756,6 +1760,7 @@ thunar_shortcut_free (ThunarShortcut *shortcut, g_object_unref (shortcut->file); } +#endif if (G_LIKELY (shortcut->device != NULL)) g_object_unref (shortcut->device);