[gnome-builder] Revert "buffer manager: fix create view condition"
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] Revert "buffer manager: fix create view condition"
- Date: Wed, 20 Sep 2017 06:32:51 +0000 (UTC)
commit 454ca44ac2712e8e83c7942bac6292846eb9b92a
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 19 23:32:38 2017 -0700
Revert "buffer manager: fix create view condition"
This reverts commit 421699ec7b9fea67939870fd9e19d9843bacfa81.
libide/buffers/ide-buffer-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/buffers/ide-buffer-manager.c b/libide/buffers/ide-buffer-manager.c
index 5302365..4cd9b09 100644
--- a/libide/buffers/ide-buffer-manager.c
+++ b/libide/buffers/ide-buffer-manager.c
@@ -712,7 +712,7 @@ ide_buffer_manager__load_file_query_info_cb (GObject *object,
}
}
- if (state->is_new && (state->flags & IDE_WORKBENCH_OPEN_FLAGS_BACKGROUND) == 0)
+ if (state->is_new || (state->flags & IDE_WORKBENCH_OPEN_FLAGS_BACKGROUND) == 0)
create_new_view = TRUE;
g_signal_emit (self, signals [LOAD_BUFFER], 0, state->buffer, create_new_view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]