[kupfer] archivemanager: Use better icon names
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] archivemanager: Use better icon names
- Date: Tue, 22 Mar 2011 23:47:30 +0000 (UTC)
commit 80f6da6bb480ef3cc085aa4f53c9d032008c47d9
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Wed Mar 23 00:45:22 2011 +0100
archivemanager: Use better icon names
kupfer/plugin/archivemanager.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/archivemanager.py b/kupfer/plugin/archivemanager.py
index 363f7cb..a87ebb3 100644
--- a/kupfer/plugin/archivemanager.py
+++ b/kupfer/plugin/archivemanager.py
@@ -62,6 +62,8 @@ class UnpackHere (Action):
yield FileLeaf
def get_description(self):
return _("Extract compressed archive")
+ def get_icon_name(self):
+ return "extract-archive"
class CreateArchive (Action):
def __init__(self):
@@ -82,6 +84,8 @@ class CreateArchive (Action):
yield FileLeaf
def get_description(self):
return _("Create a compressed archive from folder")
+ def get_icon_name(self):
+ return "add-files-to-archive"
class CreateArchiveIn (Action):
def __init__(self):
@@ -121,4 +125,6 @@ class CreateArchiveIn (Action):
return utils.is_directory_writable(obj.object)
def get_description(self):
return _("Create a compressed archive from folder")
+ def get_icon_name(self):
+ return "add-files-to-archive"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]