openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #06594
[Merge] lp:~trb143/openlp/bugs into lp:openlp
Tim Bentley has proposed merging lp:~trb143/openlp/bugs into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Related bugs:
#693150 Custom Slide Display footer option
https://bugs.launchpad.net/bugs/693150
#693202 delete theme
https://bugs.launchpad.net/bugs/693202
#725887 Separator at the beginning of the tool bar in all media items
https://bugs.launchpad.net/bugs/725887
For more details, see:
https://code.launchpad.net/~trb143/openlp/bugs/+merge/51446
Fix random Separator
--
https://code.launchpad.net/~trb143/openlp/bugs/+merge/51446
Your team OpenLP Core is requested to review the proposed merge of lp:~trb143/openlp/bugs into lp:openlp.
=== modified file 'openlp/core/lib/mediamanageritem.py'
--- openlp/core/lib/mediamanageritem.py 2011-02-24 05:47:38 +0000
+++ openlp/core/lib/mediamanageritem.py 2011-02-27 07:04:54 +0000
@@ -220,8 +220,6 @@
if self.hasDeleteIcon:
toolbar_actions.append([StringContent.Delete,
u':/general/general_delete.png', self.onDeleteClick])
- ## Separator Line ##
- self.addToolbarSeparator()
## Preview ##
toolbar_actions.append([StringContent.Preview,
u':/general/general_preview.png', self.onPreviewClick])
@@ -232,6 +230,8 @@
toolbar_actions.append([StringContent.Service,
u':/general/general_add.png', self.onAddClick])
for action in toolbar_actions:
+ if action[0] == StringContent.Preview:
+ self.addToolbarSeparator()
self.addToolbarButton(
self.plugin.getString(action[0])[u'title'],
self.plugin.getString(action[0])[u'tooltip'],
Follow ups