[gtk+] inspector: Don't force-switch to the objects tab
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Don't force-switch to the objects tab
- Date: Wed, 10 Dec 2014 01:58:31 +0000 (UTC)
commit cf4afd0e934e19798c8e29b150ac0f583c46527c
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 9 18:27:57 2014 -0500
inspector: Don't force-switch to the objects tab
We used to switch to the objects tab when an object is
picked, but now may have two places with picker buttons:
the objects tab and the interactive tab.
So, just don't do that anymore.
gtk/inspector/inspect-button.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/inspector/inspect-button.c b/gtk/inspector/inspect-button.c
index 62325b6..55d92da 100644
--- a/gtk/inspector/inspect-button.c
+++ b/gtk/inspector/inspect-button.c
@@ -216,8 +216,6 @@ select_widget (GtkInspectorWindow *iw,
iw->selected_widget = widget;
- gtk_stack_set_visible_child_name (GTK_STACK (iw->top_stack), "objects");
-
if (!gtk_inspector_object_tree_find_object (wt, G_OBJECT (widget), &iter))
gtk_inspector_object_tree_scan (wt, gtk_widget_get_toplevel (widget));
gtk_inspector_object_tree_select_object (wt, G_OBJECT (widget));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]