summaryrefslogtreecommitdiff
path: root/gtk/preferences.c
Commit message (Collapse)AuthorAgeFilesLines
* Split utils header into string functions and everything elseVincent Sanders2016-04-211-0/+1
| | | | | split out the string handling API from the rest of the utils header and fix up all the fallout.
* Initial pass removing gtk frontend theme codeVincent Sanders2016-03-081-177/+0
|
* Allow gtk preferences language selection resource to be inlineVincent Sanders2015-06-251-41/+137
| | | | | | | This allows the languages resource to be read from file or from inline data. Additionally it fixes a bug where the language combo box would always be reset to en as the default regardless of what was currently configured.
* Change gtk message and language handling to use resource namesVincent Sanders2015-06-231-2/+8
| | | | | | | | | | 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.
* Change GTK UI builder handling to use resource APIVincent Sanders2015-06-171-9/+5
| | | | | | | | | | | | | | 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.
* Change LOG() macro to be varadicVincent Sanders2015-05-281-5/+5
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* clean up gtk gui header usage and includesVincent Sanders2015-04-121-0/+1
|
* Refactor GTK toolbar handling to correctly cope with text labelsVincent Sanders2015-04-121-33/+3
|
* Update gtk compatability header to cope with deprication of stock icon interfaceVincent Sanders2015-04-081-2/+2
|
* move about and preferences window handling to more sensible positionVincent Sanders2014-09-221-0/+1138