More accurate preferences dialog
This commit is contained in:
parent
ecd4c53795
commit
a68876827b
16
po/fr.po
16
po/fr.po
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Panel 0.0.5\n"
|
"Project-Id-Version: Panel 0.0.5\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2011-02-05 04:00+0100\n"
|
"POT-Creation-Date: 2011-02-05 04:10+0100\n"
|
||||||
"PO-Revision-Date: 2010-04-22 12:45+0200\n"
|
"PO-Revision-Date: 2010-04-22 12:45+0200\n"
|
||||||
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
|
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
|
||||||
"Language-Team: French\n"
|
"Language-Team: French\n"
|
||||||
|
@ -83,8 +83,8 @@ msgstr "Verrouiller l'écran"
|
||||||
msgid "Logging out is disabled"
|
msgid "Logging out is disabled"
|
||||||
msgstr "Se déconnecter est désactivé"
|
msgstr "Se déconnecter est désactivé"
|
||||||
|
|
||||||
#: ../src/applets/logout.c:70 ../src/panel.c:664 ../src/panel.c:671
|
#: ../src/applets/logout.c:70 ../src/panel.c:666 ../src/panel.c:673
|
||||||
#: ../src/panel.c:679
|
#: ../src/panel.c:681
|
||||||
msgid "Logout"
|
msgid "Logout"
|
||||||
msgstr "Déconnexion"
|
msgstr "Déconnexion"
|
||||||
|
|
||||||
|
@ -196,7 +196,7 @@ msgstr "Taille du bas :"
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "Générales"
|
msgstr "Générales"
|
||||||
|
|
||||||
#: ../src/panel.c:654
|
#: ../src/panel.c:656
|
||||||
msgid ""
|
msgid ""
|
||||||
"This will log you out of the current session, therefore closing any "
|
"This will log you out of the current session, therefore closing any "
|
||||||
"application currently opened and losing any unsaved data.\n"
|
"application currently opened and losing any unsaved data.\n"
|
||||||
|
@ -207,7 +207,7 @@ msgstr ""
|
||||||
"sauvegardées.\n"
|
"sauvegardées.\n"
|
||||||
"Voulez-vous continuer?"
|
"Voulez-vous continuer?"
|
||||||
|
|
||||||
#: ../src/panel.c:748
|
#: ../src/panel.c:750
|
||||||
msgid ""
|
msgid ""
|
||||||
"This will shutdown your device, therefore closing any application currently "
|
"This will shutdown your device, therefore closing any application currently "
|
||||||
"opened and losing any unsaved data.\n"
|
"opened and losing any unsaved data.\n"
|
||||||
|
@ -218,7 +218,7 @@ msgstr ""
|
||||||
"sauvegardées.\n"
|
"sauvegardées.\n"
|
||||||
"Voulez-vous continuer?"
|
"Voulez-vous continuer?"
|
||||||
|
|
||||||
#: ../src/panel.c:753
|
#: ../src/panel.c:755
|
||||||
msgid ""
|
msgid ""
|
||||||
"This will shutdown your computer, therefore closing any application "
|
"This will shutdown your computer, therefore closing any application "
|
||||||
"currently opened and losing any unsaved data.\n"
|
"currently opened and losing any unsaved data.\n"
|
||||||
|
@ -229,11 +229,11 @@ msgstr ""
|
||||||
"sauvegardées.\n"
|
"sauvegardées.\n"
|
||||||
"Voulez-vous continuer?"
|
"Voulez-vous continuer?"
|
||||||
|
|
||||||
#: ../src/panel.c:770 ../src/panel.c:775 ../src/panel.c:782
|
#: ../src/panel.c:772 ../src/panel.c:777 ../src/panel.c:784
|
||||||
msgid "Shutdown"
|
msgid "Shutdown"
|
||||||
msgstr "Arrêter"
|
msgstr "Arrêter"
|
||||||
|
|
||||||
#: ../src/panel.c:774
|
#: ../src/panel.c:776
|
||||||
msgid "Restart"
|
msgid "Restart"
|
||||||
msgstr "Redémarrer"
|
msgstr "Redémarrer"
|
||||||
|
|
||||||
|
|
|
@ -529,7 +529,8 @@ static void _preferences_on_cancel(gpointer data)
|
||||||
const size_t cnt = sizeof(_panel_sizes) / sizeof(*_panel_sizes);
|
const size_t cnt = sizeof(_panel_sizes) / sizeof(*_panel_sizes);
|
||||||
|
|
||||||
gtk_widget_hide(panel->pr_window);
|
gtk_widget_hide(panel->pr_window);
|
||||||
if((p = config_get(panel->config, NULL, "bottom_size")) != NULL)
|
if((p = config_get(panel->config, "", "bottom_size")) != NULL
|
||||||
|
|| (p = config_get(panel->config, "", "size")) != NULL)
|
||||||
for(i = 0; i < cnt; i++)
|
for(i = 0; i < cnt; i++)
|
||||||
{
|
{
|
||||||
if(strcmp(p, _panel_sizes[i].alias) != 0)
|
if(strcmp(p, _panel_sizes[i].alias) != 0)
|
||||||
|
@ -538,7 +539,8 @@ static void _preferences_on_cancel(gpointer data)
|
||||||
panel->pr_bottom_size), i);
|
panel->pr_bottom_size), i);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if((p = config_get(panel->config, NULL, "top_size")) != NULL)
|
if((p = config_get(panel->config, "", "top_size")) != NULL
|
||||||
|
|| (p = config_get(panel->config, "", "size")) != NULL)
|
||||||
for(i = 0; i < cnt; i++)
|
for(i = 0; i < cnt; i++)
|
||||||
{
|
{
|
||||||
if(strcmp(p, _panel_sizes[i].alias) != 0)
|
if(strcmp(p, _panel_sizes[i].alias) != 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user