[seahorse] Ssh: key properties: remove deprecated GtkTable.
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] Ssh: key properties: remove deprecated GtkTable.
- Date: Thu, 8 Mar 2018 21:30:12 +0000 (UTC)
commit 5138e47b952d6f749e043df6f01c1149c9df0926
Author: Niels De Graef <nielsdegraef gmail com>
Date: Thu Mar 8 07:59:37 2018 +0100
Ssh: key properties: remove deprecated GtkTable.
Also order the rows in order of appearance.
ssh/seahorse-ssh-key-properties.ui | 105 ++++++++++++++----------------------
1 files changed, 40 insertions(+), 65 deletions(-)
---
diff --git a/ssh/seahorse-ssh-key-properties.ui b/ssh/seahorse-ssh-key-properties.ui
index b19b644..a89a7fe 100644
--- a/ssh/seahorse-ssh-key-properties.ui
+++ b/ssh/seahorse-ssh-key-properties.ui
@@ -39,138 +39,113 @@
</packing>
</child>
<child>
- <object class="GtkTable" id="table9">
+ <object class="GtkGrid">
<property name="visible">True</property>
- <property name="n_rows">4</property>
- <property name="n_columns">2</property>
<property name="column_spacing">12</property>
<property name="row_spacing">3</property>
<child>
- <object class="GtkLabel" id="label74">
+ <object class="GtkLabel">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Identifier:</property>
+ <property name="label" translatable="yes" comments="To translators: This is the noun
not the verb.">Use:</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
+ <property name="top_attach">0</property>
+ <property name="left_attach">0</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="id-label">
+ <object class="GtkLabel">
<property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="xalign">0</property>
- <property name="label"></property>
- <property name="selectable">True</property>
+ <property name="label" translatable="yes">Used to connect to other
computers.</property>
+ <property name="use_markup">True</property>
</object>
<packing>
+ <property name="top_attach">0</property>
<property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="label93">
+ <object class="GtkLabel">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="yalign">0</property>
- <property name="label" translatable="yes">Type:</property>
+ <property name="label" translatable="yes" context="name-of-ssh-key" comments="Name
of key, often a persons name">Name:</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
+ <property name="top_attach">1</property>
+ <property name="left_attach">0</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="type-label">
+ <object class="GtkEntry" id="comment-entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Secure Shell Key</property>
- <property name="selectable">True</property>
+ <property name="activates_default">True</property>
</object>
<packing>
+ <property name="top_attach">1</property>
<property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="label72">
+ <object class="GtkLabel">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="yalign">0</property>
- <property name="label" translatable="yes" context="name-of-ssh-key" comments="Name
of key, often a persons name">Name:</property>
+ <property name="label" translatable="yes">Type:</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
+ <property name="top_attach">2</property>
+ <property name="left_attach">0</property>
</packing>
</child>
<child>
- <object class="GtkEntry" id="comment-entry">
+ <object class="GtkLabel" id="type-label">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="activates_default">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Secure Shell Key</property>
+ <property name="selectable">True</property>
</object>
<packing>
+ <property name="top_attach">2</property>
<property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="y_options"></property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="label22227">
+ <object class="GtkLabel">
<property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="yalign">1</property>
- <property name="label" translatable="yes">Used to connect to other
computers.</property>
- <property name="use_markup">True</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">Identifier:</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
+ <property name="top_attach">3</property>
+ <property name="left_attach">0</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="label22228">
+ <object class="GtkLabel" id="id-label">
<property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="yalign">1</property>
- <property name="label" translatable="yes" comments="To translators: This is the noun
not the verb.">Use:</property>
- <attributes>
- <attribute name="weight" value="bold"/>
- </attributes>
+ <property name="can_focus">True</property>
+ <property name="xalign">0</property>
+ <property name="label"></property>
+ <property name="selectable">True</property>
</object>
<packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
+ <property name="top_attach">3</property>
+ <property name="left_attach">1</property>
</packing>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]