~tomasgroth/openlp/portable-path

« back to all changes in this revision

Viewing changes to openlp/core/common/actions.py

  • Committer: Tomas Groth
  • Date: 2019-04-30 19:02:42 UTC
  • mfrom: (2829.2.32 openlp)
  • Revision ID: tomasgroth@yahoo.dk-20190430190242-6zwjk8724tyux70m
trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
###############################################################################
5
5
# OpenLP - Open Source Lyrics Projection                                      #
6
6
# --------------------------------------------------------------------------- #
7
 
# Copyright (c) 2008-2018 OpenLP Developers                                   #
 
7
# Copyright (c) 2008-2019 OpenLP Developers                                   #
8
8
# --------------------------------------------------------------------------- #
9
9
# This program is free software; you can redistribute it and/or modify it     #
10
10
# under the terms of the GNU General Public License as published by the Free  #
20
20
# Temple Place, Suite 330, Boston, MA 02111-1307 USA                          #
21
21
###############################################################################
22
22
"""
23
 
The :mod:`~openlp.core.utils.actions` module provides action list classes used
 
23
The :mod:`~openlp.core.common.actions` module provides action list classes used
24
24
by the shortcuts system.
25
25
"""
26
26
import logging
29
29
 
30
30
from openlp.core.common.settings import Settings
31
31
 
 
32
 
32
33
log = logging.getLogger(__name__)
33
34
 
34
35
 
113
114
            if item[1] == action:
114
115
                self.actions.remove(item)
115
116
                return
116
 
        log.warning('Action "{action}" does not exist.'.format(action=action))
117
117
 
118
118
 
119
119
class CategoryList(object):