gnome-control-center/panels/color/cc-color-calibrate.ui
Daniel Tang 6a083318af color: Fix GTK4 invisible start calibration button
"action_area" was unused. internal-child is invalid in GTK4,
so the row with the start button doesn't load. This makes the
calibration feature impossible to use. Removing the unused
unrecognized attribute allows the start button to load again.

Fixes: https://askubuntu.com/q/1504329/1004020
Fixes: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/2043119
2024-03-11 13:43:47 +00:00

89 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkDialog" id="dialog_calibrate">
<property name="margin_top">32</property>
<property name="margin_bottom">32</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<property name="title" translatable="yes">Display Calibration</property>
<property name="deletable">False</property>
<style>
<class name="osd"/>
</style>
<child>
<object class="GtkBox" id="dialog-vbox4">
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkBox" id="dialog-action_area1">
<child>
<object class="GtkButton" id="button_cancel">
<property name="label" translatable="yes">_Cancel</property>
<property name="use_underline">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="button_start">
<property name="label" translatable="yes" comments="This starts the calibration process">_Start</property>
<property name="use_underline">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="button_resume">
<property name="label" translatable="yes" comments="This resumes the calibration process">_Resume</property>
<property name="use_underline">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="button_done">
<property name="label" translatable="yes" comments="This button returns the user back to the color control panel">_Done</property>
<property name="use_underline">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="vbox_status">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
<property name="spacing">15</property>
<child>
<object class="GtkImage" id="image_status">
<property name="valign">end</property>
<property name="pixel_size">192</property>
<property name="icon_name">address-book-new</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label_status">
<property name="valign">start</property>
<property name="label" translatable="yes">Do not disturb the calibration device while in progress</property>
<property name="justify">center</property>
<property name="wrap">True</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="foreground" value="#ffffffffffff"/>
</attributes>
</object>
</child>
<child>
<object class="GtkProgressBar" id="progressbar_status">
</object>
</child>
</object>
</child>
</object>
</child>
<action-widgets>
<action-widget response="0">button_cancel</action-widget>
<action-widget response="0">button_start</action-widget>
<action-widget response="0">button_resume</action-widget>
<action-widget response="0">button_done</action-widget>
</action-widgets>
</object>
<object class="GtkSizeGroup" id="sizegroup_sample"/>
</interface>