[file-roller/wip/jtojnar/gtk4: 2/3] Fix some GTK deprecations
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/wip/jtojnar/gtk4: 2/3] Fix some GTK deprecations
- Date: Sun, 12 Dec 2021 22:26:17 +0000 (UTC)
commit 4b11d9dd5ecd9b34e1dbd61cb2dc9b07b4245f88
Author: Jan Tojnar <jtojnar gmail com>
Date: Sun Dec 12 10:50:35 2021 +0100
Fix some GTK deprecations
At least those discovered when built with
`-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED`
and run with `G_ENABLE_DIAGNOSTIC=1`.
src/fr-window.c | 5 +-
src/ui/add-dialog-options.ui | 18 ++--
src/ui/ask-password.ui | 4 +-
src/ui/delete.ui | 6 +-
src/ui/extract-dialog-options.ui | 18 ++--
src/ui/file-selector.ui | 2 +-
src/ui/new-archive-dialog.ui | 180 +++++++++++++++++++--------------------
src/ui/password.ui | 4 +-
src/ui/progress-dialog.ui | 4 +-
src/ui/properties.ui | 32 +++----
src/ui/request-dialog.ui | 2 +-
src/ui/update.ui | 6 +-
12 files changed, 138 insertions(+), 143 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 787cc0ed..141ce7a7 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -2559,8 +2559,9 @@ create_the_progress_dialog (FrWindow *window)
builder = _gtk_builder_new_from_resource ("progress-dialog.ui");
use_header_bar = _gtk_settings_get_dialogs_use_header ();
dialog = g_object_new (GTK_TYPE_DIALOG, "use-header-bar", use_header_bar, NULL);
- gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
- _gtk_builder_get_widget (builder, "progress_dialog_content"));
+ gtk_box_pack_end (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
+ _gtk_builder_get_widget (builder, "progress_dialog_content"),
+ TRUE, TRUE, 0);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_window_set_title (GTK_WINDOW (dialog), title);
gtk_window_set_transient_for (GTK_WINDOW (dialog), parent);
diff --git a/src/ui/add-dialog-options.ui b/src/ui/add-dialog-options.ui
index 64b48c24..fd8590e9 100644
--- a/src/ui/add-dialog-options.ui
+++ b/src/ui/add-dialog-options.ui
@@ -15,7 +15,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="label" translatable="yes">Add</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -31,14 +31,14 @@
<object class="GtkGrid" id="grid2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">12</property>
+ <property name="margin-start">12</property>
<property name="row_spacing">6</property>
<property name="column_spacing">6</property>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="label" translatable="yes">Include _files:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">include_files_entry</property>
@@ -54,7 +54,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="label" translatable="yes">E_xclude files:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">exclude_files_entry</property>
@@ -70,7 +70,7 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="label" translatable="yes">_Exclude folders:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">exclude_folders_entry</property>
@@ -149,7 +149,7 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="label" translatable="yes">Actions</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -165,7 +165,7 @@
<object class="GtkBox" id="box6">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">12</property>
+ <property name="margin-start">12</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
@@ -176,7 +176,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@@ -193,7 +193,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="draw_indicator">True</property>
</object>
<packing>
diff --git a/src/ui/ask-password.ui b/src/ui/ask-password.ui
index e92a585b..5e167a7a 100644
--- a/src/ui/ask-password.ui
+++ b/src/ui/ask-password.ui
@@ -13,7 +13,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label">Password required for "archive.tar.xz"</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="size" value="12000"/>
@@ -53,7 +53,7 @@
<property name="label" translatable="yes">_Password:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">password_entry</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/src/ui/delete.ui b/src/ui/delete.ui
index 95fdcf82..9d26cc8d 100644
--- a/src/ui/delete.ui
+++ b/src/ui/delete.ui
@@ -16,7 +16,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="draw_indicator">True</property>
<property name="group">d_files_radio</property>
</object>
@@ -34,7 +34,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="draw_indicator">True</property>
<property name="group">d_files_radio</property>
</object>
@@ -57,7 +57,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
</object>
diff --git a/src/ui/extract-dialog-options.ui b/src/ui/extract-dialog-options.ui
index fa423d3e..477754c2 100644
--- a/src/ui/extract-dialog-options.ui
+++ b/src/ui/extract-dialog-options.ui
@@ -18,7 +18,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="Action">Extract</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -33,7 +33,7 @@
<object class="GtkBox" id="box3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">12</property>
+ <property name="margin-start">12</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
@@ -44,7 +44,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
</object>
@@ -62,7 +62,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">all_files_radiobutton</property>
@@ -86,7 +86,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">all_files_radiobutton</property>
@@ -142,7 +142,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Actions</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -157,7 +157,7 @@
<object class="GtkBox" id="box6">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">12</property>
+ <property name="margin-start">12</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
@@ -168,7 +168,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@@ -185,7 +185,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="draw_indicator">True</property>
</object>
<packing>
diff --git a/src/ui/file-selector.ui b/src/ui/file-selector.ui
index 4a9697a1..5bd32864 100644
--- a/src/ui/file-selector.ui
+++ b/src/ui/file-selector.ui
@@ -157,7 +157,7 @@
<object class="GtkPlacesSidebar" id="places_sidebar">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="margin_right">2</property>
+ <property name="margin-end">2</property>
<property name="hscrollbar_policy">never</property>
<property name="shadow_type">in</property>
<property name="show_desktop">True</property>
diff --git a/src/ui/new-archive-dialog.ui b/src/ui/new-archive-dialog.ui
index c28ced7f..3c207000 100644
--- a/src/ui/new-archive-dialog.ui
+++ b/src/ui/new-archive-dialog.ui
@@ -28,7 +28,7 @@
<property name="use_underline">True</property>
<property name="justify">center</property>
<property name="mnemonic_widget">filename_entry</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="expand">False</property>
@@ -93,7 +93,7 @@
<property name="label" translatable="yes">_Location:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">parent_filechooserbutton</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="expand">False</property>
@@ -136,52 +136,27 @@
<property name="can_focus">True</property>
<property name="expanded">True</property>
<child>
- <object class="GtkAlignment" id="alignment2">
+ <object class="GtkBox" id="box4">
+ <property name="margin_top">6</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="top_padding">6</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
<child>
- <object class="GtkBox" id="box4">
+ <object class="GtkBox" id="box5">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="margin_top">12</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
- <object class="GtkBox" id="box5">
+ <object class="GtkLabel" id="password_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_top">12</property>
- <property name="orientation">vertical</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkLabel" id="password_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">_Password:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">password_entry</property>
- <property name="xalign">0</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkEntry" id="password_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="visibility">False</property>
- <property name="invisible_char">●</property>
- <property name="activates_default">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
+ <property name="label" translatable="yes">_Password:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">password_entry</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="expand">False</property>
@@ -190,83 +165,102 @@
</packing>
</child>
<child>
- <object class="GtkCheckButton" id="encrypt_header_checkbutton">
- <property name="label" translatable="yes">_Encrypt the file list too</property>
+ <object class="GtkEntry" id="password_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="visibility">False</property>
+ <property name="invisible_char">●</property>
+ <property name="activates_default">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="encrypt_header_checkbutton">
+ <property name="label" translatable="yes">_Encrypt the file list too</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="halign">start</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox" id="volume_box">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkCheckButton" id="volume_checkbutton">
+ <property name="label" translatable="yes" comments="this is part of a sentence, for
example "split into volumes of 10.0 MB", where MB stands for megabyte.">Split into _volumes
of</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">True</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="volume_spinbutton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="width_chars">4</property>
+ <property name="text" translatable="yes">10,0</property>
+ <property name="adjustment">volume_adjustment</property>
+ <property name="climb_rate">1</property>
+ <property name="digits">1</property>
+ <property name="numeric">True</property>
+ <property name="value">10</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child>
- <object class="GtkBox" id="volume_box">
+ <object class="GtkLabel" id="label50">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkCheckButton" id="volume_checkbutton">
- <property name="label" translatable="yes" comments="this is part of a sentence, for
example "split into volumes of 10.0 MB", where MB stands for megabyte.">Split into _volumes
of</property>
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="xalign">0</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="volume_spinbutton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="invisible_char">●</property>
- <property name="width_chars">4</property>
- <property name="text" translatable="yes">10,0</property>
- <property name="adjustment">volume_adjustment</property>
- <property name="climb_rate">1</property>
- <property name="digits">1</property>
- <property name="numeric">True</property>
- <property name="value">10</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label50">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes" comments="MB means megabytes">MB</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
+ <property name="label" translatable="yes" comments="MB means megabytes">MB</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">True</property>
+ <property name="fill">False</property>
<property name="position">2</property>
</packing>
</child>
</object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
</child>
</object>
</child>
diff --git a/src/ui/password.ui b/src/ui/password.ui
index cbd16473..e9c214ca 100644
--- a/src/ui/password.ui
+++ b/src/ui/password.ui
@@ -13,7 +13,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label">Enter a password for "archive.tar.xz"</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="size" value="12000"/>
@@ -54,7 +54,7 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="draw_indicator">True</property>
</object>
<packing>
diff --git a/src/ui/progress-dialog.ui b/src/ui/progress-dialog.ui
index cd5ce87e..ec5c9109 100644
--- a/src/ui/progress-dialog.ui
+++ b/src/ui/progress-dialog.ui
@@ -19,7 +19,7 @@
<property name="can_focus">False</property>
<property name="wrap">True</property>
<property name="wrap_mode">word-char</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="expand">False</property>
@@ -51,7 +51,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="ellipsize">end</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="size" value="9000"/>
</attributes>
diff --git a/src/ui/properties.ui b/src/ui/properties.ui
index 8caf3f75..e2ff63ad 100644
--- a/src/ui/properties.ui
+++ b/src/ui/properties.ui
@@ -14,7 +14,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="File">Name:</property>
<property name="justify">center</property>
- <property name="xalign">1</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -31,7 +31,7 @@
<property name="selectable">True</property>
<property name="ellipsize">end</property>
<property name="width_chars">30</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -44,7 +44,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" comments="after the colon there is a folder
name.">Location:</property>
<property name="justify">center</property>
- <property name="xalign">1</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -60,7 +60,7 @@
<property name="can_focus">False</property>
<property name="selectable">True</property>
<property name="ellipsize">start</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -73,7 +73,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" comments="after the colon there is a file
type.">Type:</property>
<property name="justify">center</property>
- <property name="xalign">1</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -89,7 +89,7 @@
<property name="can_focus">False</property>
<property name="selectable">True</property>
<property name="ellipsize">start</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -102,7 +102,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Last modified:</property>
<property name="justify">center</property>
- <property name="xalign">1</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -117,7 +117,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="selectable">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -130,7 +130,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Archive size:</property>
<property name="justify">center</property>
- <property name="xalign">1</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -145,7 +145,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="selectable">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -157,7 +157,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Content size:</property>
- <property name="xalign">1</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -172,7 +172,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="selectable">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -184,7 +184,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Compression ratio:</property>
- <property name="xalign">1</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -199,7 +199,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="selectable">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -212,7 +212,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Number of files:</property>
<property name="justify">center</property>
- <property name="xalign">1</property>
+ <property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -227,7 +227,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="selectable">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="left_attach">1</property>
diff --git a/src/ui/request-dialog.ui b/src/ui/request-dialog.ui
index 656a81b0..206e6eb8 100644
--- a/src/ui/request-dialog.ui
+++ b/src/ui/request-dialog.ui
@@ -15,7 +15,7 @@
<property name="use_underline">True</property>
<property name="mnemonic_widget">value_entry</property>
<property name="ellipsize">end</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/src/ui/update.ui b/src/ui/update.ui
index 8cea1a0d..b29d2ac8 100644
--- a/src/ui/update.ui
+++ b/src/ui/update.ui
@@ -14,7 +14,7 @@
<property name="can_focus">False</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="expand">False</property>
@@ -27,7 +27,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="wrap">True</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="expand">False</property>
@@ -48,7 +48,7 @@
<property name="label" translatable="yes">S_elect the files you want to update:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">update_files_treeview</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]