diff --git a/gtk/inspector/classes-list.ui b/gtk/inspector/classes-list.ui index 25ea88fb3b..c84e2d6e63 100644 --- a/gtk/inspector/classes-list.ui +++ b/gtk/inspector/classes-list.ui @@ -16,7 +16,7 @@ True - list-add + list-add-symbolic Add a class diff --git a/gtk/inspector/css-editor.ui b/gtk/inspector/css-editor.ui index 7a6d921a25..0c18d3c32e 100644 --- a/gtk/inspector/css-editor.ui +++ b/gtk/inspector/css-editor.ui @@ -25,7 +25,7 @@ True - media-playback-pause + media-playback-pause-symbolic Disable this custom CSS diff --git a/gtk/inspector/data-list.ui b/gtk/inspector/data-list.ui index d2ee69557a..83d0ca3f9a 100644 --- a/gtk/inspector/data-list.ui +++ b/gtk/inspector/data-list.ui @@ -9,7 +9,7 @@ True - reload + view-refresh-symbolic Show data diff --git a/gtk/inspector/signals-list.c b/gtk/inspector/signals-list.c index bccb6f9ea2..95b8aadb23 100644 --- a/gtk/inspector/signals-list.c +++ b/gtk/inspector/signals-list.c @@ -37,6 +37,7 @@ struct _GtkInspectorSignalsListPrivate GtkTextBuffer *text; GtkWidget *log_win; GtkWidget *trace_button; + GtkWidget *clear_button; GtkTreeViewColumn *count_column; GtkCellRenderer *count_renderer; GObject *object; @@ -177,6 +178,9 @@ gtk_inspector_signals_list_init (GtkInspectorSignalsList *sl) sl->priv = gtk_inspector_signals_list_get_instance_private (sl); gtk_widget_init_template (GTK_WIDGET (sl)); + gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (sl->priv->clear_button), + gtk_widget_get_direction (GTK_WIDGET (sl)) == GTK_TEXT_DIR_RTL ? "edit-clear-rtl-symbolic" : "edit-clear-symbolic"); + gtk_tree_view_column_set_cell_data_func (sl->priv->count_column, sl->priv->count_renderer, render_count, @@ -333,6 +337,7 @@ gtk_inspector_signals_list_class_init (GtkInspectorSignalsListClass *klass) gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorSignalsList, count_column); gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorSignalsList, count_renderer); gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorSignalsList, trace_button); + gtk_widget_class_bind_template_child_private (widget_class, GtkInspectorSignalsList, clear_button); gtk_widget_class_bind_template_callback (widget_class, toggle_tracing); gtk_widget_class_bind_template_callback (widget_class, clear_log); } diff --git a/gtk/inspector/signals-list.ui b/gtk/inspector/signals-list.ui index 2729c601d1..e88407ff2d 100644 --- a/gtk/inspector/signals-list.ui +++ b/gtk/inspector/signals-list.ui @@ -26,7 +26,7 @@ True - media-record + media-record-symbolic Trace signal emissions on this object @@ -34,7 +34,6 @@ True - edit-clear Clear log diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui index bb183d355d..6b29a6d0ce 100644 --- a/gtk/inspector/window.ui +++ b/gtk/inspector/window.ui @@ -2,7 +2,7 @@ True - edit-find + edit-find-symbolic 4