diff --git a/data/gschema/cl.cromer.ubb.sernatur.gschema.xml b/data/gschema/cl.cromer.ubb.sernatur.gschema.xml
index b3817e7..f8b4dc3 100644
--- a/data/gschema/cl.cromer.ubb.sernatur.gschema.xml
+++ b/data/gschema/cl.cromer.ubb.sernatur.gschema.xml
@@ -49,5 +49,12 @@
Password to use
+
+ false
+ Should the program open maximized or not
+
+ Should the program open maximized or not
+
+
diff --git a/po/es.po b/po/es.po
index 14666b8..e4d190d 100644
--- a/po/es.po
+++ b/po/es.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sernatur\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-11-01 22:13-0300\n"
-"PO-Revision-Date: 2018-11-01 22:14-0300\n"
+"POT-Creation-Date: 2018-12-23 16:09-0300\n"
+"PO-Revision-Date: 2018-12-23 16:10-0300\n"
"Last-Translator: Chris Cromer \n"
"Language-Team: none\n"
"Language: es\n"
@@ -18,44 +18,73 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: src/sernatur-window.vala:38
-#, fuzzy, c-format
-msgid "The file '%s' doesn't exist.\n"
-msgstr "El archivo '%s' no existe.\n"
-
-#: src/sernatur-window.vala:88
+#: src/sernatur-window.vala:63
msgid "Error"
msgstr "Error"
-#: src/sernatur-window.vala:116
+#: src/sernatur-window.vala:91
msgid "Server version:"
msgstr "Versión del servidor:"
-#: data/ui/sernatur.window.ui:37
+#: data/ui/sernatur.window.ui:40
msgid "_File"
msgstr ""
-#: data/ui/sernatur.window.ui:102
+#: data/ui/sernatur.window.ui:105
msgid "_Edit"
msgstr ""
-#: data/ui/sernatur.window.ui:152
+#: data/ui/sernatur.window.ui:155
msgid "_View"
msgstr ""
-#: data/ui/sernatur.window.ui:160
+#: data/ui/sernatur.window.ui:163
msgid "_Help"
msgstr ""
#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:5
#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:6
msgid "Host to connect to"
-msgstr ""
+msgstr "Servidor a conectar"
#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:12
#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:13
msgid "Port number to use"
-msgstr ""
+msgstr "Número de puerto a usar"
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:19
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:20
+msgid "Options to use"
+msgstr "Opciones a usar"
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:26
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:27
+msgid "tty to send debug info (ignored)"
+msgstr "tty para enviar datos de depuración (ignorado)"
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:33
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:34
+msgid "Database to use"
+msgstr "Base de dato a usar"
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:40
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:41
+msgid "Username to use"
+msgstr "Nombre de usuario a usar"
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:47
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:48
+msgid "Password to use"
+msgstr "Contraseña a usar"
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:54
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:55
+msgid "Should the program open maximized or not"
+msgstr "Si el programa debe abrir maximizado ó no"
+
+#, fuzzy
+#~ msgid "The file '%s' doesn't exist.\n"
+#~ msgstr "El archivo '%s' no existe.\n"
#~ msgid "Connection failed"
#~ msgstr "Conexión falló"
diff --git a/po/sernatur.pot b/po/sernatur.pot
index 9e2e6c1..ae7751f 100644
--- a/po/sernatur.pot
+++ b/po/sernatur.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sernatur\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-11-01 22:13-0300\n"
+"POT-Creation-Date: 2018-12-23 16:09-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -17,32 +17,27 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: src/sernatur-window.vala:38
-#, c-format
-msgid "The file '%s' doesn't exist.\n"
-msgstr ""
-
-#: src/sernatur-window.vala:88
+#: src/sernatur-window.vala:63
msgid "Error"
msgstr ""
-#: src/sernatur-window.vala:116
+#: src/sernatur-window.vala:91
msgid "Server version:"
msgstr ""
-#: data/ui/sernatur.window.ui:37
+#: data/ui/sernatur.window.ui:40
msgid "_File"
msgstr ""
-#: data/ui/sernatur.window.ui:102
+#: data/ui/sernatur.window.ui:105
msgid "_Edit"
msgstr ""
-#: data/ui/sernatur.window.ui:152
+#: data/ui/sernatur.window.ui:155
msgid "_View"
msgstr ""
-#: data/ui/sernatur.window.ui:160
+#: data/ui/sernatur.window.ui:163
msgid "_Help"
msgstr ""
@@ -55,3 +50,33 @@ msgstr ""
#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:13
msgid "Port number to use"
msgstr ""
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:19
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:20
+msgid "Options to use"
+msgstr ""
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:26
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:27
+msgid "tty to send debug info (ignored)"
+msgstr ""
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:33
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:34
+msgid "Database to use"
+msgstr ""
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:40
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:41
+msgid "Username to use"
+msgstr ""
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:47
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:48
+msgid "Password to use"
+msgstr ""
+
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:54
+#: data/gschema/cl.cromer.ubb.sernatur.gschema.xml:55
+msgid "Should the program open maximized or not"
+msgstr ""
diff --git a/src/sernatur.vala b/src/sernatur.vala
index 2ff42ea..cdf2328 100644
--- a/src/sernatur.vala
+++ b/src/sernatur.vala
@@ -39,7 +39,10 @@ namespace Sernatur {
*/
public override void activate () {
window = new MainWindow (this);
- //window.maximize ();
+ GLib.Settings settings = new GLib.Settings ("cl.cromer.ubb.sernatur");
+ if (settings.get_boolean ("maximized")) {
+ window.maximize ();
+ }
try {
window.icon = IconTheme.get_default ().load_icon ("sernatur", 48, 0);
}