[gnome-boxes/wip/wizard-n-props-in-dialog2: 10/20] Drop now redundant PropertiesToolbar
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/wizard-n-props-in-dialog2: 10/20] Drop now redundant PropertiesToolbar
- Date: Sun, 23 Nov 2014 20:24:26 +0000 (UTC)
commit 07766a7461b5e25e98219b47168b99a9f9b2d5c7
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Aug 28 19:11:40 2014 +0100
Drop now redundant PropertiesToolbar
https://bugzilla.gnome.org/show_bug.cgi?id=733367
data/ui/properties-toolbar.ui | 48 -----------------------------------
data/ui/topbar.ui | 12 ---------
src/Makefile.am | 1 -
src/properties-toolbar.vala | 55 -----------------------------------------
src/topbar.vala | 6 +---
5 files changed, 1 insertions(+), 121 deletions(-)
---
diff --git a/data/ui/topbar.ui b/data/ui/topbar.ui
index cb8f57b..058d809 100644
--- a/data/ui/topbar.ui
+++ b/data/ui/topbar.ui
@@ -28,18 +28,6 @@
</packing>
</child>
- <!-- Properties -->
- <child>
- <object class="BoxesPropertiesToolbar" id="props_toolbar">
- <property name="visible">True</property>
- <property name="show-close-button">True</property>
- </object>
-
- <packing>
- <property name="name">properties</property>
- </packing>
- </child>
-
<!-- Display -->
<child>
<object class="BoxesDisplayToolbar" id="display_toolbar">
diff --git a/src/Makefile.am b/src/Makefile.am
index b1acc98..497522a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -125,7 +125,6 @@ gnome_boxes_SOURCES = \
properties.vala \
properties-dialog.vala \
properties-sidebar.vala \
- properties-toolbar.vala \
remote-machine.vala \
searchbar.vala \
selectionbar.vala \
diff --git a/src/topbar.vala b/src/topbar.vala
index 0604c86..ed3dbd4 100644
--- a/src/topbar.vala
+++ b/src/topbar.vala
@@ -4,18 +4,15 @@ using Gtk;
public enum Boxes.TopbarPage {
COLLECTION,
SELECTION,
- PROPERTIES,
DISPLAY
}
[GtkTemplate (ui = "/org/gnome/Boxes/ui/topbar.ui")]
private class Boxes.Topbar: Gtk.Stack, Boxes.UI {
- private const string[] page_names = { "collection", "selection", "properties", "display" };
+ private const string[] page_names = { "collection", "selection", "display" };
public UIState previous_ui_state { get; protected set; }
public UIState ui_state { get; protected set; }
- [GtkChild]
- public PropertiesToolbar props_toolbar;
[GtkChild]
private CollectionToolbar collection_toolbar;
@@ -89,7 +86,6 @@ private class Boxes.Topbar: Gtk.Stack, Boxes.UI {
collection_toolbar.setup_ui (window);
selection_toolbar.setup_ui (window);
display_toolbar.setup_ui (window);
- props_toolbar.setup_ui (window);
}
private void ui_state_changed () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]