Commit Graph

8679 Commits

Author SHA1 Message Date
M2j
cbf91465e2 Head 1842 2011-12-18 18:09:40 +01:00
M2j
d7a5a9ae97 revert 1153 2011-12-18 18:08:37 +01:00
Andreas Preikschat
42099861ce r1842 2011-12-18 09:20:02 +01:00
Mattias Põldaru
dca74bd144 Style, no "is" to compare strings. 2011-12-17 23:17:53 +02:00
Mattias Põldaru
86df7d9734 Name it rather OpenLyricsError 2011-12-17 19:47:08 +02:00
Mattias Põldaru
28fa03b7cd Use OpenLyricsException instead. 2011-12-17 19:26:59 +02:00
Raoul Snyman
d701316923 Fix bug #900387: Converted a user's old Phonon setting to the new media players format.
bzr-revno: 1842
Fixes: https://launchpad.net/bugs/900387
2011-12-17 08:43:36 +02:00
Tim Bentley
0a9ea54bf8 Fix remote hiding of screen and updating UI buttons
bzr-revno: 1841
2011-12-16 15:06:14 +00:00
Andreas Preikschat
36d6a9003d Shortcut can be assigned twice in certain circumstances)
Description of the fix:
1) Create a dict with the shortcuts as keys and a list of actions using this shortcut as value.
2) When we add a new action/shortcut we check if the shortcut is valid. If this is the case we add it to the dict and if not we remove the shortcut.

bzr-revno: 1840
2011-12-16 15:04:51 +00:00
Raoul Snyman
d800951800 Actually read directly from the media controller, and then update the settings tab. 2011-12-15 23:06:50 +02:00
M2j
99fc7dea18 v1 theme import moved to seperate method 2011-12-15 21:14:12 +01:00
Raoul Snyman
19fac1e84a Cleaned up some code to conform to our coding standards.
Added an appStartup() method to the media plugin to detect the settings of an older version of the media plugin, and update the settings.
2011-12-15 22:13:45 +02:00
Tim Bentley
55353e54f0 yet more changes 2011-12-15 18:59:25 +00:00
Mattias Põldaru
cd565fe4a9 First almost working example. I suppose someone suggest to make specific class now. You may be right :) 2011-12-15 20:13:45 +02:00
Tim Bentley
acebb85055 more changes 2011-12-15 17:19:54 +00:00
Andreas Preikschat
369d04927d updated and added new ts files
bzr-revno: 1839
2011-12-15 16:56:22 +01:00
Mattias Põldaru
b0bd6dcdb7 Fix bug #860876, problem with unicode characters coming from web-remote.
bzr-revno: 1838
Fixes: https://launchpad.net/bugs/860876
2011-12-15 17:38:18 +02:00
Andreas Preikschat
27843ae718 removed space 2011-12-15 16:27:17 +01:00
Mattias Põldaru
235e8c6fcf Use generated exceptions instead to make more specific errors. 2011-12-15 13:53:51 +02:00
Tim Bentley
e141419cdc Fix method names and add to poll event 2011-12-15 06:10:35 +00:00
Mattias Põldaru
95147c996b Fix #304, catch AttributeError together with XML syntax error (which is true in wider meaning of syntax, I think). 2011-12-15 05:45:30 +02:00
Jonathan Corwin
98a6c25ac8 Missed a file... 2011-12-14 23:41:52 +00:00
Jonathan Corwin
3874363e54 Add a more specific test for gnome shell 2011-12-14 22:44:41 +00:00
Mattias Põldaru
ac557714ef Fix for 860876, a bug where web remote returns wrongly decoded alert message. It also fixes no search results when searching words with non-ascii characters.
Fixes: https://launchpad.net/bugs/860876
2011-12-15 00:39:52 +02:00
Tim Bentley
a06a1dd24c Fix url messages 2011-12-14 20:26:23 +00:00
Tim Bentley
58f7649cca Fix elif 2011-12-14 20:04:38 +00:00
Tim Bentley
e450ea476d Remove blank line 2011-12-14 19:19:26 +00:00
Tim Bentley
fa1a721c26 Head 2011-12-14 19:07:56 +00:00
Tim Bentley
c1ca990a2b Fix up methods to do the changes 2011-12-14 19:07:40 +00:00
Andreas Preikschat
2db39bbe76 updated ts files + added sq and el ts files 2011-12-14 18:02:07 +01:00
Andreas Preikschat
4bb7993f1d r1837 2011-12-14 17:52:35 +01:00
Andreas Preikschat
d2cf6aa684 fixed a i18n bug + remove shortcut from map if removing the action 2011-12-14 16:45:11 +01:00
Mattias Põldaru
c10f73144d Fix for bug #828385, song import plugins order more alphabetical, but OpenLP related ones in front. It saves last used item's index. Saving of last used simply saves item's index in list, so if the order of import types changes (or one is added before the one), wrong item is selected for once.
bzr-revno: 1837
Fixes: https://launchpad.net/bugs/828385
2011-12-14 12:50:04 +02:00
Mattias Põldaru
3d278d51a7 Fix BOM mess for utf-8 files. We assume no other file would begin with BOM, whatever encoding they have (they really shouldn't since BOM is used to detect unicode on Windows and at least by wiki nobody is opposed).
bzr-revno: 1836
2011-12-14 12:47:52 +02:00
Mattias Põldaru
13385116af Using toInt of QVariant for sure is better than a chain of toString, str and int. Thanks to superfly. 2011-12-13 23:04:16 +02:00
Mattias Põldaru
2959235335 Fix for bug #802159, not decoding of utf8 decoded values of custom display tags, resulting in the re-encoding of the same string on every save which makes the string wrong.
bzr-revno: 1835
Fixes: https://launchpad.net/bugs/802159
2011-12-13 22:34:30 +02:00
Mattias Põldaru
1665c557c1 I always forget something :( 2011-12-13 22:20:17 +02:00
Mattias Põldaru
143d87cc88 One more list which needs right order. 2011-12-13 22:01:21 +02:00
Mattias Põldaru
57d78d00df Make loading of variable slightly more bulletproof. 2011-12-13 21:52:57 +02:00
Mattias Põldaru
4f603d7353 Previous change of order was not enough, now is actually works. It also saves the type of import last time used and uses that value as default (as suggested), otherwise defaults to OpenLyrics. 2011-12-13 21:33:49 +02:00
Mattias Põldaru
9f5c0645aa No silly name abbreviations anymore. 2011-12-13 12:58:33 +02:00
Mattias Põldaru
88d7176900 Fix for #828385, more sensible and partly alphabetical order of import formats. 2011-12-13 02:34:46 +02:00
M2j
f733db0e5a Head 1834 2011-12-13 01:15:39 +01:00
M2j
0c06569dc5 Bug #882819 - recover v1.x theme file names from XML info 2011-12-13 00:46:04 +01:00
Mattias Põldaru
e70ca4fa06 Fix for bug #802159, not decoding of utf8 decoded values of custom display tags. 2011-12-13 00:58:43 +02:00
Jonathan Corwin
16f798e404 Attempt to check for gnome version 2011-12-12 22:10:37 +00:00
Jon Tibble
b560981702 Head r1834 2011-12-12 21:25:23 +00:00
Jonathan Corwin
d2659a64fc Add a couple of keywords for the SOF5 importer to capitalize correctly.
When a presentation controller is not enabled, only check if the app is available when necessary to prevent it loading.
Fix so LibreOffice 3.4 will close down correctly at the end when no other docs are open.

bzr-revno: 1834
2011-12-12 19:20:51 +00:00
Tim Bentley
e6f9b66762 When a service is imported at present and we do not wish to save the songs we do not. This prevents the user from editing songs.
This change adds a "temporary" flag on the song database to allow those songs to be save and edited bit not via the plugin as the search will not show them.
On exit the songs will be deleted.

bzr-revno: 1833
2011-12-12 18:40:43 +00:00
Tim Bentley
143f65f476 Fix review comments 2011-12-12 18:00:12 +00:00