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