[gnome-packagekit] Remove support for rollback, it's been removed in PackageKit



commit 68bd792335059ae57cb527b62385f72244065d8a
Author: Richard Hughes <richard hughsie com>
Date:   Sun Jun 3 21:55:17 2012 +0100

    Remove support for rollback, it's been removed in PackageKit

 data/icons/16x16/status/Makefile.am        |    1 -
 data/icons/16x16/status/pk-rollback.png    |  Bin 1808 -> 0 bytes
 data/icons/22x22/status/Makefile.am        |    1 -
 data/icons/22x22/status/pk-rollback.png    |  Bin 1074 -> 0 bytes
 data/icons/24x24/status/Makefile.am        |    1 -
 data/icons/24x24/status/pk-rollback.png    |  Bin 1826 -> 0 bytes
 data/icons/48x48/status/Makefile.am        |    1 -
 data/icons/48x48/status/pk-rollback.png    |  Bin 2852 -> 0 bytes
 data/icons/scalable/status/Makefile.am     |    1 -
 data/icons/scalable/status/pk-rollback.svg |  353 ----------------------------
 help/C/gnome-packagekit.xml                |    4 -
 src/gpk-enum.c                             |   15 --
 12 files changed, 0 insertions(+), 377 deletions(-)
---
diff --git a/data/icons/16x16/status/Makefile.am b/data/icons/16x16/status/Makefile.am
index e1ed951..dd33006 100644
--- a/data/icons/16x16/status/Makefile.am
+++ b/data/icons/16x16/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA = 				\
 	pk-update-normal.png		\
 	pk-update-security.png		\
 	pk-refresh-cache.png		\
-	pk-rollback.png			\
 	pk-service-pack.png		\
 	pk-setup.png			\
 	pk-wait.png
diff --git a/data/icons/22x22/status/Makefile.am b/data/icons/22x22/status/Makefile.am
index 34061f7..dde9518 100644
--- a/data/icons/22x22/status/Makefile.am
+++ b/data/icons/22x22/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA = 				\
 	pk-update-normal.png		\
 	pk-update-security.png		\
 	pk-refresh-cache.png		\
-	pk-rollback.png			\
 	pk-service-pack.png		\
 	pk-setup.png			\
 	pk-wait.png
diff --git a/data/icons/24x24/status/Makefile.am b/data/icons/24x24/status/Makefile.am
index 4fc4000..7454037 100644
--- a/data/icons/24x24/status/Makefile.am
+++ b/data/icons/24x24/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA = 				\
 	pk-update-normal.png		\
 	pk-update-security.png		\
 	pk-refresh-cache.png		\
-	pk-rollback.png			\
 	pk-service-pack.png		\
 	pk-setup.png			\
 	pk-wait.png
diff --git a/data/icons/48x48/status/Makefile.am b/data/icons/48x48/status/Makefile.am
index eb00d5f..786c389 100644
--- a/data/icons/48x48/status/Makefile.am
+++ b/data/icons/48x48/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA = 				\
 	pk-update-normal.png		\
 	pk-update-security.png		\
 	pk-refresh-cache.png		\
-	pk-rollback.png			\
 	pk-service-pack.png		\
 	pk-setup.png			\
 	pk-wait.png
diff --git a/data/icons/scalable/status/Makefile.am b/data/icons/scalable/status/Makefile.am
index a182c8f..a625ea0 100644
--- a/data/icons/scalable/status/Makefile.am
+++ b/data/icons/scalable/status/Makefile.am
@@ -26,7 +26,6 @@ icons_DATA = 				\
 	pk-update-normal.svg		\
 	pk-update-security.svg		\
 	pk-refresh-cache.svg		\
-	pk-rollback.svg			\
 	pk-service-pack.svg		\
 	pk-setup.svg			\
 	pk-wait.svg
diff --git a/help/C/gnome-packagekit.xml b/help/C/gnome-packagekit.xml
index 66665e2..dedec77 100644
--- a/help/C/gnome-packagekit.xml
+++ b/help/C/gnome-packagekit.xml
@@ -524,10 +524,6 @@
     installed.
     The filter will match on the package name, version or architecture.
   </para>
-  <para>
-    It can also can be used to roll back to a specific point for package
-    backends that support <literal>RollBack</literal>.
- </para>
 </section>
 
 <section id="service-pack">
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index afb5b58..0fea178 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -86,7 +86,6 @@ static const PkEnumMatch enum_status_icon_name[] = {
 	{PK_STATUS_ENUM_REMOVE,			"pk-package-delete"},
 	{PK_STATUS_ENUM_REPACKAGING,		"pk-package-cleanup"},
 	{PK_STATUS_ENUM_REQUEST,		"pk-package-search"},
-	{PK_STATUS_ENUM_ROLLBACK,		"pk-package-info"}, /* TODO: need better icon */
 	{PK_STATUS_ENUM_RUNNING,		"pk-setup"},
 	{PK_STATUS_ENUM_SCAN_APPLICATIONS,	"pk-package-search"}, /* TODO: need better icon */
 	{PK_STATUS_ENUM_SETUP,			"pk-setup"},
@@ -127,7 +126,6 @@ static const PkEnumMatch enum_status_animation[] = {
 	{PK_STATUS_ENUM_REMOVE,			"pk-action-removing"},
 	{PK_STATUS_ENUM_REPACKAGING,		"pk-package-info"},
 	{PK_STATUS_ENUM_REQUEST,		"process-working"},
-	{PK_STATUS_ENUM_ROLLBACK,		"pk-action-removing"},
 	{PK_STATUS_ENUM_RUNNING,		"pk-setup"},
 	{PK_STATUS_ENUM_SCAN_APPLICATIONS,	"pk-action-searching"},
 	{PK_STATUS_ENUM_SETUP,			"pk-package-info"},
@@ -166,7 +164,6 @@ static const PkEnumMatch enum_role_icon_name[] = {
 	{PK_ROLE_ENUM_REPO_ENABLE,		"pk-package-sources"},
 	{PK_ROLE_ENUM_REPO_SET_DATA,		"pk-package-sources"},
 	{PK_ROLE_ENUM_RESOLVE,			"pk-package-search"},
-	{PK_ROLE_ENUM_ROLLBACK,			"pk-rollback"},
 	{PK_ROLE_ENUM_SEARCH_DETAILS,		"pk-package-search"},
 	{PK_ROLE_ENUM_SEARCH_FILE,		"pk-package-search"},
 	{PK_ROLE_ENUM_SEARCH_GROUP,		"pk-package-search"},
@@ -980,10 +977,6 @@ gpk_status_enum_to_localised_text (PkStatusEnum status)
 		/* TRANSLATORS: transaction state, checking if we have all the security keys for the operation */
 		text = _("Checking signatures");
 		break;
-	case PK_STATUS_ENUM_ROLLBACK:
-		/* TRANSLATORS: transaction state, when we return to a previous system state */
-		text = _("Rolling back");
-		break;
 	case PK_STATUS_ENUM_TEST_COMMIT:
 		/* TRANSLATORS: transaction state, when we're doing a test transaction */
 		text = _("Testing changes");
@@ -1352,10 +1345,6 @@ gpk_role_enum_to_localised_present (PkRoleEnum role)
 		/* TRANSLATORS: The role of the transaction, in present tense */
 		text = _("Canceling");
 		break;
-	case PK_ROLE_ENUM_ROLLBACK:
-		/* TRANSLATORS: The role of the transaction, in present tense */
-		text = _("Rolling back");
-		break;
 	case PK_ROLE_ENUM_GET_REPO_LIST:
 		/* TRANSLATORS: The role of the transaction, in present tense */
 		text = _("Getting list of repositories");
@@ -1520,10 +1509,6 @@ gpk_role_enum_to_localised_past (PkRoleEnum role)
 		/* TRANSLATORS: The role of the transaction, in past tense */
 		text = _("Canceled");
 		break;
-	case PK_ROLE_ENUM_ROLLBACK:
-		/* TRANSLATORS: The role of the transaction, in past tense */
-		text = _("Rolled back");
-		break;
 	case PK_ROLE_ENUM_GET_REPO_LIST:
 		/* TRANSLATORS: The role of the transaction, in past tense */
 		text = _("Got list of repositories");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]