[gnome-builder/editor-layout] bind code service activity to spinner.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/editor-layout] bind code service activity to spinner.
- Date: Sat, 29 Nov 2014 21:21:21 +0000 (UTC)
commit ff243de0a7327e58a24ff645c74db192b140e14e
Author: Christian Hergert <christian hergert me>
Date: Sat Nov 29 04:01:15 2014 -0800
bind code service activity to spinner.
src/editor/gb-editor-frame.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/editor/gb-editor-frame.c b/src/editor/gb-editor-frame.c
index 484d42f..2a89f8d 100644
--- a/src/editor/gb-editor-frame.c
+++ b/src/editor/gb-editor-frame.c
@@ -270,12 +270,18 @@ gb_editor_frame_connect (GbEditorFrame *frame,
NULL);
/*
- * Connect code assistance to gutter.
+ * Connect code assistance to gutter and spinner.
*/
code_assistant = gb_editor_document_get_code_assistant (document);
g_object_set (priv->code_assistant_renderer,
"code-assistant", code_assistant,
NULL);
+ g_object_bind_property (code_assistant, "active",
+ priv->busy_spinner, "active",
+ G_BINDING_SYNC_CREATE);
+ g_object_bind_property (code_assistant, "active",
+ priv->busy_spinner, "visible",
+ G_BINDING_SYNC_CREATE);
/*
* Create search defaults for this frame.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]