[gnome-software] improve appearance of fail message
- From: Allan Day <allanday src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] improve appearance of fail message
- Date: Thu, 9 Feb 2017 11:47:08 +0000 (UTC)
commit 533e1a66cba2c669db9de85f6828a1297823fb4d
Author: Allan Day <allanpday gmail com>
Date: Thu Feb 9 10:26:04 2017 +0000
improve appearance of fail message
Improve spacing, alignment and wording.
src/gs-shell-details.c | 2 +-
src/gs-shell-details.ui | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index ddff6d1..5a26a87 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -1419,7 +1419,7 @@ gs_shell_details_app_refine_cb (GObject *source,
const gchar *id;
id = gs_app_get_id (self->app);
- str = g_strdup_printf (_("Could not find ā%sā"), id == NULL ? gs_app_get_source_default
(self->app) : id);
+ str = g_strdup_printf (_("Unable to find ā%sā"), id == NULL ? gs_app_get_source_default
(self->app) : id);
gtk_label_set_text (GTK_LABEL (self->label_failed), str);
gs_shell_details_set_state (self, GS_SHELL_DETAILS_STATE_FAILED);
return;
diff --git a/src/gs-shell-details.ui b/src/gs-shell-details.ui
index 3b25610..ea81c61 100644
--- a/src/gs-shell-details.ui
+++ b/src/gs-shell-details.ui
@@ -1281,7 +1281,7 @@
<object class="GtkBox" id="box_failed">
<property name="visible">True</property>
<property name="orientation">vertical</property>
- <property name="spacing">12</property>
+ <property name="spacing">24</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
@@ -1303,6 +1303,7 @@
<property name="can_focus">False</property>
<property name="wrap">True</property>
<property name="max-width-chars">60</property>
+ <property name="justify">center</property>
<attributes>
<attribute name="scale" value="1.4"/>
</attributes>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]