Commit Graph

118 Commits

Author SHA1 Message Date
Vincent Sanders
a94ae7a80a Allow translation messages to be compiled in as GTK resources 2015-06-21 23:27:22 +01:00
Vincent Sanders
e1bbe4528b Add direct resources to GTK
This adds API to obtain direct pointers to arrays of data from
compiled in resources. Additionally it hooks this up to provide data
for the resourece scheme handler.
2015-06-17 21:35:45 +01:00
Vincent Sanders
be7a45fefe Change gtk to use resource API for throbber 2015-06-17 21:35:40 +01:00
Vincent Sanders
3e2270482f Make GTK resource handling configurable
This makes the GTK resource handling configurable in the same way as
all other pkg-config style feature options.

It is now possible to completely disable compiled in resources if
wanted as well as forcing inline pixdata on if desired.
2015-06-17 21:35:40 +01:00
Vincent Sanders
61fdc8fd6f update default gtk window icon source to use resources 2015-06-17 21:35:40 +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
16fbb97dbb Add links to dutch resources for gtk frontend 2015-06-17 21:35:40 +01:00
Vincent Sanders
fb73ff80ed Fixup gtk3 ssl certificate dialog and ensure its parent is set. 2015-04-12 13:52:56 +01:00
Vincent Sanders
997e8999d5 Refactor GTK toolbar handling to correctly cope with text labels 2015-04-12 01:12:43 +01:00
Vincent Sanders
a838fa3ee9 Improve split message generation
Changes the way message files are generated to be driven by make as
rules rather than from explicit macro calls causing their regeneration
every build.

A secondary benefit is that errors in message generation actually stop
the build instead of being ignored

Each frontend will require its filter settings updated to avoid
getting the default message filter of "any". Initially gtk has been
adapted as proof of concept.
2015-04-07 00:44:35 +01:00
Vincent Sanders
5d3cc513a3 Fixup gtk viewdata window to open at appropriate size
The size hints given were insufficient for gtk to open the window at a
sensible size or position. This fixes it to open with a default
640x480 size which is a reasonable compromise.

The gtk3 ui builder file was completely reconstructed from fresh as it
was broken and was not working.
2015-03-06 17:16:09 +00:00
Vincent Sanders
959af3dc28 Add XDG desktop file for GTK frontend
The XDG spec allows for software to specify how it is executed and
presented in a graphical environment by using a desktop file
http://standards.freedesktop.org/desktop-entry-spec/latest/

This version is taken from my Debian packaging but should be useful
for other operating systems.
2014-12-25 15:49:35 +00:00
Anthony J. Bentley
ad414165f9 Typo fix: maintinance → maintenance in gtk frontend (closes #2217) 2014-11-10 22:39:28 +00:00
Michael Drake
6b846c363d Add trivial maps facilitator at about:maps
This is a simple HTML front end for the Google Static Maps API, since
we don't yet have enough JS support for the full Google Maps.

See:
  https://developers.google.com/maps/documentation/staticmaps/
2014-10-22 20:42:21 +01:00
Vincent Sanders
e5d2cba11f fix gtk install target to provide language fallback 2014-08-19 15:59:51 +01:00
Vincent Sanders
ca077b0638 fixup preference dialog handling of Developer view options 2014-08-02 02:20:25 +01:00
Vincent Sanders
58eea873f8 rationalise source view 2014-08-01 01:00:13 +01:00
Vincent Sanders
8e29e517d5 fix disc cache size option to be unsigned 2014-06-09 13:13:59 +01:00
Vincent Sanders
e2633a9a63 fix default search provider icon handling 2014-06-03 15:01:14 +01:00
Vincent Sanders
95baa1113b add proxy excusion entry to GTK builder file. From Pavel Smolyar (bug #2122) 2014-05-29 18:02:07 +01:00
Rob Kendrick
d24ee91311 Under GTK, file gadgets are more like buttons 2014-01-05 17:16:26 +00:00
Vincent Sanders
4e24869524 Add and use no proxy list option 2013-06-04 18:11:15 +01:00
Vincent Sanders
47783096e8 fix cookies and bookmarks windows on gtk3 2013-05-04 20:42:00 +01:00
Vincent Sanders
85030ea2de Fix mouse wheel scrolling on gtk3 by implementing the smooth scroll direction
Fix mouse wheel scrolling on gtk2 by setting a reasonable default step
2013-05-04 19:42:01 +01:00
Vincent Sanders
d2ffd402b3 add fallback language 2013-04-28 21:55:49 +01:00
Vincent Sanders
ad74fa4d6f fix scrolling on gtk3 2013-04-17 14:16:45 +01:00
Vincent Sanders
69a26c50a3 add translation tokens for GTK preferences dialog 2013-04-17 12:02:53 +01:00
Vincent Sanders
d6f9ae3793 attach scrollbar and layout to the same adjustment so it need not be done in code 2013-04-17 12:02:53 +01:00
Vincent Sanders
bf75ba31ac update gtk3 preferences dialog 2013-04-14 11:27:41 +01:00
Daniel Silverstone (parasomnia chroot)
78149141f9 all-program now splits fatmessages for generic in-tree execution 2013-04-10 23:24:49 +01:00
Vincent Sanders
33934e1271 implement the GTK preferances dialog with signals 2013-01-01 00:59:47 +00:00
Vincent Sanders
f12be4ed85 restructure GTK frontend options dialog to be compiant with the gnome HIG and actually work 2012-12-28 01:08:23 +00:00
Vincent Sanders
0402b5ca91 fixup combo boxes to have content, missed in conversion from glade 2012-12-26 17:47:41 +00:00
Rob Kendrick (fatigue)
abb1251461 Try to rationalise the gtk install target somewhat 2012-11-04 11:17:41 +00:00
Michael Drake
02561162a9 Add welcome page resources. Add symlinks to English welcome page to gtk and framebuffer. 2012-07-21 13:09:14 +01:00
Vincent Sanders
bc664042c4 remove junk blank page resource
svn path=/trunk/netsurf/; revision=13959
2012-06-10 14:51:40 +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
François Revel
4465c4f4af Add Seeks <http://www.seeks-project.info/> to the list of search engines. Use http for the favicon to avoid a cert popup.
svn path=/trunk/netsurf/; revision=13821
2012-04-07 17:14:31 +00:00
John Mark Bell
9478f01828 Fix bug #3481624: this was needlessly complex
svn path=/trunk/netsurf/; revision=13463
2012-02-23 21:22:37 +00:00
Vincent Sanders
cb27637a41 add option to set tab position
svn path=/trunk/netsurf/; revision=12896
2011-09-26 23:35:06 +00:00
Michael Drake
3bc192186c Remove superseded about doc.
svn path=/trunk/netsurf/; revision=12072
2011-03-16 12:27:00 +00:00
Michael Drake
260fbf5fcc Symlinks for GTK front end.
svn path=/trunk/netsurf/; revision=11992
2011-03-12 22:17:55 +00:00
Vincent Sanders
acc2c341bd Make GTK popup menu generated like the menu bar menu
Clean up gtk scaffoling of some gsoc madness
fix tab opening from popup menu
Remove forward declarations and stop exporting the symbols for every event handler when they should be static

svn path=/trunk/netsurf/; revision=11514
2011-01-28 12:17:51 +00:00
Michael Drake
47c7051242 Change default favicon to content image.
svn path=/trunk/netsurf/; revision=11502
2011-01-26 18:36:48 +00:00
Daniel Silverstone
1335ffd488 Make the default favicon a desaturated netsurf logo
svn path=/trunk/netsurf/; revision=11247
2011-01-07 14:16:33 +00:00
Rob Kendrick
d85dfd0e7c Rationalise titles and styles of various GTK windows
svn path=/trunk/netsurf/; revision=11002
2010-12-05 15:03:53 +00:00
Rob Kendrick
5f2b953c5d Give bookmarks window the focus when it is opened, remove utility style from window definition
svn path=/trunk/netsurf/; revision=10997
2010-12-05 11:43:50 +00:00
Michael Drake
1a1bf3d2f0 Purge Aliases file stuff.
svn path=/trunk/netsurf/; revision=10982
2010-12-04 20:19:17 +00:00
John Mark Bell
6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Vincent Sanders
8747703583 move tabs menu somewhere less annoying
svn path=/trunk/netsurf/; revision=10797
2010-09-18 20:53:43 +00:00