[gtk+] inspector: Drop the button path
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Drop the button path
- Date: Sat, 11 Oct 2014 04:59:46 +0000 (UTC)
commit 4222e8d71377adbb6b81f08d12e22d158dc17906
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 10 15:52:48 2014 -0400
inspector: Drop the button path
The button path takes up quite a bit of room, and is not _that_
useful. If this information is useful, it can find a new home
on the misc tab.
gtk/inspector/Makefile.am | 3 -
gtk/inspector/button-path.c | 86 ---------------------------------
gtk/inspector/button-path.h | 61 -----------------------
gtk/inspector/button-path.ui | 55 ---------------------
gtk/inspector/button-path.ui.h | 1 -
gtk/inspector/init.c | 2 -
gtk/inspector/inspector.gresource.xml | 1 -
gtk/inspector/window.c | 3 -
gtk/inspector/window.h | 1 -
gtk/inspector/window.ui | 5 --
10 files changed, 0 insertions(+), 218 deletions(-)
---
diff --git a/gtk/inspector/Makefile.am b/gtk/inspector/Makefile.am
index dfd54e0..0069e6e 100644
--- a/gtk/inspector/Makefile.am
+++ b/gtk/inspector/Makefile.am
@@ -19,8 +19,6 @@ libgtkinspector_la_SOURCES = \
action-editor.c \
actions.h \
actions.c \
- button-path.h \
- button-path.c \
classes-list.h \
classes-list.c \
css-editor.h \
@@ -95,7 +93,6 @@ libgtkinspector_la_LDFLAGS = \
templates = \
actions.ui \
- button-path.ui \
classes-list.ui \
css-editor.ui \
data-list.ui \
diff --git a/gtk/inspector/init.c b/gtk/inspector/init.c
index 68d3149..8d3ef35 100644
--- a/gtk/inspector/init.c
+++ b/gtk/inspector/init.c
@@ -25,7 +25,6 @@
#include "init.h"
#include "actions.h"
-#include "button-path.h"
#include "classes-list.h"
#include "css-editor.h"
#include "data-list.h"
@@ -56,7 +55,6 @@ gtk_inspector_init (void)
gtk_inspector_register_resource ();
g_type_ensure (GTK_TYPE_INSPECTOR_ACTIONS);
- g_type_ensure (GTK_TYPE_INSPECTOR_BUTTON_PATH);
g_type_ensure (GTK_TYPE_INSPECTOR_CLASSES_LIST);
g_type_ensure (GTK_TYPE_INSPECTOR_CSS_EDITOR);
g_type_ensure (GTK_TYPE_INSPECTOR_DATA_LIST);
diff --git a/gtk/inspector/inspector.gresource.xml b/gtk/inspector/inspector.gresource.xml
index ef57d5e..76385e6 100644
--- a/gtk/inspector/inspector.gresource.xml
+++ b/gtk/inspector/inspector.gresource.xml
@@ -2,7 +2,6 @@
<gresources>
<gresource prefix="/org/gtk/inspector">
<file compressed="true">actions.ui</file>
- <file compressed="true">button-path.ui</file>
<file compressed="true">classes-list.ui</file>
<file compressed="true">css-editor.ui</file>
<file compressed="true">data-list.ui</file>
diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c
index 3e3750d..8a8a27c 100644
--- a/gtk/inspector/window.c
+++ b/gtk/inspector/window.c
@@ -35,7 +35,6 @@
#include "widget-tree.h"
#include "python-hooks.h"
#include "python-shell.h"
-#include "button-path.h"
#include "size-groups.h"
#include "style-prop-list.h"
#include "data-list.h"
@@ -79,7 +78,6 @@ on_widget_tree_selection_changed (GtkInspectorWidgetTree *wt,
gtk_inspector_signals_list_set_object (GTK_INSPECTOR_SIGNALS_LIST (iw->signals_list), selected);
gtk_inspector_object_hierarchy_set_object (GTK_INSPECTOR_OBJECT_HIERARCHY (iw->object_hierarchy),
selected);
gtk_inspector_misc_info_set_object (GTK_INSPECTOR_MISC_INFO (iw->misc_info), selected);
- gtk_inspector_button_path_set_object (GTK_INSPECTOR_BUTTON_PATH (iw->button_path), selected);
gtk_inspector_classes_list_set_object (GTK_INSPECTOR_CLASSES_LIST (iw->classes_list), selected);
gtk_inspector_css_editor_set_object (GTK_INSPECTOR_CSS_EDITOR (iw->widget_css_editor), selected);
gtk_inspector_size_groups_set_object (GTK_INSPECTOR_SIZE_GROUPS (iw->size_groups), selected);
@@ -177,7 +175,6 @@ gtk_inspector_window_class_init (GtkInspectorWindowClass *klass)
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, prop_list);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, child_prop_list);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, signals_list);
- gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, button_path);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, classes_list);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, style_prop_list);
gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, widget_css_editor);
diff --git a/gtk/inspector/window.h b/gtk/inspector/window.h
index a9096b2..c9fec99 100644
--- a/gtk/inspector/window.h
+++ b/gtk/inspector/window.h
@@ -48,7 +48,6 @@ typedef struct
GtkWidget *signals_list;
GtkWidget *style_prop_list;
GtkWidget *python_shell;
- GtkWidget *button_path;
GtkWidget *classes_list;
GtkWidget *widget_css_editor;
GtkWidget *object_hierarchy;
diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui
index a231511..35cb17b 100644
--- a/gtk/inspector/window.ui
+++ b/gtk/inspector/window.ui
@@ -53,11 +53,6 @@
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
- <object class="GtkInspectorButtonPath" id="button_path">
- <property name="visible">True</property>
- </object>
- </child>
- <child>
<object class="GtkPaned">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]