Remove deprecated GtkMisc:ypad property

GtkMisc:ypad was deprecated since Gtk version 3.14 and should not be
used in newly-written code. Use margin-top and margin-bottom instead.
Both have default value set to 0.

https://developer.gnome.org/gtk3/stable/GtkMisc.html#GtkMisc--ypad

https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget--margin-top

https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget--margin-bottom
This commit is contained in:
Radostin Stoyanov 2017-05-31 14:08:38 +01:00 committed by Cole Robinson
parent fb46c9dc27
commit 84419fe90c
6 changed files with 26 additions and 13 deletions

View File

@ -85,7 +85,8 @@
<property name="valign">start</property>
<property name="margin_start">6</property>
<property name="margin_end">6</property>
<property name="ypad">6</property>
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
<property name="label">Page title</property>
<property name="use_markup">True</property>
<property name="justify">fill</property>

View File

@ -32,7 +32,8 @@
<property name="valign">start</property>
<property name="margin_start">3</property>
<property name="margin_end">3</property>
<property name="ypad">10</property>
<property name="margin_top">10</property>
<property name="margin_bottom">10</property>
<property name="stock">gtk-dialog-info</property>
<property name="icon_size">6</property>
</object>
@ -115,7 +116,8 @@
<property name="valign">start</property>
<property name="margin_start">3</property>
<property name="margin_end">3</property>
<property name="ypad">3</property>
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
<property name="label" translatable="yes">Processing...</property>
</object>
<packing>

View File

@ -252,7 +252,8 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="margin_left">24</property>
<property name="ypad">2</property>
<property name="margin_top">2</property>
<property name="margin_bottom">2</property>
<property name="label" translatable="yes">_Username:</property>
<property name="use_markup">True</property>
<property name="use_underline">True</property>

View File

@ -362,7 +362,8 @@
<property name="valign">start</property>
<property name="margin_start">3</property>
<property name="margin_end">3</property>
<property name="ypad">3</property>
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
<property name="stock">gtk-dialog-info</property>
</object>
<packing>
@ -781,7 +782,8 @@
<property name="valign">start</property>
<property name="margin_start">3</property>
<property name="margin_end">3</property>
<property name="ypad">3</property>
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
<property name="stock">gtk-dialog-info</property>
</object>
<packing>

View File

@ -2921,7 +2921,8 @@ if you know what you are doing.&lt;/small&gt;</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="ypad">8</property>
<property name="margin_top">8</property>
<property name="margin_bottom">8</property>
<property name="label" translatable="yes">Ke_rnel path:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">boot-kernel</property>
@ -2936,7 +2937,8 @@ if you know what you are doing.&lt;/small&gt;</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="ypad">8</property>
<property name="margin_top">8</property>
<property name="margin_bottom">8</property>
<property name="label" translatable="yes">_Initrd path:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">boot-initrd</property>
@ -3033,7 +3035,8 @@ if you know what you are doing.&lt;/small&gt;</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="ypad">8</property>
<property name="margin_top">8</property>
<property name="margin_bottom">8</property>
<property name="label" translatable="yes">Kernel ar_gs:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">boot-kernel-args</property>
@ -3066,7 +3069,8 @@ if you know what you are doing.&lt;/small&gt;</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="ypad">8</property>
<property name="margin_top">8</property>
<property name="margin_bottom">8</property>
<property name="label" translatable="yes">D_TB Path:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">boot-dtb</property>
@ -3705,7 +3709,8 @@ if you know what you are doing.&lt;/small&gt;</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
<property name="valign">start</property>
<property name="ypad">4</property>
<property name="margin_top">4</property>
<property name="margin_bottom">4</property>
<property name="label" translatable="yes">Storage forma_t:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">disk-format</property>
@ -5706,7 +5711,8 @@ if you know what you are doing.&lt;/small&gt;</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="ypad">3</property>
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
<property name="label" translatable="yes">Address Type:</property>
</object>
<packing>

View File

@ -189,7 +189,8 @@
<property name="can_focus">False</property>
<property name="halign">end</property>
<property name="valign">start</property>
<property name="ypad">3</property>
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
<property name="label" translatable="yes">_Network source:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">net-source</property>