[gnome-builder/wip/libide-merge] workbench: don't include temporary files in "save all"
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide-merge] workbench: don't include temporary files in "save all"
- Date: Mon, 23 Mar 2015 10:15:05 +0000 (UTC)
commit affdf5e8eee12f6ae3671d7a666c65eb8698d412
Author: Christian Hergert <christian hergert me>
Date: Mon Mar 23 02:58:23 2015 -0700
workbench: don't include temporary files in "save all"
src/workbench/gb-workbench-actions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/workbench/gb-workbench-actions.c b/src/workbench/gb-workbench-actions.c
index f74db96..fb0bf1f 100644
--- a/src/workbench/gb-workbench-actions.c
+++ b/src/workbench/gb-workbench-actions.c
@@ -207,7 +207,7 @@ gb_workbench_actions_save_all (GSimpleAction *action,
buffer = g_ptr_array_index (ar, i);
file = ide_buffer_get_file (buffer);
- if (file == NULL)
+ if ((file == NULL) || ide_file_get_is_temporary (file))
continue;
ide_buffer_manager_save_file_async (buffer_manager, buffer, file, NULL, NULL, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]