* switching from WhiteStork to mDictionary - inital commit
authorstranger <dariusz.wiechecki@gmail.com>
Wed, 21 Nov 2007 09:08:24 +0000 (09:08 +0000)
committerstranger <dariusz.wiechecki@gmail.com>
Wed, 21 Nov 2007 09:08:24 +0000 (09:08 +0000)
git-svn-id: file:///svnroot/mdictionary/trunk@200 5bde0345-f819-0410-ac75-e5045f9217cc

97 files changed:
Makefile
README
add_dict
bm_converter/debian/control
bm_converter/desktop/bmconverter.desktop
bm_converter/src/bm-convert.c
data/bookmarks/xdxf/ws_bookmarks.xdxf
data/dictionaries/XDXFSampleDict/dict.xdxf
data/docs/mdictionary/changelog [new file with mode: 0644]
data/docs/mdictionary/changelog.Debian [new file with mode: 0644]
data/docs/mdictionary/copyright [new file with mode: 0644]
data/docs/whitestork/changelog [deleted file]
data/docs/whitestork/changelog.Debian [deleted file]
data/docs/whitestork/copyright [deleted file]
data/docs/whitestorkdictionary/copyright
data/docs/whitestorkgui/changelog
data/docs/whitestorkgui/changelog.Debian
data/docs/whitestorkgui/copyright
data/docs/whitestorkplugins/changelog
data/docs/whitestorkplugins/changelog.Debian
data/docs/whitestorkplugins/copyright
data/icons/mdictionary_about.png [new file with mode: 0644]
data/locale/en_GB.po
data/package_contents/whitestork/DEBIAN/control
data/package_contents/whitestork/DEBIAN/postinst
data/package_contents/whitestork/DEBIAN/prerm
data/package_contents/whitestorkdictionary/DEBIAN/control
data/package_contents/whitestorkgui/DEBIAN/control
data/package_contents/whitestorkgui/DEBIAN/postinst
data/package_contents/whitestorkgui/DEBIAN/postrm
data/package_contents/whitestorkplugins/DEBIAN/control
data/package_contents/whitestorkplugins/DEBIAN/postinst
data/package_contents/whitestorkplugins/DEBIAN/prerm
debian/changelog
debian/control
debian/copyright
debian/files
debian/rules
debian/whitestork.substvars
generate_locale
include/dictionary_engine.h
po/en_GB.po
po/pl_PL.po
po/pl_Pl.po
po/template.po
src/bookmarks/bdb/Makefile
src/bookmarks/bdb/include/engine_bookmark.h
src/bookmarks/bdb/src/engine_bookmark.c
src/bookmarks/bdb/src/test.c
src/bookmarks/bdb/src/testMakeDatabase.c
src/bookmarks/sql/include/engine_bookmark.h
src/bookmarks/sql/src/engine_bookmark.c
src/bookmarks/sql/src/test.c
src/bookmarks/sql/src/testMakeDatabase.c
src/bookmarks/sql3/include/engine_bookmark.h
src/bookmarks/sql3/src/engine_bookmark.c
src/bookmarks/sql3/src/test.c
src/bookmarks/sql3/src/testMakeDatabase.c
src/bookmarks/xdxf/include/engine_bookmark.h
src/bookmarks/xdxf/src/engine_bookmark.c
src/bookmarks/xdxf/src/engine_bookmark_old.c
src/bookmarks/xdxf/src/test.c
src/bookmarks/xdxf/src/test1.c
src/bookmarks/xdxf/src/test2.c
src/bookmarks/xdxf/src/testMakeDatabase.c
src/gui/include/pc-instances.h
src/gui/include/ws_gui.h
src/gui/include/ws_gui_callbacks.h
src/gui/include/ws_gui_layout.h
src/gui/makefile
src/gui/src/pc-instances.c
src/gui/src/ws_gui.c
src/gui/src/ws_gui_callbacks.c
src/gui/src/ws_gui_layout.c
src/manager/Makefile
src/manager/include/pc-instances.h
src/manager/include/ws_manager.h
src/manager/include/ws_mng_bookmarks_utils.h
src/manager/include/ws_mng_callbacks.h
src/manager/include/ws_mng_dictionary_utils.h
src/manager/include/ws_mng_gconf_utils.h
src/manager/include/ws_mng_searching_threads.h
src/manager/include/ws_mng_threads_utils.h
src/manager/src/whitestork.c
src/manager/src/ws_manager.c
src/manager/src/ws_mng_bookmarks_utils.c
src/manager/src/ws_mng_callbacks.c
src/manager/src/ws_mng_dictionary_utils.c
src/manager/src/ws_mng_gconf_utils.c
src/manager/src/ws_mng_searching_threads.c
src/manager/src/ws_mng_threads_utils.c
src/plugins/stardict/include/engine_stardict.h
src/plugins/stardict/src/engine_stardict.c
src/plugins/stardict/src/test.c
src/plugins/xdxf/include/engine_xdxf.h
src/plugins/xdxf/src/engine_xdxf.c
src/plugins/xdxf/src/test.c

index 2b48b10..45649ea 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,14 +31,14 @@ PACKAGES = packages
 
 #probably trash
 STARDICT = stardict
-APP_NAME = whitestork
+APP_NAME = mDictionary
 
 #versions
 MAJOR_VER = 1
-MINOR_VER = 1
+MINOR_VER = 0
 PATCH_VER = 0
 RELEASE_MAJOR_VER = 1
-RELEASE_MINOR_VER = 1
+RELEASE_MINOR_VER = 0
 RELEASE_PATCH_VER = 0
 PACK_VER = 0
 FRM_VER = 0.1
@@ -46,37 +46,37 @@ FRM_VER = 0.1
 # VERSION_FILE = ./${INCLUDE}/ws_version.h
 
 #package structure
-GUI_PACK_NAME = whitestorkgui
-MNG_PACK_NAME = whitestork
-PLUGINS_PACK_NAME = whitestorkplugins
-BOOKMARKS_PACK_NAME = whitestorkbookmarks
-META_PACK_NAME = whitestorkdictionary
-
-GUI_EXECUTABLE = ${BINARIES}/WhiteStork
-GUI_SERVICEFILE = org.maemo.WhiteStorkGui.service
+GUI_PACK_NAME = mdictionarygui
+MNG_PACK_NAME = mdictionary
+PLUGINS_PACK_NAME = mdictionaryplugins
+BOOKMARKS_PACK_NAME = mdictionarybookmarks
+META_PACK_NAME = mdictionarydictionary
+
+GUI_EXECUTABLE = ${BINARIES}/mdictionary
+GUI_SERVICEFILE = org.maemo.mdictionaryGui.service
 GUI_DIRS = ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/applications/hildon ${DESTDIR}/usr/share/pixmaps ${DESTDIR}/usr/share/mis ${DESTDIR}/usr/share/dbus-1/services ${DESTDIR}/usr/share/locale  
-#${DESTDIR}/usr/share/doc/whitestorkgui
+#${DESTDIR}/usr/share/doc/mdictionarygui
 GUI_DBUS = ${DATA}/other/${GUI_SERVICEFILE}
-GUI_ICONS = ${DATA}/icons/whitestork_icon.png ${DATA}/icons/whitestork.png ${DATA}/icons/ws_top.png ${DATA}/icons/ws_warning_icon.png ${DATA}/icons/qgn_indi_search_whitestork.png ${DATA}/icons/ws_tra.png
+GUI_ICONS = ${DATA}/icons/mdictionary_icon.png ${DATA}/icons/mdictionary.png ${DATA}/icons/ws_top.png ${DATA}/icons/ws_warning_icon.png ${DATA}/icons/qgn_indi_search_mdictionary.png ${DATA}/icons/ws_tra.png ${DATA}/icons/mdictionary_about.png
 GUI_LOCALE = ${DATA}/locale/out/
 GUI_DOC = ${DATA}/docs/${GUI_PACK_NAME}/
-GUI_OTHER = ${DATA}/other/whitestork.desktop
-GUI_MIS = ${DATA}/mis/whitestork-search.xml
+GUI_OTHER = ${DATA}/other/mdictionary.desktop
+GUI_MIS = ${DATA}/mis/mdictionary-search.xml
 
-MNG_EXECUTABLE = ${BINARIES}/WhiteStorkManager 
-MNG_SERVICEFILE = org.maemo.WhiteStorkManager.service
-MNG_LIB = ${BINARIES}/ws_bookmark.so
-MNG_DIRS = ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/WhiteStork ${DESTDIR}/usr/share/dbus-1/services  ${DESTDIR}/usr/share/WhiteStork ${DESTDIR}/usr/share/doc/${MNG_PACK_NAME}
+MNG_EXECUTABLE = ${BINARIES}/mdictionaryManager 
+MNG_SERVICEFILE = org.maemo.mdictionaryManager.service
+MNG_LIB = ${BINARIES}/engine_bookmarks.so
+MNG_DIRS = ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/mdictionary ${DESTDIR}/usr/share/dbus-1/services  ${DESTDIR}/usr/share/mdictionary ${DESTDIR}/usr/share/doc/${MNG_PACK_NAME}
 MNG_DBUS = ${DATA}/other/${MNG_SERVICEFILE}
 MNG_OTHER = ${DATA}/dictionaries 
-MNG_DICT1 = ${DATA}/dictionaries/StarDictSampleDict/sample.dict.dz ${DATA}/dictionaries/StarDictSampleDict/sample.idx ${DATA}/dictionaries/StarDictSampleDict/sample.ifo ${DESTDIR}/usr/share/WhiteStork/dictionaries/StarDictSampleDict/
-MNG_DICT2 = ${DATA}/dictionaries/XDXFSampleDict/dict.xdxf ${DESTDIR}/usr/share/WhiteStork/dictionaries/XDXFSampleDict/
-MNG_DICT_DIRS = ${DESTDIR}/usr/share/WhiteStork/dictionaries/StarDictSampleDict/ ${DESTDIR}/usr/share/WhiteStork/dictionaries/XDXFSampleDict/
+MNG_DICT1 = ${DATA}/dictionaries/StarDictSampleDict/sample.dict.dz ${DATA}/dictionaries/StarDictSampleDict/sample.idx ${DATA}/dictionaries/StarDictSampleDict/sample.ifo ${DESTDIR}/usr/share/mdictionary/dictionaries/StarDictSampleDict/
+MNG_DICT2 = ${DATA}/dictionaries/XDXFSampleDict/dict.xdxf ${DESTDIR}/usr/share/mdictionary/dictionaries/XDXFSampleDict/
+MNG_DICT_DIRS = ${DESTDIR}/usr/share/mdictionary/dictionaries/StarDictSampleDict/ ${DESTDIR}/usr/share/mdictionary/dictionaries/XDXFSampleDict/
 MNG_BOOKMARKS = ${DATA}/bookmarks/${BOOKMARKS}/*
 MNG_DOC = ${DATA}/docs/${MNG_PACK_NAME}/
 
 PLUGINS_LIB = ${BINARIES}/engine_*.so
-PLUGINS_DIRS = ${DESTDIR}/usr/lib/WhiteStork ${DESTDIR}/usr/share/pixmaps
+PLUGINS_DIRS = ${DESTDIR}/usr/lib/mdictionary ${DESTDIR}/usr/share/pixmaps
 #${DESTDIR}/usr/share/doc/${PLUGINS_PACK_NAME} 
 PLUGINS_ICONS = ${DATA}/icons/engine_xdxf_icon.png
 PLUGINS_DOC = ${DATA}/docs/${PLUGINS_PACK_NAME}/
@@ -86,7 +86,7 @@ META_DOC = ${DATA}/docs/${META_PACK_NAME}/
 
 MAIL_ADDRESS = mdictionary-devel@garage.maemo.org
 LOCALEDIR=/usr/share/locale
-GETTEXT_PACKAGE=whitestork
+GETTEXT_PACKAGE=mdictionary
 ALL_LINGUAS="en_GB"
 #APP_VER = ${MAJOR_VER}.${MINOR_VER}.`svn info | grep "Revision:" | awk '{print $$2}'`
 
@@ -116,14 +116,14 @@ tag-version: clean
 send-last:     debs
                @tar -czf ${APP_NAME}-${APP_VER}.tar.gz *_${APP_VER}-${PACK_VER}_${ARCH}.deb
                @echo -e -n "#!/bin/bash\n\
-                       mutt -x -a ~/debs.log -a ~/build.log -a ~/${APP_NAME}-${APP_VER}.tar.gz -s \"[WhiteStork]: daily build - version ${APP_NAME}-${APP_VER}\" ${MAIL_ADDRESS} <~/mail.content\n\
+                       mutt -x -a ~/debs.log -a ~/build.log -a ~/${APP_NAME}-${APP_VER}.tar.gz -s \"[mdictionary]: daily build - version ${APP_NAME}-${APP_VER}\" ${MAIL_ADDRESS} <~/mail.content\n\
                        rm -f ~/${APP_NAME}-${APP_VER}.tar.gz\n" > mail.script
 
                @chmod +x mail.script
 
                @echo -e -n "\
                        This message was generated automatically , please do not reply.\n\
-                       Attachment: ${APP_NAME}-${APP_VER}.tar.gz - tarball with the newest Whitestork's packages.\n\
+                       Attachment: ${APP_NAME}-${APP_VER}.tar.gz - tarball with the newest mdictionary's packages.\n\
                        Attachment: build.log - logs from building binaries.\n\
                        Attachment: debs.log - logs from making *.deb packages.\n\n\
                        Automatic Building Framework ver: ${FRM_VER}\nCopyright 2006 ComArch S.A.\n" > mail.content
@@ -144,17 +144,17 @@ localization:
                @echo -e -n "Locale generation successfully completed...\n"
                @echo -e -n "Locale generation successfully completed...\n" > ${LOG_BUILD}
 
-build: pre-build  ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork ${BINARIES}/WhiteStorkManager ${BINARIES}/ws_bookmark.so plugins
-               @echo -e -n "\nBuilding WhiteStork is finished.\n"
+build: pre-build  ${BINARIES}/ws_dbus.o ${GUI_EXECUTABLE} ${MNG_EXECUTABLE} ${BINARIES}/engine_bookmarks.so plugins
+               @echo -e -n "\nBuilding mdictionary is finished.\n"
 
 pre-build:
-               @echo -e -n "Building WhiteStork... \n"
+               @echo -e -n "Building mdictionary... \n"
                @echo -e -n "" > ${LOG_BUILD}
 
 plugins: ${BINARIES}/engine_xdxf.so ${BINARIES}/engine_stardict.so
                
 
-${BINARIES}/WhiteStorkManager: 
+${MNG_EXECUTABLE}: 
 # update-version
                @echo -e -n "**--> Compiling Manager...\n"
                @echo -e -n "**--> Compiling Manager...\n" >> ${LOG_BUILD}
@@ -166,7 +166,7 @@ ${BINARIES}/ws_dbus.o:
 #              @cd ${DBUS} && make >> ../../${LOG_BUILD}
                @make -C ${DBUS} >> ${LOG_BUILD}
 
-${BINARIES}/WhiteStork: 
+${GUI_EXECUTABLE}: 
 #update-version
                @echo -e -n "**--> Compiling User Interface...\n"
                @echo -e -n "**--> Compiling User Interface...\n" >> ${LOG_BUILD}
@@ -187,7 +187,7 @@ ${BINARIES}/engine_stardict.so:
 #              @cd ${STARDICT_PLUGIN} && make >> ../../../${LOG_BUILD}
                @make -C ${STARDICT_PLUGIN} >> ${LOG_BUILD}
 
-${BINARIES}/ws_bookmark.so: 
+${BINARIES}/engine_bookmarks.so: 
 # update-version
                @echo -e -n "**--> Compiling Bookmarks...\n"
                @echo -e -n "**--> Compiling Bookmarks...\n" >> ${LOG_BUILD}
@@ -223,28 +223,28 @@ run: clean install entries run-dict clean-temp
 
 
 run-dict:
-               @run-standalone.sh WhiteStorkManager
+               @run-standalone.sh mdictionaryManager
 
 clean-temp:
-               @-fakeroot rm -rf /usr/share/WhiteStork
-               @-fakeroot rm -rf /usr/lib/WhiteStork
-               @-fakeroot rm -rf /usr/include/WhiteStork
-               @-fakeroot rm -f /etc/others-menu/extra_applications/0112_whitestorkgui.desktop
-               @-fakeroot rm -f /usr/share/applications/hildon/whitestorkgui.desktop 
-               @-fakeroot rm -f /usr/share/pixmaps/whitestork.png 
-               @-fakeroot rm -f /usr/share/pixmaps/whitestork_icon.png
-               @-fakeroot rm -f /usr/bin/WhiteStork
-               @-fakeroot rm -f /usr/bin/WhiteStorkManager
-               @-fakeroot rm -f /usr/share/applications/hildon/whitestorkgui.desktop 
-               @-fakeroot rm -f /usr/lib/WhiteStork/engine_xdxf.so
-               @-fakeroot rm -f /usr/lib/WhiteStork/engine_stardict.so
-
-#              gconftool-2 --recursive-unset /apps/maemo/WhiteStork
-
-install-manager: localization ${BINARIES}/ws_dbus.o  ${BINARIES}/ws_bookmark.so ${BINARIES}/WhiteStorkManager
+               @-fakeroot rm -rf /usr/share/mdictionary
+               @-fakeroot rm -rf /usr/lib/mdictionary
+               @-fakeroot rm -rf /usr/include/mdictionary
+               @-fakeroot rm -f /etc/others-menu/extra_applications/0112_mdictionarygui.desktop
+               @-fakeroot rm -f /usr/share/applications/hildon/mdictionarygui.desktop 
+               @-fakeroot rm -f /usr/share/pixmaps/mdictionary.png 
+               @-fakeroot rm -f /usr/share/pixmaps/mdictionary_icon.png
+               @-fakeroot rm -f /usr/bin/mdictionary
+               @-fakeroot rm -f /usr/bin/mdictionaryManager
+               @-fakeroot rm -f /usr/share/applications/hildon/mdictionarygui.desktop 
+               @-fakeroot rm -f /usr/lib/mdictionary/engine_xdxf.so
+               @-fakeroot rm -f /usr/lib/mdictionary/engine_stardict.so
+
+#              gconftool-2 --recursive-unset /apps/maemo/mdictionary
+
+install-manager: localization ${BINARIES}/ws_dbus.o  ${BINARIES}/engine_bookmarks.so ${MNG_EXECUTABLE}
                @install -d ${MNG_DIRS}
                @cp ${MNG_EXECUTABLE} ${DESTDIR}/usr/bin
-               @cp ${MNG_LIB} ${DESTDIR}/usr/lib/WhiteStork
+               @cp ${MNG_LIB} ${DESTDIR}/usr/lib/mdictionary
                @cp ${MNG_DBUS} ${DESTDIR}/usr/share/dbus-1/services
                @find  ${MNG_DOC} -type f -not -path *.svn* -exec cp {} ${DESTDIR}/usr/share/doc/${MNG_PACK_NAME} \;
                
@@ -252,10 +252,10 @@ install-manager: localization ${BINARIES}/ws_dbus.o  ${BINARIES}/ws_bookmark.so
 #              @cp ${MNG_DICT1}
 #              @cp ${MNG_DICT2}
                
-               @install -d ${DESTDIR}/usr/share/WhiteStork/dictionaries/bookmarks
-               @cp -rf ${MNG_BOOKMARKS} ${DESTDIR}/usr/share/WhiteStork/dictionaries/bookmarks
+               @install -d ${DESTDIR}/usr/share/mdictionary/dictionaries/bookmarks
+               @cp -rf ${MNG_BOOKMARKS} ${DESTDIR}/usr/share/mdictionary/dictionaries/bookmarks
                
-install-gui:   ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork 
+install-gui:   ${BINARIES}/ws_dbus.o ${GUI_EXECUTABLE} 
                @install -d ${GUI_DIRS}
                @cp ${GUI_EXECUTABLE} ${DESTDIR}/usr/bin
                @cp ${GUI_ICONS} ${DESTDIR}/usr/share/pixmaps
@@ -267,37 +267,39 @@ install-gui:      ${BINARIES}/ws_dbus.o ${BINARIES}/WhiteStork
 
 install-plugins: plugins
                @install -d ${PLUGINS_DIRS}
-               @cp ${PLUGINS_LIB} ${DESTDIR}/usr/lib/WhiteStork
+               @cp ${PLUGINS_LIB} ${DESTDIR}/usr/lib/mdictionary
                @cp ${PLUGINS_ICONS} ${DESTDIR}/usr/share/pixmaps
                @install -d ${MNG_DICT_DIRS}
                @cp ${MNG_DICT1}
                @cp ${MNG_DICT2}
 #              @find  ${PLUGINS_DOC} -type f -not -path *.svn* -exec cp {} ${DESTDIR}/usr/share/doc/${PLUGINS_PACK_NAME} \;
 
+install-mdictionary:   install-manager install-gui install-plugins
+
 install:       install-manager install-gui install-plugins
-               @echo -e "\n\nIf you are installing whitestork, please run 'make entries', before running the application ( not as root )\n\n"
+               @echo -e "\n\nIf you are installing mdictionary, please run 'make entries', before running the application ( not as root )\n\n"
 
 entries:       
-               gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/StarDictSampleDict/name "Polish - English Sample Dictionary"
-               gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/StarDictSampleDict/path "/usr/share/WhiteStork/dictionaries/StarDictSampleDict"
-               gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/StarDictSampleDict/active true
-               gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/StarDictSampleDict/optimized false
-               gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/XDXFSampleDict/name "English - Polish Sample Dictionary"
-               gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/XDXFSampleDict/path "/usr/share/WhiteStork/dictionaries/XDXFSampleDict"
-               gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/XDXFSampleDict/active true
-               gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/XDXFSampleDict/optimized false
+               gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/StarDictSampleDict/name "Polish - English Sample Dictionary"
+               gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/StarDictSampleDict/path "/usr/share/mdictionary/dictionaries/StarDictSampleDict"
+               gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/StarDictSampleDict/active true
+               gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/StarDictSampleDict/optimized false
+               gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/XDXFSampleDict/name "English - Polish Sample Dictionary"
+               gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/XDXFSampleDict/path "/usr/share/mdictionary/dictionaries/XDXFSampleDict"
+               gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/XDXFSampleDict/active true
+               gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/XDXFSampleDict/optimized false
                
-               gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/bookmarks/path "/usr/lib/WhiteStork/ws_bookmark.so"
-               gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/name "Bookmarks"
-               gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/path "/usr/share/WhiteStork/dictionaries/bookmarks"
-               gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/active false
-               gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/optimized true
-               chmod -R 0777 /usr/share/WhiteStork/dictionaries
+               gconftool-2 --type string --set /apps/maemo/mdictionary/engines/bookmarks/path "/usr/lib/mdictionary/engine_bookmarks.so"
+               gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/bookmarks/name "Bookmarks"
+               gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/bookmarks/path "/usr/share/mdictionary/dictionaries/bookmarks"
+               gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/bookmarks/active false
+               gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/bookmarks/optimized true
+               chmod -R 0777 /usr/share/mdictionary/dictionaries
                
-               gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/xdxf/path "/usr/lib/WhiteStork/engine_xdxf.so"
-               gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/stardict/path "/usr/lib/WhiteStork/engine_stardict.so"
+               gconftool-2 --type string --set /apps/maemo/mdictionary/engines/xdxf/path "/usr/lib/mdictionary/engine_xdxf.so"
+               gconftool-2 --type string --set /apps/maemo/mdictionary/engines/stardict/path "/usr/lib/mdictionary/engine_stardict.so"
                
-#              maemo-select-menu-location whitestork.desktop
+#              maemo-select-menu-location mdictionary.desktop
 
 
 install_deb: clean-inst-log uninstall eng-deb-i mng-deb-i gui-deb-i
@@ -307,8 +309,8 @@ clean-inst-log:
                @echo -n "" > ${LOG_INST}
 
 uninstall:
-               @-fakeroot dpkg --purge whitestork
-#              @-fakeroot dpkg --purge whitestorkdictionary
+               @-fakeroot dpkg --purge mdictionary
+#              @-fakeroot dpkg --purge mdictionarydictionary
 
 display: access
                @fakeroot su ${USER} -c 'af-sb-init.sh start'   
diff --git a/README b/README
index 9eb335c..e00ff93 100644 (file)
--- a/README
+++ b/README
@@ -1,10 +1,10 @@
-WhiteStork Multilingual Dictionary ver. 0.1.0 ALPHA
+mdictionary Multilingual Dictionary ver. 0.1.0 ALPHA
 
 
 
-What is WhiteStork Multilingual Dictionary
+What is mdictionary Multilingual Dictionary
 ------------------------------------------
-WhiteStork is a multilingual dictionary enabling its users to use many dictionary formats. Our final goal is to use many search engines so that different file formats could be used. They will be in a form of dynamically loadable modules. For now however, we have limited the project to one engine for the XDXF format. The application consists of four modules: 
+mdictionary is a multilingual dictionary enabling its users to use many dictionary formats. Our final goal is to use many search engines so that different file formats could be used. They will be in a form of dynamically loadable modules. For now however, we have limited the project to one engine for the XDXF format. The application consists of four modules: 
 - GUI - written using GTK+ Hildon, GPL License
 - Engine - XDXF format parser, GPL license
 - Manager - thread management and GUI starting, GPL license
@@ -13,11 +13,11 @@ WhiteStork is a multilingual dictionary enabling its users to use many dictionar
 Compilation
 -----------
 
-In order to compile this application go to the WhiteStork/trunk directory and run the following command:
+In order to compile this application go to the mdictionary/trunk directory and run the following command:
 
 make clean && make
 
-However, it is important to put out, that this will only compile the program. You won't be able to run it. Read the Installation section for information on how to install WhiteStork on your system.
+However, it is important to put out, that this will only compile the program. You won't be able to run it. Read the Installation section for information on how to install mdictionary on your system.
 
 Installation
 ------------
@@ -35,7 +35,7 @@ These lines, compile the source code, create a debian package and install it ont
 Running
 -------
 
-After installation is successful, there should a WhiteStork entry in the Extras submenu. All you have to do now is start it. Please refer to the WhiteStork User Interface Specification for hints on how to use our dictionary. It is available under this URL: https://garage.maemo.org/docman/?group_id=58
+After installation is successful, there should a mdictionary entry in the Extras submenu. All you have to do now is start it. Please refer to the mdictionary User Interface Specification for hints on how to use our dictionary. It is available under this URL: https://garage.maemo.org/docman/?group_id=58
 The package contains two dictionaries, so you can start using our app right away.
 
 Should there be any problems, please contact one of our developers via garage.maemo.org.
@@ -44,5 +44,5 @@ Should there be any problems, please contact one of our developers via garage.ma
 Have fun using our application
 
 
-The WhiteStork Multilingual dictionary developer's
+The mdictionary Multilingual dictionary developer's
 
index 7f0ad71..6919957 100755 (executable)
--- a/add_dict
+++ b/add_dict
@@ -9,11 +9,11 @@ else
                echo "Dictionary name wasn't specified. Run without parameters to get help."
        else
                if [ -e $1 ]; then
-                       gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/$2/name "$2"
-                       gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/$2/path "`pwd`/$1"
-                       gconftool-2 --type boolean --set /apps/maemo/WhiteStork/Dictionaries/$2/active false
-                       gconftool-2 --type boolean --set /apps/maemo/WhiteStork/Dictionaries/$2/optimized false
-                       gconftool-2 -R /apps/maemo/WhiteStork/Dictionaries/$2
+                       gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/$2/name "$2"
+                       gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/$2/path "`pwd`/$1"
+                       gconftool-2 --type boolean --set /apps/maemo/mdictionary/dictionaries/$2/active false
+                       gconftool-2 --type boolean --set /apps/maemo/mdictionary/dictionaries/$2/optimized false
+                       gconftool-2 -R /apps/maemo/mdictionary/dictionaries/$2
                else
                        echo "Dictionary file couldn't be found. Run without parameters to get help."
                        
index 6913df8..ccebe74 100644 (file)
@@ -8,7 +8,7 @@ Standards-Version: 3.6.0
 Package: bmconverter
 Architecture: any
 Depends: libsqlite0 (>= 2.8.13)
-Description: Software for converting WhiteStork bookmarks from sqlite format to Berkeley DB
+Description: Software for converting mdictionary bookmarks from sqlite format to Berkeley DB
 XB-Maemo-Icon-26:
  iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAABBklEQVRIidWW246EMAxD7dF+eP7c
  +0CH3pK0ZTUjrSVEISWHmLQC+JL48Dmd5okmaBm35srWsJeXRBIktcBc1r3cNgjkgaO2B3NBgxQm
index 473cc35..b34ecb5 100644 (file)
@@ -2,7 +2,7 @@
 Encoding=UTF-8
 Version=1.0
 Name=Bookmark converter
-Comment=WhiteStork bookmark converter
+Comment=mdictionary bookmark converter
 Exec=/usr/bin/bmconverter
 Icon=bmconverter
 Terminal=true
index 6e9a4a1..20ef202 100644 (file)
@@ -9,10 +9,10 @@
 #include <libgnomevfs/gnome-vfs.h>
 #include "bm-convert.h"
 
-#define WHITE_STORK_NAME "/usr/bin/WhiteStorkManager"
-#define WHITE_STORK_BOOKMARK_LOC "/usr/share/WhiteStork/dictionaries/bookmarks/ws_bookmarks"
+#define WHITE_STORK_NAME "/usr/bin/mdictionaryManager"
+#define WHITE_STORK_BOOKMARK_LOC "/usr/share/mdictionary/dictionaries/bookmarks/ws_bookmarks"
 #define TMP_FILE "/media/mmc1/.bookmarks"
-#define WS_BERKELEY_BOOKMARK_FILES "/usr/share/WhiteStork/dictionaries/bookmarks"
+#define WS_BERKELEY_BOOKMARK_FILES "/usr/share/mdictionary/dictionaries/bookmarks"
 
 #define g_strlen(string) ( NULL == (string) ? 0 : strlen(string) )
 
@@ -54,7 +54,7 @@ MainWindow* bmc_create()
        if (self != NULL)
        {
                self->program = HILDON_PROGRAM(hildon_program_get_instance());
-               g_set_application_name("WhiteStork bookmark converter");
+               g_set_application_name("mdictionary bookmark converter");
                self->window = HILDON_WINDOW(hildon_window_new());
                hildon_program_add_window(self->program, self->window);
                g_signal_connect(self->window, "delete_event", 
@@ -66,10 +66,10 @@ MainWindow* bmc_create()
                gtk_container_add(GTK_CONTAINER(self->window), self->box);
 
                self->label = 
-                       gtk_label_new("This application converts WhiteStork bookmarks'"
+                       gtk_label_new("This application converts mdictionary bookmarks'"
                                " database from the sqlite format to the Berkeley DB"
                                " format.\nThe processed files are copied"
-                               " from /usr/share/WhiteStork/dictionaries/bookmarks"
+                               " from /usr/share/mdictionary/dictionaries/bookmarks"
                                " to /media/mmc1/.bookmarks directory");
                gtk_label_set_line_wrap(GTK_LABEL(self->label), TRUE);
                gtk_widget_show(self->label);
@@ -111,7 +111,7 @@ MainWindow* bmc_create()
                                        GTK_DIALOG_DESTROY_WITH_PARENT,
                                        GTK_MESSAGE_ERROR,
                                        GTK_BUTTONS_OK,
-                                       "WhiteStork not installed");
+                                       "mdictionary not installed");
                        gtk_widget_show_all(dialog);
                        g_signal_connect_swapped(dialog,
                                        "response", 
index d34ed91..e48dfbd 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE xdxf SYSTEM "http://xdxf.sourceforge.net/xdxf_lousy.dtd">
 <xdxf lang_from="NN" lang_to="NN" format="visual">
-<full_name>WhiteStork Bookmarks</full_name>
+<full_name>mdictionary Bookmarks</full_name>
 <description>Version: 1.0</description>
 
 </xdxf>
\ No newline at end of file
index 71717ee..8abfd5c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>\r
 <xdxf lang_from="ENG" lang_to="POL" format="visual">\r
        <full_name>English - Polish dictionary</full_name>\r
-       <description>Sample dictionary with some usefull expressions. Any suggestions? Please conntact marcin.biedron@comarch.pl. This file is part of WhiteStork application. Copyright 2007, ComArch S.A. All rights reserved.</description>\r
+       <description>Sample dictionary with some usefull expressions. Any suggestions? Please conntact marcin.biedron@comarch.pl. This file is part of mdictionary application. Copyright 2007, ComArch S.A. All rights reserved.</description>\r
        <ar><k>a lot of</k> - dużo</ar>\r
        <ar><k>a quarter</k> - Ä‡wiartka</ar>\r
        <ar><k>a third</k> - jedna trzecia</ar>\r
diff --git a/data/docs/mdictionary/changelog b/data/docs/mdictionary/changelog
new file mode 100644 (file)
index 0000000..44f6a4f
--- /dev/null
@@ -0,0 +1,5 @@
+mdictionary (0.1.0)
+
+  * Testing changelog.
+  * mdictionary
+ -- author <email>  2006-09-07
diff --git a/data/docs/mdictionary/changelog.Debian b/data/docs/mdictionary/changelog.Debian
new file mode 100644 (file)
index 0000000..279aa65
--- /dev/null
@@ -0,0 +1,2 @@
+mdictionary Debian maintainer and upstream author are identical.
+Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
diff --git a/data/docs/mdictionary/copyright b/data/docs/mdictionary/copyright
new file mode 100644 (file)
index 0000000..e91c14d
--- /dev/null
@@ -0,0 +1,3 @@
+mdictionary
+
+All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
diff --git a/data/docs/whitestork/changelog b/data/docs/whitestork/changelog
deleted file mode 100644 (file)
index 607b5ab..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-whitestork (0.1.0)
-
-  * Testing changelog.
-  * whitestork
- -- author <email>  2006-09-07
diff --git a/data/docs/whitestork/changelog.Debian b/data/docs/whitestork/changelog.Debian
deleted file mode 100644 (file)
index 7bc6702..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-whitestork Debian maintainer and upstream author are identical.
-Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
diff --git a/data/docs/whitestork/copyright b/data/docs/whitestork/copyright
deleted file mode 100644 (file)
index e455ce8..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-whitestork
-
-All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
index 7b22cfd..70d19ad 100644 (file)
@@ -1,3 +1,3 @@
-WhiteStork Dictionary
+mdictionary Dictionary
 
 All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
index d5c3bfd..403d4bf 100644 (file)
@@ -1,5 +1,5 @@
-whitestorkgui (0.1.0)
+mdictionarygui (0.1.0)
 
   * Testing changelog.
-  * whitestorkgui
+  * mdictionarygui
  -- author <email>  2006-09-07
index cff7f1c..826b2cf 100644 (file)
@@ -1,2 +1,2 @@
-whitestorkgui Debian maintainer and upstream author are identical.
+mdictionarygui Debian maintainer and upstream author are identical.
 Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
index 2a3070b..cfcccf1 100644 (file)
@@ -1,3 +1,3 @@
-whitestorkgui
+mdictionarygui
 
 All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
index 14929fd..746cca3 100644 (file)
@@ -1,4 +1,4 @@
-whitestorkplugins (0.6.0)
+mdictionaryplugins (0.6.0)
 
   * Testing changelog.
   * enginexdxf
index 2834b45..938b130 100644 (file)
@@ -1,3 +1,3 @@
-whitestorkplugins
+mdictionaryplugins
 Debian maintainer and upstream author are identical.
 Therefore see also normal changelog file for Debian changes.
\ No newline at end of file
index 8c97a75..eff69d6 100644 (file)
@@ -1,3 +1,3 @@
-whitestorkplugins
+mdictionaryplugins
 
 All programs are either under the GPL or LGPL. The complete text of the GPL and LGPL licenses can be found in the /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files.
\ No newline at end of file
diff --git a/data/icons/mdictionary_about.png b/data/icons/mdictionary_about.png
new file mode 100644 (file)
index 0000000..4791621
Binary files /dev/null and b/data/icons/mdictionary_about.png differ
index de7e9de..f581a34 100644 (file)
@@ -161,7 +161,7 @@ msgstr "Zoom out"
 
 #: ../gui/src/ws_gui_layout.c:712 ../gui/src/ws_gui_layout.c:904
 msgid "ws_ti_choose_dictionaries_title"
-msgstr "Select dictionaries"
+msgstr "Select dictionaries..."
 
 #: ../gui/src/ws_gui_layout.c:767 ../gui/src/ws_gui_layout.c:941
 #: ../gui/src/ws_gui_layout.c:1233 ../gui/src/ws_gui_layout.c:1427
@@ -350,4 +350,4 @@ msgstr "Too many words"
 
 #: ../gui/src/ws_gui_layout.c:1780
 msgid "ws_ni_words_list_full"
-msgstr "Query was too wide, WhiteStork is not able to show all words matching it. Please, elaborate your query."
+msgstr "Query was too wide, mdictionary is not able to show all words matching it. Please, elaborate your query."
index 02e7fda..c3810bd 100644 (file)
@@ -1,4 +1,4 @@
-Package: whitestork
+Package: mdictionary
 Version:
 Section: user/office
 Priority: optional
@@ -7,7 +7,7 @@ Installed-Size:
 Depends: libexpat1 (>= 1.95.8)        
 Maintainer: ComArch S.A. <contact@comarch.com>
 Description: Multilingual dictionary.
- WhiteStork Multilingual Dictionary is a very functional
+ mdictionary Multilingual Dictionary is a very functional
  application allowing the use of many dictionary engines.
  You can either download them from our homepage at 
  http://garage.maemo.org, or write your own, provided
index b65f299..c3c2ed0 100755 (executable)
@@ -5,19 +5,19 @@ echo -e "Postinstalling actions..."
 if [ "$1" != "upgrade" ]
 then
 # End automatically added section
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/elements/name "Elements Database"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/elements/path "/usr/share/WhiteStork/dictionaries/elements"'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/elements/active true'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/elements/optimized true'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/us-en/name "American - English Dictionary"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/us-en/path "/usr/share/WhiteStork/dictionaries/us-en"'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/us-en/active true'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/us-en/optimized false'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/elements/name "Elements Database"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/elements/path "/usr/share/mdictionary/dictionaries/elements"'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/elements/active true'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/elements/optimized true'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/us-en/name "American - English Dictionary"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/us-en/path "/usr/share/mdictionary/dictionaries/us-en"'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/us-en/active true'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/us-en/optimized false'
 
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/bookmarks/path "/usr/lib/WhiteStork/ws_bookmark.so"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/name "Bookmarks"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/path "/usr/share/WhiteStork/dictionaries/bookmarks"'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/active false'
-su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/Dictionaries/bookmarks/optimized true'
-chmod -R 0777 /usr/share/WhiteStork/dictionaries
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/engines/bookmarks/path "/usr/lib/mdictionary/ws_bookmark.so"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/bookmarks/name "Bookmarks"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/bookmarks/path "/usr/share/mdictionary/dictionaries/bookmarks"'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/bookmarks/active false'
+su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/dictionaries/bookmarks/optimized true'
+chmod -R 0777 /usr/share/mdictionary/dictionaries
 fi
\ No newline at end of file
index ef59312..362bb3a 100755 (executable)
@@ -2,13 +2,13 @@
 
 echo -e "Preremoving actions..."
 
-#su $USER -c 'rm -rf /usr/share/WhiteStork'
+#su $USER -c 'rm -rf /usr/share/mdictionary'
 
 if [ "$1" != "upgrade" ]
 then
        echo -e -n "Removing gconf configuration..\n"
-       su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/WhiteStork/Dictionaries'
-       su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/WhiteStork/Engines/bookmarks'
+       su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/mdictionary/dictionaries'
+       su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/mdictionary/engines/bookmarks'
 fi
 
 # End automatically added section
index fd6060a..1bb9a62 100644 (file)
@@ -1,12 +1,12 @@
-Package: whitestorkdictionary                                                         
+Package: mdictionarydictionary                                                         
 Version:
 Section: user/office
 Priority: optional                                                           
 Architecture: all  
 Installed-Size:                                                           
-Depends: whitestorkgui (>= 0.1.0), whitestork (>= 0.1.0), whitestorkplugins (>= 0.1.0)       
+Depends: mdictionarygui (>= 0.1.0), mdictionary (>= 0.1.0), mdictionaryplugins (>= 0.1.0)       
 Maintainer: ComArch S.A. <contact@comarch.com>                              
-Description: metapackage binding all WhiteStork Dictionary's components
- This package gathers all WhiteStork's components together, increasing
- the ease of use of WhiteStork Multilingual Dictionary.
+Description: metapackage binding all mdictionary Dictionary's components
+ This package gathers all mdictionary's components together, increasing
+ the ease of use of mdictionary Multilingual Dictionary.
  Copyright 2006, ComArch S.A. 
index 4e0ce7d..685062c 100644 (file)
@@ -1,12 +1,12 @@
-Package: whitestorkgui                                                         
+Package: mdictionarygui                                                         
 Version:
 Section: user/office
 Priority: optional                                                           
 Architecture: all  
 Installed-Size: 
-Depends: libexpat1 (>= 1.95.8), whitestork (>= 0.1.0)        
+Depends: libexpat1 (>= 1.95.8), mdictionary (>= 0.1.0)        
 Maintainer: ComArch S.A. <contact@comarch.com>                              
-Description: GUI for whitestork.
+Description: GUI for mdictionary.
  This package contain an example of GUI for 
  Whitestork - Multilingual Dictionary for 
  Maemo platform.
index 3ad6118..841eefb 100755 (executable)
@@ -2,15 +2,15 @@
 
 #echo $1 >> /home/krzsas/log.txt
 echo -e "Postinstalling actions..." 
-su $USER -c 'ln -s /usr/share/applications/hildon/whitestork.desktop /etc/others-menu/extra_applications/0112_whitestorkgui.desktop' ;
-#maemo-confirm-text /usr/share/doc/whitestorkgui/copyright
+su $USER -c 'ln -s /usr/share/applications/hildon/mdictionary.desktop /etc/others-menu/extra_applications/0112_mdictionarygui.desktop' ;
+#maemo-confirm-text /usr/share/doc/mdictionarygui/copyright
 
 #case $? in
-#0)su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/configuration/licence true';;
-  # maemo-select-menu-location whitestork.desktop
-#1)su $USER -c 'gconftool-2 --type bool --set /apps/maemo/WhiteStork/configuration/licence false';;
+#0)su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/configuration/licence true';;
+  # maemo-select-menu-location mdictionary.desktop
+#1)su $USER -c 'gconftool-2 --type bool --set /apps/maemo/mdictionary/configuration/licence false';;
 #esac
-maemo-select-menu-location whitestork.desktop
+maemo-select-menu-location mdictionary.desktop
 
 exit 0
 
index 75a3c55..816ca18 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh
 
 echo -e "Postremoving actions..."
-su $USER -c 'rm -f /etc/others-menu/extra_applications/0112_whitestorkgui.desktop' ;
\ No newline at end of file
+su $USER -c 'rm -f /etc/others-menu/extra_applications/0112_mdictionarygui.desktop' ;
\ No newline at end of file
index 63cb47b..2594469 100644 (file)
@@ -1,4 +1,4 @@
-Package: whitestorkplugins
+Package: mdictionaryplugins
 Version:
 Section: user/office
 Priority: optional                                                           
@@ -6,7 +6,7 @@ Architecture: all
 Installed-Size:
 Depends: libexpat1 (>= 1.95.8)       
 Maintainer: ComArch S.A. <contact@comarch.com>                              
-Description: Parsing engines for WhiteStork Multilingual Dictionary
+Description: Parsing engines for mdictionary Multilingual Dictionary
  This package enables the use of XDXF and stardict dictionaries. Additional information about the XDXF format can be found here: xdxf.sourceforge.net.
  Copyright 2006, ComArch S.A. 
 Maemo-Icon-26: 
index 43847fa..d6c4e9a 100755 (executable)
@@ -6,8 +6,8 @@ if [ "$1" != "upgrade" ]
 then
 # End automatically added section
 
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/xdxf/path "/usr/lib/WhiteStork/engine_xdxf.so"'
-su $USER -c 'gconftool-2 --type string --set /apps/maemo/WhiteStork/Engines/stardict/path "/usr/lib/WhiteStork/engine_stardict.so"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/engines/xdxf/path "/usr/lib/mdictionary/engine_xdxf.so"'
+su $USER -c 'gconftool-2 --type string --set /apps/maemo/mdictionary/engines/stardict/path "/usr/lib/mdictionary/engine_stardict.so"'
 
 fi
 # End automatically added section
index 1edb424..e2128b1 100755 (executable)
@@ -5,7 +5,7 @@ echo -e "Preremoving actions..."
 if [ "$1" != "upgrade" ]
 then
        echo -e -n "Removing gconf configuration..\n"
-       su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/WhiteStork/Engines'
+       su $USER -c 'gconftool-2 --recursive-unset /apps/maemo/mdictionary/engines'
 fi
 
 
index dbf5ee3..0aa1f6f 100644 (file)
@@ -1,20 +1,12 @@
-whitestork (1.1.0-1) unstable; urgency=low
+mdictionary (1.0.0-2) unstable; urgency=low
 
-  * plugin for home applet "Internet Search" - search in mDictionary
-  * change Copyright 2006 into Copyright 2006-2007 in copyrigth file
-  * some info banners have been claryfied
-  * cleaning translation after unsuccessful new search fixed
+  * minor bugfixes in debian package
 
- -- unknown <Dariusz.Wiechecki@comarch.com>  Tue, 24 Jul 2007 15:27:00 +0300
+ -- unknown <Dariusz.Wiechecki@comarch.com>  Mon, 20 Nov 2007 13:11:00 +0300
 
-whitestork (1.0.1-1) unstable; urgency=low
+mdictionary (1.0.0-1) unstable; urgency=low
 
-  * Minor packaging update. No code changes.
+  * the first release of mDictionary (previously known as a WhiteStork)
+  * new icons and name
 
- -- unknown <Milosz.Wasilewski@comarch.com>  Sun, 29 Apr 2007 19:30:47 +0300
-
-whitestork (1.0.0-1) unstable; urgency=low
-
-  * Initial Release.
-
- -- unknown <Krzysztof.Sasiak@comarch.com>  Thu, 29 Mar 2007 14:14:47 +0200
+ -- unknown <Dariusz.Wiechecki@comarch.com>  Mon, 19 Nov 2007 16:06:00 +0300
index 9e7b4fc..f4f5767 100644 (file)
@@ -1,89 +1,59 @@
-Source: whitestork
+Source: mdictionary
 Section: user/office
 Priority: extra
 Maintainer: Krzysztof Sasiak <Krzysztof.Sasiak@comarch.com>
-Build-Depends: debhelper (>= 4), libdb1-dev, libosso-dev (>= 1.20-1), libgtk2.0-dev (>= 2.6.10), gtkhtml-dev (>= 3.9.1), hildon-libs-dev (>= 0.14.11), libart-2.0-dev (>= 2.3.17), hildon-fm-dev (>= 1.24), libbz2-dev (>=1.0.3)
+Build-Depends: debhelper (>= 4), libdb1-dev, libosso-dev (>= 1.14-1), libgtk2.0-dev (>= 2.6.10), gtkhtml-dev (>= 3.9.1) libart-2.0-dev (>= 2.3.17), 
 Standards-Version: 3.6.1
 
-Package: whitestorkgui
-Section: user/office
-Priority: optional
-Architecture: any
-Depends: ${shlibs:Depends}, whitestork (>= 1.1.0-1)
-Description: User interface for mDictionary
- WhiteStork Multilingual Dictionary is a very functional
- application allowing the use of many dictionary engines.
- You can either download them from our homepage at 
- http://garage.maemo.org, or write your own, provided
- that You stick to the API (also available on our homepage).
- The graphical user interface of our application can also 
- be replaced by a product of Your own programming skills. 
- This package contains all three whitestork modules that is:
- gui, engines and plugins.
- Copyright 2006, ComArch S.A. 
-XB-Maemo-Icon-26: 
- iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
- WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1wEJDBUeRyfCHgAAAk5JREFUSMftlk9LVGEUxn937lzv
- nROjZDOpYdg/E3XQoiCEsk1R0CosXPUJ2rVp0baP0Aco2rRxE0FhRFGRmzbRH9IW0SJBLFKpR67j
- eFv4DkyTOtMoLaKzet/3POc8nHuf+7wX/rXwGqyLgHNuHUdRNJFKpeYlLa9X4NfZuAXYAWSjKOpK
- kmQoSZK7wAhwC7ji+35zEASFIAi+FItFrTXRNiAPcAT25+AQwGHo7YQ+gD2wtxXaJ0GXff+8SqUs
- MA58BHLAJUAAYRimfN9/Imm2kig9BFd7YdQ1TI/CvnIyB7RWgK+H4TXF8bibZAWYcSkBYwBxHI+Y
- 2XB5v947SgO95c0p6M9DD0AHtN3JZCamFxdvA4XVIwQ0A+/ddC1Aj5ntljTWsHLMrNvMBty2GTgI
- WBXmuJm1bVp1ZtYNDLhp5ipSeSAAnkua2Sp5Y2ZZ4IIj+wBMSiquh083QNAGDALHHEE38G4jkron
- MrPTQNbhZ4BXVZAunGiAJeCRJNVNZGYF1+ChpJPAV+BFjZpgVbD8kPS0JpEjKUqarDjuAC669Sfg
- fsUUv0Qmk9npeV6/pMe1iEZqfAtp4Kzr0bRGfiUMw3bf929KWkxvwpCXgXsbAXzfP1P209QGuFkz
- y29C/k1AIOl7PWIYBmLgpaTSH5D0ONk/KF8dXh1FncBR9wjeAguSpqsw24F8LkkKyxDOed5rSW8a
- dgYz63PGuasq9e3G0tLgiVLp2YEkWfBgasssqDqS1atjCojXIkr9rX+G/0QNR3oLe30G5p1j/BY/
- AaknsXLnUsw8AAAAAElFTkSuQmCC
-
-Package: whitestork
-Section: user/office
-Priority: optional
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: Multilingual dictionary.
- WhiteStork Multilingual Dictionary is a very functional
- application allowing the use of many dictionary engines.
- You can either download them from our homepage at 
- http://garage.maemo.org, or write your own, provided
- that You stick to the API (also available on our homepage).
- The graphical user interface of our application can also 
- be replaced by a product of Your own programming skills. 
- This package contains all three whitestork modules that is:
- gui, engines and plugins.
- Copyright 2006, ComArch S.A. 
-XB-Maemo-Icon-26: 
- iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
- WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1wEJDBUeRyfCHgAAAk5JREFUSMftlk9LVGEUxn937lzv
- nROjZDOpYdg/E3XQoiCEsk1R0CosXPUJ2rVp0baP0Aco2rRxE0FhRFGRmzbRH9IW0SJBLFKpR67j
- eFv4DkyTOtMoLaKzet/3POc8nHuf+7wX/rXwGqyLgHNuHUdRNJFKpeYlLa9X4NfZuAXYAWSjKOpK
- kmQoSZK7wAhwC7ji+35zEASFIAi+FItFrTXRNiAPcAT25+AQwGHo7YQ+gD2wtxXaJ0GXff+8SqUs
- MA58BHLAJUAAYRimfN9/Imm2kig9BFd7YdQ1TI/CvnIyB7RWgK+H4TXF8bibZAWYcSkBYwBxHI+Y
- 2XB5v947SgO95c0p6M9DD0AHtN3JZCamFxdvA4XVIwQ0A+/ddC1Aj5ntljTWsHLMrNvMBty2GTgI
- WBXmuJm1bVp1ZtYNDLhp5ipSeSAAnkua2Sp5Y2ZZ4IIj+wBMSiquh083QNAGDALHHEE38G4jkron
- MrPTQNbhZ4BXVZAunGiAJeCRJNVNZGYF1+ChpJPAV+BFjZpgVbD8kPS0JpEjKUqarDjuAC669Sfg
- fsUUv0Qmk9npeV6/pMe1iEZqfAtp4Kzr0bRGfiUMw3bf929KWkxvwpCXgXsbAXzfP1P209QGuFkz
- y29C/k1AIOl7PWIYBmLgpaTSH5D0ONk/KF8dXh1FncBR9wjeAguSpqsw24F8LkkKyxDOed5rSW8a
- dgYz63PGuasq9e3G0tLgiVLp2YEkWfBgasssqDqS1atjCojXIkr9rX+G/0QNR3oLe30G5p1j/BY/
- AaknsXLnUsw8AAAAAElFTkSuQmCC
 
-Package: whitestorkplugins
+Package: mdictionary
 Section: user/office
 Priority: optional
 Architecture: any
-Depends:  ${shlibs:Depends}, whitestork (>= 1.1.0-1)
-Description: Dictionary plugins for mDictionary
+Depends:  ${shlibs:Depends}
+Conflicts: whitestork
+Description: multilingual dictionary for maemo.org
+ mDictionary Multilingual Dictionary (known as WhiteStork) is 
+ a very functional application allowing the use of many dictionary
+ engines. There are included XDXF and StarDict engines in the package,
+ but You can write your own, provided that You stick to the API 
+ (also available on our homepage). The graphical user interface of
+ our application can also be replaced by a product of Your own
+ programming skills. This package contains all three modules 
+ integrated that is: gui, engines and plugins.
+ Copyright 2006 - 2007, ComArch S.A.
 XB-Maemo-Icon-26: 
- iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
- WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1wEJDBUeRyfCHgAAAk5JREFUSMftlk9LVGEUxn937lzv
- nROjZDOpYdg/E3XQoiCEsk1R0CosXPUJ2rVp0baP0Aco2rRxE0FhRFGRmzbRH9IW0SJBLFKpR67j
- eFv4DkyTOtMoLaKzet/3POc8nHuf+7wX/rXwGqyLgHNuHUdRNJFKpeYlLa9X4NfZuAXYAWSjKOpK
- kmQoSZK7wAhwC7ji+35zEASFIAi+FItFrTXRNiAPcAT25+AQwGHo7YQ+gD2wtxXaJ0GXff+8SqUs
- MA58BHLAJUAAYRimfN9/Imm2kig9BFd7YdQ1TI/CvnIyB7RWgK+H4TXF8bibZAWYcSkBYwBxHI+Y
- 2XB5v947SgO95c0p6M9DD0AHtN3JZCamFxdvA4XVIwQ0A+/ddC1Aj5ntljTWsHLMrNvMBty2GTgI
- WBXmuJm1bVp1ZtYNDLhp5ipSeSAAnkua2Sp5Y2ZZ4IIj+wBMSiquh083QNAGDALHHEE38G4jkron
- MrPTQNbhZ4BXVZAunGiAJeCRJNVNZGYF1+ChpJPAV+BFjZpgVbD8kPS0JpEjKUqarDjuAC669Sfg
- fsUUv0Qmk9npeV6/pMe1iEZqfAtp4Kzr0bRGfiUMw3bf929KWkxvwpCXgXsbAXzfP1P209QGuFkz
- y29C/k1AIOl7PWIYBmLgpaTSH5D0ONk/KF8dXh1FncBR9wjeAguSpqsw24F8LkkKyxDOed5rSW8a
- dgYz63PGuasq9e3G0tLgiVLp2YEkWfBgasssqDqS1atjCojXIkr9rX+G/0QNR3oLe30G5p1j/BY/
- AaknsXLnUsw8AAAAAElFTkSuQmCC
\ No newline at end of file
+ iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAACXBIWXMAAAsTAAAL
+ EwEAmpwYAAABRWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjalZC/SsNgFEfP
+ 14pSwU5BHD9w0cHSKi24KDG2UqGNpEGabDYNaaHa8DVWqz6Bk5trX0BwEGefwMU/
+ L+ALCIKzQ5QqFIpnOvd34d7LhYSs1Ep2QsLhUaSsnS1Zd1w588IU08yRpHDg9cJK
+ rWQDFNtnXf4i4PMVAfC0MqY/iVTT73nAO+CpuuOCsAEtiL0FaI3YLwBN2ZYB4gpI
+ B7EPgXQj9lsgfRKFEYgHQPNCFYF4Bna/dwGkarn1XHa7kP99y5js39QdV8Y2uIaN
+ WUi+jTLnEm6GsHA+yhbvQNuH+0fvWPV//ppYg0n1aMbHJgIQ837kn0YARjccqHbQ
+ iuSSsSxXs9m8LJZdU1b1qm5Kw7T2TEu3y2Y1I6Xe6UjVDlpRTyq/56u+38wAfAFp
+ qFJd29bLeQAAAARnQU1BAACxnmFMQfcAAAAgY0hSTQAAejAAAICYAAD5/wAAgOgA
+ AHFHAADsUwAAOKQAAB1LzdW7PwAABG1JREFUeNq8lktsVVUUhr99nvec3tte7AVa
+ 7ZVXkWgLFKEECgNAVGIEqsx00KKJQx8DY3QCJkYTDUFNSgJGxARjwghJdEINiIGB
+ CbFpQKgpXKBpKaWUS9v7PI/loKVQ+4AyYI3O3met/997rT9rLyUiPA4zAJRSMw6M
+ Ne3ZgAQQ+G1DP32Sns5XRFAiMiVRrGlPHRAn9ONoRhNInMBrA9WIZsxHKQiDK0jw
+ 6dDhjw89EpG+47PbdsSK64Y+6h0CENilBKaLCgqgNIqlTxHqFkAbsJEvNqYnIzKm
+ OkXgB/HscA4jVkZY8Qyh6aAVM4RWyVQhdUAz8PVkP7UH1cIPFaHpAEwgUaGP8nL3
+ b8WnwtFmpIChW+h3eu6lpLsDejoeKnRmRAPdBEXv3joMkIeE0HhM9tiIDICfv6c5
+ WcXyUeXEgbr1+2YO1jzv8K6mX0vmmUbmg/Uvk55wo8HM0villPt+JsuGUTKidn4C
+ UNQapzDeqj/B4vLrLI52siLexspZZzGNTDOQ+uM3e/eRw/VjKlQiwncHDjYj2R/E
+ b8W1jjNndhbRIxxpX8vBfxph3jJWxNt4t7qFv3uriUWhItLL4mgnUWN48ppoYEUW
+ pR1nzs7nVp45epdoN7BrRLNZxG8lFvmFygowzalTZRpg2LXYkTI0swHHLUO0Whw3
+ CVpy5CbFr07OrfpyowFghW8vN6x1eGzD8xMocxvDfgP/po5RkThN1dPrcNxSNKMW
+ O5LEsJ7GsGtAlT2E3JbcS51SigPf6O9YFp/bzpryfDBCOHLqfra8uvOR1aYKu4/O
+ Tba8ZgAc2r/qxfLyMHAc+ai35/wLeti23bQ2uwV/8xjhAy3sQkkXBOcIQvOKJhd6
+ lD77uCruOwotI/LOh2/2dl3vSDhWuyTKFx7T9VzrzRu/bzFV6ytuZHMJbB0FO4eS
+ QQhO4wfJc+KdyHhemAq9E9lc3k3l8m7f4HDZzdGG7Ylw4aWtXBYZTd2B/QcrgdVI
+ QQK/Hcdql8qKHEGQc4v57k11dTUlXuFiX9Gzb6QHZ13OF5wMMPY0R2xPNE2wLV80
+ TbAsH9tZLqblEhROdS+ouXbeANDkpBOqDVmUjW7WUwyXyeWrpyktuZgtT1QfSV3N
+ i2VWYRghkUggZaVD6HqJRNz5GGYFSn9SNGMJSisV3Vo91nMBcrde18c6QzF/cVBp
+ t9OaucZWWiUoW3RrE8PFVZR6p6R26SJQMXSrXpSKoZnP3j9oTPuttERhnOoAWvbW
+ J5SeTGrG85rSKscCGnds/z/I/etx4KHficgwYfGsiAzhZX68taDmWs+Ep7xlb70O
+ JEK1MGHZDaCiNO7YPg408NogHCL0OyQMesgXeulLd4pjpHOzXC8LFIAAKCys7Qqm
+ nRne+LC+OhmDFQsWScNal8Fcjv7+v+gftiRQOl23Iwylfbl03eaJudbdQ6S/fe/P
+ mc0MfkghdQdupq7KmYERt4G+BJatSbTMAJCBviKocakMpn0mprDCJDWYWBsZt+9P
+ BfbfAGyC8jpg6wjHAAAAAElFTkSuQmCC
index 83db946..25eba2b 100644 (file)
@@ -3,7 +3,7 @@ Thu, 29 Mar 2007 13:28:58 +0200.
 
 It was downloaded from https://garage.maemo.org
 
-Upstream Author: WhiteStork development team
+Upstream Author: mdictionary development team
 
 Copyright: Comarch 2006-2007
 
index 3709a20..e5d5c50 100644 (file)
@@ -1,3 +1 @@
-whitestorkgui_1.1.0-1_armel.deb user/office optional
-whitestork_1.1.0-1_armel.deb user/office optional
-whitestorkplugins_1.1.0-1_armel.deb user/office optional
+mdictionary_1.0.0-2_armel.deb user/office optional
index 3fc742e..ff479d7 100755 (executable)
@@ -35,7 +35,7 @@ build-stamp: configure-stamp
 
        # Add here commands to compile the package.
        $(MAKE)
-       #/usr/bin/docbook-to-man debian/whitestork.sgml > whitestork.1
+       #/usr/bin/docbook-to-man debian/mdictionary.sgml > mdictionary.1
 
        touch build-stamp
 
@@ -55,10 +55,11 @@ install: build
        dh_clean -k 
        dh_installdirs
 
-       # Add here commands to install the package into debian/whitestork.
-       $(MAKE) install-manager DESTDIR=$(CURDIR)/debian/whitestork
-       $(MAKE) install-gui DESTDIR=$(CURDIR)/debian/whitestorkgui
-       $(MAKE) install-plugins DESTDIR=$(CURDIR)/debian/whitestorkplugins
+       # Add here commands to install the package into debian/mdictionary.
+       #$(MAKE) install-manager DESTDIR=$(CURDIR)/debian/mdictionary
+       #$(MAKE) install-gui DESTDIR=$(CURDIR)/debian/mdictionarygui
+       #$(MAKE) install-plugins DESTDIR=$(CURDIR)/debian/mdictionaryplugins
+       $(MAKE) install-mdictionary DESTDIR=$(CURDIR)/debian/mdictionary
 
 
 # Build architecture-independent files here.
index fb706ed..3fe52c0 100644 (file)
@@ -1 +1 @@
-shlibs:Depends=libbz2-1.0, libc6 (>= 2.3.5-1), libdb1, libdbus-1-2 (>= 0.61), libdbus-glib-1-2 (>= 0.61), libgconf2-6 (>= 2.6.4.15), libglib2.0-0 (>= 2.8.6-1osso1), libosso1 (>= 1.20-1)
+shlibs:Depends=libbz2-1.0, libc6 (>= 2.3.5-1), libdb1, libdbus-1-2 (>= 0.61), libdbus-glib-1-2 (>= 0.61), libgconf2-6 (>= 2.6.4.14), libglib2.0-0 (>= 2.8.6-1osso1), libosso1 (>= 1.14-1)
index 5d7d51e..1b0c738 100755 (executable)
@@ -5,5 +5,5 @@ for nazwa in `find $1 -name *.po -type f -printf "%f\n"`
        do
        tekst=${nazwa%.po}
        install -d $2/$tekst/LC_MESSAGES/
-       msgfmt $1/$nazwa -o $2/$tekst/LC_MESSAGES/whitestork.mo
+       msgfmt $1/$nazwa -o $2/$tekst/LC_MESSAGES/mDictionary.mo
        done
index 20ada28..5b34aee 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 3986c6f..6afd6b1 100644 (file)
@@ -17,7 +17,7 @@ msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:42
 msgid "ws_ni_welcome"
-msgstr "Welcome to mDictionary!"
+msgstr "Welcome to mdictionary!"
 
 #: ../gui/src/ws_gui_layout.c:174 ../gui/src/ws_gui_layout.c:351
 msgid "ws_me_search_find"
@@ -25,7 +25,7 @@ msgstr "Find"
 
 #: ../gui/src/ws_gui_layout.c:266
 msgid "ws_me_dictionaries"
-msgstr "Dictionaries"
+msgstr "dictionaries"
 
 #: ../gui/src/ws_gui_layout.c:268
 msgid "ws_me_bookmarks"
index 305a92a..851df61 100644 (file)
@@ -17,8 +17,8 @@ msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:42
 msgid "ws_ni_welcome"
-msgstr "<font size=+2><center><br>Witamy w sÅ‚owniku<br><b>WhiteStork</b><br>"
-       "</font><br><IMG SRC=file:/usr/share/pixmaps/whitestork.png></center>"
+msgstr "<font size=+2><center><br>Witamy w sÅ‚owniku<br><b>mdictionary</b><br>"
+       "</font><br><IMG SRC=file:/usr/share/pixmaps/mdictionary.png></center>"
 
 #: ../gui/src/ws_gui_layout.c:45 ../gui/src/ws_gui_callbacks.c:143
 #: ../gui/src/ws_gui_callbacks.c:854 ../gui/src/ws_gui_callbacks.c:980
@@ -26,7 +26,7 @@ msgid " "
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:63 ../gui/src/ws_gui_layout.c:1318
-msgid "WhiteStork"
+msgid "mdictionary"
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:111 ../gui/src/ws_gui_layout.c:1328
@@ -205,7 +205,7 @@ msgstr "Pomniejsz"
 #: ../gui/src/ws_gui_layout.c:1185
 msgid ""
 "\n"
-".::GUI::. /apps/WhiteStork/Dictionaries does not exist!!"
+".::GUI::. /apps/mdictionary/dictionaries does not exist!!"
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:712 ../gui/src/ws_gui_layout.c:904
@@ -289,7 +289,7 @@ msgid "ws_ti_about_title"
 msgstr "O Programie ..."
 
 #: ../gui/src/ws_gui_layout.c:1315
-msgid "/usr/share/pixmaps/whitestork.png"
+msgid "/usr/share/pixmaps/mdictionary.png"
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:1319
index e937d8f..cdf329d 100644 (file)
@@ -17,7 +17,7 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 
 #: ../gui/src/ws_gui_layout.c:57 ../gui/src/ws_gui_layout.c:1225
-msgid "WhiteStork"
+msgid "mdictionary"
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:105 ../gui/src/ws_gui_layout.c:1232
@@ -34,7 +34,7 @@ msgid "Find: "
 msgstr "Znajdź"
 
 #: ../gui/src/ws_gui_layout.c:249
-msgid "Dictionaries"
+msgid "dictionaries"
 msgstr "SÅ‚owniki"
 
 #: ../gui/src/ws_gui_layout.c:251 ../gui/src/ws_gui_layout.c:529
@@ -121,7 +121,7 @@ msgstr "Stop"
 #: ../gui/src/ws_gui_layout.c:1100
 msgid ""
 "\n"
-".::GUI::. /apps/WhiteStork/Dictionaries does not exist!!"
+".::GUI::. /apps/mdictionary/dictionaries does not exist!!"
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:643 ../gui/src/ws_gui_layout.c:824
index 0cbf6ea..40d5ca5 100644 (file)
@@ -26,7 +26,7 @@ msgid " "
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:64 ../gui/src/ws_gui_layout.c:1324
-msgid "WhiteStork"
+msgid "mdictionary"
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:112 ../gui/src/ws_gui_layout.c:1334
@@ -205,7 +205,7 @@ msgstr ""
 #: ../gui/src/ws_gui_layout.c:1188
 msgid ""
 "\n"
-".::GUI::. /apps/WhiteStork/Dictionaries does not exist!!"
+".::GUI::. /apps/mdictionary/dictionaries does not exist!!"
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:713 ../gui/src/ws_gui_layout.c:905
@@ -292,7 +292,7 @@ msgid "ws_ti_about_title"
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:1321
-msgid "/usr/share/pixmaps/whitestork.png"
+msgid "/usr/share/pixmaps/mdictionary.png"
 msgstr ""
 
 #: ../gui/src/ws_gui_layout.c:1325
index 497fc84..bdfcc35 100755 (executable)
@@ -6,7 +6,7 @@ INCLUDE = ./include
 LIBS = `pkg-config --libs glib-2.0 gmodule-2.0` -ldb1
 FLAGS = `pkg-config --cflags glib-2.0 gmodule-2.0` -I${INCLUDE} -I./.. -I../../../include
 BINARIES = bin
-FINAL = ws_bookmark.so
+FINAL = engine_bookmarks.so
 
 first: clean ${FINAL} bdbprint
 
@@ -35,7 +35,7 @@ clean:
                @-rm -f ${INCLUDE}/*~
                @-rm -f ${SOURCES}/${FINAL}
                @-rm -f ${SOURCES}/testDatabase
-               @-rm -f ws_bookmark.so bookmark.o bdbprint
+               @-rm -f engine_bookmarks.so bookmark.o bdbprint
                @echo -e -n "Project 'BookmarkEngine' directories has been cleaned.\n"
 
 
index a4c7ea2..df3bc7a 100755 (executable)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 2dde903..95851b4 100755 (executable)
@@ -1,18 +1,18 @@
 /******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 7ca80f3..e390203 100755 (executable)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 7ca65e1..cd5a095 100755 (executable)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 5884cb1..bcb4486 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 05abb86..8bbffb4 100644 (file)
@@ -1,18 +1,18 @@
 /******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index b89a9a7..a55b690 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -74,7 +74,7 @@ int main(int argc, char** argv)
        printf("Module description: %s\n",dict_eng_module_get_description(module));
        Engine* sd;
 
-        gboolean is_compatible = dict_eng_module_check(module,"/home/str/whitestork/engines/bookmark/ws_bookmarks");
+        gboolean is_compatible = dict_eng_module_check(module,"/home/str/mdictionary/engines/bookmark/ws_bookmarks");
        if(is_compatible == TRUE)
        {
                printf("Location is compatible with enigne!\n");
@@ -86,9 +86,9 @@ int main(int argc, char** argv)
 
        //printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
 
-       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
-       //home/stranger/whitestork/engine0.2/
-//     xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+       //home/stranger/mdictionary/engine0.2/
+//     xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
 //     dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
 //     dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);
 
@@ -101,7 +101,7 @@ int main(int argc, char** argv)
                printf("Dictionary has already cache file!\n");
        }*/
         sd = dict_eng_module_create(module,
-            "/home/str/whitestork/engines/bookmark/ws_bookmarks" ,
+            "/home/str/mdictionary/engines/bookmark/ws_bookmarks" ,
              ENGINE_CREATE);
        printf("Lokacja: %s\n",dict_eng_get_location(sd));
 
index 7ca65e1..cd5a095 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index ecea43f..6f72b49 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index c722cb7..a952d01 100644 (file)
@@ -1,18 +1,18 @@
 /******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index b89a9a7..a55b690 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -74,7 +74,7 @@ int main(int argc, char** argv)
        printf("Module description: %s\n",dict_eng_module_get_description(module));
        Engine* sd;
 
-        gboolean is_compatible = dict_eng_module_check(module,"/home/str/whitestork/engines/bookmark/ws_bookmarks");
+        gboolean is_compatible = dict_eng_module_check(module,"/home/str/mdictionary/engines/bookmark/ws_bookmarks");
        if(is_compatible == TRUE)
        {
                printf("Location is compatible with enigne!\n");
@@ -86,9 +86,9 @@ int main(int argc, char** argv)
 
        //printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
 
-       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
-       //home/stranger/whitestork/engine0.2/
-//     xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+       //home/stranger/mdictionary/engine0.2/
+//     xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
 //     dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
 //     dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);
 
@@ -101,7 +101,7 @@ int main(int argc, char** argv)
                printf("Dictionary has already cache file!\n");
        }*/
         sd = dict_eng_module_create(module,
-            "/home/str/whitestork/engines/bookmark/ws_bookmarks" ,
+            "/home/str/mdictionary/engines/bookmark/ws_bookmarks" ,
              ENGINE_CREATE);
        printf("Lokacja: %s\n",dict_eng_get_location(sd));
 
index 7ca65e1..cd5a095 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 285cc2a..a19e7b7 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 4800ab2..8c716f7 100644 (file)
@@ -1,18 +1,18 @@
 /******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 44e21dc..b70dd36 100644 (file)
@@ -1,18 +1,18 @@
 /******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index b1b4abe..4d93891 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -86,9 +86,9 @@ int main(int argc, char** argv)
 
        //printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
 
-       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
-       //home/stranger/whitestork/engine0.2/
-//     xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+       //home/stranger/mdictionary/engine0.2/
+//     xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
 //     dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
 //     dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);
 
index b89a9a7..a55b690 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -74,7 +74,7 @@ int main(int argc, char** argv)
        printf("Module description: %s\n",dict_eng_module_get_description(module));
        Engine* sd;
 
-        gboolean is_compatible = dict_eng_module_check(module,"/home/str/whitestork/engines/bookmark/ws_bookmarks");
+        gboolean is_compatible = dict_eng_module_check(module,"/home/str/mdictionary/engines/bookmark/ws_bookmarks");
        if(is_compatible == TRUE)
        {
                printf("Location is compatible with enigne!\n");
@@ -86,9 +86,9 @@ int main(int argc, char** argv)
 
        //printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
 
-       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
-       //home/stranger/whitestork/engine0.2/
-//     xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+       //home/stranger/mdictionary/engine0.2/
+//     xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
 //     dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
 //     dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);
 
@@ -101,7 +101,7 @@ int main(int argc, char** argv)
                printf("Dictionary has already cache file!\n");
        }*/
         sd = dict_eng_module_create(module,
-            "/home/str/whitestork/engines/bookmark/ws_bookmarks" ,
+            "/home/str/mdictionary/engines/bookmark/ws_bookmarks" ,
              ENGINE_CREATE);
        printf("Lokacja: %s\n",dict_eng_get_location(sd));
 
index 6179a5a..4fe1eaf 100644 (file)
@@ -12,7 +12,7 @@ int main (void)
        GnomeVFSResult result;
        GnomeVFSFileSize ile;
 
-        result = gnome_vfs_open (&handle, "/home/krzsas/WhiteStork/trunk/src/bookmarks/src/ws_bookmarks", GNOME_VFS_OPEN_READ | GNOME_VFS_OPEN_WRITE | GNOME_VFS_OPEN_RANDOM);
+        result = gnome_vfs_open (&handle, "/home/krzsas/mdictionary/trunk/src/bookmarks/src/ws_bookmarks", GNOME_VFS_OPEN_READ | GNOME_VFS_OPEN_WRITE | GNOME_VFS_OPEN_RANDOM);
        if (result == GNOME_VFS_OK)
        {
                gnome_vfs_seek (handle, GNOME_VFS_SEEK_END, 0);
index 7ca65e1..cd5a095 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 5cf6b7d..32a7e3d 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index a4c8102..4b45cc8 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -25,17 +25,27 @@ extern "C" {
 #endif
 
 
+#ifdef CHINOOK
+#include <hildon/hildon-program.h>
+#include <hildon/hildon-window.h>
+#include <hildon/hildon-banner.h>
+#include <hildon/hildon-find-toolbar.h>
+#include <hildon/hildon-file-chooser-dialog.h>
+#include <hildon/hildon-caption.h>
+#else
 #include <hildon-widgets/hildon-program.h>
 #include <hildon-widgets/hildon-window.h>
 #include <hildon-widgets/hildon-banner.h>
 #include <hildon-widgets/hildon-find-toolbar.h>
 #include <hildon-fm/hildon-widgets/hildon-file-chooser-dialog.h>
 #include <hildon-widgets/hildon-caption.h>
+#endif
+
 #include <gtk/gtkfilechooser.h>
 #include <gtk/gtkdialog.h>
 #include <gdk/gdkkeysyms.h>
 
-#include <hildon-widgets/gtk-infoprint.h>
+//#include <hildon-widgets/gtk-infoprint.h>
 #include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
 #include <gtkhtml/gtkhtml.h>
@@ -46,6 +56,7 @@ extern "C" {
 #include <signal.h>
 #include <sys/time.h>
 
+#include <ws_services.h>
 #include <ws_dbus.h>
 
 #include <gtkhtml/gtkhtml-stream.h>
@@ -60,8 +71,8 @@ extern "C" {
 #define HISTORY_LEN 5
 #define SCROLL_STEP_H 50
 #define SCROLL_STEP_V 20
-#define GCONF_PATH "/apps/maemo/WhiteStork/Dictionaries"
-#define GCONF_CONF "/apps/maemo/WhiteStork/configuration"
+#define GCONF_PATH "/apps/maemo/mdictionary/dictionaries"
+#define GCONF_CONF "/apps/maemo/mdictionary/configuration"
 
 
 #include <libintl.h>
index d0f7daf..06b9e08 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 41201a9..ed4509a 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 9d75e82..9db8c48 100644 (file)
@@ -1,31 +1,38 @@
 CC = gcc
 DEBUG = -g -Wall
-EXECUTABLE = WhiteStork
+EXECUTABLE = mdictionary
+APP_NAME = mDictionary
+LOCALEDIR = /usr/share/locale
 INCLUDE_GUI = include
 INCLUDE_DBUS_WRAPPER = ../../include
-CFLAGS = `pkg-config --cflags gtk+-2.0 libgtkhtml-3.8 hildon-libs hildon-fm glib-2.0 libosso gconf-2.0` -I${INCLUDE_GUI} -I${INCLUDE_DBUS_WRAPPER}
-LIBS = `pkg-config --libs gtk+-2.0 libgtkhtml-3.8 hildon-libs hildon-fm glib-2.0 libosso gconf-2.0` 
+CFLAGS = `pkg-config --cflags gtk+-2.0 libgtkhtml-3.8 glib-2.0 libosso gconf-2.0` -I${INCLUDE_GUI} -I${INCLUDE_DBUS_WRAPPER}
+LIBS = `pkg-config --libs gtk+-2.0 libgtkhtml-3.8 glib-2.0 libosso gconf-2.0` 
+DEFINES = -DPACKAGE=\"${APP_NAME}\" -DLOCALEDIR=\"${LOCALEDIR}\"
 APP_VER = unofficialbuild
 
+CFLAGS += $(shell pkg-config --exists hildon-fm-2 hildon-1 && echo `pkg-config --cflags hildon-fm-2 hildon-1`)
+LIBS += $(shell pkg-config --exists hildon-fm-2 hildon-1 && echo `pkg-config --libs hildon-fm-2 hildon-1`)
+DEFINES += $(shell pkg-config --exists hildon-fm-2 hildon-1 && echo -DCHINOOK)
+
+CFLAGS += $(shell pkg-config --exists hildon-fm hildon-libs && echo `pkg-config --cflags hildon-fm hildon-libs`)
+LIBS += $(shell pkg-config --exists hildon-fm hildon-libs && echo `pkg-config --libs hildon-fm hildon-libs`)
+
 SOURCES = src
 BINARIES = bin
 MAIN_BINARIES = ../../bin
 
-${EXECUTABLE}: ${BINARIES}/ws_gui.o ${BINARIES}/ws_gui_callbacks.o ${BINARIES}/ws_gui_layout.o ${MAIN_BINARIES}/ws_dbus.o ${BINARIES}/pc-instances.o
-               @${CC} ${DEBUG}   -o ${BINARIES}/${EXECUTABLE} ${BINARIES}/ws_gui.o ${BINARIES}/ws_gui_callbacks.o ${BINARIES}/ws_gui_layout.o ${BINARIES}/pc-instances.o ${MAIN_BINARIES}/ws_dbus.o ${LIBS} ${CFLAGS}
+${EXECUTABLE}: ${BINARIES}/ws_gui.o ${BINARIES}/ws_gui_callbacks.o ${BINARIES}/ws_gui_layout.o ${MAIN_BINARIES}/ws_dbus.o
+               ${CC} ${DEBUG}   -o ${BINARIES}/${EXECUTABLE} ${BINARIES}/ws_gui.o ${BINARIES}/ws_gui_callbacks.o ${BINARIES}/ws_gui_layout.o ${MAIN_BINARIES}/ws_dbus.o ${LIBS} ${CFLAGS} ${DEFINES}
                @cp ${BINARIES}/${EXECUTABLE} ${MAIN_BINARIES}
 
 ${BINARIES}/ws_gui.o: ${SOURCES}/ws_gui.c ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_GUI}/ws_gui_callbacks.h ${INCLUDE_GUI}/ws_gui_layout.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
-               @${CC} ${DEBUG} -c ${SOURCES}/ws_gui.c -o ${BINARIES}/ws_gui.o ${CFLAGS}
+               ${CC} ${DEBUG} -c ${SOURCES}/ws_gui.c -o ${BINARIES}/ws_gui.o ${CFLAGS}  ${DEFINES}
 
 ${BINARIES}/ws_gui_callbacks.o: ${SOURCES}/ws_gui_callbacks.c ${INCLUDE_GUI}/ws_gui_callbacks.h ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
-               @${CC} ${DEBUG} -c ${SOURCES}/ws_gui_callbacks.c -o ${BINARIES}/ws_gui_callbacks.o ${CFLAGS}
+               ${CC} ${DEBUG} -c ${SOURCES}/ws_gui_callbacks.c -o ${BINARIES}/ws_gui_callbacks.o ${CFLAGS}  ${DEFINES}
 
 ${BINARIES}/ws_gui_layout.o: ${SOURCES}/ws_gui_layout.c ${INCLUDE_GUI}/ws_gui_layout.h ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
-               @${CC} ${DEBUG} -DWS_VERSION=\"${APP_VER}\" -c ${SOURCES}/ws_gui_layout.c -o ${BINARIES}/ws_gui_layout.o ${CFLAGS}
-
-${BINARIES}/pc-instances.o: ${SOURCES}/pc-instances.c ${INCLUDE_GUI}/pc-instances.h
-               @${CC} ${DEBUG} -c ${SOURCES}/pc-instances.c -o ${BINARIES}/pc-instances.o ${CFLAGS}
+               ${CC} ${DEBUG} -DWS_VERSION=\"${APP_VER}\" -c ${SOURCES}/ws_gui_layout.c -o ${BINARIES}/ws_gui_layout.o ${CFLAGS}  ${DEFINES}
 
 ${MAIN_BINARIES}/ws_dbus.o:
                cd ../dbus_wrapper && make
@@ -33,16 +40,16 @@ ${MAIN_BINARIES}/ws_dbus.o:
 
 dyn:
                ${BINARIES}/wsl_gui.o ${BINARIES}/wsl_gui_callbacks.o ${BINARIES}/wsl_gui_layout.o 
-               ${CC} ${DEBUG} -shared -fPIC -o ${EXECUTABLE}.so ${BINARIES}/wsl_gui.o ${BINARIES}/wsl_gui_callbacks.o ${BINARIES}/wsl_gui_layout.o dbus/ws_dbus.o ${LIBS} ${CFLAGS}
+               @{CC} ${DEBUG} -shared -fPIC -o ${EXECUTABLE}.so ${BINARIES}/wsl_gui.o ${BINARIES}/wsl_gui_callbacks.o ${BINARIES}/wsl_gui_layout.o dbus/ws_dbus.o ${LIBS} ${CFLAGS} ${DEFINES}
 
 ${BINARIES}/wsl_gui.o: ${SOURCES}/ws_gui.c ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_GUI}/ws_gui_callbacks.h ${INCLUDE_GUI}/ws_gui_layout.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
-               ${CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui.c -o ${BINARIES}/wsl_gui.o ${CFLAGS}
+               @{CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui.c -o ${BINARIES}/wsl_gui.o ${CFLAGS} ${DEFINES}
 
 ${BINARIES}/wsl_gui_callbacks.o: ${SOURCES}/ws_gui_callbacks.c ${INCLUDE_GUI}/ws_gui_callbacks.h ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
-               ${CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui_callbacks.c -o ${BINARIES}/wsl_gui_callbacks.o ${CFLAGS}
+               @{CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui_callbacks.c -o ${BINARIES}/wsl_gui_callbacks.o ${CFLAGS} ${DEFINES}
 
 ${BINARIES}/wsl_gui_layout.o: ${SOURCES}/ws_gui_layout.c ${INCLUDE_GUI}/ws_gui_layout.h ${INCLUDE_GUI}/ws_gui.h ${INCLUDE_DBUS_WRAPPER}/ws_dbus.h
-               ${CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui_layout.c -o ${BINARIES}/wsl_gui_layout.o ${CFLAGS}
+               @{CC} ${DEBUG} -fPIC -c ${SOURCES}/ws_gui_layout.c -o ${BINARIES}/wsl_gui_layout.o ${CFLAGS} ${DEFINES}
 
 
 clean:
index 38a96c1..76490cd 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index c3100ec..7d69dec 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -21,37 +21,25 @@ Copyright 2006 ComArch S.A.
 #include <ws_gui_callbacks.h>
 #include <ws_gui_layout.h>
 
-#include <pc-instances.h>
-
 //int ws_gui_init(int argc, char *argv[])
 int main(int argc, char *argv[])
 {
-       if (is_already_running_this_application() > 1)
-       {
-       //       if YES - do not start another one - terminate
-               g_debug("Another instance of application curently is running\n");
-               //return 1;
-       }
-       else
-       {
-               g_debug("OK\n");
-       }
        
        
         gtk_init(&argc, &argv);
 
        //localization
        setlocale(LC_ALL, "");
-       bindtextdomain("whitestork", "/usr/share/locale");
-       bind_textdomain_codeset("whitestork", "UTF-8");
-        textdomain("whitestork");
+       bindtextdomain(PACKAGE, LOCALEDIR);
+       bind_textdomain_codeset(PACKAGE, "UTF-8");
+        textdomain(PACKAGE);
 
        if (strcmp(_("ws_check"), "ws_check") == 0)
        {
                setlocale(LC_ALL, "en_GB");
-               bindtextdomain("whitestork", "/usr/share/locale");
-               bind_textdomain_codeset("whitestork", "UTF-8");
-               textdomain("whitestork");
+               bindtextdomain(PACKAGE, LOCALEDIR);
+               bind_textdomain_codeset(PACKAGE, "UTF-8");
+               textdomain(PACKAGE);
        }
 
 
@@ -72,26 +60,26 @@ int main(int argc, char *argv[])
 
 
         //dbus wrapper
-        ws_gui_app->dbus_data = ws_dbus_create ("WhiteStorkGui", "v1.0");
+        ws_gui_app->dbus_data = ws_dbus_create ("mdictionaryGui", "v1.0");
 
         ws_dbus_config (ws_gui_app->dbus_data, 
                         WS_DBUS_CONFIG_SERVICE,
-                        "org.maemo.WhiteStorkGui");
+                        GUI_SERVICE);
         ws_dbus_config (ws_gui_app->dbus_data,
                         WS_DBUS_CONFIG_OBJECT,
-                        "/org/maemo/WhiteStorkGui");
+                        GUI_OBJECT);
         ws_dbus_config (ws_gui_app->dbus_data,
                         WS_DBUS_CONFIG_IFACE,
-                        "org.maemo.WhiteStorkGui");
+                        GUI_IFACE);
         ws_dbus_config (ws_gui_app->dbus_data,
                         WS_DBUS_CONFIG_REMOTE_SERVICE,
-                        "org.maemo.WhiteStorkManager");
+                        MANAGER_SERVICE);
         ws_dbus_config (ws_gui_app->dbus_data,
                         WS_DBUS_CONFIG_REMOTE_OBJECT,
-                        "/org/maemo/WhiteStorkManager");
+                        MANAGER_OBJECT);
         ws_dbus_config (ws_gui_app->dbus_data,
                         WS_DBUS_CONFIG_REMOTE_IFACE,
-                        "org.maemo.WhiteStorkManager");
+                        MANAGER_IFACE);
 
 
        ws_dbus_add_method (ws_gui_app->dbus_data,
index fa038b6..194ce5b 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -235,32 +235,36 @@ void ws_gui_signal_hander (GError *error, GArray *words, gpointer user_data)
                
                case  WS_DBUS_BOOKMARKS_ADDED_OK:
                {
-                       gtk_infoprint(GTK_WINDOW(
+                       hildon_banner_show_information(GTK_WIDGET(
                                        ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                         _("ws_ni_bookmark_added"));
                break;
                }
 
                case WS_DBUS_BOOKMARKS_REMOVED_OK:
                {
-                       gtk_infoprint(GTK_WINDOW(
+                       hildon_banner_show_information(GTK_WIDGET(
                                        ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                         _("ws_ni_bookmark_removed"));
                break;
                }
        
                case WS_DBUS_BOOKMARKS_ADDED_FAIL:
                {
-                       gtk_infoprint(GTK_WINDOW(
+                       hildon_banner_show_information(GTK_WIDGET(
                                        ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                         _("ws_ni_bookmark_not_added"));
                break;
                }
 
                case WS_DBUS_BOOKMARKS_REMOVED_FAIL:
                {
-                       gtk_infoprint(GTK_WINDOW(
+                       hildon_banner_show_information(GTK_WIDGET(
                                        ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                         _("ws_ni_bookmark_not_removed"));
                break;
                }
@@ -318,8 +322,9 @@ void ws_gui_signal_hander (GError *error, GArray *words, gpointer user_data)
                        
                        ws_gui_app->caching_flag = FALSE;
                        
-                       gtk_infoprint(GTK_WINDOW(
-                                      ws_gui_app->ws_gui_hildon_window),
+                       hildon_banner_show_information(GTK_WIDGET(
+                                       ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                       _("ws_ni_dictionary_added"));
                        
                        gtk_widget_set_sensitive(
@@ -334,13 +339,15 @@ void ws_gui_signal_hander (GError *error, GArray *words, gpointer user_data)
 
                case  WS_DBUS_WORDS_LIST_FULL:
                {
-                       gtk_widget_show(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));
+                       gtk_widget_show_all(GTK_WIDGET(ws_gui_app->ws_gui_list_eventbox));
+                       /*gtk_widget_show(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));*/
                break;
                }
 
                case  WS_DBUS_WORDS_LIST_FILLED_NOT_FULL:
                {
-                       gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));
+                       gtk_widget_hide_all(GTK_WIDGET(ws_gui_app->ws_gui_list_eventbox));
+                       /*gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));*/
                break;
                }
 
@@ -578,7 +585,9 @@ void ws_gui_dbus_return_words (GError *error, GArray *words, gpointer user_data)
        
        if ((tmp->len == 0 || tmp_word == NULL) && ws_gui_app->stop_clicked != TRUE )
         {
-                gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+                       hildon_banner_show_information(GTK_WIDGET(
+                                       ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                               _("ws_ni_no_words_found"));
                
                //ws_gui_fill_html(" ", ws_gui_app);
@@ -651,8 +660,9 @@ void ws_dbus_server_return_extracted_bzip(GError *error,
 
        if (data.value.s[0] == '\0')
        {
-               gtk_infoprint(GTK_WINDOW(
-                                ws_gui_app->ws_gui_hildon_window),
+                       hildon_banner_show_information(GTK_WIDGET(
+                                       ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                 _("ws_ni_dictionary_not_added"));
        }
        else
@@ -1285,7 +1295,9 @@ void ws_gui_full_screen(GtkMenuItem *menuitem, gpointer user_data)
                               ws_gui_app->ws_gui_menu->ws_gui_menu_full_screen),
                               TRUE);
                 ws_gui_app->ws_gui_full_screen_flag = TRUE;
-               gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+               hildon_banner_show_information(GTK_WIDGET(
+                               ws_gui_app->ws_gui_hildon_window),
+                               NULL,
                                  _("ws_ib_fullscreen_on"));
         }
         else 
@@ -1296,7 +1308,9 @@ void ws_gui_full_screen(GtkMenuItem *menuitem, gpointer user_data)
                               ws_gui_app->ws_gui_menu->ws_gui_menu_full_screen),
                               FALSE);
                 ws_gui_app->ws_gui_full_screen_flag = FALSE;
-               gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+                       hildon_banner_show_information(GTK_WIDGET(
+                                       ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                  _("ws_ib_fullscreen_off"));
         }
 }
@@ -1358,7 +1372,9 @@ void ws_gui_html_copy(GtkMenuItem *menuitem, gpointer user_data)
 {
         WSGuiApp* ws_gui_app = (WSGuiApp*)user_data;
        gtk_html_copy(GTK_HTML(ws_gui_app->ws_gui_html));
-       gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+       hildon_banner_show_information(GTK_WIDGET(
+                               ws_gui_app->ws_gui_hildon_window),
+                               NULL,
                                  _("ws_ib_copied"));
 }
 
@@ -1385,8 +1401,10 @@ void ws_gui_html_paste(GtkMenuItem *menuitem, gpointer user_data)
                      "prefix",
                      temp,
                      NULL);
-       gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
-                                 _("ws_ib_pasted"));
+       hildon_banner_show_information(GTK_WIDGET(
+                       ws_gui_app->ws_gui_hildon_window),
+                       NULL,
+                       _("ws_ib_pasted"));
 }
 
 /** zoom in text in translation (html) area
@@ -1402,9 +1420,10 @@ void ws_gui_html_zoom_in(GtkMenuItem *menuitem, gpointer user_data)
        if (ws_gui_app->zoom > ZOOM_MAX)
        {
                ws_gui_app->zoom = ws_gui_app->zoom - ZOOM_STEP;
-               gtk_infoprint(GTK_WINDOW(
-                                      ws_gui_app->ws_gui_hildon_window),
-                                      _("ws_ib_max_zoom"));
+               hildon_banner_show_information(GTK_WIDGET(
+                       ws_gui_app->ws_gui_hildon_window),
+                       NULL,
+                       _("ws_ib_max_zoom"));
        }
        else
        {
@@ -1413,14 +1432,16 @@ void ws_gui_html_zoom_in(GtkMenuItem *menuitem, gpointer user_data)
 
                if ((WS_GUI_ABS(ws_gui_app->zoom - ZOOM_DEFAULT)) < 0.000001)
                {
-                       gtk_infoprint(GTK_WINDOW(
+                       hildon_banner_show_information(GTK_WIDGET(
                                        ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                        _("ws_ib_zoom_default"));
                }
                else
                {
-                       gtk_infoprint(GTK_WINDOW(
+                       hildon_banner_show_information(GTK_WIDGET(
                                        ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                        _("ws_ib_zoom_in"));
                }
        }
@@ -1439,8 +1460,9 @@ void ws_gui_html_zoom_out(GtkMenuItem *menuitem, gpointer user_data)
        if (ws_gui_app->zoom < ZOOM_MIN)
        {
                ws_gui_app->zoom = ws_gui_app->zoom + ZOOM_STEP;
-               gtk_infoprint(GTK_WINDOW(
-                                      ws_gui_app->ws_gui_hildon_window),
+                       hildon_banner_show_information(GTK_WIDGET(
+                                       ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                       _("ws_ib_min_zoom"));
        }
        else
@@ -1450,14 +1472,16 @@ void ws_gui_html_zoom_out(GtkMenuItem *menuitem, gpointer user_data)
                
                if ((WS_GUI_ABS(ws_gui_app->zoom - ZOOM_DEFAULT)) < 0.000001)
                {
-                       gtk_infoprint(GTK_WINDOW(
+                       hildon_banner_show_information(GTK_WIDGET(
                                        ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                        _("ws_ib_zoom_default"));
                }
                else
                {
-                       gtk_infoprint(GTK_WINDOW(
+                       hildon_banner_show_information(GTK_WIDGET(
                                        ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                        _("ws_ib_zoom_out"));
                }
        }
@@ -1519,8 +1543,9 @@ void ws_gui_search(GtkWidget * widget, gpointer user_data)
                }
                else 
                {
-                gtk_infoprint(
-                              GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+               hildon_banner_show_information(GTK_WIDGET(
+                               ws_gui_app->ws_gui_hildon_window),
+                               NULL,
                               _("ws_ni_no_word_typed"));
         }
        g_free(ws_gui_app->last_word);
@@ -1549,7 +1574,9 @@ void ws_gui_search_stop(GtkButton *button, gpointer user_data)
                //ws_gui_app->ws_gui_banner_flag = FALSE;
                
                 ws_dbus_notify(ws_gui_app->dbus_data, WS_DBUS_INFO_STOP_SEARCH);
-                gtk_infoprint(GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+               hildon_banner_show_information(GTK_WIDGET(
+                               ws_gui_app->ws_gui_hildon_window),
+                               NULL,
                               _("ws_ni_search_aborted"));
         }
 }
@@ -2063,9 +2090,10 @@ void ws_gui_dictionary_add_bookmark(GtkMenuItem *menuitem, gpointer user_data)
        } 
        else
        {
-               gtk_infoprint(
-                              GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
-                              _("ws_ni_select_word_to_add"));
+               hildon_banner_show_information(GTK_WIDGET(
+                               ws_gui_app->ws_gui_hildon_window),
+                               NULL,
+                               _("ws_ni_select_word_to_add"));
        }
 }
 
@@ -2096,8 +2124,9 @@ void ws_gui_dictionary_remove_bookmark(GtkMenuItem *menuitem,
        }
        else
        {
-               gtk_infoprint(
-                              GTK_WINDOW(ws_gui_app->ws_gui_hildon_window),
+               hildon_banner_show_information(GTK_WIDGET(
+                               ws_gui_app->ws_gui_hildon_window),
+                               NULL,
                               _("ws_ni_select_word_to_remove"));
        }
        
index fc54cad..c857d10 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -34,7 +34,7 @@ void ws_gui_create_window(gpointer user_data)
        WSGuiApp* ws_gui_app=(WSGuiApp*)user_data;
        
        ws_gui_app->welcome_note = g_strconcat("<br><br><center><font size=+3>", 
-                                  _("ws_ni_welcome"), "<br><IMG SRC=file:/usr/share/pixmaps/whitestork.png>", 
+                                  _("ws_ni_welcome"), "<br><IMG SRC=file:/usr/share/pixmaps/mdictionary.png>", 
                                   NULL);
 
 //     ws_gui_app->ws_gui_w_list->ws_gui_list_item_data_string = 
@@ -73,7 +73,7 @@ void ws_gui_create_window(gpointer user_data)
         ws_gui_app->ws_gui_hildon_program = 
         HILDON_PROGRAM(hildon_program_get_instance());
 
-        g_set_application_name("WhiteStork");
+        g_set_application_name(PACKAGE);
 
         ws_gui_app->ws_gui_hildon_window = HILDON_WINDOW(hildon_window_new());
 
@@ -179,7 +179,7 @@ void ws_gui_create_window(gpointer user_data)
                           TRUE,
                           0);
 
-       gtk_box_pack_start(GTK_BOX(ws_gui_app->ws_gui_list_vbox),
+       gtk_box_pack_end(GTK_BOX(ws_gui_app->ws_gui_list_vbox),
                           ws_gui_app->ws_gui_list_eventbox,
                           FALSE,
                           FALSE,
@@ -204,7 +204,8 @@ void ws_gui_create_window(gpointer user_data)
 
         gtk_widget_show_all(GTK_WIDGET(ws_gui_app->ws_gui_hildon_window));
 
-       gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));
+       gtk_widget_hide_all(GTK_WIDGET(ws_gui_app->ws_gui_list_eventbox));
+       /*gtk_widget_hide_all(GTK_WIDGET(ws_gui_app->ws_gui_list_hbox));*/
 
         ws_gui_app->ws_gui_w_list->ws_gui_selection = 
                 gtk_tree_view_get_selection (GTK_TREE_VIEW
@@ -227,9 +228,9 @@ void ws_gui_create_window(gpointer user_data)
                                    NULL,
                                    _("ws_ab_loading"));
        
-       gtk_widget_set_sensitive(GTK_WIDGET
-                       (ws_gui_app->ws_gui_menu->ws_gui_popup_bookmark),
-                       FALSE);
+//     gtk_widget_set_sensitive(GTK_WIDGET
+//                     (ws_gui_app->ws_gui_menu->ws_gui_popup_bookmark),
+//                     FALSE);
 
        gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_banner_list_searching));
        gtk_widget_hide(GTK_WIDGET(ws_gui_app->ws_gui_banner_translation_loading));
@@ -864,7 +865,7 @@ void ws_gui_dictionary_chooser(GtkMenuItem *menuitem, gpointer user_data)
         else 
         {
                g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO,
-                  "\n.::GUI::. /apps/WhiteStork/Dictionaries does not exist!!");
+                  "\n.::GUI::. /apps/mdictionary/dictionaries does not exist!!");
         }
 
         dialog1 = gtk_dialog_new ();
@@ -1048,7 +1049,7 @@ void ws_gui_dictionary_optimizer(GtkMenuItem *menuitem, gpointer user_data)
         else 
         {
                 g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO,
-                  "\n.::GUI::. /apps/WhiteStork/Dictionaries does not exist!!");
+                  "\n.::GUI::. /apps/mdictionary/dictionaries does not exist!!");
         }
 
         for (i=0; i< g_slist_length(ws_gui_app->directories);i++)
@@ -1242,8 +1243,9 @@ void ws_gui_dictionary_loader(GtkMenuItem *menuitem, gpointer user_data)
                        {
                                gtk_widget_destroy(dialog);
                                ws_refresh_search_results(ws_gui_app);
-                               gtk_infoprint(GTK_WINDOW(
-                                      ws_gui_app->ws_gui_hildon_window),
+                               hildon_banner_show_information(GTK_WIDGET(
+                                       ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                       _("ws_ni_dictionary_added"));
                        } 
                 }
@@ -1256,8 +1258,9 @@ void ws_gui_dictionary_loader(GtkMenuItem *menuitem, gpointer user_data)
                 else
                 {
                         gtk_widget_destroy (dialog);
-                        gtk_infoprint(GTK_WINDOW(
-                                      ws_gui_app->ws_gui_hildon_window),
+                       hildon_banner_show_information(GTK_WIDGET(
+                                       ws_gui_app->ws_gui_hildon_window),
+                                       NULL,
                                       _("ws_ni_dictionary_wrong_file"));
                 }
 
@@ -1410,7 +1413,7 @@ void ws_gui_dictionary_remover(GtkMenuItem *menuitem, gpointer user_data)
         else 
         {
                 g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO,
-                  "\n.::GUI::. /apps/WhiteStork/Dictionaries does not exist!!");
+                  "\n.::GUI::. /apps/mdictionary/dictionaries does not exist!!");
         }
 
         dialog1 = gtk_dialog_new ();
@@ -1503,9 +1506,12 @@ void ws_gui_dictionary_remover(GtkMenuItem *menuitem, gpointer user_data)
 
                 ws_dbus_notify(ws_gui_app->dbus_data, 
                               WS_DBUS_INFO_CONFIG_CHANGED);
-               gtk_infoprint(GTK_WINDOW(
-                                      ws_gui_app->ws_gui_hildon_window),
-                                      _("ws_ib_dictionary_removed"));
+
+               hildon_banner_show_information(GTK_WIDGET(
+                               ws_gui_app->ws_gui_hildon_window),
+                               NULL,
+                               _("ws_ib_dictionary_removed"));
+
                 gtk_widget_destroy (dialog1);
                ws_refresh_search_results(ws_gui_app);
         }
@@ -1547,7 +1553,7 @@ void ws_gui_about_application(GtkMenuItem *menuitem, gpointer user_data)
         about_dialog = gtk_dialog_new ();
         gtk_window_set_title (GTK_WINDOW (about_dialog), 
                              _("ws_ti_about_title"));
-        gtk_window_set_default_size(GTK_WINDOW (about_dialog), 350, 200);
+        gtk_window_set_default_size(GTK_WINDOW (about_dialog), 350, 350);
 
         dialog_vbox1 = GTK_DIALOG (about_dialog)->vbox;
         gtk_widget_show (dialog_vbox1);
@@ -1556,17 +1562,17 @@ void ws_gui_about_application(GtkMenuItem *menuitem, gpointer user_data)
         gtk_widget_show (vbox1);
         gtk_box_pack_start (GTK_BOX (dialog_vbox1), vbox1, TRUE, TRUE, 0);
 
-        image = gtk_image_new_from_file ("/usr/share/pixmaps/whitestork.png");
+        image = gtk_image_new_from_file ("/usr/share/pixmaps/mdictionary_about.png");
         gtk_box_pack_start (GTK_BOX (vbox1), image, TRUE, TRUE, 0);
 
-        label2 = gtk_label_new ("WhiteStork");
+        label2 = gtk_label_new ("mDictionary");
         ws_gui_app->p = pango_font_description_from_string("Tahoma 18");
         gtk_widget_modify_font(GTK_WIDGET(label2), ws_gui_app->p);
         gtk_label_set_pattern (GTK_LABEL(label2), "__________");
         gtk_box_pack_start (GTK_BOX (vbox1), label2, FALSE, FALSE, 5);
 
        ws_version = g_strconcat("Maemo Multilingual Dictionary\nver. ",
-                               WS_VERSION, 
+                               WS_VERSION,
                                NULL);
         label3 = gtk_label_new_with_mnemonic (_(ws_version));
         ws_gui_app->p = pango_font_description_from_string("Tahoma 12");
@@ -1574,7 +1580,7 @@ void ws_gui_about_application(GtkMenuItem *menuitem, gpointer user_data)
         gtk_box_pack_start (GTK_BOX (vbox1), label3, FALSE, FALSE, 5);
         gtk_label_set_justify (GTK_LABEL (label3), GTK_JUSTIFY_CENTER);
 
-        label4 = gtk_label_new ("Copyright 2006, ComArch S.A\nAll rights " 
+        label4 = gtk_label_new ("Copyright 2006 - 2007, ComArch S.A\nAll rights " 
                                "reserved");
         ws_gui_app->p = pango_font_description_from_string("Tahoma 12");
         gtk_widget_modify_font(GTK_WIDGET(label4), ws_gui_app->p);
index 409f679..53f4587 100644 (file)
@@ -10,7 +10,7 @@ SQLITE=-DSQLITE=0
 CFLAGS = `pkg-config --cflags glib-2.0 gmodule-2.0 libosso gconf-2.0` \
        -I${INCLUDE} -I${INCLUDE_DBUS_WRAPPER} ${SQLITE}
 MAIN_BINARIES = ../../bin
-EXECUTABLE = ${BINARY}/WhiteStorkManager
+EXECUTABLE = ${BINARY}/mdictionaryManager
 
 
 SOURCES = ${SOURCE}/*.c
index 5cf6b7d..32a7e3d 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index db3b90c..71b004d 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -23,6 +23,7 @@ Copyright 2006 ComArch S.A.
 #include <dictionary_engine.h>
 #include <glib-object.h>
 #include <gmodule.h>
+#include <ws_services.h>
 #include <ws_dbus.h>
 
 #ifdef __cplusplus
index 8211dd8..f4641cb 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006-2007 ComArch S.A.
index 1cf467a..fb8efc3 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006-2007 ComArch S.A.
index 1bb1acf..11258b2 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006-2007 ComArch S.A.
index aef8963..ded4c0f 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006-2007 ComArch S.A.
@@ -28,8 +28,8 @@ Copyright 2006-2007 ComArch S.A.
        extern "C" {
 #endif
 
-#define GCONF_KEY       "/apps/maemo/WhiteStork/Dictionaries"
-#define GCONF_LIB_PATH  "/apps/maemo/WhiteStork/Engines"
+#define GCONF_KEY       "/apps/maemo/mdictionary/dictionaries"
+#define GCONF_LIB_PATH  "/apps/maemo/mdictionary/engines"
 
 /**
  *Function used to get the dictionaries location read fron GConf
index 74e2a71..afbe17b 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006-2007 ComArch S.A.
index e499ac1..c588423 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006-2007 ComArch S.A.
index c175569..175087d 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 6326e6c..8e2d057 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -70,27 +70,27 @@ void ws_mng_init_dbus (WSMngSearchData *data)
        if (!g_thread_supported ()) g_thread_init (NULL);       
 
        /* create data structure needed to comunicate with dbus wrapper */
-       data->dbus_data = ws_dbus_create ("WhiteStorkManager", "v1.0"); 
+       data->dbus_data = ws_dbus_create ("mdictionaryManager", "v1.0"); 
 
        /* set data used to comunicate with gui */
        ws_dbus_config(data->dbus_data,
                       WS_DBUS_CONFIG_SERVICE,
-                      "org.maemo.WhiteStorkManager");
+                      MANAGER_SERVICE);
        ws_dbus_config(data->dbus_data,
                        WS_DBUS_CONFIG_OBJECT,
-                       "/org/maemo/WhiteStorkManager");
+                       MANAGER_OBJECT);
        ws_dbus_config(data->dbus_data,
                        WS_DBUS_CONFIG_IFACE,
-                       "org.maemo.WhiteStorkManager");
+                       MANAGER_IFACE);
        ws_dbus_config(data->dbus_data, 
                        WS_DBUS_CONFIG_REMOTE_SERVICE,
-                       "org.maemo.WhiteStorkGui");
+                       GUI_SERVICE);
        ws_dbus_config(data->dbus_data, 
                        WS_DBUS_CONFIG_REMOTE_OBJECT,
-                       "/org/maemo/WhiteStorkGui");
+                       GUI_OBJECT);
        ws_dbus_config(data->dbus_data, 
                        WS_DBUS_CONFIG_REMOTE_IFACE,
-                       "org.maemo.WhiteStorkGui");
+                       GUI_IFACE);
 
 
        ws_dbus_add_method (data->dbus_data, "find_word", WS_DBUS_TYPE_STRING, 
index 3a6e14a..a4b8987 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index b48719c..23979d4 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index e39f078..19102f3 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 92d7371..c53e6eb 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index a34c955..0ae9e49 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index f8f1b44..fd33283 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index fe68b17..ac3a1c5 100755 (executable)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index e9f70ae..0654c26 100755 (executable)
@@ -1,18 +1,18 @@
 /******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 0239d5b..4498a77 100755 (executable)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
@@ -22,10 +22,10 @@ Copyright 2006 ComArch S.A.
 #include <unistd.h>
 #include <dictionary_engine.h>
 
-#define DICT_PATH0 "/home/str/whitestork/stardictDicts/stardict-comn_dictd03_slovnyk_pl-ru-2.4.2"
-#define DICT_PATH1 "/home/str/whitestork/stardictDicts/stardict-comn_dictd03_slovnyk_pl-en-2.4.2"
-#define DICT_PATH2 "/home/str/whitestork/stardictDicts/stardict-dictd_www.dict.org_foldoc-2.4.2"
-#define DICT_PATH3 "/home/str/whitestork/stardictDicts/stardict-dictd_www.freedict.de_eng-fra-2.4.2"
+#define DICT_PATH0 "/home/str/mdictionary/stardictDicts/stardict-comn_dictd03_slovnyk_pl-ru-2.4.2"
+#define DICT_PATH1 "/home/str/mdictionary/stardictDicts/stardict-comn_dictd03_slovnyk_pl-en-2.4.2"
+#define DICT_PATH2 "/home/str/mdictionary/stardictDicts/stardict-dictd_www.dict.org_foldoc-2.4.2"
+#define DICT_PATH3 "/home/str/mdictionary/stardictDicts/stardict-dictd_www.freedict.de_eng-fra-2.4.2"
 #define DICT_PATH4 "/home/gandzia/MyDocs/.documents/stardict-comn_dictd03_engcom-2.4.2"
 #define DICT_PATH5 "/home/lukasz/MyDocs/stardict-foldoc"
 #define DICT_PATH6
index c611cc8..c4270e4 100644 (file)
@@ -1,18 +1,18 @@
 /*******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index 104399b..afdeb88 100644 (file)
@@ -1,18 +1,18 @@
 /******************************************************************************
-This file is part of WhiteStork.
+This file is part of mdictionary.
 
-WhiteStork is free software; you can redistribute it and/or modify
+mdictionary is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-WhiteStork is distributed in the hope that it will be useful, 
+mdictionary is distributed in the hope that it will be useful, 
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License 
-along with WhiteStork; if not, write to the Free Software
+along with mdictionary; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
 Copyright 2006 ComArch S.A.
index e47f51e..81e7ad1 100644 (file)
@@ -49,7 +49,7 @@ void caching_progress(gdouble value, gpointer user_data, EngineStatus error) {
 
 int main(int argc, char** argv) 
 {
-       char* nameApp = "WhiteStork: ";
+       char* nameApp = "mdictionary: ";
        printf("%sStarting test program of module: dictionary_engine.\n",nameApp);
        
        gchar* current_directory = g_get_current_dir();
@@ -83,9 +83,9 @@ int main(int argc, char** argv)
 
        //printf("%sCheck OK. Module description: %s\n", nameApp, dict_eng_module_get_description(module));
 
-       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/WhiteStork/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
-       //home/stranger/whitestork/engine0.2/
-//     xdxf = dict_eng_module_create(module, "/home/stranger/whitestork/engine0.2/" , ENGINE_NO);
+       //xdxf = dict_eng_module_create_ext(module, "/home/lukasz/MyDocs/repo/mdictionary/trunk/engine/bin" , ENGINE_CREATE, caching_progress, "Current progress of caching is: %0.2f.\n", 0.03 );
+       //home/stranger/mdictionary/engine0.2/
+//     xdxf = dict_eng_module_create(module, "/home/stranger/mdictionary/engine0.2/" , ENGINE_NO);
 //     dict_eng_set_callback(xdxf, ENGINE_PROGRESS_CACHING, caching_progress, "Current progress of caching is: %0.2f.\n");
 //     dict_eng_set_progress_seed(xdxf, ENGINE_PROGRESS_CACHING, 0.02);