printers: Don't use properties of deprecated widgets

Replace xalign and yalign properties by halign and
valign wherever needed.

https://bugzilla.gnome.org/show_bug.cgi?id=739737
This commit is contained in:
Marek Kasik 2014-11-07 16:46:32 +01:00
parent a5c6e53f65
commit 49b71fa843
2 changed files with 6 additions and 11 deletions

View file

@ -151,8 +151,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="halign">end</property> <property name="halign">end</property>
<property name="xalign">1</property> <property name="valign">start</property>
<property name="yalign">0</property>
<property name="pixel_size">48</property> <property name="pixel_size">48</property>
<property name="icon_name">dialog-password-symbolic</property> <property name="icon_name">dialog-password-symbolic</property>
</object> </object>

View file

@ -148,7 +148,7 @@
<child> <child>
<object class="CcEditableEntry" id="printer-location-label"> <object class="CcEditableEntry" id="printer-location-label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0</property> <property name="halign">fill</property>
<property name="text">---</property> <property name="text">---</property>
<property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property> <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
<accessibility> <accessibility>
@ -166,8 +166,6 @@
<child> <child>
<object class="CcEditableEntry" id="printer-status-label"> <object class="CcEditableEntry" id="printer-status-label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
<property name="text">Printing…</property> <property name="text">Printing…</property>
</object> </object>
<packing> <packing>
@ -233,7 +231,6 @@
<child> <child>
<object class="CcEditableEntry" id="printer-jobs-label"> <object class="CcEditableEntry" id="printer-jobs-label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0</property>
<property name="text" translatable="no">0 active</property> <property name="text" translatable="no">0 active</property>
</object> </object>
<packing> <packing>
@ -269,8 +266,8 @@
<child> <child>
<object class="CcEditableEntry" id="printer-name-label"> <object class="CcEditableEntry" id="printer-name-label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0</property> <property name="halign">fill</property>
<property name="yalign">1</property> <property name="valign">end</property>
<property name="text">Printer</property> <property name="text">Printer</property>
<property name="weight">700</property> <property name="weight">700</property>
<property name="scale">1.2</property> <property name="scale">1.2</property>
@ -285,7 +282,7 @@
<child> <child>
<object class="GtkImage" id="printer-icon"> <object class="GtkImage" id="printer-icon">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">1</property> <property name="halign">end</property>
<property name="pixel_size">64</property> <property name="pixel_size">64</property>
<property name="icon_name">printer</property> <property name="icon_name">printer</property>
</object> </object>
@ -422,7 +419,6 @@
<child> <child>
<object class="CcEditableEntry" id="printer-ip-address-label"> <object class="CcEditableEntry" id="printer-ip-address-label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0</property>
<property name="text">---</property> <property name="text">---</property>
<accessibility> <accessibility>
<relation type="labelled-by" target="label15"/> <relation type="labelled-by" target="label15"/>
@ -591,7 +587,7 @@ doesn't seem to be available.</property>
<object class="GtkImage" id="image1"> <object class="GtkImage" id="image1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="yalign">0</property> <property name="valign">start</property>
<property name="pixel_size">64</property> <property name="pixel_size">64</property>
<property name="icon_name">computer-fail</property> <property name="icon_name">computer-fail</property>
</object> </object>