[gnome-builder] editor: remove add-file button from view stack
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: remove add-file button from view stack
- Date: Tue, 28 Jun 2016 00:03:12 +0000 (UTC)
commit 60d9a3fb9d44096a73831de3df3aacfd23a99a11
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 20 17:07:09 2016 -0700
editor: remove add-file button from view stack
libide/workbench/ide-layout-tab-bar.c | 2 --
libide/workbench/ide-layout-tab-bar.ui | 16 ----------------
2 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/libide/workbench/ide-layout-tab-bar.c b/libide/workbench/ide-layout-tab-bar.c
index 8afd067..89071b6 100644
--- a/libide/workbench/ide-layout-tab-bar.c
+++ b/libide/workbench/ide-layout-tab-bar.c
@@ -37,7 +37,6 @@ struct _IdeLayoutTabBar
IdeLayoutTab *tab;
GtkWidget *tab_expander;
GtkMenuButton *views_list_button;
- GtkButton *views_add_button;
GtkStack *stack;
GtkListBox *views_list_box;
GtkPopover *views_list_popover;
@@ -393,7 +392,6 @@ ide_tab_layout_bar_class_init (IdeLayoutTabBarClass *klass)
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/builder/ui/ide-layout-tab-bar.ui");
gtk_widget_class_bind_template_child (widget_class, IdeLayoutTabBar, tab);
gtk_widget_class_bind_template_child (widget_class, IdeLayoutTabBar, tab_expander);
- gtk_widget_class_bind_template_child (widget_class, IdeLayoutTabBar, views_add_button);
gtk_widget_class_bind_template_child (widget_class, IdeLayoutTabBar, views_list_button);
gtk_widget_class_bind_template_child (widget_class, IdeLayoutTabBar, views_list_box);
gtk_widget_class_bind_template_child (widget_class, IdeLayoutTabBar, views_list_popover);
diff --git a/libide/workbench/ide-layout-tab-bar.ui b/libide/workbench/ide-layout-tab-bar.ui
index 5708944..f01849a 100644
--- a/libide/workbench/ide-layout-tab-bar.ui
+++ b/libide/workbench/ide-layout-tab-bar.ui
@@ -39,22 +39,6 @@
</child>
</object>
</child>
- <child>
- <object class="GtkButton" id="views_add_button">
- <property name="tooltip-text" translatable="yes">Add a new empty file to your project</property>
- <property name="action-name">perspective.new-file</property>
- <property name="focus-on-click">false</property>
- <property name="visible">true</property>
- <!-- align icon with window-close button -->
- <property name="margin-right">6</property>
- <child>
- <object class="GtkImage">
- <property name="icon-name">list-add-symbolic</property>
- <property name="visible">true</property>
- </object>
- </child>
- </object>
- </child>
</object>
</child>
</template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]