=== modified file 'debian/20_ubuntukylin-default-settings.gschema.override' --- debian/20_ubuntukylin-default-settings.gschema.override 2013-02-05 08:05:49 +0000 +++ debian/20_ubuntukylin-default-settings.gschema.override 2013-03-14 10:55:38 +0000 @@ -3,17 +3,21 @@ trash-icon-visible=true volumes-visible=true +[org.gnome.nautilus.desktop] +home-icon-name='我的文档' +trash-icon-name='回收站' + [org.gnome.desktop.wm.preferences] button-layout=':minimize,maximize,close' mouse-button-modifier='' titlebar-font='Ubuntu Bold 11' [org.gnome.desktop.interface] -gtk-theme="kylin-theme" -icon-theme="kylin-icon-theme" +gtk-theme="ubuntukylin-theme" +icon-theme="ubuntukylin-icon-theme" [org.gnome.desktop.wm.preferences] -theme="kylin-theme" +theme="ubuntukylin-theme" [com.canonical.unity-greeter] background="/usr/share/backgrounds/ubuntukylin-default-settings.jpg" === removed file 'debian/20_ubuntukylin-default-settings.gschema.xml' --- debian/20_ubuntukylin-default-settings.gschema.xml 2013-01-25 07:52:38 +0000 +++ debian/20_ubuntukylin-default-settings.gschema.xml 1970-01-01 00:00:00 +0000 @@ -1,291 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 'after-current-tab' - Where to position newly open tabs in browser windows. - If set to "after-current-tab", then new tabs are inserted after the current tab. If set to "end", then new tabs are appended to the end of the tab list. - - - false - Always use the location entry, instead of the pathbar - If set to true, then Nautilus browser windows will always use a textual input entry for the location toolbar, instead of the pathbar. - - - true - Whether to ask for confirmation when deleting files, or emptying Trash - If set to true, then Nautilus will ask for confirmation when you attempt to delete files, or empty the Trash. - - - false - Whether to enable immediate deletion - If set to true, then Nautilus will have a feature allowing you to delete a file immediately and in-place, instead of moving it to the trash. This feature can be dangerous, so use caution. - - - - 'local-only' - When to show number of items in a folder - Speed tradeoff for when to show the number of items in a folder. If set to "always" then always show item counts, even if the folder is on a remote server. If set to "local-only" then only show counts for local file systems. If set to "never" then never bother to compute item counts. - - - 'double' - Type of click used to launch/open files - Possible values are "single" to launch files on a single click, or "double" to launch them on a double click. - - - 'display' - What to do with executable text files when activated - What to do with executable text files when they are activated (single or double clicked). Possible values are "launch" to launch them as programs, "ask" to ask what to do via a dialog, and "display" to display them as text files. - - - true - Show the package installer for unknown mime types - Whether to show the user a package installer dialog in case an unknown mime type is opened, in order to search for an application to handle it. - - - true - Use extra mouse button events in Nautilus' browser window - For users with mice that have "Forward" and "Back" buttons, this key will determine if any action is taken inside of Nautilus when either is pressed. - - - 9 - Mouse button to activate the "Forward" command in browser window - For users with mice that have buttons for "Forward" and "Back", this key will set which button activates the "Forward" command in a browser window. Possible values range between 6 and 14. - - - 8 - Mouse button to activate the "Back" command in browser window - For users with mice that have buttons for "Forward" and "Back", this key will set which button activates the "Back" command in a browser window. Possible values range between 6 and 14. - - - - 'local-only' - When to show thumbnails of files - Speed tradeoff for when to show a file as a thumbnail. If set to "always" then always thumbnail, even if the folder is on a remote server. If set to "local-only" then only show thumbnails for local file systems. If set to "never" then never bother to thumbnail files, just use a generic icon. Despite what the name may suggest, this applies to any previewable file type. - - - 10485760 - Maximum image size for thumbnailing - Images over this size (in bytes) won't be thumbnailed. The purpose of this setting is to avoid thumbnailing large images that may take a long time to load or use lots of memory. - - - false - Show folders first in windows - If set to true, then Nautilus shows folders prior to showing files in the icon and list views. - - - - - - 'name' - Default sort order - The default sort-order for items in the icon view. Possible values are "name", "size", "type" and "mtime". - - - false - Reverse sort order in new windows - If true, files in new windows will be sorted in reverse order. ie, if sorted by name, then instead of sorting the files from "a" to "z", they will be sorted from "z" to "a"; if sorted by size, instead of being incrementally they will be sorted decrementally. - - - - - - - - - 'icon-view' - Default folder viewer - When a folder is visited this viewer is used unless you have selected another view for that particular folder. Possible values are "list-view", and "icon-view". - - - false - Whether to show hidden files - If set to true, then hidden files are shown by default in the file manager. Hidden files are either dotfiles, listed in the folder's .hidden file or backup files ending with a tilde (~). - - - [] - Bulk rename utility - If set, Nautilus will append URIs of selected files and treat the result as a command line for bulk renaming. Bulk rename applications can register themselves in this key by setting the key to a space-separated string of their executable name and any command line options. If the executable name is not set to a full path, it will be searched for in the search path. - - - - - - [ 'none', 'size', 'date_modified' ] - List of possible captions on icons - A list of captions below an icon in the icon view and the desktop. The actual number of captions shown depends on the zoom level. Some possible values are: "size", "type", "date_modified", "owner", "group", "permissions", and "mime_type". - - - 'standard' - Default icon zoom level - Default zoom level used by the icon view. - - - 64 - Default Thumbnail Icon Size - The default size of an icon for a thumbnail in the icon view. - - - [ '3' ] - Text Ellipsis Limit - A string specifying how parts of overlong file names should be replaced by ellipses, depending on the zoom level. Each of the list entries is of the form "Zoom Level:Integer". For each specified zoom level, if the given integer is larger than 0, the file name will not exceed the given number of lines. If the integer is 0 or smaller, no limit is imposed on the specified zoom level. A default entry of the form "Integer" without any specified zoom level is also allowed. It defines the maximum number of lines for all other zoom levels. Examples: 0 - always display overlong file names; 3 - shorten file names if they exceed three lines; smallest:5,smaller:4,0 - shorten file names if they exceed five lines for zoom level "smallest". Shorten file names if they exceed four lines for zoom level "smaller". Do not shorten file names for other zoom levels. Available zoom levels: smallest (33%), smaller (50%), small (66%), standard (100%), large (150%), larger (200%), largest (400%) - - - - - - 'small' - Default list zoom level - Default zoom level used by the list view. - - - [ 'name', 'size', 'type', 'date_modified' ] - Default list of columns visible in the list view - Default list of columns visible in the list view. - - - [ 'name', 'size', 'type', 'date_modified' ] - Default column order in the list view - Default column order in the list view. - - - - - - '' - Desktop font - The font _description used for the icons on the desktop. - - - true - Home icon visible on desktop - If this is set to true, an icon linking to the home folder will be put on the desktop. - - - true - Trash icon visible on desktop - If this is set to true, an icon linking to the trash will be put on the desktop. - - - true - Show mounted volumes on the desktop - If this is set to true, icons linking to mounted volumes will be put on the desktop. - - - false - Network Servers icon visible on the desktop - If this is set to true, an icon linking to the Network Servers view will be put on the desktop. - - - '我的文档' - Desktop home icon name - This name can be set if you want a custom name for the home icon on the desktop. - - - '回收站' - Desktop trash icon name - This name can be set if you want a custom name for the trash icon on the desktop. - - - 'Network Servers' - Network servers icon name - This name can be set if you want a custom name for the network servers icon on the desktop. - - - 3 - Text Ellipsis Limit - An integer specifying how parts of overlong file names should be replaced by ellipses on the desktop. If the number is larger than 0, the file name will not exceed the given number of lines. If the number is 0 or smaller, no limit is imposed on the number of displayed lines. - - - true - Fade the background on change - If set to true, then Nautilus will use a fade effect to change the desktop background. - - - - - - '' - The geometry string for a navigation window. - A string containing the saved geometry and coordinates string for navigation windows. - - - false - Whether the navigation window should be maximized. - Whether the navigation window should be maximized by default. - - - 148 - Width of the side pane - The default width of the side pane in new windows. - - - true - Show location bar in new windows - If set to true, newly opened windows will have the location bar visible. - - - true - Show side pane in new windows - If set to true, newly opened windows will have the side pane visible. - - - === modified file 'debian/changelog' --- debian/changelog 2013-02-01 11:47:11 +0000 +++ debian/changelog 2013-03-14 11:24:29 +0000 @@ -1,3 +1,14 @@ +ubuntukylin-default-settings (1.0.2) raring; urgency=low + + * add slideshow + * add gnome-tweak-tool icon + * del wps*.desktop + * modify the configuration file + * pre-installed applications:indicator-china-weather,fctix + * remove ibus + + -- ShuiLu Pi (pishuilu1128) Thu, 14 Mar 2013 16:30:42 +0800 + ubuntukylin-default-settings (1.0.1) raring; urgency=low * Initial release. === added file 'debian/theme-tool.desktop' --- debian/theme-tool.desktop 1970-01-01 00:00:00 +0000 +++ debian/theme-tool.desktop 2013-03-14 10:55:38 +0000 @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=主题设置 +Comment=Tweak advanced GNOME 3 settings +Icon=gnome-tweak-tool +Exec=gnome-tweak-tool +Terminal=false +Type=Application +StartupNotify=true +Categories=GNOME;GTK;Accessibility;Utility;Settings;X-GNOME-Settings-Panel;X-GNOME-PersonalSettings; +OnlyShowIn=GNOME;Unity; +X-GNOME-Settings-Panel=gnome-tweak-tool +Name[zh_CN]=主题设置 === modified file 'debian/ubuntukylin-default-settings.install' --- debian/ubuntukylin-default-settings.install 2013-02-01 09:44:00 +0000 +++ debian/ubuntukylin-default-settings.install 2013-03-14 10:55:38 +0000 @@ -1,4 +1,4 @@ debian/20_ubuntukylin-default-settings.gschema.override usr/share/glib-2.0/schemas -debian/20_ubuntukylin-default-settings.gschema.xml usr/share/glib-2.0/schemas - -wps/*.desktop etc/skel/桌面 + +debian/theme-tool.desktop /usr/share/applications + === modified file 'depends.txt' --- depends.txt 2013-02-05 01:15:30 +0000 +++ depends.txt 2013-03-14 10:56:38 +0000 @@ -28,8 +28,8 @@ thunderbird-locale-zh-cn libreoffice-help-zh-cn libreoffice-l10n-zh-cn -ibus-googlepinyin -ibus-table-wubi +#ibus-googlepinyin +#ibus-table-wubi ttf-wqy-zenhei ttf-arphic-ukai @@ -39,4 +39,9 @@ ubuntukylin-theme chinese-calendar indicator-china-weather -gnome-tweak-tool +gnome-tweak-tool +fcitx +fcitx-pinyin +fcitx-table-all +fcitx-googlepinyin +fcitx-sunpinyin === modified file 'hooks/chroot' --- hooks/chroot 2013-01-28 09:17:27 +0000 +++ hooks/chroot 2013-03-14 10:57:50 +0000 @@ -6,5 +6,7 @@ # This script is run in the built chroot after all packages are installed, # before it is packed into a squashfs. This is where you can apply extra tweaks # to the live system. -apt-get purge --auto-remove -y totem + +apt-get purge --auto-remove -y ibus +apt-get purge --auto-remove -y totem cp /usr/share/applications/firefox.desktop /etc/skel/桌面/ === added directory 'ubiquity-slideshow/slides/zh_CN' === added file 'ubiquity-slideshow/slides/zh_CN/accessibility.html' --- ubiquity-slideshow/slides/zh_CN/accessibility.html 1970-01-01 00:00:00 +0000 +++ ubiquity-slideshow/slides/zh_CN/accessibility.html 2013-03-14 10:55:38 +0000 @@ -0,0 +1,8 @@ +

欢迎

+ +
+ + + + +
=== added file 'ubiquity-slideshow/slides/zh_CN/browse.html' --- ubiquity-slideshow/slides/zh_CN/browse.html 1970-01-01 00:00:00 +0000 +++ ubiquity-slideshow/slides/zh_CN/browse.html 2013-03-14 10:55:38 +0000 @@ -0,0 +1,25 @@ +

流行的中文办公软件

+ +
+ +
+ +
+

最适合中文创作的先进文字工具,兼容多种格式文档,强大图文排版,丰富的在线资源库,让您的文档制作既专业又轻松。

+
+ + + +
+ + + +
=== added file 'ubiquity-slideshow/slides/zh_CN/gethelp.html' --- ubiquity-slideshow/slides/zh_CN/gethelp.html 1970-01-01 00:00:00 +0000 +++ ubiquity-slideshow/slides/zh_CN/gethelp.html 2013-03-14 10:55:38 +0000 @@ -0,0 +1,15 @@ +

谢谢!

+ +
+ +
+ +
+

本次安装将在20分钟左右完成,如果您有任何疑问,可以访问我们的官方主页 www.ubuntukylin.com

+
+ +
+ + + +
=== added directory 'ubiquity-slideshow/slides/zh_CN/icons' === added file 'ubiquity-slideshow/slides/zh_CN/icons/access.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/access.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/access.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/chinese-calendar.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/chinese-calendar.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/chinese-calendar.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/chromium.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/chromium.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/chromium.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/empathy.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/empathy.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/empathy.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/evolution.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/evolution.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/evolution.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/facebook.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/facebook.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/facebook.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/fcitx.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/fcitx.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/fcitx.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/firefox.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/firefox.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/firefox.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/flash.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/flash.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/flash.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/gimp.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/gimp.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/gimp.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/gwibber.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/gwibber.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/gwibber.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/identica.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/identica.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/identica.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/indicator-china-weather.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/indicator-china-weather.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/indicator-china-weather.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/inkscape.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/inkscape.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/inkscape.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/languages.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/languages.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/languages.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/libreoffice-calc.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/libreoffice-calc.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/libreoffice-calc.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/libreoffice-impress.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/libreoffice-impress.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/libreoffice-impress.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/libreoffice-writer.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/libreoffice-writer.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/libreoffice-writer.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/movieplayer.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/movieplayer.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/movieplayer.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/pitivi.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/pitivi.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/pitivi.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/rhythmbox.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/rhythmbox.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/rhythmbox.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/shotwell.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/shotwell.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/shotwell.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/skype.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/skype.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/skype.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/stellarium.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/stellarium.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/stellarium.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/themes.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/themes.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/themes.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/tomboy.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/tomboy.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/tomboy.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/twitter.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/twitter.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/twitter.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/ubuntuone.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/ubuntuone.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/ubuntuone.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/unity-china-music-scope.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/unity-china-music-scope.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/unity-china-music-scope.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/icons/wps.png' Binary files ubiquity-slideshow/slides/zh_CN/icons/wps.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/icons/wps.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/index.html' --- ubiquity-slideshow/slides/zh_CN/index.html 1970-01-01 00:00:00 +0000 +++ ubiquity-slideshow/slides/zh_CN/index.html 2013-03-14 10:55:38 +0000 @@ -0,0 +1,54 @@ + + + + + + ubiquity-slideshow-ubuntu + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + + +
+
+ + + + === added directory 'ubiquity-slideshow/slides/zh_CN/link' === added file 'ubiquity-slideshow/slides/zh_CN/link/arrow-back.png' Binary files ubiquity-slideshow/slides/zh_CN/link/arrow-back.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/link/arrow-back.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/link/arrow-next.png' Binary files ubiquity-slideshow/slides/zh_CN/link/arrow-next.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/link/arrow-next.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/link/background.png' Binary files ubiquity-slideshow/slides/zh_CN/link/background.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/link/background.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/link/base.css' --- ubiquity-slideshow/slides/zh_CN/link/base.css 1970-01-01 00:00:00 +0000 +++ ubiquity-slideshow/slides/zh_CN/link/base.css 2013-03-14 10:55:38 +0000 @@ -0,0 +1,404 @@ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + margin:0; + padding:0; + border:0; + outline:0; + font-size: 100%; + font-style:normal; + text-decoration:none; + font-weight:normal; + vertical-align:baseline; + background:transparent; +} +ol, ul { + list-style:none; +} + + + +html, body { + margin:0; + padding:0; + + background-color:#F7F6F6; + + font-family:'Ubuntu', 'UbuntuBeta', sans-serif; + font-size:12px; + line-height:1.4em; + + color:#333333; + + /* no reason to expose this extra stuff to the user */ + -webkit-user-select:none; + -moz-user-select:none; + user-select:none; + cursor:default; +} + +/* +Hyperlink-style text +*/ +a { + color:#DD4814; + text-decoration:none; + display:inline; +} + +.text a:hover { + text-decoration:underline; +} + +#wrapper { + position:absolute; + + width:752px; + height:100%; +} + +#slideshow { + width:752px; + min-height:442px; + height:100%; + overflow:hidden; +} +#slideshow > div { + position:absolute; + width:100%; + height:100%; +} + +.control-arrow { + display:block; + position:absolute; + + z-index:100; + top:218px; + height:64px; + width:33px; + + background-repeat:no-repeat; + cursor:pointer; +} +.control-arrow.disabled { + cursor:default; +} +.control-arrow:hover { + background-position: 0px -65px; +} +.control-arrow:active { + background-position: 0px -130px; +} +.control-arrow#prev-slide { + background-image:url('arrow-back.png'); + left:0px; +} +.control-arrow#next-slide { + background-image:url('arrow-next.png'); + left:719px; /* 752px - 33px */ +} + +/* Fixed container for a slide's title */ +.header { + display:table; /* this is a bit evil, but it lets us vertically centre stuff */ + position:absolute; + /* FIXME: better to use position:relative here and for #main. + Need to have a specific maximum height, though, + which isn't working with display:table */ + top:0px; + width:100%; + height:68px; + background-color:#3C3B37; +} + +.header > .slidetitle { + display:table-cell; + /*margin:10px 25px 10px 25px;*/ + padding:0px 25px; + vertical-align:middle; + + font-size:20px; /* applies to all lines except first */ + line-height:1em; + font-weight:normal; + color:#DED9CB; +} +.slidetitle:first-line { + font-size:36px; /* TODO: 24px? */ + line-height:32px; +} + +.main { + position:absolute; + top:70px; /* 68px + 2px margin */ + bottom:2px; + left:2px; + right:2px; + min-height:370px; /* 442px (from #slideshow) - 70px - 2px */ + + /* move this to #slideshow if we don't want the background image to move with slides */ + background-image:url('background.png'); +} + +.main.wide { + top:68px; + left:0px; + right:0px; + bottom:0px; + background-image:none; +} + +/* +A slide's body text goes inside here. +Inner space is 224px wide. +*/ +.main > .text { + position:absolute; + z-index:10; + top:25px; + left:36px; + width:248px; + bottom:35px; + min-height:329px; /* 369 - 25 - 15 (for bottom) */ + overflow:auto; +} + +.text > div { + margin-bottom:8px; + padding:6px 12px; + background-color:#F7F6F6; +} +.text > div:last-child { + margin-bottom:0px; +} + +.text > div > .subtitle { + padding-bottom:2px; + margin-bottom:5px; + font-size:inherit; + font-weight:normal; + text-decoration:none; + border-bottom:#333333 dotted 1px; +} + +.main.wide > .text { + top:25px; + width:350px; +} + +.main.wide > .text > div { + background:none; + font-size:16px; + line-height:1.2em; + color:#F7F6F6; + text-shadow:1px 1px 2px #333333; +} + +.featured ul { + display:table; +} +.featured li { + display:table-row; +} +.featured li > * { + padding-bottom:12px; +} +.featured li .icon { + display:table-cell; + width:24px; + height:auto; + padding-right:12px; +} +.featured li .caption { + display:table-cell; + vertical-align:middle; +} + +/* Expects screenshot to be 448x304 px */ +.main > .screenshot { + position:absolute; + top:25px; + right:-2px; /* offsets 2px margin of .main */ + + z-index:2; + + -webkit-box-shadow:#999999 0px 0px 5px; + -moz-box-shadow:#999999 0px 0px 5px; + box-shadow:#999999 0px 0px 5px; +} + +/* Expects screenshot to be 748x370 px */ +.main.wide > .background { + top:0px; + right:0px; + width:100%; + height:auto; + -webkit-box-shadow:none; + -moz-box-shadow:none; + box-shadow:none; + + z-index:0; +} + +.main.wide > .twitter-stream { + display:none; /* always revealed by javascript */ + + position:absolute; + width:334px; + height:304px; /* 304 - 22 (for .twitter-stream-input) */ + top:25px; + right:16px; + z-index:2; + + padding:0 6px; + + color:#eee; +} + +.twitter-stream .twitter-stream-header { + display:block; + padding:6px 2px 0px 2px; +} +.twitter-stream .twitter-stream-header h2 { + display:inline; + color:#fff; + + font-size:16px; +} +.twitter-stream .twitter-stream-header img { + opacity:0.6; + float:right; + + margin-left:22px; + + -webkit-transition:opacity 150ms linear; +} +.twitter-stream .twitter-stream-header:hover img { + opacity:0.8; +} + +.twitter-stream .twitter-stream-tweets { + overflow:hidden; + + height:100%; + + /* Warning: this is non-standard, only works in Webkit, could break at any time */ + -webkit-mask-image:-webkit-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%); +} + +.twitter-stream .tweet { + padding:6px 2px; + border-bottom:1px dotted rgba(255, 255, 255, 0.2); +} +.tweet .tweet-avatar { + display:table-cell; + vertical-align:top; + padding:0 6px; +} + +.tweet .tweet-author-details { + display:inline-block; +} + +.tweet .tweet-author-name { + color:#fff; + font-weight:bold; +} +.tweet .tweet-author-id { + color:#bbb; + font-weight:normal; + margin-left:1em; + font-size:0.9em; +} + +.tweet .tweet-text { + display:block; +} + +.tweet .tweet-text a { + color:#bbb; +} + +.twitter-stream input.twitter-stream-input { + width:100%; + + -webkit-box-sizing:border-box; + padding:4px 2px 4px 22px; + + background-color:rgba(0, 0, 0, 0); + border:none; + outline:none; + color:#fff; + + background-image:url('twitter-bird-16.png'); + background-position:left center; + background-repeat:no-repeat; +} +.twitter-stream input.twitter-stream-input:focus { + background-color:rgba(0, 0, 0, 0.1); +} + +/* +This rule disables drag-and-drop for images. See bug #448703. +*/ +img { + -webkit-user-drag:none; +} + + + +/* RTL stuff */ +.rtl { + direction:rtl; +} + +.rtl .control-arrow#prev-slide { + background-image:url('arrow-next.png'); + left:719px; +} +.rtl .control-arrow#next-slide { + background-image:url('arrow-back.png'); + left:0px; /* 752px - 33px */ +} + +.rtl .main > .text { + left:auto; + right:36px; +} + +.rtl .main > .screenshot { + right:auto; + left:-2px; +} + +.rtl .featured li .icon { + padding-right:0px; + padding-left:12px; +} + +.rtl .main.wide > .twitter-stream { + right:auto; + left:16px; +} + +.rtl .twitter-stream .twitter-stream-header img { + float:left; + margin-left:0; + margin-right:22px; +} + +.rtl .twitter-stream input.twitter-stream-input { + padding:4px 22px 4px 2px; + background-position:right center; +} + +.l10n-string { + display:none; +} + === added file 'ubiquity-slideshow/slides/zh_CN/link/bullet-point.png' Binary files ubiquity-slideshow/slides/zh_CN/link/bullet-point.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/link/bullet-point.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/link/twitter-bird-16.png' Binary files ubiquity-slideshow/slides/zh_CN/link/twitter-bird-16.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/link/twitter-bird-16.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/link/twitter-logo-16.png' Binary files ubiquity-slideshow/slides/zh_CN/link/twitter-logo-16.png 1970-01-01 00:00:00 +0000 and ubiquity-slideshow/slides/zh_CN/link/twitter-logo-16.png 2013-03-14 10:55:38 +0000 differ === added file 'ubiquity-slideshow/slides/zh_CN/link/twitter.js' --- ubiquity-slideshow/slides/zh_CN/link/twitter.js 1970-01-01 00:00:00 +0000 +++ ubiquity-slideshow/slides/zh_CN/link/twitter.js 2013-03-14 10:55:38 +0000 @@ -0,0 +1,383 @@ +/* requires jquery.tweet.js */ + +/* TODO: Fix tweet slideDown animation to actually slide down instead of changing height */ + +function escapeHTML(text) { + return $('
').text(text).html(); +} + +function spliceText(text, indices) { + // Copyright 2010, Wade Simmons + // Licensed under the MIT license + var result = ""; + var last_i = 0; + var i = 0; + + for (i=0; i < text.length; ++i) { + var ind = indices[i]; + if (ind) { + var end = ind[0]; + var output = ind[1]; + if (i > last_i) { + result += escapeHTML(text.substring(last_i, i)); + } + result += output; + i = end - 1; + last_i = end; + } + } + + if (i > last_i) { + result += escapeHTML(text.substring(last_i, i)); + } + + return result; +} + +function Tweet(data) { + var tweet = this; + + var innerData = data; + if (data.retweeted_status) innerData = data.retweeted_status; + + var userID = innerData.from_user || innerData.user.id; + var userRealName = innerData.from_user_name || innerData.user.name; + var userScreenName = innerData.from_user || innerData.user.screen_name; + + var linkHashTag = function(hashTag) { + return 'https://twitter.com/search?q='+encodeURIComponent('#'+hashTag); + } + + var linkUser = function(userName) { + return 'https://twitter.com/'+encodeURIComponent(userName); + } + + var linkUserID = function(userID) { + return 'https://twitter.com/account/redirect_by_id?id='+encodeURIComponent(userID); + } + + var linkEntities = function(entities, text) { + entityIndices = {}; + + $.each(entities.media || [], function(i, entry) { + var link = ''; + entityIndices[entry.indices[0]] = [entry.indices[1], link]; + }); + + $.each(entities.urls || [], function(i, entry) { + var link = ''; + entityIndices[entry.indices[0]] = [entry.indices[1], link]; + }); + + $.each(entities.hashtags || [], function(i, entry) { + var link = ''; + entityIndices[entry.indices[0]] = [entry.indices[1], link]; + }); + + $.each(entities.user_mentions || [], function(i, entry) { + var link = ''; + entityIndices[entry.indices[0]] = [entry.indices[1], link]; + }); + + return spliceText(text, entityIndices); + } + var linkedText = linkEntities(innerData.entities, innerData.text); + + this.getHtml = function() { + var container = $('
'); + + var authorDetails = $(''); + authorDetails.attr('href', linkUserID(userID)); + + var authorName = $(''); + authorName.text(userRealName); + + var authorID = $(''); + authorID.text(userScreenName); + + authorDetails.append(authorName, authorID); + container.append(authorDetails); + + var text = $('
'); + text.html(linkedText); + container.append(text); + + return container; + } +} + +function TweetsList(container) { + var tweetsList = this; + + container = $(container); + var list = $('