[gnome-software] update dialog: Show full version for updates
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] update dialog: Show full version for updates
- Date: Sat, 7 Jun 2014 10:47:20 +0000 (UTC)
commit dbdeeb236ebefce28ab5d7cc9a2687df04e722a7
Author: Kalev Lember <kalevlember gmail com>
Date: Fri Jun 6 21:52:23 2014 +0200
update dialog: Show full version for updates
When the user clicks around for details, they are likely to be
interested in the exact version, so let's show that.
This brings the update dialog closer to the mockup in
https://bugzilla.gnome.org/show_bug.cgi?id=727981
src/gs-update-dialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-update-dialog.c b/src/gs-update-dialog.c
index 660575a..01daa48 100644
--- a/src/gs-update-dialog.c
+++ b/src/gs-update-dialog.c
@@ -93,7 +93,7 @@ set_updates_description_ui (GsUpdateDialog *dialog, GsApp *app)
} else {
tmp = g_strdup_printf ("%s %s",
gs_app_get_source_default (app),
- gs_app_get_update_version_ui (app));
+ gs_app_get_update_version (app));
gtk_window_set_title (GTK_WINDOW (dialog), tmp);
g_free (tmp);
}
@@ -236,7 +236,7 @@ gs_update_dialog_show_update_details (GsUpdateDialog *dialog, GsApp *app)
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
gtk_box_pack_start (GTK_BOX (row), label, TRUE, TRUE, 0);
- label = gtk_label_new (gs_app_get_update_version_ui (app_related));
+ label = gtk_label_new (gs_app_get_update_version (app_related));
g_object_set (label,
"margin-left", 20,
"margin-right", 20,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]