[gnome-builder/wip/gtk4-port] plugins/vcsui: show spinner while fetching branch list
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/vcsui: show spinner while fetching branch list
- Date: Wed, 1 Jun 2022 00:09:11 +0000 (UTC)
commit bfa7d52f7df674349dcb03c6c190582bbdde570a
Author: Christian Hergert <chergert redhat com>
Date: Tue May 31 16:49:03 2022 -0700
plugins/vcsui: show spinner while fetching branch list
src/plugins/vcsui/gbp-vcsui-clone-page.ui | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/vcsui/gbp-vcsui-clone-page.ui b/src/plugins/vcsui/gbp-vcsui-clone-page.ui
index 09c0601b3..ba13b60b0 100644
--- a/src/plugins/vcsui/gbp-vcsui-clone-page.ui
+++ b/src/plugins/vcsui/gbp-vcsui-clone-page.ui
@@ -38,12 +38,23 @@
<property name="margin-start">6</property>
<property name="margin-top">6</property>
<child>
- <object class="GtkLabel">
- <property name="label" translatable="yes">Branches</property>
- <property name="xalign">0</property>
- <style>
- <class name="heading"/>
- </style>
+ <object class="GtkBox">
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">Branches</property>
+ <property name="hexpand">true</property>
+ <property name="xalign">0</property>
+ <style>
+ <class name="heading"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSpinner">
+ <property name="spinning" bind-source="request"
bind-property="branch-model-busy"/>
+ <property name="visible" bind-source="request"
bind-property="branch-model-busy"/>
+ </object>
+ </child>
</object>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]