[gnome-packagekit] Never duplicate the 'Remove' tab for obsoleted software
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Never duplicate the 'Remove' tab for obsoleted software
- Date: Fri, 9 Sep 2011 16:10:07 +0000 (UTC)
commit 928045addf271b54a5685a13019234b371e10612
Author: Richard Hughes <richard hughsie com>
Date: Fri Sep 9 17:01:42 2011 +0100
Never duplicate the 'Remove' tab for obsoleted software
Resolves https://bugzilla.gnome.org/show_bug.cgi?id=658662 although the dialog
should probably die in a fire for GNOME 3.4
(Also, not a string break as 'Obsoleted' is already used in gpk-enum.c)
src/gpk-task.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-task.c b/src/gpk-task.c
index 8643d3e..68b5005 100644
--- a/src/gpk-task.c
+++ b/src/gpk-task.c
@@ -405,11 +405,15 @@ gpk_task_add_dialog_deps_section (PkTask *task,
tab_label = gtk_label_new (_("Install"));
break;
case PK_INFO_ENUM_REMOVING:
- case PK_INFO_ENUM_OBSOLETING:
/* TRANSLATORS: additional message text for the deps dialog */
title = _("The following software also needs to be removed");
tab_label = gtk_label_new (_("Remove"));
break;
+ case PK_INFO_ENUM_OBSOLETING:
+ /* TRANSLATORS: additional message text for the deps dialog */
+ title = _("The following software also needs to be removed");
+ tab_label = gtk_label_new (_("Obsoleted"));
+ break;
case PK_INFO_ENUM_UPDATING:
/* TRANSLATORS: additional message text for the deps dialog */
title = _("The following software also needs to be updated");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]