[kupfer: 60/67] Update the Ascii icon set
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer: 60/67] Update the Ascii icon set
- Date: Sat, 19 Mar 2011 01:02:47 +0000 (UTC)
commit 592701173e3f79504fcc8f4915dedd4ebdb6db55
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat Mar 19 01:53:40 2011 +0100
Update the Ascii icon set
.../{character_icons.py => asciiunicodeiconset.py} | 103 +++++++++++++-------
1 files changed, 66 insertions(+), 37 deletions(-)
---
diff --git a/kupfer/plugin/character_icons.py b/kupfer/plugin/asciiunicodeiconset.py
similarity index 81%
rename from kupfer/plugin/character_icons.py
rename to kupfer/plugin/asciiunicodeiconset.py
index f0ff6d5..f192b5b 100644
--- a/kupfer/plugin/character_icons.py
+++ b/kupfer/plugin/asciiunicodeiconset.py
@@ -1,7 +1,10 @@
# encoding: utf-8
-__kupfer_name__ = _("Character Icons")
+# don't panic! This is just because it's crazy and fun! ã??
+__kupfer_name__ = _("Ascii & Unicode Icon Set")
__kupfer_sources__ = ()
-__description__ = ""
+__description__ = _("Provides the Ascii and Unicode icon sets that"
+ " use letters and symbols to produce icons for"
+ " the objects found in Kupfer.")
__version__ = ""
__author__ = "Ulrik Sverdrup"
@@ -13,7 +16,6 @@ import gtk
from kupfer import plugin_support
def initialize_plugin(name):
- print "Initialize", name
plugin_support.register_alternative(__name__, 'icon_renderer', 'ascii',
name=_("Ascii"), renderer=AsciiIconRenderer())
plugin_support.register_alternative(__name__, 'icon_renderer', 'unicode',
@@ -61,12 +63,25 @@ ascii_icon_map = {
"kupfer": "k",
"kupfer-object-multiple": "O",
"kupfer-object": "O",
- "gtk-execute": "x",
+ "gtk-execute": "o",
+ ## filetypes
"folder-saved-search": u"/",
"folder": "/",
"exec": "$",
- "application-x-generic": "$",
- "applications-office": u"$",
+ "text-x-script": "$",
+ "audio-x-generic": u"s",
+ "text-x-generic": "a",
+ "text-html": "@",
+ "image-x-generic": "c",
+ "video-x-generic": "v",
+ "application-x-executable": "$",
+ "application-x-generic": "f",
+ #"gnome-mime-application-pdf": "f",
+ #"x-office-document": "f",
+ ## actions
+ "document-open-recent": "1",
+ "applications-office": "$",
+ "applications-internet": "S",
"edit-select-all": u"\"",
"forward": u">",
"go-jump": u">",
@@ -75,76 +90,90 @@ ascii_icon_map = {
"list-add": u"+",
"list-remove": u"--",
"preferences-desktop-locale": u"L",
- "audio-x-generic": u"s",
"help-about": u"?",
"dialog-information": u"?",
"application-exit": u"X",
"window-close": u"X",
+ "gnome-window-manager": "]",
"system-shutdown": u"X",
"system-lock-screen": u"#",
- #"system-log-out": u"\N{APL FUNCTIONAL SYMBOL QUAD LEFTWARDS ARROW}",
+ "system-log-out": u"[",
"preferences-desktop": u"&",
"user-trash-full": u"X",
"user-home": u"~",
- #"emblem-favorite": u"\N{BLACK STAR}",
"emblem-favorite": "*",
#"document-open-recent": u"\N{WATCH}",
- "key_bindings": u"#",
+ "key_bindings": u"3",
"mail-message-new": u"@",
- "edit-copy": u"C",
- #"edit-undo": u"\N{UNDO SYMBOL}",
- "view-refresh": u"r",
- "text-x-generic": u"a",
- "text-html": u"@",
- #"folder": u"=",
+ "edit-copy": "C",
+ "edit-paste": "P",
+ "edit-clear": "x",
+ "edit-undo": "<",
+ "view-refresh": "r",
"drive-removable-media": u"=",
- # ok these are stretching it..
"media-skip-backward": u"<",
"media-skip-forward": u">",
"media-playback-pause": '"',
"media-playback-start": u">",
"package-x-generic": u"=",
+ "user-info": "p",
+ "stock_person": "p",
## Applications
- "user-info": u"p",
- "stock_person": u"p",
- "rhythmbox": u"R",
- #"banshee": u"\N{BEAMED EIGHTH NOTES}",
- #"audacious": u"\N{BEAMED EIGHTH NOTES}",
- #"totem": u"\N{BEAMED EIGHTH NOTES}",
+ "rhythmbox": "R",
+ "terminal": "$",
+ "banshee": "B",
+ "audacious": u"a",
+ "totem": "t",
"vlc": u"V",
"stellarium": u"*",
"preferences-desktop-keyboard": "&",
"preferences-desktop-keyboard-shortcuts": "&",
+ "session-properties": "&",
"utilities-system-monitor": "#",
- #"gnome-power-manager": u"\N{HIGH VOLTAGE SIGN}",
- #"freeciv-client": u"\N{CROSSED SWORDS}",
- #"xboard": u"\N{BLACK CHESS ROOK}",
- #"empathy": u"\N{WHITE SMILING FACE}",
- #"pidgin": u"\N{WHITE SMILING FACE}",
- #"skype": u"\N{BLACK TELEPHONE}",
+ "synaptic": "#",
+ "gnome-power-manager": u"=",
+ "xine": u"x",
+ "docky": "d",
+ "empathy": u"@",
+ "pidgin": u"@",
+ "skype": u"@",
+ "accessories-calculator": "=",
+ "dia": "D",
+ "mypaint": "y",
+ "liferea": "L",
+ "freeciv-client": "C",
+ "qbittorrent": "q",
+ "gnome-display-properties" : "]",
+ "preferences-desktop-screensaver": "]",
#"Thunar": u"\N{MALE SIGN}",
"claws-mail": "@",
"icedove": "@",
+ "gajim": "@",
+ "iceweasel": "@",
+ "firefox": "@",
+ "tomboy": "T",
+ "gnome-specimen" : "Q",
"accessories-text-editor": "g",
"openofficeorg3-writer": "W",
+ "openofficeorg3-draw": u"D",
+ "openofficeorg3-impress": u"M",
+ "openofficeorg3-calc": u"$",
"abiword_48": "W",
+ "abiword": "W",
+ "gnumeric": u"$",
"geany": "g",
- #"geany": u"\N{WRITING HAND}",
- #"zim": u"\N{WRITING HAND}",
- #"gimp": u"\N{PENCIL}",
+ "vim": "v",
+ "zim": u"Z",
"gimp": "G",
- #"openofficeorg3-draw": u"\N{PENCIL}",
+ "inkscape": "N",
"accessories-dictionary": u"A",
"accessories-character-map": u"z",
"preferences-desktop-theme": u"&",
"help-browser": u"?",
"preferences-desktop-accessibility": u"&",
+ "gconf-editor": "&",
# "ALEMBIC"
- "openofficeorg3-calc": u"$",
- "gnumeric": u"$",
"gwibber": u"@",
- ### marker
- "default": u"O",
}
unicode_icon_map = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]