Commit Graph

18329 Commits

Author SHA1 Message Date
Robert Fewell
d4faad8bf6 Replace Gtk3.22 deprecated function gtk_menu_popup 2017-07-09 21:56:35 +02:00
Robert Fewell
b52a298b0d Replace Gtk3.22 deprecated function gtk_menu_popup 2017-07-09 21:56:35 +02:00
Robert Fewell
9a5b0ff972 Replace Gtk3.22 deprecated function to get monitor size 2017-07-09 21:56:35 +02:00
Robert Fewell
b098ab2e44 Replace Gtk3.20 deprecated functions based on device_manager 2017-07-09 21:56:35 +02:00
Robert Fewell
32c46481b1 Replace Gtk3.22 deprecated function gtk_menu_popup 2017-07-09 21:56:35 +02:00
Robert Fewell
18769d90f8 Replace Gtk3.22 deprecated function gtk_menu_popup 2017-07-09 21:56:35 +02:00
Robert Fewell
3bb33a2796 Replace Gtk3.22 deprecated gtk_show_uri 2017-07-09 21:56:35 +02:00
Geert Janssens
ff93071608 Rework our icon management
They are now all stored in a directory structure similar to the final
installation target, so no more copying of images during build is needed.
Both Makefile.am and CMakelists.txt behave the same now.

Some additional cleanups:
- move stock_move related images to art; they aren't used so don't need to be installed
- clean up icon loading

There is one harmless warning still at run time about not all requested image
sizes being found. This is odd because they are all installed. I suspect gtk
no longer searches for these resolutions. Perhaps we just shouldn't run the
check on them. The application works fine even without the images in the
requested resolution.
2017-07-09 21:49:07 +02:00
Alex Aycinena
2020bee03b Book-Currency Feature step 6
Modify File->Properties dialog to maintain a default gain/loss account in a book KVP.

The changes made are:

	app-utils/app-utils.scm - define items related to book default gain/loss
        acct
	app-utils/business-prefs.scm - define items related to book default
        gain/loss acct;re-arrange sequence of options to make default (neither)
        first
    app-utils/gnc-ui-util.c - refine gnc_book_get_default_gains_policy to check
        for hidden and/or placeholder status
	app-utils/option-util.c & h - define items related to book default gain/loss
        acct
	app-utils/options.scm - add functionality related to book default gain/loss
        acct
    app-utils/test/test-gnc-ui-util.c - for gnc_book_get_default_gains_policy,
        add tests to check for hidden and/or placeholder status
	app-utils/test/test-option-util.cpp - add tests related to book default
        gain/loss acct
	engine/engine.i - define item related to book default gain/loss acct
	gnome-utils/dialog-options.c & h - add functionality related to book default
        gain/loss acct and rearrange dialog layout; make gain/loss acct widget
        refresh on account maintenance
    gnome-utils/gnc-main-window.c - only allow one book-option dialog if called
        from file->properties
	gnome-utils/gtkbuilder/dialog-options.glade - increase dialog height to
        accomodate book default gain/loss acct widget; add tooltip text for
        dialog buttons
    gnome/assistant-hierarchy.c - change sequence of pages: book options before
        currency selection; if book currency selected, currency also selected
    gnome/gtkbuilder/assistant-hierarchy.glade - increase dialog height to
        accomodate book default gain/loss acct widget
2017-07-09 12:19:36 -07:00
Geert Janssens
a7f1f9cdd7 Fix build with cmake > 3.5 2017-07-09 12:45:01 +02:00
John Ralls
a6678e6a49 Allow compilation with either Webkit2Gtk-4.0 or WebKit2Gtk-3.0.
WEBKIT1 for windows is a placeholder, it will need a pkgconfig check too.
2017-07-08 15:08:07 -07:00
John Ralls
90f706c651 Adjust Makefile.am for pixmap hierarchy change in 4aea4c5. 2017-07-08 14:07:13 -07:00
John Ralls
f3b60c3a71 Don't warn about all of the deprecated Gtk functions we're using. 2017-07-08 14:04:51 -07:00
Geert Janssens
3c65795d24 Travis - install libgtk-3-dev and libwebkit2gtk-3.0-dev before building 2017-07-08 19:06:35 +02:00
Geert Janssens
dabf458f06 A few cleanups from the previous merge commit 2017-07-08 18:18:11 +02:00
Geert Janssens
5405cf480c Merge branch 'gtk3' 2017-07-08 17:49:44 +02:00
Robert Fewell
078467e3f9 Make the About dialog sizeable and format AUTHORS and DOCUMENTERS
The & needed to be escaped and the hyperlinks so the text can be better
formatted.
2017-07-06 10:03:58 +01:00
John Ralls
c8402ad62e Merge CMake Distcheck from 'maint'.
Conflicts:
	CMakeLists.txt
	src/app-utils/CMakeLists.txt
	src/backend/sql/test/CMakeLists.txt
	src/backend/xml/test/CMakeLists.txt
	src/gnome-utils/CMakeLists.txt
	src/import-export/aqb/CMakeLists.txt
	src/import-export/csv-imp/CMakeLists.txt
	src/import-export/csv-imp/test/Makefile.am
	src/import-export/ofx/CMakeLists.txt
	src/import-export/qif-imp/CMakeLists.txt
	src/libqof/CMakeLists.txt
	src/register/ledger-core/CMakeLists.txt
	src/register/register-core/CMakeLists.txt
	src/register/register-gnome/CMakeLists.txt
	src/report/business-reports/CMakeLists.txt
	src/report/locale-specific/us/CMakeLists.txt
	src/report/report-gnome/CMakeLists.txt
	src/report/standard-reports/CMakeLists.txt
	src/report/stylesheets/CMakeLists.txt
2017-07-04 18:36:35 -07:00
Robert Fewell
06fef53a22 Replace Gtk3.14 function gtk_icon_theme_add_builtin_icon 2017-07-04 16:27:45 +01:00
Robert Fewell
737648c98d Missed this from previous commit 2017-07-04 16:27:04 +01:00
Robert Fewell
4aea4c551e Rearrange the pixmap folder to contain a hicolor directory structure
Add a hicolor directory structure and move the existing icons to this
folder structure and update the gnc-icons.c file to reflect the changes
2017-07-04 15:21:27 +01:00
Rob Gowin
e67f45003b No need for make dist and distcheck when checking autotools build in cmake 2017-07-03 16:15:17 -07:00
Rob Gowin
6b14dc5b59 Implement 'dist', 'distcheck' and 'uninstall' targets for CMake 2017-07-03 16:15:17 -07:00
Kuang-che Wu
7ba5a84609 Fix import-export compile on windows 2017-07-03 17:55:38 +02:00
Robert Fewell
bafbb838f5 Missed specifying Gtk3.12 version for set_margin_end 2017-07-03 12:33:51 +01:00
Robert Fewell
54eaf755cc Fix some entries in glade files that did not have id's 2017-07-03 12:32:59 +01:00
John Ralls
b073f1d25c Merge branch 'maint' 2017-07-02 09:45:14 -07:00
John Ralls
319375fd15 Some more translations from the TP. 2017-07-02 09:25:17 -07:00
Robert Fewell
5066f69166 Fix corrupted Gtk2 aqbanking glade file
I think this happened when I renamed the dialogs to remove spaces in the
 names. Used Glade 3.8 GUI which may of had trouble doing this.
2017-07-02 14:21:00 +01:00
Robert Fewell
78c81bf71c Missed a preference option from the aqbanking glade file 2017-07-02 14:19:35 +01:00
Geert Janssens
50deaa0d3c Merge branch 'fix-win-compile' of https://github.com/kcwu/gnucash 2017-07-02 12:28:48 +02:00
Robert Fewell
3ec108d141 Change the relative column to a pixbuf so it looks like find account
Change the view so that the relative column uses an icon the same as
the find account dialog.
2017-07-02 11:22:03 +01:00
Robert Fewell
2c949fdf79 Fixup for gnc-gui-query.c, invalid cast
Specified the wrong widget for the container add function
2017-07-02 10:14:39 +01:00
Robert Fewell
95693a9172 Remove Gtk3.14 deprecated function, it does not do any thing 2017-07-02 10:13:22 +01:00
Robert Fewell
54465dd8a9 Replace deprecated Gtk3.16 gtk_override_background_color
Use css to make changes to the background color of widgets
2017-07-02 10:11:05 +01:00
Robert Fewell
009520498e Replace deprecated Gtk3.16 functions to change colour.
Add a couple of functions to replace deprecated ones to get the
background color and border color.
2017-07-02 10:07:24 +01:00
Robert Fewell
0f3719c69c Replace deprecated Gtk3.16 function gtk_widget_override_font
Use css to change the font size.
2017-07-02 10:05:56 +01:00
Robert Fewell
b1cc728bc3 Replace gtk_alignment in various functions
Gtk_alignment is deprecated and so change various uses to equivalent
x/yalign, x/yexpand and margin functions
2017-07-02 10:02:38 +01:00
Robert Fewell
66de41bd57 Replace deprecated Gtk3.14 function gtk_arrow_new with an icon
Use icon 'go-down' as the arrow for the pop up selections.
2017-07-02 10:00:35 +01:00
Robert Fewell
b513ab16f8 Replace deprecated Gtk3.16 function in dialog-account.c 2017-07-02 09:59:23 +01:00
Robert Fewell
fa9d752beb Add css style context to various widgets so they can easily be changed
With the use of css, there is the ability to change the appearance of
the widgets to the users preference.
2017-07-02 09:58:42 +01:00
Robert Fewell
aef9530996 Add css style context to various widgets so they can easily be changed
With the use of css, there is the ability to change the appearance of
the widgets to the users preference.
2017-07-02 09:57:53 +01:00
Robert Fewell
443f92eed1 Add css style context to various widgets so they can easily be changed
With the use of css, there is the ability to change the appearance of
the widgets to the users preference.
2017-07-02 09:55:18 +01:00
Robert Fewell
887a74e6d1 Add function to add css style context to a widget 2017-07-02 09:54:00 +01:00
Robert Fewell
489edfe1dd Use the new preference to control icons and labels on buttons
Some buttons are part of a gnc_dialog and as such have the option to
have an icon and label on the button. Add preference to just have label
2017-07-02 09:51:24 +01:00
Robert Fewell
632764e1e2 Add grid line preference to various tree views
I have tried to add the grid line preference to tree views with more
than one column. There maybe more required. With the addition of css
classes, individual tree view grids maybe turned off by setting the
border colour to transparent.
2017-07-02 09:50:02 +01:00
Robert Fewell
4cd13a0e17 Tweak the tab labels to add left and right margins 2017-07-02 09:48:13 +01:00
Robert Fewell
6f27ad1ba0 Add new preference to show tree view grid lines 2017-07-02 09:47:21 +01:00
John Ralls
bb2ee92961 Re-release 2.6.17
This time with the version number in CMakeLists.txt updated too.
2017-07-01 17:10:09 -07:00
John Ralls
261a64e3eb Release 2.6.17 2017-07-01 11:20:17 -07:00