diff --git a/yomi_base/img/information.png b/yomi_base/img/icon_action_about.png
similarity index 100%
rename from yomi_base/img/information.png
rename to yomi_base/img/icon_action_about.png
diff --git a/yomi_base/img/page_copy.png b/yomi_base/img/icon_action_copy_definition.png
similarity index 100%
rename from yomi_base/img/page_copy.png
rename to yomi_base/img/icon_action_copy_definition.png
diff --git a/yomi_base/img/email.png b/yomi_base/img/icon_action_feedback.png
similarity index 100%
rename from yomi_base/img/email.png
rename to yomi_base/img/icon_action_feedback.png
diff --git a/yomi_base/img/find.png b/yomi_base/img/icon_action_find.png
similarity index 100%
rename from yomi_base/img/find.png
rename to yomi_base/img/icon_action_find.png
diff --git a/yomi_base/img/world_go.png b/yomi_base/img/icon_action_homepage.png
similarity index 100%
rename from yomi_base/img/world_go.png
rename to yomi_base/img/icon_action_homepage.png
diff --git a/yomi_base/img/folder_page.png b/yomi_base/img/icon_action_open.png
similarity index 100%
rename from yomi_base/img/folder_page.png
rename to yomi_base/img/icon_action_open.png
diff --git a/yomi_base/img/wrench.png b/yomi_base/img/icon_action_preferences.png
similarity index 100%
rename from yomi_base/img/wrench.png
rename to yomi_base/img/icon_action_preferences.png
diff --git a/yomi_base/img/cross.png b/yomi_base/img/icon_action_quit.png
similarity index 100%
rename from yomi_base/img/cross.png
rename to yomi_base/img/icon_action_quit.png
diff --git a/yomi_base/img/magnifier_zoom_in.png b/yomi_base/img/icon_action_zoom_in.png
similarity index 100%
rename from yomi_base/img/magnifier_zoom_in.png
rename to yomi_base/img/icon_action_zoom_in.png
diff --git a/yomi_base/img/magifier_zoom_out.png b/yomi_base/img/icon_action_zoom_out.png
similarity index 100%
rename from yomi_base/img/magifier_zoom_out.png
rename to yomi_base/img/icon_action_zoom_out.png
diff --git a/yomi_base/img/magnifier.png b/yomi_base/img/icon_action_zoom_reset.png
similarity index 100%
rename from yomi_base/img/magnifier.png
rename to yomi_base/img/icon_action_zoom_reset.png
diff --git a/yomi_base/img/add.png b/yomi_base/img/icon_add_expression.png
similarity index 100%
rename from yomi_base/img/add.png
rename to yomi_base/img/icon_add_expression.png
diff --git a/yomi_base/img/bullet_add.png b/yomi_base/img/icon_add_reading.png
similarity index 100%
rename from yomi_base/img/bullet_add.png
rename to yomi_base/img/icon_add_reading.png
diff --git a/yomi_base/img/logo32x32.png b/yomi_base/img/icon_logo_32.png
similarity index 100%
rename from yomi_base/img/logo32x32.png
rename to yomi_base/img/icon_logo_32.png
diff --git a/yomi_base/img/logo64x64.png b/yomi_base/img/icon_logo_64.png
similarity index 100%
rename from yomi_base/img/logo64x64.png
rename to yomi_base/img/icon_logo_64.png
diff --git a/yomi_base/img/logo9x9.png b/yomi_base/img/icon_logo_9.png
similarity index 100%
rename from yomi_base/img/logo9x9.png
rename to yomi_base/img/icon_logo_9.png
diff --git a/yomi_base/img/tick.png b/yomi_base/img/tick.png
deleted file mode 100644
index a9925a0..0000000
Binary files a/yomi_base/img/tick.png and /dev/null differ
diff --git a/yomi_base/reader.py b/yomi_base/reader.py
index 24173f9..268f889 100644
--- a/yomi_base/reader.py
+++ b/yomi_base/reader.py
@@ -251,7 +251,7 @@ class MainWindowReader(QtGui.QMainWindow):
command, index = unicode(url.toString()).split(':')
definition = self.state.definitions[int(index)]
- if command == 'addFactExpression':
+ if command == 'addExpression':
markup = reader_util.buildFactMarkupExpression(
definition.expression,
definition.reading,
@@ -259,7 +259,7 @@ class MainWindowReader(QtGui.QMainWindow):
definition.sentence
)
self.ankiAddFact(markup)
- if command == 'addFactReading':
+ if command == 'addReading':
markup = reader_util.buildFactMarkupReading(
definition.reading,
definition.glossary,
diff --git a/yomi_base/reader_util.py b/yomi_base/reader_util.py
index 3b0de77..9f20dbc 100644
--- a/yomi_base/reader_util.py
+++ b/yomi_base/reader_util.py
@@ -152,9 +152,9 @@ def buildDefinitionHtml(definition, factIndex, factQuery):
links = ''.format(factIndex, buildResPath('img/page_copy.png'))
if factQuery:
if factQuery(buildFactMarkupExpression(definition.expression, definition.reading, definition.glossary)):
- links += ''.format(factIndex, buildResPath('img/add.png'))
+ links += ''.format(factIndex, buildResPath('img/icon_add_expression.png'))
if factQuery(buildFactMarkupReading(definition.reading, definition.glossary)):
- links += ''.format(factIndex, buildResPath('img/bullet_add.png'))
+ links += ''.format(factIndex, buildResPath('img/icon_add_reading.png'))
html = u"""
{0}
diff --git a/yomi_base/ui/about.ui b/yomi_base/ui/about.ui
index c0538fc..9d31f84 100644
--- a/yomi_base/ui/about.ui
+++ b/yomi_base/ui/about.ui
@@ -6,7 +6,7 @@
0
0
- 700
+ 650
400
@@ -22,7 +22,7 @@
- ../img/logo64x64.png
+ ../img/icon_logo_64.png
diff --git a/yomi_base/ui/reader.ui b/yomi_base/ui/reader.ui
index a9b23ec..47c7c11 100644
--- a/yomi_base/ui/reader.ui
+++ b/yomi_base/ui/reader.ui
@@ -18,7 +18,7 @@
- ../img/logo32x32.png../img/logo32x32.png
+ ../img/icon_logo_32.png../img/icon_logo_32.png
@@ -40,7 +40,7 @@
0
0
900
- 23
+ 25