inspector: Show wayland display information

Don't call it "X display" when we show useful information under
Wayland as well.
This commit is contained in:
Matthias Clasen
2015-07-28 00:46:34 -04:00
parent 7d87eebfe7
commit bc68600cb0
2 changed files with 3 additions and 3 deletions

View File

@ -274,7 +274,7 @@ init_env (GtkInspectorGeneral *gen)
} }
static void static void
init_x (GtkInspectorGeneral *gen) init_display (GtkInspectorGeneral *gen)
{ {
GdkScreen *screen; GdkScreen *screen;
gchar *name; gchar *name;
@ -298,7 +298,7 @@ gtk_inspector_general_init (GtkInspectorGeneral *gen)
gtk_widget_init_template (GTK_WIDGET (gen)); gtk_widget_init_template (GTK_WIDGET (gen));
init_version (gen); init_version (gen);
init_env (gen); init_env (gen);
init_x (gen); init_display (gen);
init_gl (gen); init_gl (gen);
} }

View File

@ -370,7 +370,7 @@
<child> <child>
<object class="GtkLabel" id="x_display_label"> <object class="GtkLabel" id="x_display_label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">X display</property> <property name="label" translatable="yes">Display</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="valign">baseline</property> <property name="valign">baseline</property>
<property name="xalign">0.0</property> <property name="xalign">0.0</property>