Commit Graph

18281 Commits

Author SHA1 Message Date
Robert Fewell
338e10aade Fix missing id values for GtkTreeSelection in glade files 2017-07-15 14:06:28 -07:00
Robert Fewell
6c4c82267e Remove redundant GTK_CHECK_VERSION's 2017-07-15 14:06:28 -07:00
Robert Fewell
503aa28a08 Replace deprecated stock-id with icon-name 2017-07-15 14:06:28 -07:00
Robert Fewell
5ef645b8d0 Replace some missed GTK_STOCK_ items 2017-07-15 14:06:28 -07:00
Robert Fewell
5a7a8d8d9b Add function to add the color background data function to account column
Some tree views based on GncTreeViewAccount specify there own columns
and when displayed you can end up with the Account column background
color set and the new ones uncolored which can look odd. Added a
function to add the color data function to the new columns.
2017-07-15 14:06:28 -07:00
Robert Fewell
fc0e25e7b2 Replace Gtk3 deprecated widgets in currency_accounting_widget
Deprecated widgets in gnc_option_create_currency_accounting_widget
have been replaced with current ones which mainly was GtkTable to
GtkGrid.
2017-07-15 14:06:28 -07:00
Robert Fewell
4df714037b Add function to clear the display of the currency edit widget
When first created, the display is blank and in this position will
return the default currency. If a currency is selected, there is no way
to go back to this state. The only way to do this is destroy the widget
and create a new one so added a function to do this without destroying
the widget. This is used in the next commit.
2017-07-15 14:06:28 -07:00
Robert Fewell
0b33a66326 Modify the Account color button
Specify the default account color when loading the gui for account
colors that have not been set as the color button defaults to black.
2017-07-15 14:06:28 -07:00
Robert Fewell
804f72373e Replace missing key accelerators
With the change from using GTK_STOCK_, some default key accelerators
were not specified so add them explicitly.
2017-07-15 14:06:28 -07:00
John Ralls
0745cb9af5 Enable AQBanking by default in CMake build. 2017-07-14 14:21:07 -07:00
John Ralls
5195c42107 Adjust autotools build for gnc-html-webkit changes.
Fixing Travis failure (I hope).
2017-07-14 09:22:29 -07:00
John Ralls
f28ea50aaf Conditionally build for Webkit1 on Win32 and Webkit2 everywhere else. 2017-07-13 16:40:52 -07:00
John Ralls
8655dbc55c Check for package webkitgtk-3.0 (webkit1 API) on Windows.
Webkit2 isn't supported on Windows.
2017-07-13 16:40:51 -07:00
John Ralls
85d868f826 Use GStatBuf to match newer GLib API 2017-07-13 16:40:50 -07:00
John Ralls
cb06e0e763 Include winsock2.h before windows.h to silence a compile warning. 2017-07-13 16:40:49 -07:00
John Ralls
b9cb2a22d5 Disable Guile's GnuLib broken redefinition of 'close'.
To a GnuLib function that isn't built or installed.
2017-07-13 16:40:48 -07:00
John Ralls
1f31ca620e Change the dll lookup directory when building with CMake on Win32. 2017-07-13 16:40:47 -07:00
John Ralls
3d12dd9cf9 Win32 doesn't use the fake backend links, it just uses the regular dlls. 2017-07-13 16:40:46 -07:00
John Ralls
9f844fe362 Link libws32 to the DBI backend on MINGW64 2017-07-13 16:40:44 -07:00
John Ralls
890f69933f Set deprecated-declarations to no-error for WIN32 so that it will work with Guile2. 2017-07-13 16:40:43 -07:00
John Ralls
55a30978b3 Replace use of CMAKE_PREFIX_PATH
Because it was assumed that it contains only a single path; it's specified
to be a semi-colon-separated list of paths.
2017-07-13 16:40:42 -07:00
John Ralls
9d2a4b2ef0 [Mingw64] Set command variables correctly for Guile2 compilation.
Mingw-w64 linker uses $PATH instead of $LD_LIBRARY_PATH for finding
shared libraries. Both the linker and Guile itself need MSys/Unix style
paths with the drive letter as a top-level directory, forward slashes,
and separated with ':' while CMake wants Windows-style paths separated
with ';'.
2017-07-13 16:40:41 -07:00
John Ralls
92549209c0 Fix ENDIF() parameter.
CMake 3.8 complains.
2017-07-13 13:46:45 -07:00
John Ralls
4774332fcb Add CMake files and .gitattributes to lf-only files. 2017-07-13 13:46:45 -07:00
John Ralls
489d0513e0 Adjustments to build on mingw-64.
Note that there may be some changes here that need to be wrapped with ifdef.
2017-07-13 13:46:44 -07:00
Alex Aycinena
48948c5ce6 Change test-gnc-ui-util.c and test-option-util.cpp so that test-app-utils passes during make check. 2017-07-13 12:52:02 -07:00
Geert Janssens
b55a3e7d72 Fix cmake's build as installed
That is copy the required icons and images into the respective locations at build time
2017-07-12 11:59:37 +02:00
Alex Aycinena
f3858fcd48 Revert changes to test-gnc-ui-util.c until I can get my system to test them. 2017-07-11 09:09:19 -07:00
Geert Janssens
0bb51ffa95 Merge branch 'dist-alignment' 2017-07-10 22:00:40 +02:00
Geert Janssens
453af7f081 Align master-only dist files between cmake and autotools 2017-07-10 22:00:15 +02:00
Alex Aycinena
fb609ff028 Fix error of incorrect argument passed to gnc_commodity_new. 2017-07-10 11:38:42 -07:00
Geert Janssens
f4832e4584 Merge branch 'maint' 2017-07-10 20:23:09 +02:00
Geert Janssens
b430744fb5 Merge branch 'maint' 2017-07-10 20:22:35 +02:00
Geert Janssens
17c48b19a7 Fix a couple of double EXTRA_DIST declarations from the previous commit 2017-07-10 20:16:35 +02:00
Geert Janssens
b1f9f80110 Add CMakeLists.txt files to dist tarball generated by autotools
This is half of the work to align the cmake and autotools generated dist tarballs.
What's missing in the cmake dist tarball on my system are all the files generated
or installed by running autogen.sh. I can't test this because cmake can't run
my version of automake (1.15), or at least our CMake configuration prevents this from happening.
2017-07-10 20:06:31 +02:00
Geert Janssens
eb55b5f98c Rework icon cache loading
- We actually don't care about the available icon sizes so stop checking for them.
- Even if an icon isn't found continue (with a warning). Gtk uses a fallback icon in most cases.
2017-07-10 12:09:51 +02:00
Geert Janssens
85ce243ef8 Add icons in the proper directory 2017-07-10 12:07:32 +02:00
Robert Fewell
69ef9ccc0b Replace style strings with proper defined types 2017-07-09 21:56:35 +02:00
Robert Fewell
faf895bdfc Redo the change to Gtk3.10 based glade file from current master 2017-07-09 21:56:35 +02:00
Robert Fewell
8784a789b9 Remove the preference for showing an icon and label
It was decided that this was not the right approach and possibly be
based on OS and desktop. This reverts it back to original behaviour.
2017-07-09 21:56:35 +02:00
Robert Fewell
c3e865c929 Remove setting the rules hint for tree views
This has been removed in Gtk4 and is discouraged in use so it has been
decided to remove completely.
2017-07-09 21:56:35 +02:00
Robert Fewell
9964563082 Fix mistake in changing button labels from stock
Did not add the alt key option
2017-07-09 21:56:35 +02:00
Robert Fewell
e5ca36cf55 Fix mistake in adding style context to Find Transactions dialog
Added another parameter to gnc_search_dialog_create to pass a style
class so it can be added to the search dialog which resulted in updating
 other files as well.
2017-07-09 21:56:35 +02:00
Robert Fewell
ad6ad923df Replace register Gtk3 deprecated functions in gnucash-sheet.c 2017-07-09 21:56:35 +02:00
Robert Fewell
a437e2405d Replace register Gtk3.14 deprecated functions related to gtk_arrow
Replaced gtk_arrow with a gtk_image_from_icon and used 'go-down' and
'go-up', may need to replace with our own.
2017-07-09 21:56:35 +02:00
Robert Fewell
200f7baf53 Replace register GTk3.16 deprecated function gdk_cursor_new 2017-07-09 21:56:35 +02:00
Robert Fewell
7d1abfa28f Replace deprecated Gtk3.22 function to get monitor size 2017-07-09 21:56:35 +02:00
Robert Fewell
5536fb175d Replace Gtk3.20 deprecated functions in gnc-cell-renderer-popup.c
This still needs a couple of changes but it still works
2017-07-09 21:56:35 +02:00
Robert Fewell
3f1c2ae26a Replace Gtk3.22 deprecated functions to do with monitor size 2017-07-09 21:56:35 +02:00
Robert Fewell
6790066ff4 Replace Gtk3.20 functions in gnc-date-edit.c 2017-07-09 21:56:35 +02:00