# HG changeset patch # User Christophe Lincoln # Date 1303558973 -7200 # Node ID 1a3cdce1d9eb4bc7298fedc664cc69a3e29457ab # Parent ad9308f7dbc4a53b2f5f4b3832e8214298c1721a Update README diff -r ad9308f7dbc4 -r 1a3cdce1d9eb Makefile --- a/Makefile Sat Apr 23 13:34:39 2011 +0200 +++ b/Makefile Sat Apr 23 13:42:53 2011 +0200 @@ -1,4 +1,4 @@ -# Makefile for TazLauncher. +# Makefile for TazWeb # PREFIX?=/usr DOCDIR?=$(PREFIX)/share/doc diff -r ad9308f7dbc4 -r 1a3cdce1d9eb README --- a/README Sat Apr 23 13:34:39 2011 +0200 +++ b/README Sat Apr 23 13:42:53 2011 +0200 @@ -3,10 +3,10 @@ TazWeb is a radically simple and very light web browser providing a single -window with one small bottom toolbar using buttons and an URL entry, but no -menubar or tabs. Please keep the code simple and clean, if you are -motivated and want to add some entries to the context menu, please talk -to the AUTHOR before commiting anything in the repos. +window with one small bottom toolbar using buttons, an URL and search entry +and a contextual menu but no menubar or tabs. Please keep the code simple +and clean, if you are motivated and want to add some functionnalities, please +talk to the AUTHOR before commiting anything in the repos. TazWeb uses a custom page in the user Freedesktop directory to let users add any content to it and get with one click from the toolbar. We may have @@ -23,7 +23,8 @@ For general and end-user documentation have a look at doc/tazweb.html. TazWeb is published, like webkit source under a free BSD license. -BUG: Right clicking on "Open Link in New Window" doesn't work. +BUG: Right clicking on "Open Link in New Window" is connect to a event +but doesn't work. Build and install @@ -47,7 +48,15 @@ G_CALLBACK (mime_type_decision_cb), web_view); * Get user config directory path in $HOME - config = g_strdup_printf ("%s/.config/tazweb", g_get_home_dir ()); + config = g_strdup_printf ("%s/.config/tazweb", g_get_home_dir ()); + + * This code change the browser user-agent + static gchar *useragent = "TazWeb/1.0 (X11; Linux; U; en_US) AppleWebKit/531.2+"; + + /* User agent */ + WebKitWebSettings *settings; + settings = webkit_web_view_get_settings (web_view); + g_object_set (G_OBJECT (settings), "user-agent", useragent, NULL); ================================================================================