[gnome-initial-setup/shell/4765: 1/362] Revert "Drop the intro animation"



commit 1eeeac021dfdd5fb6db4c16266d08f6c94564d54
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Thu Apr 17 15:53:29 2014 -0700

    Revert "Drop the intro animation"
    
    This reverts commit 6261c8b1ca0be9126e5a3e7551e04de115c27c43.

 data/gnome-welcome-tour |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/data/gnome-welcome-tour b/data/gnome-welcome-tour
index 0cc9f8c..a77e884 100755
--- a/data/gnome-welcome-tour
+++ b/data/gnome-welcome-tour
@@ -1,6 +1,11 @@
 #! /bin/sh
 
 cfgdir=${XDG_CONFIG_DIR:-$HOME/.config}
+prefix=/usr/share/help
+suffix=gnome-help/figures/gnome-yelp-intro.webm
+full_locale=$LANG
+locale=`echo $full_locale | sed -e 's/\..*//'`
+lang=`echo $locale | sed -e 's/_.*//'`
 
 rm -f $cfgdir/run-welcome-tour
 
@@ -18,4 +23,11 @@ geometry=(1024, 709)
 EOF
 fi
 
-yelp help:gnome-help/getting-started
+for name in $locale $lang 'C'; do
+        if test -f "$prefix/$name/$suffix" ; then
+                intro_path="$prefix/$name/$suffix"
+                break;
+        fi
+done
+
+/usr/libexec/gnome-initial-setup-player $intro_path && yelp help:gnome-help/getting-started


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]