Blame SOURCES/0250-gui-port-to-gtk-3.13.patch

b12e4c
From 9e5eec5e69f320361f0f5230bf9159b34c91ee80 Mon Sep 17 00:00:00 2001
b12e4c
From: Jakub Filak <jfilak@redhat.com>
b12e4c
Date: Tue, 29 Jul 2014 18:59:31 +0200
b12e4c
Subject: [PATCH] gui: port to gtk-3.13
b12e4c
b12e4c
Signed-off-by: Jakub Filak <jfilak@redhat.com>
b12e4c
---
b12e4c
 src/gtk-helpers/config_dialog.c          |  7 +++-
b12e4c
 src/gtk-helpers/event_config_dialog.c    | 24 +++++++++++-
b12e4c
 src/gtk-helpers/workflow_config_dialog.c |  7 +++-
b12e4c
 src/gui-wizard-gtk/wizard.c              | 47 ++++++++++++++++++++----
b12e4c
 src/gui-wizard-gtk/wizard.glade          | 40 ++++++++++----------
b12e4c
 5 files changed, 94 insertions(+), 31 deletions(-)
b12e4c
b12e4c
diff --git a/src/gtk-helpers/config_dialog.c b/src/gtk-helpers/config_dialog.c
b12e4c
index b5835de..834ad95 100644
b12e4c
--- a/src/gtk-helpers/config_dialog.c
b12e4c
+++ b/src/gtk-helpers/config_dialog.c
b12e4c
@@ -357,7 +357,7 @@ GtkWindow *create_config_list_window(GHashTable *configs, GtkWindow *parent)
b12e4c
     //buttons
b12e4c
     GtkWidget *btn_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL,5);
b12e4c
     GtkWidget *configure_btn = gtk_button_new_with_mnemonic(_("C_onfigure"));
b12e4c
-    GtkWidget *align = gtk_alignment_new(0, 0, 0, 0);
b12e4c
+
b12e4c
     GtkWidget *close_btn = gtk_button_new_with_mnemonic(_("_Close"));
b12e4c
     GtkSizeGroup *sg = gtk_size_group_new(GTK_SIZE_GROUP_BOTH);
b12e4c
     //force apply and close to have the same size
b12e4c
@@ -368,8 +368,13 @@ GtkWindow *create_config_list_window(GHashTable *configs, GtkWindow *parent)
b12e4c
     g_signal_connect(close_btn, "clicked", (GCallback)on_close_cb, window);
b12e4c
 
b12e4c
     gtk_box_pack_start(GTK_BOX(btn_box), close_btn, 0, 0, 5);
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
+    GtkWidget *align = gtk_alignment_new(0, 0, 0, 0);
b12e4c
     gtk_box_pack_start(GTK_BOX(btn_box), align, true, true, 5);
b12e4c
     gtk_box_pack_start(GTK_BOX(btn_box), configure_btn, 0, 0, 5);
b12e4c
+#else
b12e4c
+    gtk_box_pack_end(GTK_BOX(btn_box), configure_btn, 0, 0, 5);
b12e4c
+#endif
b12e4c
 
b12e4c
 
b12e4c
     gtk_box_pack_start(GTK_BOX(main_vbox), btn_box, 0, 0, 0);
b12e4c
diff --git a/src/gtk-helpers/event_config_dialog.c b/src/gtk-helpers/event_config_dialog.c
b12e4c
index 402f6f2..590a2ed 100644
b12e4c
--- a/src/gtk-helpers/event_config_dialog.c
b12e4c
+++ b/src/gtk-helpers/event_config_dialog.c
b12e4c
@@ -35,9 +35,16 @@ static GtkWidget *gtk_label_new_justify_left(const gchar *label_str)
b12e4c
 {
b12e4c
     GtkWidget *label = gtk_label_new(label_str);
b12e4c
     gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
     gtk_misc_set_alignment(GTK_MISC(label), /*xalign:*/ 0, /*yalign:*/ 0.5);
b12e4c
     /* Make some space between label and input field to the right of it: */
b12e4c
     gtk_misc_set_padding(GTK_MISC(label), /*xpad:*/ 5, /*ypad:*/ 0);
b12e4c
+#else
b12e4c
+    gtk_widget_set_halign (label, GTK_ALIGN_START);
b12e4c
+    /* Make some space between label and input field to the right of it: */
b12e4c
+    gtk_widget_set_margin_start(label, 5);
b12e4c
+    gtk_widget_set_margin_end(label, 5);
b12e4c
+#endif
b12e4c
     return label;
b12e4c
 }
b12e4c
 
b12e4c
@@ -146,7 +153,12 @@ static void add_option_to_table(gpointer data, gpointer user_data)
b12e4c
         case OPTION_TYPE_HINT_HTML:
b12e4c
             label = gtk_label_new(option_label);
b12e4c
             gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
             gtk_misc_set_alignment(GTK_MISC(label), /*x,yalign:*/ 0.0, 0.0);
b12e4c
+#else
b12e4c
+            gtk_widget_set_halign(label, GTK_ALIGN_START);
b12e4c
+            gtk_widget_set_valign(label, GTK_ALIGN_START);
b12e4c
+#endif
b12e4c
             make_label_autowrap_on_resize(GTK_LABEL(label));
b12e4c
 
b12e4c
             last_row = add_one_row_to_grid(option_table);
b12e4c
@@ -178,7 +190,12 @@ static void add_option_to_table(gpointer data, gpointer user_data)
b12e4c
     {
b12e4c
         label = gtk_label_new(option->eo_note_html);
b12e4c
         gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
         gtk_misc_set_alignment(GTK_MISC(label), /*x,yalign:*/ 0.0, 0.0);
b12e4c
+#else
b12e4c
+        gtk_widget_set_halign(label, GTK_ALIGN_START);
b12e4c
+        gtk_widget_set_valign(label, GTK_ALIGN_START);
b12e4c
+#endif
b12e4c
         make_label_autowrap_on_resize(GTK_LABEL(label));
b12e4c
 
b12e4c
         last_row = add_one_row_to_grid(option_table);
b12e4c
@@ -194,9 +211,14 @@ static GtkWidget *create_event_config_grid()
b12e4c
 {
b12e4c
     GtkWidget *option_table = gtk_grid_new();
b12e4c
 
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 11) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 11 && GTK_MICRO_VERSION < 2))
b12e4c
     gtk_widget_set_margin_left(option_table, 5);
b12e4c
-    gtk_widget_set_margin_top(option_table, 5);
b12e4c
     gtk_widget_set_margin_right(option_table, 5);
b12e4c
+#else
b12e4c
+    gtk_widget_set_margin_start(option_table, 5);
b12e4c
+    gtk_widget_set_margin_end(option_table, 5);
b12e4c
+#endif
b12e4c
+    gtk_widget_set_margin_top(option_table, 5);
b12e4c
     gtk_widget_set_margin_bottom(option_table, 5);
b12e4c
 
b12e4c
     gtk_grid_set_row_homogeneous(GTK_GRID(option_table), FALSE);
b12e4c
diff --git a/src/gtk-helpers/workflow_config_dialog.c b/src/gtk-helpers/workflow_config_dialog.c
b12e4c
index 7b7fe32..3280875 100644
b12e4c
--- a/src/gtk-helpers/workflow_config_dialog.c
b12e4c
+++ b/src/gtk-helpers/workflow_config_dialog.c
b12e4c
@@ -37,9 +37,14 @@ static void create_event_config_dialog_content_cb(event_config_t *ec, gpointer n
b12e4c
     GtkWidget *ev_lbl = gtk_label_new(ec_get_screen_name(ec));
b12e4c
 
b12e4c
     GtkWidget *content = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 11) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 11 && GTK_MICRO_VERSION < 2))
b12e4c
     gtk_widget_set_margin_left(content, 10);
b12e4c
-    gtk_widget_set_margin_top(content, 5);
b12e4c
     gtk_widget_set_margin_right(content, 10);
b12e4c
+#else
b12e4c
+    gtk_widget_set_margin_start(content, 10);
b12e4c
+    gtk_widget_set_margin_end(content, 10);
b12e4c
+#endif
b12e4c
+    gtk_widget_set_margin_top(content, 5);
b12e4c
     gtk_widget_set_margin_bottom(content, 10);
b12e4c
 
b12e4c
     config_dialog_t *cdialog = create_event_config_dialog_content(ec, (GtkWidget *)content);
b12e4c
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
b12e4c
index eb0dee7..8df71c9 100644
b12e4c
--- a/src/gui-wizard-gtk/wizard.c
b12e4c
+++ b/src/gui-wizard-gtk/wizard.c
b12e4c
@@ -326,12 +326,19 @@ static void wrap_fixer(GtkWidget *widget, gpointer data_unused)
b12e4c
     {
b12e4c
         GtkLabel *label = (GtkLabel*)widget;
b12e4c
         //const char *txt = gtk_label_get_label(label);
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
         GtkMisc *misc = (GtkMisc*)widget;
b12e4c
         gfloat yalign; // = 111;
b12e4c
         gint ypad; // = 111;
b12e4c
         if (gtk_label_get_line_wrap(label)
b12e4c
          && (gtk_misc_get_alignment(misc, NULL, &yalign), yalign == 0)
b12e4c
          && (gtk_misc_get_padding(misc, NULL, &ypad), ypad == 0)
b12e4c
+#else
b12e4c
+        if (gtk_label_get_line_wrap(label)
b12e4c
+         && (gtk_widget_get_halign(widget) == GTK_ALIGN_START)
b12e4c
+         && (gtk_widget_get_margin_top(widget) == 0)
b12e4c
+         && (gtk_widget_get_margin_bottom(widget) == 0)
b12e4c
+#endif
b12e4c
         ) {
b12e4c
             //log("label '%s' set to autowrap", txt);
b12e4c
             make_label_autowrap_on_resize(label);
b12e4c
@@ -1065,7 +1072,12 @@ static event_gui_data_t *add_event_buttons(GtkBox *box,
b12e4c
     if (!event_name || !event_name[0])
b12e4c
     {
b12e4c
         GtkWidget *lbl = gtk_label_new(_("No reporting targets are defined for this problem. Check configuration in /etc/libreport/*"));
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
         gtk_misc_set_alignment(GTK_MISC(lbl), /*x*/ 0.0, /*y*/ 0.0);
b12e4c
+#else
b12e4c
+        gtk_widget_set_halign (lbl, GTK_ALIGN_START);
b12e4c
+        gtk_widget_set_valign (lbl, GTK_ALIGN_END);
b12e4c
+#endif
b12e4c
         make_label_autowrap_on_resize(GTK_LABEL(lbl));
b12e4c
         gtk_box_pack_start(box, lbl, /*expand*/ true, /*fill*/ false, /*padding*/ 0);
b12e4c
         return NULL;
b12e4c
@@ -1720,12 +1732,13 @@ static void hide_next_step_button()
b12e4c
     /* 1. hide next button */
b12e4c
     gtk_widget_hide(g_btn_next);
b12e4c
     /* 2. move close button to the last position */
b12e4c
-    gtk_box_reorder_child(g_box_buttons, g_btn_close, 4);
b12e4c
+    gtk_box_set_child_packing(g_box_buttons, g_btn_close, false, false, 5, GTK_PACK_END);
b12e4c
 }
b12e4c
 
b12e4c
 static void show_next_step_button()
b12e4c
 {
b12e4c
-    gtk_box_reorder_child(g_box_buttons, g_btn_close, 0);
b12e4c
+    gtk_box_set_child_packing(g_box_buttons, g_btn_close, false, false, 5, GTK_PACK_START);
b12e4c
+
b12e4c
     gtk_widget_show(g_btn_next);
b12e4c
 }
b12e4c
 
b12e4c
@@ -2253,7 +2266,12 @@ static void add_warning(const char *warning)
b12e4c
     /* should be safe to free it, gtk calls strdup() to copy it */
b12e4c
     free(label_str);
b12e4c
 
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
     gtk_misc_set_alignment(GTK_MISC(warning_lbl), 0.0, 0.0);
b12e4c
+#else
b12e4c
+    gtk_widget_set_halign (warning_lbl, GTK_ALIGN_START);
b12e4c
+    gtk_widget_set_valign (warning_lbl, GTK_ALIGN_END);
b12e4c
+#endif
b12e4c
     gtk_label_set_justify(GTK_LABEL(warning_lbl), GTK_JUSTIFY_LEFT);
b12e4c
     gtk_label_set_line_wrap(GTK_LABEL(warning_lbl), TRUE);
b12e4c
 
b12e4c
@@ -3748,17 +3766,16 @@ void create_assistant(GtkApplication *app, bool expert_mode)
b12e4c
     gtk_box_pack_start(g_box_buttons, g_btn_onfail, false, false, 5);
b12e4c
     gtk_box_pack_start(g_box_buttons, g_btn_repeat, false, false, 5);
b12e4c
     /* Btns above are to the left, the rest are to the right: */
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
     GtkWidget *w = gtk_alignment_new(0.0, 0.0, 1.0, 1.0);
b12e4c
     gtk_box_pack_start(g_box_buttons, w, true, true, 5);
b12e4c
     gtk_box_pack_start(g_box_buttons, g_btn_next, false, false, 5);
b12e4c
+#else
b12e4c
+    gtk_widget_set_valign(GTK_WIDGET(g_btn_next), GTK_ALIGN_END);
b12e4c
+    gtk_box_pack_end(g_box_buttons, g_btn_next, false, false, 5);
b12e4c
+#endif
b12e4c
 
b12e4c
     {   /* Warnings area widget definition start */
b12e4c
-        GtkWidget *alignment_left = gtk_alignment_new(0.5,0.5,1,1);
b12e4c
-        gtk_widget_set_visible(alignment_left, TRUE);
b12e4c
-
b12e4c
-        GtkWidget *alignment_right = gtk_alignment_new(0.5,0.5,1,1);
b12e4c
-        gtk_widget_set_visible(alignment_right, TRUE);
b12e4c
-
b12e4c
         g_box_warning_labels = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL, 0));
b12e4c
         gtk_widget_set_visible(GTK_WIDGET(g_box_warning_labels), TRUE);
b12e4c
 
b12e4c
@@ -3772,10 +3789,24 @@ void create_assistant(GtkApplication *app, bool expert_mode)
b12e4c
         g_widget_warnings_area = GTK_WIDGET(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0));
b12e4c
         gtk_widget_set_visible(g_widget_warnings_area, FALSE);
b12e4c
         gtk_widget_set_no_show_all(g_widget_warnings_area, TRUE);
b12e4c
+
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
+        GtkWidget *alignment_left = gtk_alignment_new(0.5,0.5,1,1);
b12e4c
+        gtk_widget_set_visible(alignment_left, TRUE);
b12e4c
         gtk_box_pack_start(GTK_BOX(g_widget_warnings_area), alignment_left, true, false, 0);
b12e4c
+#else
b12e4c
+        gtk_widget_set_valign(GTK_WIDGET(image), GTK_ALIGN_CENTER);
b12e4c
+        gtk_widget_set_valign(GTK_WIDGET(vbox), GTK_ALIGN_CENTER);
b12e4c
+#endif
b12e4c
+
b12e4c
         gtk_box_pack_start(GTK_BOX(g_widget_warnings_area), image, false, false, 5);
b12e4c
         gtk_box_pack_start(GTK_BOX(g_widget_warnings_area), GTK_WIDGET(vbox), false, false, 0);
b12e4c
+
b12e4c
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 13) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 13 && GTK_MICRO_VERSION < 5))
b12e4c
         gtk_box_pack_start(GTK_BOX(g_widget_warnings_area), alignment_right, true, false, 0);
b12e4c
+        GtkWidget *alignment_right = gtk_alignment_new(0.5,0.5,1,1);
b12e4c
+        gtk_widget_set_visible(alignment_right, TRUE);
b12e4c
+#endif
b12e4c
     }   /* Warnings area widget definition end */
b12e4c
 
b12e4c
     g_box_assistant = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL, 0));
b12e4c
diff --git a/src/gui-wizard-gtk/wizard.glade b/src/gui-wizard-gtk/wizard.glade
b12e4c
index b691e4d..dc67ae0 100644
b12e4c
--- a/src/gui-wizard-gtk/wizard.glade
b12e4c
+++ b/src/gui-wizard-gtk/wizard.glade
b12e4c
@@ -28,8 +28,8 @@
b12e4c
           <object class="GtkLabel" id="lbl_cd_reason">
b12e4c
             <property name="visible">True</property>
b12e4c
             <property name="can_focus">False</property>
b12e4c
-            <property name="xalign">0</property>
b12e4c
-            <property name="yalign">0</property>
b12e4c
+            <property name="halign">start</property>
b12e4c
+            <property name="valign">start</property>
b12e4c
             <property name="wrap">True</property>
b12e4c
             <attributes>
b12e4c
               <attribute name="style" value="normal"/>
b12e4c
@@ -47,8 +47,8 @@
b12e4c
           <object class="GtkLabel" id="label7">
b12e4c
             <property name="visible">True</property>
b12e4c
             <property name="can_focus">False</property>
b12e4c
-            <property name="xalign">0</property>
b12e4c
-            <property name="yalign">0</property>
b12e4c
+            <property name="halign">start</property>
b12e4c
+            <property name="valign">start</property>
b12e4c
             <property name="label" translatable="yes">On the following screens, you will be asked to describe how the problem occurred, to choose how to analyze the problem (if needed), to review collected data, and to choose where the problem should be reported. Click 'Forward' to proceed.</property>
b12e4c
             <property name="wrap">True</property>
b12e4c
           </object>
b12e4c
@@ -107,8 +107,8 @@
b12e4c
           <object class="GtkLabel" id="label1">
b12e4c
             <property name="visible">True</property>
b12e4c
             <property name="can_focus">False</property>
b12e4c
-            <property name="xalign">0</property>
b12e4c
-            <property name="yalign">0</property>
b12e4c
+            <property name="halign">start</property>
b12e4c
+            <property name="valign">start</property>
b12e4c
             <property name="label" translatable="yes">How did this problem happen (step-by-step)? How can it be reproduced? Any additional comments useful for diagnosing the problem? Please use English if possible.</property>
b12e4c
             <property name="wrap">True</property>
b12e4c
             <property name="xalign">0</property>
b12e4c
@@ -306,7 +306,7 @@
b12e4c
               <object class="GtkLabel" id="label9">
b12e4c
                 <property name="visible">True</property>
b12e4c
                 <property name="can_focus">False</property>
b12e4c
-                <property name="xalign">1</property>
b12e4c
+                <property name="xalign">end</property>
b12e4c
                 <property name="label" translatable="yes">If you don't know how to describe it, you can</property>
b12e4c
               </object>
b12e4c
               <packing>
b12e4c
@@ -323,7 +323,7 @@
b12e4c
                 <property name="receives_default">True</property>
b12e4c
                 <property name="has_tooltip">True</property>
b12e4c
                 <property name="relief">none</property>
b12e4c
-                <property name="xalign">0</property>
b12e4c
+                <property name="halign">start</property>
b12e4c
               </object>
b12e4c
               <packing>
b12e4c
                 <property name="expand">False</property>
b12e4c
@@ -436,8 +436,8 @@
b12e4c
           <object class="GtkLabel" id="label8">
b12e4c
             <property name="visible">True</property>
b12e4c
             <property name="can_focus">False</property>
b12e4c
-            <property name="xalign">0</property>
b12e4c
-            <property name="yalign">0</property>
b12e4c
+            <property name="halign">start</property>
b12e4c
+            <property name="valign">start</property>
b12e4c
             <property name="label" translatable="yes">Please review the data before it gets reported. Depending on reporter chosen, it may end up publicly visible.</property>
b12e4c
             <property name="wrap">True</property>
b12e4c
           </object>
b12e4c
@@ -503,7 +503,7 @@
b12e4c
                             <property name="visible">True</property>
b12e4c
                             <property name="can_focus">True</property>
b12e4c
                             <property name="receives_default">False</property>
b12e4c
-                            <property name="xalign">0</property>
b12e4c
+                            <property name="halign">start</property>
b12e4c
                             <property name="active">True</property>
b12e4c
                             <property name="draw_indicator">True</property>
b12e4c
                           </object>
b12e4c
@@ -519,7 +519,7 @@
b12e4c
                             <property name="visible">True</property>
b12e4c
                             <property name="can_focus">True</property>
b12e4c
                             <property name="receives_default">False</property>
b12e4c
-                            <property name="xalign">0</property>
b12e4c
+                            <property name="halign">start</property>
b12e4c
                             <property name="draw_indicator">True</property>
b12e4c
                             <property name="group">rb_forbidden_words</property>
b12e4c
                           </object>
b12e4c
@@ -650,7 +650,7 @@
b12e4c
               <object class="GtkLabel" id="label4">
b12e4c
                 <property name="visible">True</property>
b12e4c
                 <property name="can_focus">False</property>
b12e4c
-                <property name="xalign">0</property>
b12e4c
+                <property name="halign">start</property>
b12e4c
                 <property name="label" translatable="yes">Size:</property>
b12e4c
                 <property name="justify">right</property>
b12e4c
                 <attributes>
b12e4c
@@ -666,7 +666,7 @@
b12e4c
               <object class="GtkLabel" id="lbl_size">
b12e4c
                 <property name="visible">True</property>
b12e4c
                 <property name="can_focus">False</property>
b12e4c
-                <property name="xalign">0</property>
b12e4c
+                <property name="halign">start</property>
b12e4c
               </object>
b12e4c
               <packing>
b12e4c
                 <property name="left_attach">1</property>
b12e4c
@@ -731,7 +731,7 @@
b12e4c
             <property name="receives_default">False</property>
b12e4c
             <property name="tooltip_text" translatable="yes">If you are reporting to a remote server, make sure you removed all private data (such as usernames and passwords). Backtrace, command line, environment variables are the typical items in need of examining.</property>
b12e4c
             <property name="use_underline">True</property>
b12e4c
-            <property name="xalign">0</property>
b12e4c
+            <property name="halign">start</property>
b12e4c
             <property name="draw_indicator">True</property>
b12e4c
           </object>
b12e4c
           <packing>
b12e4c
@@ -785,7 +785,7 @@
b12e4c
               <object class="GtkLabel" id="lbl_event_log">
b12e4c
                 <property name="visible">True</property>
b12e4c
                 <property name="can_focus">False</property>
b12e4c
-                <property name="xalign">0</property>
b12e4c
+                <property name="halign">start</property>
b12e4c
                 <property name="label" translatable="yes">Processing did not start yet</property>
b12e4c
                 <property name="use_markup">True</property>
b12e4c
                 <property name="justify">fill</property>
b12e4c
@@ -854,8 +854,8 @@
b12e4c
           <object class="GtkLabel" id="label2">
b12e4c
             <property name="visible">True</property>
b12e4c
             <property name="can_focus">False</property>
b12e4c
-            <property name="xalign">0</property>
b12e4c
-            <property name="yalign">0</property>
b12e4c
+            <property name="halign">start</property>
b12e4c
+            <property name="valign">start</property>
b12e4c
             <property name="label" translatable="yes">Reporting has finished. You can close this window now.</property>
b12e4c
             <property name="wrap">True</property>
b12e4c
           </object>
b12e4c
@@ -869,8 +869,8 @@
b12e4c
           <object class="GtkLabel" id="label6">
b12e4c
             <property name="visible">True</property>
b12e4c
             <property name="can_focus">False</property>
b12e4c
-            <property name="xalign">0</property>
b12e4c
-            <property name="yalign">0</property>
b12e4c
+            <property name="halign">start</property>
b12e4c
+            <property name="valign">start</property>
b12e4c
             <property name="label" translatable="yes">If you want to report the problem to a different destination, collect additional information, or provide a better problem description and repeat reporting process, press 'Forward'.</property>
b12e4c
             <property name="wrap">True</property>
b12e4c
           </object>
b12e4c
-- 
b12e4c
2.21.0
b12e4c