The preferences window' notebook defaults to the first page

This commit is contained in:
Pierre Pronchery 2011-02-05 08:32:47 +00:00
parent b0a7426855
commit c2b12f4d8d
2 changed files with 14 additions and 13 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Panel 0.0.5\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-05 04:10+0100\n"
"POT-Creation-Date: 2011-02-05 09:31+0100\n"
"PO-Revision-Date: 2010-04-22 12:45+0200\n"
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
"Language-Team: French\n"
@ -20,7 +20,7 @@ msgstr ""
msgid "Unknown"
msgstr "Inconnu"
#: ../src/applets/battery.c:186 ../src/panel.c:374 ../src/panel.c:378
#: ../src/applets/battery.c:186 ../src/panel.c:375 ../src/panel.c:379
#: ../src/run.c:200 ../src/run.c:206
msgid "Error"
msgstr "Erreur"
@ -83,8 +83,8 @@ msgstr "Verrouiller l'écran"
msgid "Logging out is disabled"
msgstr "Se déconnecter est désactivé"
#: ../src/applets/logout.c:70 ../src/panel.c:666 ../src/panel.c:673
#: ../src/panel.c:681
#: ../src/applets/logout.c:70 ../src/panel.c:669 ../src/panel.c:676
#: ../src/panel.c:684
msgid "Logout"
msgstr "Déconnexion"
@ -180,23 +180,23 @@ msgstr "petite"
msgid "smaller"
msgstr "très petite"
#: ../src/panel.c:457
#: ../src/panel.c:458
msgid "Panel preferences"
msgstr "Préférences du Panel"
#: ../src/panel.c:472
#: ../src/panel.c:473
msgid "Top size:"
msgstr "Taille du haut :"
#: ../src/panel.c:483
#: ../src/panel.c:484
msgid "Bottom size:"
msgstr "Taille du bas :"
#: ../src/panel.c:494
#: ../src/panel.c:495
msgid "General"
msgstr "Générales"
#: ../src/panel.c:656
#: ../src/panel.c:659
msgid ""
"This will log you out of the current session, therefore closing any "
"application currently opened and losing any unsaved data.\n"
@ -207,7 +207,7 @@ msgstr ""
"sauvegardées.\n"
"Voulez-vous continuer?"
#: ../src/panel.c:750
#: ../src/panel.c:753
msgid ""
"This will shutdown your device, therefore closing any application currently "
"opened and losing any unsaved data.\n"
@ -218,7 +218,7 @@ msgstr ""
"sauvegardées.\n"
"Voulez-vous continuer?"
#: ../src/panel.c:755
#: ../src/panel.c:758
msgid ""
"This will shutdown your computer, therefore closing any application "
"currently opened and losing any unsaved data.\n"
@ -229,11 +229,11 @@ msgstr ""
"sauvegardées.\n"
"Voulez-vous continuer?"
#: ../src/panel.c:772 ../src/panel.c:777 ../src/panel.c:784
#: ../src/panel.c:775 ../src/panel.c:780 ../src/panel.c:787
msgid "Shutdown"
msgstr "Arrêter"
#: ../src/panel.c:776
#: ../src/panel.c:779
msgid "Restart"
msgstr "Redémarrer"

View File

@ -284,6 +284,7 @@ static gboolean _on_idle(gpointer data)
if((bottom = config_get(panel->config, NULL, "bottom")) != NULL
|| (bottom = p) != NULL)
_idle_load(panel, PANEL_POSITION_BOTTOM, bottom);
gtk_notebook_set_current_page(GTK_NOTEBOOK(panel->pr_notebook), 0);
return FALSE;
}