Code cleanup
This commit is contained in:
parent
7db77088f6
commit
7049e68ad1
8
po/es.po
8
po/es.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Browser 0.1.4\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-19 20:57+0100\n"
|
||||
"POT-Creation-Date: 2011-02-19 21:04+0100\n"
|
||||
"PO-Revision-Date: 2010-03-30 01:04+0200\n"
|
||||
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
|
@ -187,7 +187,7 @@ msgstr ""
|
|||
|
||||
#: ../src/browser.c:592 ../src/browser.c:597 ../src/copy.c:668
|
||||
#: ../src/copy.c:672 ../src/delete.c:421 ../src/delete.c:426
|
||||
#: ../src/desktop.c:1442 ../src/desktop.c:1447 ../src/move.c:452
|
||||
#: ../src/desktop.c:1440 ../src/desktop.c:1445 ../src/move.c:452
|
||||
#: ../src/move.c:456 ../src/properties.c:118 ../src/properties.c:122
|
||||
#: ../src/view.c:366 ../src/view.c:371
|
||||
msgid "Error"
|
||||
|
@ -468,11 +468,11 @@ msgstr ""
|
|||
msgid "Applications"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/desktop.c:1491
|
||||
#: ../src/desktop.c:1489
|
||||
msgid "Could not load preferences"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/desktop.c:1547
|
||||
#: ../src/desktop.c:1545
|
||||
msgid ""
|
||||
"Usage: desktop [-H|-V][-a|-c|-f|-h|-n][-m monitor]\n"
|
||||
" -H\tPlace icons horizontally\n"
|
||||
|
|
8
po/fr.po
8
po/fr.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Browser 0.1.4\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-19 20:57+0100\n"
|
||||
"POT-Creation-Date: 2011-02-19 21:04+0100\n"
|
||||
"PO-Revision-Date: 2010-03-29 23:28+0200\n"
|
||||
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
|
||||
"Language-Team: French\n"
|
||||
|
@ -187,7 +187,7 @@ msgstr " Chemin: "
|
|||
|
||||
#: ../src/browser.c:592 ../src/browser.c:597 ../src/copy.c:668
|
||||
#: ../src/copy.c:672 ../src/delete.c:421 ../src/delete.c:426
|
||||
#: ../src/desktop.c:1442 ../src/desktop.c:1447 ../src/move.c:452
|
||||
#: ../src/desktop.c:1440 ../src/desktop.c:1445 ../src/move.c:452
|
||||
#: ../src/move.c:456 ../src/properties.c:118 ../src/properties.c:122
|
||||
#: ../src/view.c:366 ../src/view.c:371
|
||||
msgid "Error"
|
||||
|
@ -488,11 +488,11 @@ msgstr "Apparence"
|
|||
msgid "Applications"
|
||||
msgstr "Applications"
|
||||
|
||||
#: ../src/desktop.c:1491
|
||||
#: ../src/desktop.c:1489
|
||||
msgid "Could not load preferences"
|
||||
msgstr "Impossible de charger les préférences"
|
||||
|
||||
#: ../src/desktop.c:1547
|
||||
#: ../src/desktop.c:1545
|
||||
msgid ""
|
||||
"Usage: desktop [-H|-V][-a|-c|-f|-h|-n][-m monitor]\n"
|
||||
" -H\tPlace icons horizontally\n"
|
||||
|
|
8
po/it.po
8
po/it.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Browser 0.1.4\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-19 20:57+0100\n"
|
||||
"POT-Creation-Date: 2011-02-19 21:04+0100\n"
|
||||
"PO-Revision-Date: 2010-04-07 23:18+0200\n"
|
||||
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
|
||||
"Language-Team: Italian\n"
|
||||
|
@ -187,7 +187,7 @@ msgstr ""
|
|||
|
||||
#: ../src/browser.c:592 ../src/browser.c:597 ../src/copy.c:668
|
||||
#: ../src/copy.c:672 ../src/delete.c:421 ../src/delete.c:426
|
||||
#: ../src/desktop.c:1442 ../src/desktop.c:1447 ../src/move.c:452
|
||||
#: ../src/desktop.c:1440 ../src/desktop.c:1445 ../src/move.c:452
|
||||
#: ../src/move.c:456 ../src/properties.c:118 ../src/properties.c:122
|
||||
#: ../src/view.c:366 ../src/view.c:371
|
||||
msgid "Error"
|
||||
|
@ -468,11 +468,11 @@ msgstr ""
|
|||
msgid "Applications"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/desktop.c:1491
|
||||
#: ../src/desktop.c:1489
|
||||
msgid "Could not load preferences"
|
||||
msgstr ""
|
||||
|
||||
#: ../src/desktop.c:1547
|
||||
#: ../src/desktop.c:1545
|
||||
msgid ""
|
||||
"Usage: desktop [-H|-V][-a|-c|-f|-h|-n][-m monitor]\n"
|
||||
" -H\tPlace icons horizontally\n"
|
||||
|
|
|
@ -1016,6 +1016,8 @@ static int _current_loop_applications(Desktop * desktop)
|
|||
char const * q;
|
||||
DesktopIcon * icon;
|
||||
|
||||
if(desktop->category == NULL)
|
||||
return -1;
|
||||
if((config = config_new()) == NULL)
|
||||
return -1;
|
||||
while((de = readdir(desktop->refresh_dir)) != NULL)
|
||||
|
@ -1040,8 +1042,6 @@ static int _current_loop_applications(Desktop * desktop)
|
|||
#ifdef DEBUG
|
||||
fprintf(stderr, "DEBUG: %s() \"%s\"\n", __func__, path);
|
||||
#endif
|
||||
if(desktop->category == NULL)
|
||||
continue;
|
||||
config_reset(config);
|
||||
if(config_load(config, path) != 0)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue
Block a user