Fix emoji theme fallback
This commit is contained in:
parent
6a33163d42
commit
8564edd5f3
|
@ -276,10 +276,6 @@ class EmojiChooser(Gtk.Popover):
|
||||||
|
|
||||||
def _get_current_theme(self):
|
def _get_current_theme(self):
|
||||||
theme = app.config.get('emoticons_theme')
|
theme = app.config.get('emoticons_theme')
|
||||||
if not theme:
|
|
||||||
log.warning('No emoji theme set')
|
|
||||||
return
|
|
||||||
|
|
||||||
themes = helpers.get_available_emoticon_themes()
|
themes = helpers.get_available_emoticon_themes()
|
||||||
if theme not in themes:
|
if theme not in themes:
|
||||||
if sys.platform not in ('win32', 'darwin'):
|
if sys.platform not in ('win32', 'darwin'):
|
||||||
|
|
Loading…
Reference in New Issue