mirror of
https://github.com/Huluti/Curtail.git
synced 2024-11-09 00:24:34 +03:00
Put GtkAdjustments inside adjustment properties
This commit is contained in:
parent
e72c4a32ba
commit
9c369ec299
@ -1,30 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="curtail">
|
||||
<object class="GtkAdjustment" id="jpg_lossy_adj">
|
||||
<property name="upper">100</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="png_lossless_adj">
|
||||
<property name="upper">7</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="png_lossy_adj">
|
||||
<property name="upper">100</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="webp_lossless_adj">
|
||||
<property name="upper">6</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="webp_lossy_adj">
|
||||
<property name="upper">100</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
<template class="CurtailPrefsWindow" parent="AdwPreferencesWindow">
|
||||
<property name="title" translatable="yes">Preferences</property>
|
||||
<property name="modal">True</property>
|
||||
@ -98,7 +73,13 @@
|
||||
<property name="activatable-widget">spin_png_lossy_level</property>
|
||||
<child>
|
||||
<object class="GtkSpinButton" id="spin_png_lossy_level">
|
||||
<property name="adjustment">png_lossy_adj</property>
|
||||
<property name="adjustment">
|
||||
<object class="GtkAdjustment" id="png_lossy_adj">
|
||||
<property name="upper">100</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
</property>
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
@ -110,7 +91,13 @@
|
||||
<property name="activatable-widget">spin_jpg_lossy_level</property>
|
||||
<child>
|
||||
<object class="GtkSpinButton" id="spin_jpg_lossy_level">
|
||||
<property name="adjustment">jpg_lossy_adj</property>
|
||||
<property name="adjustment">
|
||||
<object class="GtkAdjustment" id="jpg_lossy_adj">
|
||||
<property name="upper">100</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
</property>
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
@ -122,7 +109,13 @@
|
||||
<property name="activatable-widget">spin_webp_lossy_level</property>
|
||||
<child>
|
||||
<object class="GtkSpinButton" id="spin_webp_lossy_level">
|
||||
<property name="adjustment">webp_lossy_adj</property>
|
||||
<property name="adjustment">
|
||||
<object class="GtkAdjustment" id="webp_lossy_adj">
|
||||
<property name="upper">100</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
</property>
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
@ -146,7 +139,13 @@
|
||||
<property name="activatable-widget">spin_png_lossless_level</property>
|
||||
<child>
|
||||
<object class="GtkSpinButton" id="spin_png_lossless_level">
|
||||
<property name="adjustment">png_lossless_adj</property>
|
||||
<property name="adjustment">
|
||||
<object class="GtkAdjustment" id="png_lossless_adj">
|
||||
<property name="upper">7</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
</property>
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
@ -159,7 +158,13 @@
|
||||
<property name="activatable-widget">spin_webp_lossless_level</property>
|
||||
<child>
|
||||
<object class="GtkSpinButton" id="spin_webp_lossless_level">
|
||||
<property name="adjustment">webp_lossless_adj</property>
|
||||
<property name="adjustment">
|
||||
<object class="GtkAdjustment" id="webp_lossless_adj">
|
||||
<property name="upper">6</property>
|
||||
<property name="step-increment">1</property>
|
||||
<property name="page-increment">10</property>
|
||||
</object>
|
||||
</property>
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
|
Loading…
Reference in New Issue
Block a user