Hello community,

here is the log from the commit of package gnome-documents for openSUSE:Factory
checked in at Tue Oct 18 14:06:17 CEST 2011.



--------
--- openSUSE:Factory/gnome-documents/gnome-documents.changes    2011-10-04 
16:57:40.000000000 +0200
+++ /mounts/work_src_done/STABLE/gnome-documents/gnome-documents.changes        
2011-10-17 20:17:29.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Oct 17 20:15:37 CEST 2011 - [email protected]
+
+- Update to version 0.2.1:
+  + Quote the file path before passing it out to unoconv.
+  + Remember window state and size across app restarts.
+  + Fix some UI flickering and useless refreshs.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  gnome-documents-0.2.0.tar.bz2

New:
----
  gnome-documents-0.2.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-documents.spec ++++++
--- /var/tmp/diff_new_pack.4WE1Xf/_old  2011-10-18 14:06:14.000000000 +0200
+++ /var/tmp/diff_new_pack.4WE1Xf/_new  2011-10-18 14:06:14.000000000 +0200
@@ -15,14 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+
 Name:           gnome-documents
-Version:        0.2.0
+Version:        0.2.1
 Release:        1
 License:        GPLv2+
 Summary:        Document Manager for GNOME
 Url:            http://www.gnome.org
 Group:          Productivity/Office/Other
-Source:         
http://download.gnome.org/sources/gnome-documents/0.1/%{name}-%{version}.tar.bz2
+Source:         
http://download.gnome.org/sources/gnome-documents/0.2/%{name}-%{version}.tar.bz2
 BuildRequires:  intltool
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(clutter-gtk-1.0) >= 1.0.1

++++++ gnome-documents-0.2.0.tar.bz2 -> gnome-documents-0.2.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/NEWS 
new/gnome-documents-0.2.1/NEWS
--- old/gnome-documents-0.2.0/NEWS      2011-09-26 16:24:54.000000000 +0200
+++ new/gnome-documents-0.2.1/NEWS      2011-10-17 16:53:38.000000000 +0200
@@ -1,3 +1,10 @@
+0.2.1 - "Paper Cut"
+===================
+
+- Quote the file path before passing it out to unoconv
+- Remember window state and size across app restarts
+- Fix some UI flickering and useless refreshs
+
 0.2.0 - "Dropping Out"
 ======================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/configure 
new/gnome-documents-0.2.1/configure
--- old/gnome-documents-0.2.0/configure 2011-09-26 16:28:00.000000000 +0200
+++ new/gnome-documents-0.2.1/configure 2011-10-17 17:01:39.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for gnome-documents 0.2.0.
+# Generated by GNU Autoconf 2.68 for gnome-documents 0.2.1.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -567,8 +567,8 @@
 # Identity of this package.
 PACKAGE_NAME='gnome-documents'
 PACKAGE_TARNAME='gnome-documents'
-PACKAGE_VERSION='0.2.0'
-PACKAGE_STRING='gnome-documents 0.2.0'
+PACKAGE_VERSION='0.2.1'
+PACKAGE_STRING='gnome-documents 0.2.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1383,7 +1383,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures gnome-documents 0.2.0 to adapt to many kinds of 
systems.
+\`configure' configures gnome-documents 0.2.1 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1454,7 +1454,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gnome-documents 0.2.0:";;
+     short | recursive ) echo "Configuration of gnome-documents 0.2.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1583,7 +1583,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gnome-documents configure 0.2.0
+gnome-documents configure 0.2.1
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1982,7 +1982,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gnome-documents $as_me 0.2.0, which was
+It was created by gnome-documents $as_me 0.2.1, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -2929,7 +2929,7 @@
 
 # Define the identity of the package.
  PACKAGE='gnome-documents'
- VERSION='0.2.0'
+ VERSION='0.2.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -19924,7 +19924,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by gnome-documents $as_me 0.2.0, which was
+This file was extended by gnome-documents $as_me 0.2.1, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -19990,7 +19990,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-gnome-documents config.status 0.2.0
+gnome-documents config.status 0.2.1
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/configure.ac 
new/gnome-documents-0.2.1/configure.ac
--- old/gnome-documents-0.2.0/configure.ac      2011-09-26 16:27:42.000000000 
+0200
+++ new/gnome-documents-0.2.1/configure.ac      2011-10-17 16:53:45.000000000 
+0200
@@ -1,6 +1,6 @@
 dnl -*- mode: m4 -*-
 AC_PREREQ(2.63)
-AC_INIT([gnome-documents],[0.2.0],[],[gnome-documents])
+AC_INIT([gnome-documents],[0.2.1],[],[gnome-documents])
 
 AM_CONFIG_HEADER(config/config.h)
 AC_CONFIG_SRCDIR([src/main.js])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/data/gnome-documents.desktop 
new/gnome-documents-0.2.1/data/gnome-documents.desktop
--- old/gnome-documents-0.2.0/data/gnome-documents.desktop      2011-09-26 
16:28:09.000000000 +0200
+++ new/gnome-documents-0.2.1/data/gnome-documents.desktop      2011-10-17 
17:03:11.000000000 +0200
@@ -41,6 +41,8 @@
 Name[te]=పత్రాలు
 Name[th]=เอกสาร
 Name[tr]=Belgeler
+Name[uk]=Документи
+Name[vi]=Tài liệu
 Name[zh_CN]=文档
 Name[zh_HK]=文件
 Name[zh_TW]=文件
@@ -86,6 +88,8 @@
 Comment[te]=పత్రాలను వాడుకోండి, నిర్వహించండి మరియు పంచుకోండి
 Comment[th]=เข้าถึง จัดการ และแบ่งปันเอกสาร
 Comment[tr]=Belgelerinize erişin, yönetin ve paylaşın
+Comment[uk]=Доступ, впорядкування і оприлюднення документів
+Comment[vi]=Truy cập, quản lý và chia sẻ tài liệu
 Comment[zh_CN]=访问,管理以及分享文档
 Comment[zh_HK]=存取、管理、分享文件
 Comment[zh_TW]=存取、管理、分享文件
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-documents-0.2.0/data/org.gnome.documents.gschema.xml.in 
new/gnome-documents-0.2.1/data/org.gnome.documents.gschema.xml.in
--- old/gnome-documents-0.2.0/data/org.gnome.documents.gschema.xml.in   
2011-08-01 16:11:48.000000000 +0200
+++ new/gnome-documents-0.2.1/data/org.gnome.documents.gschema.xml.in   
2011-10-17 16:51:03.000000000 +0200
@@ -10,5 +10,20 @@
       <_summary>The active source filter</_summary>
       <_description>The last active source filter</_description>
     </key>
+    <key name="window-size" type="ai">
+      <default>[768, 600]</default>
+      <summary>Window size</summary>
+      <description>Window size (width and height).</description>
+    </key>
+    <key name="window-position" type="ai">
+      <default>[]</default>
+      <summary>Window position</summary>
+      <description>Window position (x and y).</description>
+    </key>
+    <key name="window-maximized" type="b">
+      <default>true</default>
+      <summary>Window maximized</summary>
+      <description>Window maximized state</description>
+    </key>
   </schema>
 </schemalist>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/po/LINGUAS 
new/gnome-documents-0.2.1/po/LINGUAS
--- old/gnome-documents-0.2.0/po/LINGUAS        2011-09-26 16:21:45.000000000 
+0200
+++ new/gnome-documents-0.2.1/po/LINGUAS        2011-10-17 16:51:12.000000000 
+0200
@@ -39,6 +39,8 @@
 te
 th
 tr
+uk
+vi
 zh_CN
 zh_HK
 zh_TW
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/po/ja.po 
new/gnome-documents-0.2.1/po/ja.po
--- old/gnome-documents-0.2.0/po/ja.po  2011-09-26 16:21:45.000000000 +0200
+++ new/gnome-documents-0.2.1/po/ja.po  2011-10-17 16:51:12.000000000 +0200
@@ -5,16 +5,16 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: gnome-documents master\n"
+"Project-Id-Version: gnome-documents gnome-3-2\n"
 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-";
 "documents&keywords=I18N+L10N&component=general\n"
-"POT-Creation-Date: 2011-09-25 07:49+0000\n"
-"PO-Revision-Date: 2011-09-25 23:03+0900\n"
-"Last-Translator: Nishio Futoshi <[email protected]>\n"
+"POT-Creation-Date: 2011-10-01 12:02+0000\n"
+"PO-Revision-Date: 2011-10-05 12:02+0900\n"
+"Last-Translator: Jiro Matsuzawa <[email protected]>\n"
 "Language-Team: Japanese <[email protected]>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bits\n"
+"Content-Transfer-Encoding: 8bit\n"
 "Language: ja\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
@@ -22,7 +22,7 @@
 msgid "Access, manage and share documents"
 msgstr "ドキュメントへのアクセス、管理、そして共有"
 
-#: ../data/gnome-documents.desktop.in.in.h:2 ../src/mainWindow.js:47
+#: ../data/gnome-documents.desktop.in.in.h:2 ../src/mainWindow.js:48
 msgid "Documents"
 msgstr "ドキュメント"
 
@@ -55,7 +55,7 @@
 #. Translators: this refers to shared documents
 #: ../src/categories.js:83
 msgid "Shared with you"
-msgstr "共有する"
+msgstr "共有ドキュメント"
 
 #: ../src/documents.js:253 ../src/sources.js:101
 msgid "Local"
@@ -120,14 +120,15 @@
 msgid "Open with %s"
 msgstr "%s で開く"
 
-#: ../src/view.js:69
+#. Translators: this is the Open action in a context menu
+#: ../src/view.js:70
 msgid "Open"
 msgstr "開く"
 
-#: ../src/view.js:79
+#: ../src/view.js:80
 msgid "Remove from favorites"
 msgstr "お気に入りから削除する"
 
-#: ../src/view.js:79
+#: ../src/view.js:80
 msgid "Add to favorites"
 msgstr "お気に入りに追加する"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/po/uk.po 
new/gnome-documents-0.2.1/po/uk.po
--- old/gnome-documents-0.2.0/po/uk.po  1970-01-01 01:00:00.000000000 +0100
+++ new/gnome-documents-0.2.1/po/uk.po  2011-10-17 16:51:03.000000000 +0200
@@ -0,0 +1,135 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# Korostil Daniel <[email protected]>, 2011.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-09-28 02:35+0300\n"
+"PO-Revision-Date: 2011-09-28 02:41+0300\n"
+"Last-Translator: Korostil Daniel <[email protected]>\n"
+"Language-Team: [email protected]\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
+"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.6.1\n"
+
+#: ../data/gnome-documents.desktop.in.in.h:1
+msgid "Access, manage and share documents"
+msgstr "Доступ, впорядкування і оприлюднення документів"
+
+#: ../data/gnome-documents.desktop.in.in.h:2 ../src/mainWindow.js:47
+msgid "Documents"
+msgstr "Документи"
+
+#: ../data/org.gnome.documents.gschema.xml.in.h:1
+msgid "Enable list view"
+msgstr "Увімкнути список"
+
+#: ../data/org.gnome.documents.gschema.xml.in.h:2
+msgid "List view"
+msgstr "Список"
+
+#: ../data/org.gnome.documents.gschema.xml.in.h:3
+msgid "The active source filter"
+msgstr "Увімкнутий фільтр джерел"
+
+#: ../data/org.gnome.documents.gschema.xml.in.h:4
+msgid "The last active source filter"
+msgstr "Востаннє ввімкнутий фільтр джерел"
+
+#. Translators: this refers to new and recent documents
+#: ../src/categories.js:77
+msgid "New and Recent"
+msgstr "Нове і нещодавнє"
+
+#. Translators: this refers to favorite documents
+#: ../src/categories.js:80
+msgid "Favorites"
+msgstr "Улюблене"
+
+#. Translators: this refers to shared documents
+#: ../src/categories.js:83
+msgid "Shared with you"
+msgstr "Спільне з вами"
+
+#: ../src/documents.js:253 ../src/sources.js:101
+msgid "Local"
+msgstr "Локальне"
+
+#: ../src/documents.js:372
+msgid "Google Docs"
+msgstr "Google Docs"
+
+#: ../src/documents.js:373
+msgid "Google"
+msgstr "Google"
+
+#: ../src/documents.js:442
+msgid "Spreadsheet"
+msgstr "Електронна таблиця"
+
+#: ../src/documents.js:444
+msgid "Presentation"
+msgstr "Презентація"
+
+#: ../src/documents.js:446
+msgid "Document"
+msgstr "Документ"
+
+#. Translators: %s is the title of a document
+#: ../src/error.js:37
+#, c-format
+msgid "Unable to load \"%s\" for preview"
+msgstr "Неможливо завантажити «%s» для перегляду"
+
+#: ../src/error.js:44
+msgid "Unable to fetch the list of documents"
+msgstr "Неможливо одержати список документів"
+
+#: ../src/loadMore.js:70
+#, c-format
+msgid "Load %d more documents"
+msgid_plural "Load %d more documents"
+msgstr[0] "Завантажити ще %d документ"
+msgstr[1] "Завантажити ще %d документа"
+msgstr[2] "Завантажити ще %d документів"
+
+#: ../src/mainToolbar.js:201
+#, c-format
+msgid "(%d of %d)"
+msgstr "(%d з %d)"
+
+#: ../src/sidebar.js:131 ../src/sources.js:218
+msgid "Sources"
+msgstr "Джерела"
+
+#: ../src/sources.js:96
+msgid "All"
+msgstr "Усе"
+
+#: ../src/spinnerBox.js:47
+msgid "Loading..."
+msgstr "Завантаження…"
+
+#. Translators: this is the Open action in a context menu
+#: ../src/view.js:67
+#, c-format
+msgid "Open with %s"
+msgstr "Відкрити через %s"
+
+#: ../src/view.js:69
+msgid "Open"
+msgstr "Відкрити"
+
+#: ../src/view.js:79
+msgid "Remove from favorites"
+msgstr "Вилучити з улюбленого"
+
+#: ../src/view.js:79
+msgid "Add to favorites"
+msgstr "Додати до улюбленого"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/po/vi.po 
new/gnome-documents-0.2.1/po/vi.po
--- old/gnome-documents-0.2.0/po/vi.po  1970-01-01 01:00:00.000000000 +0100
+++ new/gnome-documents-0.2.1/po/vi.po  2011-10-17 16:51:12.000000000 +0200
@@ -0,0 +1,133 @@
+# Vietnamese translation for gnome-documents.
+# Copyright (C) 2011 gnome-documents's COPYRIGHT HOLDER
+# This file is distributed under the same license as the gnome-documents 
package.
+# Nguyễn Thái Ngọc Duy <[email protected]>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-documents gnome-3-2\n"
+"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-";
+"documents&keywords=I18N+L10N&component=general\n"
+"POT-Creation-Date: 2011-10-01 12:02+0000\n"
+"PO-Revision-Date: 2011-10-02 10:55+1100\n"
+"Last-Translator: Nguyễn Thái Ngọc Duy <[email protected]>\n"
+"Language-Team: Vietnamese <[email protected]>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: ../data/gnome-documents.desktop.in.in.h:1
+msgid "Access, manage and share documents"
+msgstr "Truy cập, quản lý và chia sẻ tài liệu"
+
+#: ../data/gnome-documents.desktop.in.in.h:2 ../src/mainWindow.js:48
+msgid "Documents"
+msgstr "Tài liệu"
+
+#: ../data/org.gnome.documents.gschema.xml.in.h:1
+msgid "Enable list view"
+msgstr "Bật trình bày dạng danh sách"
+
+#: ../data/org.gnome.documents.gschema.xml.in.h:2
+msgid "List view"
+msgstr "Trình bày dạng danh sách"
+
+#: ../data/org.gnome.documents.gschema.xml.in.h:3
+msgid "The active source filter"
+msgstr "Bộ lọc nguồn tích cực"
+
+#: ../data/org.gnome.documents.gschema.xml.in.h:4
+msgid "The last active source filter"
+msgstr "Bộ lọc nguồn tích cực cuối cùng"
+
+#. Translators: this refers to new and recent documents
+#: ../src/categories.js:77
+msgid "New and Recent"
+msgstr "Mới và gần đây"
+
+#. Translators: this refers to favorite documents
+#: ../src/categories.js:80
+msgid "Favorites"
+msgstr "Yêu thích"
+
+#. Translators: this refers to shared documents
+#: ../src/categories.js:83
+msgid "Shared with you"
+msgstr "Chia sẻ với bạn"
+
+#: ../src/documents.js:253 ../src/sources.js:101
+msgid "Local"
+msgstr "Cục bộ"
+
+#: ../src/documents.js:372
+msgid "Google Docs"
+msgstr "Google Docs"
+
+#: ../src/documents.js:373
+msgid "Google"
+msgstr "Google"
+
+#: ../src/documents.js:442
+msgid "Spreadsheet"
+msgstr "Bảng tính"
+
+#: ../src/documents.js:444
+msgid "Presentation"
+msgstr "Trình diễn"
+
+#: ../src/documents.js:446
+msgid "Document"
+msgstr "Tài liệu"
+
+#. Translators: %s is the title of a document
+#: ../src/error.js:37
+#, c-format
+msgid "Unable to load \"%s\" for preview"
+msgstr "Không thể nạp \"%s\" để xem trước"
+
+#: ../src/error.js:44
+msgid "Unable to fetch the list of documents"
+msgstr "Không thể lấy danh sách tài liệu"
+
+#: ../src/loadMore.js:70
+#, c-format
+msgid "Load %d more documents"
+msgid_plural "Load %d more documents"
+msgstr[0] "Nạp %d tài liệu nữa"
+
+#: ../src/mainToolbar.js:201
+#, c-format
+msgid "(%d of %d)"
+msgstr "(%d trên %d)"
+
+#: ../src/sidebar.js:131 ../src/sources.js:218
+msgid "Sources"
+msgstr "Nguồn"
+
+#: ../src/sources.js:96
+msgid "All"
+msgstr "Tất cả"
+
+#: ../src/spinnerBox.js:47
+msgid "Loading..."
+msgstr "Đang nạp..."
+
+#. Translators: this is the Open action in a context menu
+#: ../src/view.js:67
+#, c-format
+msgid "Open with %s"
+msgstr "Mở với %s"
+
+#. Translators: this is the Open action in a context menu
+#: ../src/view.js:70
+msgid "Open"
+msgstr "Mở"
+
+#: ../src/view.js:80
+msgid "Remove from favorites"
+msgstr "Bỏ đánh dấu yêu thích"
+
+#: ../src/view.js:80
+msgid "Add to favorites"
+msgstr "Đánh dấu yêu thích"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/po/zh_CN.po 
new/gnome-documents-0.2.1/po/zh_CN.po
--- old/gnome-documents-0.2.0/po/zh_CN.po       2011-09-15 22:26:42.000000000 
+0200
+++ new/gnome-documents-0.2.1/po/zh_CN.po       2011-09-29 21:27:17.000000000 
+0200
@@ -9,8 +9,8 @@
 "Project-Id-Version: gnome-documents master\n"
 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-";
 "documents&keywords=I18N+L10N&component=general\n"
-"POT-Creation-Date: 2011-09-12 22:16+0000\n"
-"PO-Revision-Date: 2011-09-14 22:05+0800\n"
+"POT-Creation-Date: 2011-09-26 16:31+0000\n"
+"PO-Revision-Date: 2011-09-28 02:04+0800\n"
 "Last-Translator: YunQiang Su <[email protected]>\n"
 "Language-Team: Chinese (simplified) <[email protected]>\n"
 "MIME-Version: 1.0\n"
@@ -35,12 +35,10 @@
 msgstr "列表视图"
 
 #: ../data/org.gnome.documents.gschema.xml.in.h:3
-#, fuzzy
 msgid "The active source filter"
 msgstr "活动的源过滤器"
 
 #: ../data/org.gnome.documents.gschema.xml.in.h:4
-#, fuzzy
 msgid "The last active source filter"
 msgstr "最后活动的源过滤器"
 
@@ -59,7 +57,7 @@
 msgid "Shared with you"
 msgstr "分享给您的"
 
-#: ../src/documents.js:253 ../src/sources.js:116
+#: ../src/documents.js:253 ../src/sources.js:101
 msgid "Local"
 msgstr "本地"
 
@@ -68,7 +66,6 @@
 msgstr "谷歌文档"
 
 #: ../src/documents.js:373
-#| msgid "Google Docs"
 msgid "Google"
 msgstr "谷歌"
 
@@ -81,7 +78,6 @@
 msgstr "演示文档"
 
 #: ../src/documents.js:446
-#, fuzzy
 #| msgid "Documents"
 msgid "Document"
 msgstr "文档"
@@ -97,24 +93,22 @@
 msgstr "无法获取文档清单"
 
 #: ../src/loadMore.js:70
-#, fuzzy, c-format
+#, c-format
 msgid "Load %d more documents"
 msgid_plural "Load %d more documents"
-msgstr[0] "加载 %d 更多文档"
-msgstr[1] "加载 %d 更多文档"
+msgstr[0] "更多加载 %d 份文档"
 
 #: ../src/mainToolbar.js:201
-#, fuzzy, c-format
+#, c-format
 #| msgid "page %d of %d"
 msgid "(%d of %d)"
-msgstr "第 %d 页,共 %d 页"
+msgstr "(%d/%d)"
 
-#: ../src/sidebar.js:131 ../src/sources.js:255
-#, fuzzy
+#: ../src/sidebar.js:131 ../src/sources.js:218
 msgid "Sources"
 msgstr "源"
 
-#: ../src/sources.js:110
+#: ../src/sources.js:96
 msgid "All"
 msgstr "全部"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/po/zh_HK.po 
new/gnome-documents-0.2.1/po/zh_HK.po
--- old/gnome-documents-0.2.0/po/zh_HK.po       2011-09-06 15:31:23.000000000 
+0200
+++ new/gnome-documents-0.2.1/po/zh_HK.po       2011-09-26 17:35:46.000000000 
+0200
@@ -7,20 +7,21 @@
 msgstr ""
 "Project-Id-Version: gnome-documents master\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-09-03 19:04+0800\n"
-"PO-Revision-Date: 2011-09-03 19:04+0800\n"
-"Last-Translator: Cheng-Chia Tseng <[email protected]>\n"
+"POT-Creation-Date: 2011-09-26 22:57+0800\n"
+"PO-Revision-Date: 2011-09-26 22:57+0800\n"
+"Last-Translator: Chao-Hsiung Liao <[email protected]>\n"
 "Language-Team: Chinese (Hong Kong) <[email protected]>\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
 
 #: ../data/gnome-documents.desktop.in.in.h:1
 msgid "Access, manage and share documents"
 msgstr "存取、管理、分享文件"
 
-#: ../data/gnome-documents.desktop.in.in.h:2 ../src/mainWindow.js:82
+#: ../data/gnome-documents.desktop.in.in.h:2 ../src/mainWindow.js:47
 msgid "Documents"
 msgstr "文件"
 
@@ -55,32 +56,27 @@
 msgid "Shared with you"
 msgstr "與你分享"
 
-#. unimplemented
-#: ../src/categories.js:87
-msgid "Private"
-msgstr "私人"
-
-#: ../src/documents.js:269 ../src/sources.js:116
+#: ../src/documents.js:253 ../src/sources.js:101
 msgid "Local"
 msgstr "本地端"
 
-#: ../src/documents.js:388
+#: ../src/documents.js:372
 msgid "Google Docs"
 msgstr "Google 文件"
 
-#: ../src/documents.js:389
+#: ../src/documents.js:373
 msgid "Google"
 msgstr "Google"
 
-#: ../src/documents.js:446
+#: ../src/documents.js:442
 msgid "Spreadsheet"
 msgstr "試算表"
 
-#: ../src/documents.js:448
+#: ../src/documents.js:444
 msgid "Presentation"
 msgstr "簡報"
 
-#: ../src/documents.js:450
+#: ../src/documents.js:446
 msgid "Document"
 msgstr "文件"
 
@@ -94,21 +90,22 @@
 msgid "Unable to fetch the list of documents"
 msgstr "無法擷取文件清單"
 
-#: ../src/loadMore.js:69
+#: ../src/loadMore.js:70
 #, c-format
 msgid "Load %d more documents"
-msgstr "載入 %d 份其他文件"
+msgid_plural "Load %d more documents"
+msgstr[0] "載入其他 %d 份文件"
 
-#: ../src/mainToolbar.js:183
+#: ../src/mainToolbar.js:201
 #, c-format
 msgid "(%d of %d)"
 msgstr "(%d / %d)"
 
-#: ../src/sidebar.js:130 ../src/sources.js:255
+#: ../src/sidebar.js:131 ../src/sources.js:218
 msgid "Sources"
 msgstr "來源"
 
-#: ../src/sources.js:110
+#: ../src/sources.js:96
 msgid "All"
 msgstr "全部"
 
@@ -117,19 +114,22 @@
 msgstr "正在載入..."
 
 #. Translators: this is the Open action in a context menu
-#: ../src/view.js:46
+#: ../src/view.js:67
 #, c-format
 msgid "Open with %s"
 msgstr "以 %s 開啟"
 
-#: ../src/view.js:46
+#: ../src/view.js:69
 msgid "Open"
 msgstr "開啟"
 
-#: ../src/view.js:56
+#: ../src/view.js:79
 msgid "Remove from favorites"
 msgstr "自喜好移除"
 
-#: ../src/view.js:56
+#: ../src/view.js:79
 msgid "Add to favorites"
 msgstr "加入喜好"
+
+#~ msgid "Private"
+#~ msgstr "私人"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/po/zh_TW.po 
new/gnome-documents-0.2.1/po/zh_TW.po
--- old/gnome-documents-0.2.0/po/zh_TW.po       2011-09-06 15:31:23.000000000 
+0200
+++ new/gnome-documents-0.2.1/po/zh_TW.po       2011-09-26 17:35:46.000000000 
+0200
@@ -7,20 +7,21 @@
 msgstr ""
 "Project-Id-Version: gnome-documents master\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-09-03 19:04+0800\n"
-"PO-Revision-Date: 2011-09-02 22:38+0800\n"
-"Last-Translator: Cheng-Chia Tseng <[email protected]>\n"
+"POT-Creation-Date: 2011-09-26 22:57+0800\n"
+"PO-Revision-Date: 2011-09-26 10:39+0800\n"
+"Last-Translator: Chao-Hsiung Liao <[email protected]>\n"
 "Language-Team: Chinese (Taiwan) <[email protected]>\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
 
 #: ../data/gnome-documents.desktop.in.in.h:1
 msgid "Access, manage and share documents"
 msgstr "存取、管理、分享文件"
 
-#: ../data/gnome-documents.desktop.in.in.h:2 ../src/mainWindow.js:82
+#: ../data/gnome-documents.desktop.in.in.h:2 ../src/mainWindow.js:47
 msgid "Documents"
 msgstr "文件"
 
@@ -55,32 +56,27 @@
 msgid "Shared with you"
 msgstr "與您分享"
 
-#. unimplemented
-#: ../src/categories.js:87
-msgid "Private"
-msgstr "私人"
-
-#: ../src/documents.js:269 ../src/sources.js:116
+#: ../src/documents.js:253 ../src/sources.js:101
 msgid "Local"
 msgstr "本地端"
 
-#: ../src/documents.js:388
+#: ../src/documents.js:372
 msgid "Google Docs"
 msgstr "Google 文件"
 
-#: ../src/documents.js:389
+#: ../src/documents.js:373
 msgid "Google"
 msgstr "Google"
 
-#: ../src/documents.js:446
+#: ../src/documents.js:442
 msgid "Spreadsheet"
 msgstr "試算表"
 
-#: ../src/documents.js:448
+#: ../src/documents.js:444
 msgid "Presentation"
 msgstr "簡報"
 
-#: ../src/documents.js:450
+#: ../src/documents.js:446
 msgid "Document"
 msgstr "文件"
 
@@ -94,21 +90,22 @@
 msgid "Unable to fetch the list of documents"
 msgstr "無法擷取文件清單"
 
-#: ../src/loadMore.js:69
+#: ../src/loadMore.js:70
 #, c-format
 msgid "Load %d more documents"
-msgstr "載入 %d 份其他文件"
+msgid_plural "Load %d more documents"
+msgstr[0] "載入其他 %d 份文件"
 
-#: ../src/mainToolbar.js:183
+#: ../src/mainToolbar.js:201
 #, c-format
 msgid "(%d of %d)"
 msgstr "(%d / %d)"
 
-#: ../src/sidebar.js:130 ../src/sources.js:255
+#: ../src/sidebar.js:131 ../src/sources.js:218
 msgid "Sources"
 msgstr "來源"
 
-#: ../src/sources.js:110
+#: ../src/sources.js:96
 msgid "All"
 msgstr "全部"
 
@@ -117,19 +114,22 @@
 msgstr "正在載入..."
 
 #. Translators: this is the Open action in a context menu
-#: ../src/view.js:46
+#: ../src/view.js:67
 #, c-format
 msgid "Open with %s"
 msgstr "以 %s 開啟"
 
-#: ../src/view.js:46
+#: ../src/view.js:69
 msgid "Open"
 msgstr "開啟"
 
-#: ../src/view.js:56
+#: ../src/view.js:79
 msgid "Remove from favorites"
 msgstr "自喜好移除"
 
-#: ../src/view.js:56
+#: ../src/view.js:79
 msgid "Add to favorites"
 msgstr "加入喜好"
+
+#~ msgid "Private"
+#~ msgstr "私人"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/src/categories.js 
new/gnome-documents-0.2.1/src/categories.js
--- old/gnome-documents-0.2.0/src/categories.js 2011-09-06 21:35:13.000000000 
+0200
+++ new/gnome-documents-0.2.1/src/categories.js 2011-10-17 16:50:51.000000000 
+0200
@@ -91,11 +91,15 @@
     },
 
     setActiveCategoryId: function(id) {
-        if (!this._categories[id])
+        let category = this._categories[id];
+
+        if (!category)
             return;
 
-        this.activeCategory = this._categories[id];
-        this.emit('active-category-changed');
+        if (category != this.activeCategory) {
+            this.activeCategory = category;
+            this.emit('active-category-changed');
+        }
     },
 
     getActiveCategoryId: function() {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/src/lib/gd-pdf-loader.c 
new/gnome-documents-0.2.1/src/lib/gd-pdf-loader.c
--- old/gnome-documents-0.2.0/src/lib/gd-pdf-loader.c   2011-09-06 
23:37:43.000000000 +0200
+++ new/gnome-documents-0.2.1/src/lib/gd-pdf-loader.c   2011-09-29 
21:27:22.000000000 +0200
@@ -443,7 +443,7 @@
 static void
 pdf_load_job_openoffice_refresh_cache (PdfLoadJob *job)
 {
-  gchar *doc_path, *cmd;
+  gchar *doc_path, *cmd, *quoted_path;
   GFile *file;
   gint argc;
   GPid pid;
@@ -453,16 +453,19 @@
   /* build the temporary PDF file path */
   file = g_file_new_for_uri (job->uri);
   doc_path = g_file_get_path (file);
+  quoted_path = g_shell_quote (doc_path);
+
   g_object_unref (file);
+  g_free (doc_path);
 
   /* call into the unoconv executable to convert the OpenOffice document
    * to the temporary PDF.
    */
-  cmd = g_strdup_printf ("unoconv -f pdf -o %s %s", job->pdf_path, doc_path);
+  cmd = g_strdup_printf ("unoconv -f pdf -o %s %s", job->pdf_path, 
quoted_path);
   g_shell_parse_argv (cmd, &argc, &argv, &error);
 
   g_free (cmd);
-  g_free (doc_path);
+  g_free (quoted_path);
 
   if (error != NULL) {
     pdf_load_job_complete_error (job, error);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/src/mainWindow.js 
new/gnome-documents-0.2.1/src/mainWindow.js
--- old/gnome-documents-0.2.0/src/mainWindow.js 2011-09-15 22:27:01.000000000 
+0200
+++ new/gnome-documents-0.2.1/src/mainWindow.js 2011-09-30 00:39:52.000000000 
+0200
@@ -33,8 +33,7 @@
 
 const _ = imports.gettext.gettext;
 
-const _WINDOW_DEFAULT_WIDTH = 768;
-const _WINDOW_DEFAULT_HEIGHT = 600;
+const _CONFIGURE_ID_TIMEOUT = 100; // msecs
 
 function MainWindow() {
     this._init();
@@ -42,18 +41,44 @@
 
 MainWindow.prototype = {
     _init: function() {
+        this._configureId = 0;
+
         this.window = new Gtk.Window({ type: Gtk.WindowType.TOPLEVEL,
                                        window_position: 
Gtk.WindowPosition.CENTER,
                                        title: _("Documents") });
 
         Global.modeController.setWindowMode(WindowMode.WindowMode.OVERVIEW);
 
-        this.window.set_size_request(_WINDOW_DEFAULT_WIDTH, 
_WINDOW_DEFAULT_HEIGHT);
-        this.window.maximize();
+        // apply the last saved window size and position
+        let size = Global.settings.get_value('window-size');
+        if (size.n_children() == 2) {
+            let width = size.get_child_value(0);
+            let height = size.get_child_value(1);
+
+            this.window.set_default_size(width.get_int32(),
+                                         height.get_int32());
+        }
+
+        let position = Global.settings.get_value('window-position');
+        if (position.n_children() == 2) {
+            let x = position.get_child_value(0);
+            let y = position.get_child_value(1);
+
+            this.window.move(x.get_int32(),
+                             y.get_int32());
+        }
+
+        if (Global.settings.get_boolean('window-maximized'))
+            this.window.maximize();
+
         this.window.connect('delete-event',
-                            Lang.bind(this, this._onDeleteEvent));
+                            Lang.bind(this, this._quit));
         this.window.connect('key-press-event',
                             Lang.bind(this, this._onKeyPressEvent));
+        this.window.connect('configure-event',
+                            Lang.bind(this, this._onConfigureEvent));
+        this.window.connect('window-state-event',
+                            Lang.bind(this, this._onWindowStateEvent));
 
         Global.modeController.connect('fullscreen-changed',
                                       Lang.bind(this, 
this._onFullscreenChanged));
@@ -70,6 +95,50 @@
         this._grid.show_all();
     },
 
+    _saveWindowGeometry: function() {
+        let window = this.window.get_window();
+        let state = window.get_state();
+
+        if (state & Gdk.WindowState.MAXIMIZED)
+            return;
+
+        // GLib.Variant.new() can handle arrays just fine
+        let size = this.window.get_size();
+        let variant = GLib.Variant.new ('ai', size);
+        Global.settings.set_value('window-size', variant);
+
+        let position = this.window.get_position();
+        variant = GLib.Variant.new ('ai', position);
+        Global.settings.set_value('window-position', variant);
+    },
+
+    _onConfigureEvent: function(widget, event) {
+        if (Global.modeController.getFullscreen())
+            return;
+
+        if (this._configureId != 0) {
+            Mainloop.source_remove(this._configureId);
+            this._configureId = 0;
+        }
+
+        this._configureId = Mainloop.timeout_add(_CONFIGURE_ID_TIMEOUT, 
Lang.bind(this,
+            function() {
+                this._saveWindowGeometry();
+                return false;
+            }));
+    },
+
+    _onWindowStateEvent: function(widget, event) {
+        let window = widget.get_window();
+        let state = window.get_state();
+
+        if (state & Gdk.WindowState.FULLSCREEN)
+            return;
+
+        let maximized = (state & Gdk.WindowState.MAXIMIZED);
+        Global.settings.set_boolean('window-maximized', maximized);
+    },
+
     _onFullscreenChanged: function(controller, fullscreen) {
         if (fullscreen)
             this.window.fullscreen();
@@ -83,7 +152,7 @@
 
         if ((keyval == Gdk.KEY_q) &&
             ((state & Gdk.ModifierType.CONTROL_MASK) != 0)) {
-            Global.application.quit();
+            this._quit();
             return true;
         }
 
@@ -127,7 +196,16 @@
         return false;
     },
 
-    _onDeleteEvent: function() {
+    _quit: function() {
+        // remove configure event handler if still there
+        if (this._configureId != 0) {
+            Mainloop.source_remove(this._configureId);
+            this._configureId = 0;
+        }
+
+        // always save geometry before quitting
+        this._saveWindowGeometry();
+
         Global.application.quit();
     }
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/src/selectionController.js 
new/gnome-documents-0.2.1/src/selectionController.js
--- old/gnome-documents-0.2.0/src/selectionController.js        2011-09-13 
00:12:44.000000000 +0200
+++ new/gnome-documents-0.2.1/src/selectionController.js        2011-09-30 
00:48:17.000000000 +0200
@@ -43,6 +43,9 @@
     },
 
     freezeSelection: function(freeze) {
+        if (freeze == this._isFreezed)
+            return;
+
         this._isFreezed = freeze;
 
         if (!this._isFreezed)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-documents-0.2.0/src/view.js 
new/gnome-documents-0.2.1/src/view.js
--- old/gnome-documents-0.2.0/src/view.js       2011-09-13 00:12:29.000000000 
+0200
+++ new/gnome-documents-0.2.1/src/view.js       2011-10-17 16:50:51.000000000 
+0200
@@ -66,6 +66,7 @@
             // Translators: this is the Open action in a context menu
             openLabel = _("Open with %s").format(apps[0]);
         } else {
+            // Translators: this is the Open action in a context menu
             openLabel = _("Open");
         }
 

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to