From d052098287655a86f4c16c3c772a8f11e43cc66d Mon Sep 17 00:00:00 2001 From: rimach Date: Wed, 19 Jan 2011 22:17:32 +0100 Subject: [PATCH] correct icons, use existant actions --- openlp/core/lib/toolbar.py | 14 +++- openlp/core/ui/servicemanager.py | 122 +++++++++++++----------------- openlp/core/ui/slidecontroller.py | 115 ++++++++++++++-------------- openlp/core/utils/actions.py | 18 ----- 4 files changed, 121 insertions(+), 148 deletions(-) diff --git a/openlp/core/lib/toolbar.py b/openlp/core/lib/toolbar.py index 93aed62e5..1689f0605 100644 --- a/openlp/core/lib/toolbar.py +++ b/openlp/core/lib/toolbar.py @@ -51,7 +51,8 @@ class OpenLPToolbar(QtGui.QToolBar): log.debug(u'Init done') def addToolbarButton(self, title, icon, tooltip=None, slot=None, - checkable=False): + checkable=False, shortcut=0, alternate=0, + context=QtCore.Qt.WidgetShortcut): """ A method to help developers easily add a button to the toolbar. @@ -71,6 +72,15 @@ class OpenLPToolbar(QtGui.QToolBar): ``objectname`` The name of the object, as used in `