[gnome-software] trivial: Show a 'requires restart' status for the system updates
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Show a 'requires restart' status for the system updates
- Date: Tue, 22 Jan 2013 12:19:19 +0000 (UTC)
commit ff8ac3cc0e3bac3c33d6ee4a97f945ca0faa162d
Author: Richard Hughes <richard hughsie com>
Date: Tue Jan 22 11:54:56 2013 +0000
trivial: Show a 'requires restart' status for the system updates
src/gs-main.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-main.c b/src/gs-main.c
index 4dc809c..6a8ce5d 100644
--- a/src/gs-main.c
+++ b/src/gs-main.c
@@ -582,7 +582,9 @@ gs_main_installed_add_os_update (GsMainPrivate *priv, PkPackage *pkg)
gs_app_widget_set_description (GS_APP_WIDGET (priv->os_update_widget),
_("Includes performance, stability and security improvements for all users"));
gs_app_widget_set_pixbuf (GS_APP_WIDGET (priv->os_update_widget), pixbuf);
- gs_app_widget_set_version (GS_APP_WIDGET (priv->os_update_widget), "3.4.3");
+ gs_app_widget_set_version (GS_APP_WIDGET (priv->os_update_widget), "Version 3.4.3");
+ /* TRANSLATORS: the update requires the user to reboot the computer */
+ gs_app_widget_set_status (GS_APP_WIDGET (priv->os_update_widget), _("Requires restart"));
gtk_container_add (GTK_CONTAINER (priv->list_box_updates), priv->os_update_widget);
gtk_widget_show_all (priv->os_update_widget);
g_object_add_weak_pointer (G_OBJECT (priv->os_update_widget),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]