[kupfer] fileactions, thunar: Use arrow icon for move action
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] fileactions, thunar: Use arrow icon for move action
- Date: Tue, 22 Mar 2011 23:47:35 +0000 (UTC)
commit c1ead9eb640fbcf28059d2f8fefe091e75b7c380
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Wed Mar 23 00:45:22 2011 +0100
fileactions, thunar: Use arrow icon for move action
kupfer/plugin/fileactions.py | 2 ++
kupfer/plugin/thunar.py | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/fileactions.py b/kupfer/plugin/fileactions.py
index 2e88e9f..2626d02 100644
--- a/kupfer/plugin/fileactions.py
+++ b/kupfer/plugin/fileactions.py
@@ -65,6 +65,8 @@ class MoveTo (Action, pretty.OutputMixin):
return _good_destination(obj.object, for_item.object)
def get_description(self):
return _("Move file to new location")
+ def get_icon_name(self):
+ return "go-next"
class RenameSource (TextSource):
"""A source for new names for a file;
diff --git a/kupfer/plugin/thunar.py b/kupfer/plugin/thunar.py
index 35f900b..d3c382f 100644
--- a/kupfer/plugin/thunar.py
+++ b/kupfer/plugin/thunar.py
@@ -247,6 +247,8 @@ class MoveTo (Action, pretty.OutputMixin):
return _good_destination(obj.object, for_item.object)
def get_description(self):
return _("Move file to new location")
+ def get_icon_name(self):
+ return "go-next"
class EmptyTrash (RunnableLeaf):
def __init__(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]