[gnome-builder] plugins/vcsui: disable branch/tags list
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/vcsui: disable branch/tags list
- Date: Tue, 30 Aug 2022 00:49:02 +0000 (UTC)
commit 9234c761b3e42a8f23359b19e5b5d9f4c0e04a55
Author: Christian Hergert <chergert redhat com>
Date: Mon Aug 29 17:48:54 2022 -0700
plugins/vcsui: disable branch/tags list
We only want the label for now, since we aren't actually providing the
user with anything if they click on the item.
Of course there are aspirations to do that eventually, it's just not there
yet and we are running out of precious time for 43.
Somebody come save my sanity and implement git workflows for Builder.
src/plugins/vcsui/gbp-vcsui-workspace-addin.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/plugins/vcsui/gbp-vcsui-workspace-addin.c b/src/plugins/vcsui/gbp-vcsui-workspace-addin.c
index c9930fe0a..e887bada6 100644
--- a/src/plugins/vcsui/gbp-vcsui-workspace-addin.c
+++ b/src/plugins/vcsui/gbp-vcsui-workspace-addin.c
@@ -103,7 +103,9 @@ gbp_vcsui_workspace_addin_load (IdeWorkspaceAddin *addin,
{
PanelStatusbar *statusbar;
IdeWorkbench *workbench;
+#if 0
GtkWidget *popover;
+#endif
GtkImage *image;
GtkBox *box;
@@ -124,6 +126,7 @@ gbp_vcsui_workspace_addin_load (IdeWorkspaceAddin *addin,
gtk_box_append (box, GTK_WIDGET (image));
gtk_box_append (box, GTK_WIDGET (self->branch_label));
+#if 0
popover = gbp_vcsui_switcher_popover_new ();
g_object_bind_property (workbench, "vcs",
popover, "vcs",
@@ -135,6 +138,9 @@ gbp_vcsui_workspace_addin_load (IdeWorkspaceAddin *addin,
"popover", popover,
NULL);
panel_statusbar_add_prefix (statusbar, G_MININT, GTK_WIDGET (self->branch_button));
+#else
+ panel_statusbar_add_prefix (statusbar, G_MININT, GTK_WIDGET (box));
+#endif
self->vcs_bindings = ide_binding_group_new ();
ide_binding_group_bind (self->vcs_bindings, "branch-name",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]