info-overview: Give appropriate name to widget
This commit is contained in:
parent
8e9e84853d
commit
5f2081fe46
2 changed files with 4 additions and 6 deletions
|
@ -67,11 +67,9 @@ typedef struct
|
||||||
GtkWidget *disk_label;
|
GtkWidget *disk_label;
|
||||||
GtkWidget *graphics_label;
|
GtkWidget *graphics_label;
|
||||||
GtkWidget *virt_type_label;
|
GtkWidget *virt_type_label;
|
||||||
|
GtkWidget *virt_type_title_label;
|
||||||
GtkWidget *updates_button;
|
GtkWidget *updates_button;
|
||||||
|
|
||||||
/* Virtualisation labels */
|
|
||||||
GtkWidget *label18;
|
|
||||||
|
|
||||||
char *gnome_version;
|
char *gnome_version;
|
||||||
char *gnome_distributor;
|
char *gnome_distributor;
|
||||||
char *gnome_date;
|
char *gnome_date;
|
||||||
|
@ -553,7 +551,7 @@ set_virtualization_label (CcInfoOverviewPanel *self,
|
||||||
if (virt == NULL || *virt == '\0')
|
if (virt == NULL || *virt == '\0')
|
||||||
{
|
{
|
||||||
gtk_widget_hide (priv->virt_type_label);
|
gtk_widget_hide (priv->virt_type_label);
|
||||||
gtk_widget_hide (priv->label18);
|
gtk_widget_hide (priv->virt_type_title_label);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -740,7 +738,7 @@ cc_info_overview_panel_class_init (CcInfoOverviewPanelClass *klass)
|
||||||
gtk_widget_class_bind_template_child_private (widget_class, CcInfoOverviewPanel, graphics_label);
|
gtk_widget_class_bind_template_child_private (widget_class, CcInfoOverviewPanel, graphics_label);
|
||||||
gtk_widget_class_bind_template_child_private (widget_class, CcInfoOverviewPanel, virt_type_label);
|
gtk_widget_class_bind_template_child_private (widget_class, CcInfoOverviewPanel, virt_type_label);
|
||||||
gtk_widget_class_bind_template_child_private (widget_class, CcInfoOverviewPanel, updates_button);
|
gtk_widget_class_bind_template_child_private (widget_class, CcInfoOverviewPanel, updates_button);
|
||||||
gtk_widget_class_bind_template_child_private (widget_class, CcInfoOverviewPanel, label18);
|
gtk_widget_class_bind_template_child_private (widget_class, CcInfoOverviewPanel, virt_type_title_label);
|
||||||
|
|
||||||
g_type_ensure (CC_TYPE_HOSTNAME_ENTRY);
|
g_type_ensure (CC_TYPE_HOSTNAME_ENTRY);
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,7 +158,7 @@
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="label18">
|
<object class="GtkLabel" id="virt_type_title_label">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="xalign">1</property>
|
<property name="xalign">1</property>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue