[gnome-initial-setup] Fix yelp window size
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] Fix yelp window size
- Date: Tue, 6 Nov 2012 03:20:21 +0000 (UTC)
commit 8ab6a04eb0e4a8a4dd38ff5ab122bb9c25e7a467
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 5 22:20:20 2012 -0500
Fix yelp window size
Help yelp to make a good impression by telling it what size
the getting-started window should be.
data/gnome-welcome-tour | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/data/gnome-welcome-tour b/data/gnome-welcome-tour
index dd7fd97..b0c9fb9 100755
--- a/data/gnome-welcome-tour
+++ b/data/gnome-welcome-tour
@@ -1,11 +1,22 @@
#! /bin/sh
+cfgdir=${XDG_CONFIG_DIR:-$HOME/.config}
prefix=/usr/share/help
suffix=getting-started
full_locale=$LANG
locale=`echo $full_locale | sed -e 's/\..*//'`
lang=`echo $locale | sed -e 's/_.*//'`
+rm -f $cfgdir/run-welcome-tour
+
+if [ ! -d $cfgdir/yelp ]; then
+ mkdir $cfgdir/yelp
+ cat <<EOF >>$cfgdir/yelp/yelp.cfg
+[documents/help%3Agetting-started]
+geometry=(870, 580)
+EOF
+fi
+
for name in $locale $lang 'C'; do
if test -d "$prefix/$name/$suffix" ; then
intro_path="$prefix/$name/$suffix"
@@ -13,6 +24,5 @@ for name in $locale $lang 'C'; do
fi
done
-rm -f ${XDG_CONFIG_DIR:-$HOME/.config}/run-welcome-tour
/usr/libexec/gnome-simple-player $intro_path/figures/yelp-intro0001-0535.ogg &
yelp help:getting-started
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]