Commit Graph

13 Commits

Author SHA1 Message Date
Vincent Sanders
ee74f9ac8c Change gtk message and language handling to use resource names
The GTK resource handling can now provide the path to resources rather
than having to compute them separately. This reduces run time
allocation and allows for the resources to be built in if required.

Additionally this tweaks the resource scheme handling to redirect
favicon.ico to resource:favicon.png instead of rewriting directly to
file scheme path allowing the favicon to be a compiled in resource.
2015-06-23 11:53:41 +01:00
Vincent Sanders
8ef292b9ca Change GTK UI builder handling to use resource API
GTK UI builder resources have till now been exclusively stored on disc
requiring netsurf to ship numerous additional resource files. This
requires going to disc every time a UI action is performed which can
become a lot of unwanted file handling.

GLib/GTK has moved towards GResource handling for such resources
instead. It now seems that migrating to this style of usage is
expected and indeed the only portable way to include pixbufs.

This introduces an API to hide the various implementation details of
how resources are handled from the rest of the codebase.
2015-06-17 21:35:40 +01:00
Vincent Sanders
de09dc8efd clean up gtk gui header usage and includes 2015-04-12 20:26:53 +01:00
Vincent Sanders
0de8cfc9d4 add flag to allow gtk loop to be signalled to exit 2014-09-22 18:11:39 +01:00
Vincent Sanders
58eea873f8 rationalise source view 2014-08-01 01:00:13 +01:00
Vincent Sanders
1fd565cba7 make GTK configuration handling conform to XDG specification. 2014-04-28 16:37:00 +01:00
Vincent Sanders
8ce0a10670 move path_to_url and url_to_path to fetch operation table 2014-01-25 23:01:32 +00:00
Vincent Sanders
d47fed4524 move 401 login into operation table 2014-01-16 00:52:17 +00:00
Vincent Sanders
33934e1271 implement the GTK preferances dialog with signals 2013-01-01 00:59:47 +00:00
Vincent Sanders
2622adaa1f allow netsurf to build with gtk3
svn path=/trunk/netsurf/; revision=13926
2012-05-16 19:57:43 +00:00
Vincent Sanders
e0596793e1 load default favicon once
svn path=/trunk/netsurf/; revision=13357
2011-12-31 00:00:54 +00:00
Vincent Sanders
7334ec404e reduce to a single global structure for glade file locations
svn path=/trunk/netsurf/; revision=12872
2011-09-24 09:24:13 +00:00
Vincent Sanders
42f89d4e0b fixup gtk source file names
svn path=/trunk/netsurf/; revision=11529
2011-01-29 23:40:22 +00:00