summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Lipovský <janlipovsky@gmail.com>2011-06-28 19:53:22 +0200
committerJan Lipovský <janlipovsky@gmail.com>2011-06-28 19:53:22 +0200
commit6fb3615e7be109f20f611662234e082353572861 (patch)
tree8ab9697392d4b506ba14259a0ecb1abad65d21b9
parent21f176eebc452da22c5e5712368c38124fa34aea (diff)
downloadgncpmount-6fb3615e7be109f20f611662234e082353572861.tar.gz
gncpmount-6fb3615e7be109f20f611662234e082353572861.tar.xz
gncpmount-6fb3615e7be109f20f611662234e082353572861.zip
icons;.desktop file;icon list in app
-rw-r--r--ChangeLog15
-rwxr-xr-xMakefile.am4
-rwxr-xr-xconfigure.ac4
-rwxr-xr-xdesktop/Makefile.am7
-rw-r--r--desktop/gncpmount.desktop9
-rw-r--r--pixmaps/24x24/gncpmount.pngbin0 -> 1336 bytes
-rw-r--r--pixmaps/32x32/gncpmount.pngbin0 -> 1609 bytes
-rw-r--r--pixmaps/48x48/gncpmount.pngbin0 -> 2657 bytes
-rw-r--r--pixmaps/64x64/gncpmount.pngbin0 -> 4250 bytes
-rw-r--r--pixmaps/96x96/gncpmount.pngbin0 -> 6536 bytes
-rwxr-xr-xpixmaps/Makefile.am22
-rw-r--r--[-rwxr-xr-x]po/LINGUAS0
-rw-r--r--po/cs.po270
-rw-r--r--po/gncpmount.pot243
-rw-r--r--src/dialogs.c1
-rw-r--r--src/globals.h4
-rw-r--r--src/gncpmount.c18
17 files changed, 454 insertions, 143 deletions
diff --git a/ChangeLog b/ChangeLog
index db7c988..443fdcc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,13 @@
-Release - v0.0.3
-Czech translation.
-First public release.
+version 0.0.4
+------------------------
++ GTK+ 3.0
++ .desktop file
++ png icons
++ Open/Save filter *.gnc files
+
+
+version 0.0.3
+-----------------------
++ Czech translation
+First public release
diff --git a/Makefile.am b/Makefile.am
index d2ec28a..9b18e16 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
SUBDIRS = \
src \
+ pixmaps \
+ desktop \
po
-
-
diff --git a/configure.ac b/configure.ac
index eba2eea..4c3f29a 100755
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,9 @@ AC_C_INLINE
AC_CONFIG_FILES([Makefile
po/Makefile.in
- src/Makefile])
+ src/Makefile
+ pixmaps/Makefile
+ desktop/Makefile])
AC_OUTPUT
diff --git a/desktop/Makefile.am b/desktop/Makefile.am
new file mode 100755
index 0000000..f417e9b
--- /dev/null
+++ b/desktop/Makefile.am
@@ -0,0 +1,7 @@
+
+desktopfiledir = /usr/share/applications
+desktopfile_DATA = gncpmount.desktop
+
+
+EXTRA_DIST = $(desktopfile_DATA)
+DISTCLEANFILES = $(desktopfile_DATA)
diff --git a/desktop/gncpmount.desktop b/desktop/gncpmount.desktop
new file mode 100644
index 0000000..44f6e81
--- /dev/null
+++ b/desktop/gncpmount.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=gncpmount
+Comment=GUI for ncpmount
+Categories=GTK;Network;System;Settings;
+Icon=gncpmount
+Exec=gncpmount
+Terminal=false
diff --git a/pixmaps/24x24/gncpmount.png b/pixmaps/24x24/gncpmount.png
new file mode 100644
index 0000000..7ab5adc
--- /dev/null
+++ b/pixmaps/24x24/gncpmount.png
Binary files differ
diff --git a/pixmaps/32x32/gncpmount.png b/pixmaps/32x32/gncpmount.png
new file mode 100644
index 0000000..c037009
--- /dev/null
+++ b/pixmaps/32x32/gncpmount.png
Binary files differ
diff --git a/pixmaps/48x48/gncpmount.png b/pixmaps/48x48/gncpmount.png
new file mode 100644
index 0000000..93c174d
--- /dev/null
+++ b/pixmaps/48x48/gncpmount.png
Binary files differ
diff --git a/pixmaps/64x64/gncpmount.png b/pixmaps/64x64/gncpmount.png
new file mode 100644
index 0000000..19ca32c
--- /dev/null
+++ b/pixmaps/64x64/gncpmount.png
Binary files differ
diff --git a/pixmaps/96x96/gncpmount.png b/pixmaps/96x96/gncpmount.png
new file mode 100644
index 0000000..5add684
--- /dev/null
+++ b/pixmaps/96x96/gncpmount.png
Binary files differ
diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am
new file mode 100755
index 0000000..27d7096
--- /dev/null
+++ b/pixmaps/Makefile.am
@@ -0,0 +1,22 @@
+
+myiconspath = /usr/share/icons/hicolor
+
+icon24dir = $(myiconspath)/24x24/apps
+icon24_DATA = 24x24/gncpmount.png
+
+icon32dir = $(myiconspath)/32x32/apps
+icon32_DATA = 32x32/gncpmount.png
+
+icon48dir = $(myiconspath)/48x48/apps
+icon48_DATA = 48x48/gncpmount.png
+
+icon64dir = $(myiconspath)/64x64/apps
+icon64_DATA = 64x64/gncpmount.png
+
+icon96dir = $(myiconspath)/96x96/apps
+icon96_DATA = 96x96/gncpmount.png
+
+
+EXTRA_DIST = $(icon24_DATA) $(icon32_DATA) $(icon48_DATA) $(icon64_DATA) $(icon96_DATA)
+
+DISTCLEANFILES = $(icon24_DATA) $(icon32_DATA) $(icon48_DATA) $(icon64_DATA) $(icon96_DATA)
diff --git a/po/LINGUAS b/po/LINGUAS
index 841618a..841618a 100755..100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
diff --git a/po/cs.po b/po/cs.po
index 9e44373..2c172da 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -1,15 +1,15 @@
# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# Copyright (C) 2011
# This file is distributed under the same license as the PACKAGE package.
# Jan Lipovsky <janlipovsky@gmail.com>, 2011.
#
msgid ""
msgstr ""
-"Project-Id-Version: gncpmount 0.0.3\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-01-09 17:22+0100\n"
-"PO-Revision-Date: 2011-01-09 17:22+0100\n"
-"Last-Translator: Jan Lipovsky <janlipovsky@gmail.com>\n"
+"Project-Id-Version: gncpmount 0.0.4\n"
+"Report-Msgid-Bugs-To: janlipovsky@gmail.com\n"
+"POT-Creation-Date: 2011-06-24 21:42+0200\n"
+"PO-Revision-Date: 2011-06-28 11:49+0100\n"
+"Last-Translator: Jan Lipovský <janlipovsky@gmail.com>\n"
"Language-Team: cs <janlipovsky@gmail.com>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
@@ -18,228 +18,228 @@ msgstr ""
"X-Poedit-Language: Czech\n"
"X-Poedit-Country: CZECH REPUBLIC\n"
-#: ../src/gncpmount.c:128
+#: src/dialogs.c:184
+msgid "Options"
+msgstr "Nastavení"
+
+#: src/dialogs.c:197
+msgid "<span weight=\"bold\"><big>Set ncpmount options:</big></span>"
+msgstr "<span weight=\"bold\"><big>Nastavení parametrů:</big></span>"
+
+#: src/dialogs.c:207
+msgid "Codepage [-p]:"
+msgstr "Kódová stránka [-p]:"
+
+#: src/dialogs.c:216
+msgid "Charset [-y]:"
+msgstr "Kódová tabulka [-y]:"
+
+#: src/dialogs.c:230
+msgid "Signature level [-i]:"
+msgstr "Podpisování rámců [-i]:"
+
+#: src/dialogs.c:235
+msgid "Do not use signature level"
+msgstr "Nepoužívat podpisování"
+
+#: src/dialogs.c:236
+msgid "Level 0 - never"
+msgstr "Úroveň 0 - nikdy"
+
+#: src/dialogs.c:237
+msgid "Level 1 - supported"
+msgstr "Úroveň 1 - podporováno"
+
+#: src/dialogs.c:238
+msgid "Level 2 - preferred"
+msgstr "Úroveň 2 - preferováno"
+
+#: src/dialogs.c:239
+msgid "Level 3 - required"
+msgstr "Úroveň 3 - vyžadováno"
+
+#: src/dialogs.c:251
+msgid "Volume to mount [-V]:"
+msgstr "Připoj jen daný svazek [-V]:"
+
+#: src/dialogs.c:265
+msgid "Mounted files uid [-u]:"
+msgstr "uid pro připojené soubory [-u]:"
+
+#: src/dialogs.c:274
+msgid "Mounted files gid [-g]:"
+msgstr "gid pro připojené soubory [-g]:"
+
+#: src/dialogs.c:283
+msgid "Files permission [-f]:"
+msgstr "Práva pro soubory [-f]:"
+
+#: src/dialogs.c:292
+msgid "Dirs permission [-d]:"
+msgstr "Práva pro adresáře [-d]:"
+
+#: src/dialogs.c:305
+msgid "Timeout [-t]:"
+msgstr "Timeout [-t]:"
+
+#: src/dialogs.c:314
+msgid "Retry count [-r]:"
+msgstr "Počet opakování [-r]:"
+
+#: src/dialogs.c:327
+msgid "Don't convert password to uppercase [-C]"
+msgstr "Nepřeváděj heslo na velká písmena [-C]"
+
+#: src/dialogs.c:331
+msgid "Allow multiple logins to server [-m]"
+msgstr "ovol několikanásobné připojení na server [-m]"
+
+#: src/dialogs.c:335
+msgid "Enable renaming/deletion of read-only files [-s]"
+msgstr "Povol odstraňování/přejmenovávání souborů pouze ke čtení [-s]"
+
+#: src/dialogs.c:339
+msgid "Force bindery login to NDS servers [-b]"
+msgstr "Použij připojení přes bindery k NDS serverům [-b]"
+
+#: src/dialogs.c:349
+msgid "Extra options:"
+msgstr "Další parametry:"
+
+#: src/dialogs.c:415
+msgid "Show ncpmount command"
+msgstr "Zobraz příkaz"
+
+#: src/dialogs.c:429
+msgid "ncpmount command with selected options:"
+msgstr "Program ncpmount s vybraným nastavením:"
+
+#: src/gncpmount.c:128
msgid "Select folder - mount point"
msgstr "Vyber adresář k připojení"
-#: ../src/gncpmount.c:156
+#: src/gncpmount.c:158
msgid "Load options from file"
msgstr "Načti nastavení ze souboru"
-#: ../src/gncpmount.c:190
+#: src/gncpmount.c:204
msgid "ERROR: Set as default"
msgstr "ERROR: Nastav jako výchozí"
-#: ../src/gncpmount.c:190
+#: src/gncpmount.c:204
msgid "Can't create directory: ~/.gncpmount"
msgstr "Nelze vytvořit adresář: ~/.gncpmount"
-#: ../src/gncpmount.c:196
+#: src/gncpmount.c:210
msgid "Set as default"
msgstr "Nastav jako výchozí"
-#: ../src/gncpmount.c:196
+#: src/gncpmount.c:210
msgid "Current state of GUI was set as default."
msgstr "Aktuální stav GUI byl nastaven jako výchozí."
-#: ../src/gncpmount.c:212
+#: src/gncpmount.c:228
msgid "Save options to file"
msgstr "Ulož nastavení do souboru"
-#: ../src/gncpmount.c:271
+#: src/gncpmount.c:299
msgid "no password will be used"
msgstr "bude použito prázdné heslo"
-#: ../src/gncpmount.c:364
+#: src/gncpmount.c:392
msgid "_File"
msgstr "_Soubor"
-#: ../src/gncpmount.c:372
+#: src/gncpmount.c:400
msgid "_New"
msgstr "_Nový"
-#: ../src/gncpmount.c:377
+#: src/gncpmount.c:405
msgid "_Load from file"
msgstr "Načti nastavení ze souboru"
-#: ../src/gncpmount.c:382
+#: src/gncpmount.c:410
msgid "_Save as..."
msgstr "_Uložit jako..."
-#: ../src/gncpmount.c:387
+#: src/gncpmount.c:415
msgid "_Set as default"
msgstr "_Nastav jako výchozí"
-#: ../src/gncpmount.c:396
+#: src/gncpmount.c:424
msgid "_Quit"
msgstr "_Ukončit"
-#: ../src/gncpmount.c:403
+#: src/gncpmount.c:431
msgid "_Tools"
msgstr "_Nástroje"
-#: ../src/gncpmount.c:410
+#: src/gncpmount.c:438
msgid "_Options"
msgstr "N_astavení"
-#: ../src/gncpmount.c:415
+#: src/gncpmount.c:443
msgid "Show _command"
msgstr "Zobraz _příkaz"
-#: ../src/gncpmount.c:422
+#: src/gncpmount.c:450
msgid "_Help"
msgstr "Ná_pověda"
-#: ../src/gncpmount.c:429
+#: src/gncpmount.c:457
msgid "_About..."
msgstr "_O aplikaci..."
-#: ../src/gncpmount.c:456
+#: src/gncpmount.c:484
msgid "Login"
msgstr "Přihlášení"
-#: ../src/gncpmount.c:462
+#: src/gncpmount.c:490
msgid "Username [-U]:"
msgstr "Jméno [-U]:"
-#: ../src/gncpmount.c:472
+#: src/gncpmount.c:500
msgid "Password [-P]:"
msgstr "Heslo [-P]:"
-#: ../src/gncpmount.c:483
+#: src/gncpmount.c:511
msgid "Do not use any password [-n]"
msgstr "Přihlaš se s prázdným heslem [-n]"
-#: ../src/gncpmount.c:492
+#: src/gncpmount.c:520
msgid "Server"
msgstr "Server"
-#: ../src/gncpmount.c:496
+#: src/gncpmount.c:524
msgid "Mount point:"
msgstr "Adresář k připojení:"
-#: ../src/gncpmount.c:516
+#: src/gncpmount.c:544
msgid "Server [-S]:"
msgstr "Server [-S]:"
-#: ../src/gncpmount.c:526
+#: src/gncpmount.c:554
msgid "DNS name [-A]:"
msgstr "DNS jméno [-A]:"
-#: ../src/gncpmount.c:542
+#: src/gncpmount.c:570
msgid "Mount"
msgstr "Připojit"
-#: ../src/dialogs.c:184
-msgid "Options"
-msgstr "Nastavení"
-
-#: ../src/dialogs.c:197
-msgid "<span weight=\"bold\"><big>Set ncpmount options:</big></span>"
-msgstr "<span weight=\"bold\"><big>Nastavení parametrů:</big></span>"
-
-#: ../src/dialogs.c:207
-msgid "Codepage [-p]:"
-msgstr "Kódová stránka [-p]:"
-
-#: ../src/dialogs.c:216
-msgid "Charset [-y]:"
-msgstr "Kódová tabulka [-y]:"
-
-#: ../src/dialogs.c:230
-msgid "Signature level [-i]:"
-msgstr "Podpisování rámců [-i]:"
-
-#: ../src/dialogs.c:235
-msgid "Do not use signature level"
-msgstr "Nepoužívat podpisování"
-
-#: ../src/dialogs.c:236
-msgid "Level 0 - never"
-msgstr "Úroveň 0 - nikdy"
-
-#: ../src/dialogs.c:237
-msgid "Level 1 - supported"
-msgstr "Úroveň 1 - podporováno"
-
-#: ../src/dialogs.c:238
-msgid "Level 2 - prefered"
-msgstr "Úroveň 2 - preferováno"
-
-#: ../src/dialogs.c:239
-msgid "Level 3 - required"
-msgstr "Úroveň 3 - vyžadováno"
-
-#: ../src/dialogs.c:251
-msgid "Volume to mount [-V]:"
-msgstr "Připoj jen daný svazek [-V]:"
-
-#: ../src/dialogs.c:265
-msgid "Mounted files uid [-u]:"
-msgstr "uid pro připojené soubory [-u]:"
-
-#: ../src/dialogs.c:274
-msgid "Mounted files gid [-g]:"
-msgstr "gid pro připojené soubory [-g]:"
-
-#: ../src/dialogs.c:283
-msgid "Files permission [-f]:"
-msgstr "Práva pro soubory [-f]:"
-
-#: ../src/dialogs.c:292
-msgid "Dirs permission [-d]:"
-msgstr "Práva pro adresáře [-d]:"
-
-#: ../src/dialogs.c:305
-msgid "Timeout [-t]:"
-msgstr "Timeout [-t]:"
-
-#: ../src/dialogs.c:314
-msgid "Retry count [-r]:"
-msgstr "Počet opakování [-r]:"
-
-#: ../src/dialogs.c:327
-msgid "Don't convet password to uppercase [-C]"
-msgstr "Nepřeváděj heslo na velká písmena [-C]"
-
-#: ../src/dialogs.c:331
-msgid "Allow multiple logins to server [-m]"
-msgstr "ovol několikanásobné připojení na server [-m]"
-
-#: ../src/dialogs.c:335
-msgid "Enable renaming/deletion of read-only files [-s]"
-msgstr "Povol odstraňování/přejmenovávání souborů pouze ke čtení [-s]"
-
-#: ../src/dialogs.c:339
-msgid "Force bindery login to NDS servers [-b]"
-msgstr "Použij připojení přes bindery k NDS serverům [-b]"
-
-#: ../src/dialogs.c:349
-msgid "Extra options:"
-msgstr "Další parametry:"
-
-#: ../src/dialogs.c:415
-msgid "Show ncpmount command"
-msgstr "Zobraz příkaz"
-
-#: ../src/dialogs.c:429
-msgid "ncpmount command with selected options:"
-msgstr "Program ncpmount s vybraným nastavením:"
-
-#: ../src/ncpwrapper.c:112
-msgid "Mounting succesfull"
+#: src/ncpwrapper.c:112
+msgid "Mounting successful"
msgstr "Připojení bylo úspěšné"
-#: ../src/ncpwrapper.c:112
+#: src/ncpwrapper.c:112
#, c-format
msgid "Mounted to \"%s\" directory."
msgstr "Připojeno do adresáře \"%s\"."
-#: ../src/ncpwrapper.c:151
+#: src/ncpwrapper.c:151
msgid "ncpmount output"
msgstr "ncpmount výstup"
-#: ../src/ncpwrapper.c:187
+#: src/ncpwrapper.c:187
msgid "ncpmount error"
msgstr "ncpmount chyba"
diff --git a/po/gncpmount.pot b/po/gncpmount.pot
new file mode 100644
index 0000000..f5631a7
--- /dev/null
+++ b/po/gncpmount.pot
@@ -0,0 +1,243 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Jan Lipovsky
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: gncpmount 0.0.3\n"
+"Report-Msgid-Bugs-To: janlipovsky@gmail.com\n"
+"POT-Creation-Date: 2011-06-24 21:42+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/dialogs.c:184
+msgid "Options"
+msgstr ""
+
+#: src/dialogs.c:197
+msgid "<span weight=\"bold\"><big>Set ncpmount options:</big></span>"
+msgstr ""
+
+#: src/dialogs.c:207
+msgid "Codepage [-p]:"
+msgstr ""
+
+#: src/dialogs.c:216
+msgid "Charset [-y]:"
+msgstr ""
+
+#: src/dialogs.c:230
+msgid "Signature level [-i]:"
+msgstr ""
+
+#: src/dialogs.c:235
+msgid "Do not use signature level"
+msgstr ""
+
+#: src/dialogs.c:236
+msgid "Level 0 - never"
+msgstr ""
+
+#: src/dialogs.c:237
+msgid "Level 1 - supported"
+msgstr ""
+
+#: src/dialogs.c:238
+msgid "Level 2 - preferred"
+msgstr ""
+
+#: src/dialogs.c:239
+msgid "Level 3 - required"
+msgstr ""
+
+#: src/dialogs.c:251
+msgid "Volume to mount [-V]:"
+msgstr ""
+
+#: src/dialogs.c:265
+msgid "Mounted files uid [-u]:"
+msgstr ""
+
+#: src/dialogs.c:274
+msgid "Mounted files gid [-g]:"
+msgstr ""
+
+#: src/dialogs.c:283
+msgid "Files permission [-f]:"
+msgstr ""
+
+#: src/dialogs.c:292
+msgid "Dirs permission [-d]:"
+msgstr ""
+
+#: src/dialogs.c:305
+msgid "Timeout [-t]:"
+msgstr ""
+
+#: src/dialogs.c:314
+msgid "Retry count [-r]:"
+msgstr ""
+
+#: src/dialogs.c:327
+msgid "Don't convert password to uppercase [-C]"
+msgstr ""
+
+#: src/dialogs.c:331
+msgid "Allow multiple logins to server [-m]"
+msgstr ""
+
+#: src/dialogs.c:335
+msgid "Enable renaming/deletion of read-only files [-s]"
+msgstr ""
+
+#: src/dialogs.c:339
+msgid "Force bindery login to NDS servers [-b]"
+msgstr ""
+
+#: src/dialogs.c:349
+msgid "Extra options:"
+msgstr ""
+
+#: src/dialogs.c:415
+msgid "Show ncpmount command"
+msgstr ""
+
+#: src/dialogs.c:429
+msgid "ncpmount command with selected options:"
+msgstr ""
+
+#: src/gncpmount.c:128
+msgid "Select folder - mount point"
+msgstr ""
+
+#: src/gncpmount.c:158
+msgid "Load options from file"
+msgstr ""
+
+#: src/gncpmount.c:204
+msgid "ERROR: Set as default"
+msgstr ""
+
+#: src/gncpmount.c:204
+msgid "Can't create directory: ~/.gncpmount"
+msgstr ""
+
+#: src/gncpmount.c:210
+msgid "Set as default"
+msgstr ""
+
+#: src/gncpmount.c:210
+msgid "Current state of GUI was set as default."
+msgstr ""
+
+#: src/gncpmount.c:228
+msgid "Save options to file"
+msgstr ""
+
+#: src/gncpmount.c:299
+msgid "no password will be used"
+msgstr ""
+
+#: src/gncpmount.c:392
+msgid "_File"
+msgstr ""
+
+#: src/gncpmount.c:400
+msgid "_New"
+msgstr ""
+
+#: src/gncpmount.c:405
+msgid "_Load from file"
+msgstr ""
+
+#: src/gncpmount.c:410
+msgid "_Save as..."
+msgstr ""
+
+#: src/gncpmount.c:415
+msgid "_Set as default"
+msgstr ""
+
+#: src/gncpmount.c:424
+msgid "_Quit"
+msgstr ""
+
+#: src/gncpmount.c:431
+msgid "_Tools"
+msgstr ""
+
+#: src/gncpmount.c:438
+msgid "_Options"
+msgstr ""
+
+#: src/gncpmount.c:443
+msgid "Show _command"
+msgstr ""
+
+#: src/gncpmount.c:450
+msgid "_Help"
+msgstr ""
+
+#: src/gncpmount.c:457
+msgid "_About..."
+msgstr ""
+
+#: src/gncpmount.c:484
+msgid "Login"
+msgstr ""
+
+#: src/gncpmount.c:490
+msgid "Username [-U]:"
+msgstr ""
+
+#: src/gncpmount.c:500
+msgid "Password [-P]:"
+msgstr ""
+
+#: src/gncpmount.c:511
+msgid "Do not use any password [-n]"
+msgstr ""
+
+#: src/gncpmount.c:520
+msgid "Server"
+msgstr ""
+
+#: src/gncpmount.c:524
+msgid "Mount point:"
+msgstr ""
+
+#: src/gncpmount.c:544
+msgid "Server [-S]:"
+msgstr ""
+
+#: src/gncpmount.c:554
+msgid "DNS name [-A]:"
+msgstr ""
+
+#: src/gncpmount.c:570
+msgid "Mount"
+msgstr ""
+
+#: src/ncpwrapper.c:112
+msgid "Mounting successful"
+msgstr ""
+
+#: src/ncpwrapper.c:112
+#, c-format
+msgid "Mounted to \"%s\" directory."
+msgstr ""
+
+#: src/ncpwrapper.c:151
+msgid "ncpmount output"
+msgstr ""
+
+#: src/ncpwrapper.c:187
+msgid "ncpmount error"
+msgstr ""
diff --git a/src/dialogs.c b/src/dialogs.c
index 225f2bf..2945a4b 100644
--- a/src/dialogs.c
+++ b/src/dialogs.c
@@ -489,6 +489,7 @@ void show_about ()
gtk_about_dialog_set_license (about, license);
gtk_about_dialog_set_wrap_license (about, TRUE);
gtk_about_dialog_set_license_type (about, GTK_LICENSE_GPL_3_0);
+ gtk_about_dialog_set_logo_icon_name(about, "gncpmount");
/*
gtk_about_dialog_set_translator_credits( about, trans );
*/
diff --git a/src/globals.h b/src/globals.h
index bc0461f..2d8fc6b 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -29,8 +29,8 @@
#include <libintl.h>
#define _(string) gettext(string)
-#define PROG_VERSION "0.0.3"
-#define GUI_TITLE "gncpmount - 0.0.3"
+#define PROG_VERSION "version 0.0.4"
+#define GUI_TITLE "gncpmount"
/* CB - im using codeblocks */
#ifdef CB
diff --git a/src/gncpmount.c b/src/gncpmount.c
index cb2ce9e..96b6305 100644
--- a/src/gncpmount.c
+++ b/src/gncpmount.c
@@ -356,8 +356,11 @@ int main (int argc, char *argv[])
GtkWidget *submenu = NULL;
GtkWidget *menuitem = NULL;
+ gint i; //for
GdkPixbuf *xpm = NULL;
+ GList *icon_list = NULL;
+
gchar *keyfile_default = g_strconcat(g_get_home_dir(),"/.gncpmount/default", NULL);
setlocale(LC_ALL, "");
@@ -377,6 +380,21 @@ int main (int argc, char *argv[])
gtk_window_set_default_size (GTK_WINDOW (gui.win), WIDTH, HEIGHT);
gtk_window_set_resizable (GTK_WINDOW (gui.win), FALSE);
+ gchar *icon_names[5] = {"/usr/share/icons/hicolor/24x24/apps/gncpmount.png",
+ "/usr/share/icons/hicolor/32x32/apps/gncpmount.png",
+ "/usr/share/icons/hicolor/48x48/apps/gncpmount.png",
+ "/usr/share/icons/hicolor/64x64/apps/gncpmount.png",
+ "/usr/share/icons/hicolor/96x96/apps/gncpmount.png"};
+
+ for(i = 0; i < 5; i++)
+ {
+ GdkPixbuf *tmp = gdk_pixbuf_new_from_file(icon_names[i], NULL);
+ icon_list = g_list_append (icon_list, tmp);
+ }
+
+ gtk_window_set_icon_list (GTK_WINDOW(gui.win), icon_list);
+
+
gtk_widget_realize (gui.win);
g_signal_connect (gui.win, "destroy", gtk_main_quit, NULL);