tazweb rev 36

Up doc for new bookmarks support ans small ui ajustment (vbox border)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 15 01:13:27 2011 +0200 (2011-04-15)
parents db6bb81f702f
children 74112b613920
files Makefile doc/tazweb.en.html src/main.c
line diff
     1.1 --- a/Makefile	Fri Apr 15 00:22:20 2011 +0200
     1.2 +++ b/Makefile	Fri Apr 15 01:13:27 2011 +0200
     1.3 @@ -20,13 +20,15 @@
     1.4  		$(DESTDIR)$(PREFIX)/share/pixmaps \
     1.5  		$(DESTDIR)$(PREFIX)/share/applications
     1.6  	install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
     1.7 -	cp -a doc/*.html $(DESTDIR)$(DOCDIR)/$(PACKAGE)
     1.8 +	cp -d doc/*.html $(DESTDIR)$(DOCDIR)/$(PACKAGE)
     1.9  	install -m 0644 data/tazweb-icon.png \
    1.10  		$(DESTDIR)$(PREFIX)/share/pixmaps/tazweb.png
    1.11  	install -m 0644 data/tazweb.desktop \
    1.12  		$(DESTDIR)$(PREFIX)/share/applications
    1.13  	install -m 0644 data/bookmarks.html \
    1.14  		$(DESTDIR)$(PREFIX)/share/tazweb
    1.15 +	install -m 0644 data/bookmarks.html \
    1.16 +		$(DESTDIR)$(PREFIX)/share/tazweb
    1.17  
    1.18  clean:
    1.19  	rm -f $(PACKAGE)
     2.1 --- a/doc/tazweb.en.html	Fri Apr 15 00:22:20 2011 +0200
     2.2 +++ b/doc/tazweb.en.html	Fri Apr 15 01:13:27 2011 +0200
     2.3 @@ -29,14 +29,15 @@
     2.4  	TazWeb is radically simple and very light web browser providing a
     2.5  	single window with a small toolbar, but without any menubar or tabs. 
     2.6  	Navigation is done with a right click anywhere in the browser window 
     2.7 -	or from the toolbar. Also a fullscreen mode and this documentation file 
     2.8 -	are accessible from the right-hand side of the toolbar.
     2.9 +	or from the toolbar. Also a fullscreen mode, bookmarks, home page
    2.10 +	and this documentation file are accessible from the right-hand side
    2.11 +	of the toolbar.
    2.12  </p>
    2.13  <p>
    2.14  	SliTaz Web Browser was created for the needs of TazPanel which is
    2.15  	the SliTaz administration and packages manager panel and made with 
    2.16 -	the latest technologies such as xHTML 5 and CSS 3 for the graphical user
    2.17 -	interface. The content is powered by CGI scripts and the prefered
    2.18 +	the latest technologies such as xHTML 5 and CSS 3 for the graphical
    2.19 +	user interface. The content is powered by CGI scripts and the prefered
    2.20  	web server is Busybox httpd.
    2.21  </p>
    2.22  <p>
    2.23 @@ -45,6 +46,24 @@
    2.24  	all latest web standards as well as Javascript.
    2.25  </p>
    2.26  
    2.27 +<h3>Bookmarks</h3>
    2.28 +<p>
    2.29 +	TazWeb can handle a bookmarks file located in your Freedesktop standard
    2.30 +	configuration directory, the path is: $HOME/.config/tazweb/bookmarks.html
    2.31 +</p>
    2.32 +<p>
    2.33 +	The file is a simple xHTML 5 document with, by default, a list of links.
    2.34 +	You can edit this file with you favorite editor and add bookmarks entries
    2.35 +	or change the look and feel as you want. You will find the default
    2.36 +	bookmarks.html in: /usr/share/tazweb. You can get an original copy
    2.37 +	with the following commands in a terminal:
    2.38 +</p>
    2.39 +<pre>
    2.40 +$ mkdir -p $HOME/.config/tazweb
    2.41 +$ cp /usr/share/tazweb/bookmarks.html $HOME/.config/tazweb
    2.42 +</pre>
    2.43 +
    2.44 +
    2.45  <h3>Home page and url in argument</h3>
    2.46  
    2.47  <p>
    2.48 @@ -53,7 +72,7 @@
    2.49  	URL as a first argument, example: http://www.slitaz.org/. In this way
    2.50  	you can for example create your own and custom home page in a pretty
    2.51  	xHTML document and start tazweb with a standard desktop file or from
    2.52 -	the command line: tazweb file://$HOME/file.html
    2.53 +	the command line: tazweb file://$HOME/.config/tazweb/home.html
    2.54  </p>
    2.55  <p>
    2.56  	If you want a custom home page for your Live system or all system users,
    2.57 @@ -68,7 +87,8 @@
    2.58  	TazWeb browser is perfect to launch web applications via a simple
    2.59  	desktop file. Once created with a simple text editor, the desktop
    2.60  	file can stand on the desktop with a nice icon or in the standard
    2.61 -	SliTaz menu. Example of a web application launcher:
    2.62 +	SliTaz menu. Example of a web application launcher that you could
    2.63 +	name scn.desktop:
    2.64  </p>
    2.65  <pre>
    2.66  [Desktop Entry]
     3.1 --- a/src/main.c	Fri Apr 15 00:22:20 2011 +0200
     3.2 +++ b/src/main.c	Fri Apr 15 01:13:27 2011 +0200
     3.3 @@ -237,7 +237,7 @@
     3.4      if (!g_thread_supported ())
     3.5          g_thread_init (NULL);
     3.6  
     3.7 -    GtkWidget* vbox = gtk_vbox_new (FALSE, 0);
     3.8 +    GtkWidget* vbox = gtk_vbox_new (FALSE, 2);
     3.9      gtk_box_pack_start (GTK_BOX (vbox), create_browser (), TRUE, TRUE, 0);
    3.10      gtk_box_pack_start (GTK_BOX (vbox), create_toolbar (), FALSE, FALSE, 0);
    3.11