Commit Graph

23 Commits

Author SHA1 Message Date
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
4133154215 fix documentation errors in gtk introduced by recent updates. 2015-04-12 21:42:33 +01:00
Vincent Sanders
5e51600cfe Add gtk compatability for margin setting. 2015-04-11 18:41:00 +01:00
Vincent Sanders
df4e9e322d Add widget alignment gtk compatability interface. 2015-04-11 15:20:52 +01:00
Vincent Sanders
e193566de4 Improve the stock icon/icon name compatability logic to be explicit 2015-04-11 00:28:32 +01:00
Vincent Sanders
4f13cbd31c Fixup deprication of gtk_icon_size_lookup_for_settings in gtk 3.10 2015-04-10 16:39:23 +01:00
Vincent Sanders
267fb0b00e cope with deprication of image menus in GTK 3.10 2015-04-10 16:20:55 +01:00
Vincent Sanders
1922eb1e2a remove no longer required gtk_dialog_get_action_area compatability interface 2015-04-10 15:23:15 +01:00
Vincent Sanders
44c0196dbf extend GTK 3 compatability with opacity and viewport helpers 2015-04-10 00:36:47 +01:00
Vincent Sanders
50f68b11a4 fixup default toolbar button creation for depricated GTK 3 operations 2015-04-10 00:06:48 +01:00
Vincent Sanders
23ae8ccf11 Extend gtk compatability to fix more items depricated in GTK 3.10 2015-04-09 23:25:05 +01:00
Vincent Sanders
ab997398ad cope with deprication of gtk_style_context_get_font 2015-04-09 14:10:14 +01:00
Vincent Sanders
ae98fbe8c8 Only define compatability helpers for sexy icons if required.
The helper nsgtk_widget_get_state is only necessary for sexy icons and
introduces unecessary GTK 3 compatability issues otehrwise.
2015-04-09 11:41:06 +01:00
Vincent Sanders
5a14a74ab1 Update gtk compatability header to cope with deprication of stock icon interface 2015-04-08 22:21:30 +01:00
Vincent Sanders
6a7ca8b2a8 remove unecessary includes 2014-02-03 16:57:45 +00:00
Vincent Sanders
a93e32de37 work round missing functionality 2013-06-28 13:20:05 +01:00
Vincent Sanders
8ffc6439a7 fix build on gtk 2.12
svn path=/trunk/netsurf/; revision=13927
2012-05-17 16:48:20 +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
John Mark Bell
f91dcf7308 Fix build with GTK <2.16
svn path=/trunk/netsurf/; revision=13364
2012-01-02 12:11:07 +00:00
Vincent Sanders
be20f89884 only use libsexy entry widget prior to gtk 2.16
svn path=/trunk/netsurf/; revision=13356
2011-12-30 23:22:18 +00:00
Vincent Sanders
b9bdb198cb compatability fix for recent gtk API deprecation
svn path=/trunk/netsurf/; revision=12469
2011-06-07 17:23:39 +00:00
John Mark Bell
155d8dec3f gtk_dialog_set_has_separator is deprecated in GTK >= 2.21.8
svn path=/trunk/netsurf/; revision=12009
2011-03-13 09:52:40 +00:00
Vincent Sanders
42f89d4e0b fixup gtk source file names
svn path=/trunk/netsurf/; revision=11529
2011-01-29 23:40:22 +00:00