more bits

This commit is contained in:
Tim Bentley 2018-04-07 17:57:44 +01:00
parent 154ca14120
commit ecb1ee7d3e
6 changed files with 4 additions and 6 deletions

View File

@ -577,6 +577,7 @@ class UiIcons(object):
These are the font icons used in the code.
"""
self.clone = qta.icon('fa.clone')
self.copy = qta.icon('fa.copy')
self.database = qta.icon('fa.database')
self.delete = qta.icon('fa.trash')
self.edit = qta.icon('fa.edit')

View File

@ -27,7 +27,7 @@ for the Custom Slides plugin.
import logging
from openlp.core.api.http import register_endpoint
from openlp.core.common.i18n import translate
from openlp.core.common.i18n import UiIcons, translate
from openlp.core.lib import Plugin, StringContent, build_icon
from openlp.core.lib.db import Manager
from openlp.plugins.custom.endpoint import api_custom_endpoint, custom_endpoint
@ -62,7 +62,7 @@ class CustomPlugin(Plugin):
super(CustomPlugin, self).__init__('custom', __default_settings__, CustomMediaItem, CustomTab)
self.weight = -5
self.db_manager = Manager('custom', init_schema)
self.icon_path = ':/plugins/plugin_custom.png'
self.icon_path = UiIcons().clone
self.icon = build_icon(self.icon_path)
register_endpoint(custom_endpoint)
register_endpoint(api_custom_endpoint)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 531 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 563 B

View File

@ -12,7 +12,6 @@
<file>author_add.png</file>
<file>author_delete.png</file>
<file>book_add.png</file>
<file>song_maintenance.png</file>
<file>topic_add.png</file>
<file>book_delete.png</file>
<file>book_edit.png</file>
@ -61,7 +60,6 @@
<file>general_zoom_original.png</file>
<file>general_print.png</file>
<file>general_open.png</file>
<file>general_save.png</file>
<file>general_email.png</file>
<file>general_revert.png</file>
<file>general_clone.png</file>
@ -90,8 +88,7 @@
<qresource prefix="imports">
</qresource>
<qresource prefix="exports">
<file>export_load.png</file>
</qresource>
</qresource>
<qresource prefix="wizards">
<file>openlp-osx-wizard.png</file>
<file>wizard_song.bmp</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 516 B