diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-07 20:41:43 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-07 20:41:43 +0200 |
commit | 47c75186562b11216d7f36dd5bbf1e00bb775aea (patch) | |
tree | 7e186d3563ffabfc5f353c488b469b43ceddc283 /source/rofi.c | |
parent | 9fe67c1822887d4ef0a00175513b5e4660b84283 (diff) |
Fix parsing old themes from rofi-themes repo.
Diffstat (limited to 'source/rofi.c')
-rw-r--r-- | source/rofi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/rofi.c b/source/rofi.c index 0a6207ec..f6ab39de 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -839,10 +839,6 @@ int main ( int argc, char *argv[] ) } if ( rofi_theme_is_empty ( ) ) { - rofi_theme_convert_old (); - } - - if ( rofi_theme_is_empty ( ) ) { if ( rofi_theme_parse_string ( default_theme ) ) { g_warning ( "Failed to parse default theme. Giving up.." ); if ( list_of_error_msgs ) { @@ -856,7 +852,9 @@ int main ( int argc, char *argv[] ) cleanup (); return EXIT_FAILURE; } + rofi_theme_convert_old (); } + /** * Make small commandline changes to the current theme. */ |