Commit Graph

18326 Commits

Author SHA1 Message Date
Robert Fewell
a8cdf2410f Replace deprecated gtk_image_menu_item in gnumeric popup
Use a box packed with an icon and label instead. I am not really sure if
 this is necessary and should just be a label.
2017-06-28 11:22:44 +01:00
Robert Fewell
56ca411351 Fix error of invalid cast to GTK_COMBO_BOX in trans importer
To get to the combobox from the entry you need to go two levels above
which takes you through a GTK_BOX to the GTK_COMBO_BOX
2017-06-28 11:19:37 +01:00
Robert Fewell
ad89048242 Replace deprecated render_icon_pixbuf in dialog-print-check 2017-06-28 11:18:32 +01:00
Robert Fewell
96bd2f271a Rename use of icon defines to reflect changes in icon.h 2017-06-27 14:08:54 +01:00
Robert Fewell
69238ec463 Change the way icons are loaded and the corresponding define names 2017-06-27 13:59:32 +01:00
Robert Fewell
75f17b6742 Change some functions to use icon names instead of stock id's 2017-06-27 13:57:47 +01:00
Robert Fewell
dc0d8727f5 Replace GTK_STOCK_INDEX, _YES and _APPLY with icon names.
These may need changing as there is no equivalent or add our own.
2017-06-26 17:38:50 +01:00
Robert Fewell
9f989a66bc Replace GTK_STOCK_PRINT_PREVIEW with icon name "document-print-preview" 2017-06-26 16:53:47 +01:00
Robert Fewell
7a53271d1d Replace GTK_STOCK_CANCEL with icon name "process-stop" 2017-06-26 16:49:01 +01:00
Robert Fewell
4d2a4a61fb Replace GTK_STOCK_CONVERT with two icon names
This may need changing to different icons names or add a couple of new
GNC_... icons
2017-06-26 16:29:13 +01:00
Robert Fewell
20c1630a31 Missed some replace GTK_STOCK_... images with there equivalent icon name 2017-06-26 16:27:34 +01:00
Robert Fewell
1c08232b6e Missed changing some stock labels on buttons to icon names 2017-06-26 16:22:14 +01:00
Robert Fewell
34d1d840e0 Replace GTK_STOCK_... images with there equivalent icon name 2017-06-26 15:58:59 +01:00
Robert Fewell
d67c15ad45 Missed changing some stock labels on some buttons 2017-06-26 15:37:33 +01:00
John Ralls
118dd41759 Bug 782274 - Transactions produced by Transfer Funds or Process...
Payment dialogs sort to beginning of day and do not honor NUM field for
custom sorting.

Do a two-step, first retrieving a GDate from the date_edit then use
gdate_to_timespec to convert it to a time64: gdate_to_timespec calls
gnc_dmy2timespec_neutral while gnc_date_edit_get_date_ts gets a
begining-of-the-day time.
2017-06-25 15:45:56 -07:00
Kuang-che Wu
66aeb61008 Fix import-export compile on windows 2017-06-26 02:15:00 +08:00
Robert Fewell
00f6977fcc Replace deprecated functions in gnc_cell_renderer_date
This still needs more work as there appears to be a size issue and a
missing procedure. As this is not used currently, will fix in a later
commit.
2017-06-25 11:26:58 +01:00
Robert Fewell
5cd60d2e58 Replace deprecated function to get mouse pointer position 2017-06-25 11:23:56 +01:00
John Ralls
99a732cb6a Bug 782897 - Stock Split Assistant crashes GnuCash if you enter a New...
Price and that already exists in the Price DB

Should have crashed regardless: The pricedb takes ownership of the
price object and unreffing it is going to cause trouble eventually.

tock Split Assistant crashes GnuCash if you enter a New Price and that
already exists in the Price DB
2017-06-24 18:06:42 -07:00
Robert Fewell
44cf167297 GtkTreeView rules_hint is deprecated after version 3.14
Rules hint is deprecated after version 3.14, add version test to remove.
2017-06-24 12:01:30 +01:00
Robert Fewell
4d61403037 Replace deprecated widget_render_icon function in print-check 2017-06-24 11:06:47 +01:00
Robert Fewell
8a2d6c4bcb Replace GtkTable with GtkGrid in the register 2017-06-23 17:53:26 +01:00
Robert Fewell
cac49a2d6d Replace deprecated size_request in register date-picker 2017-06-23 17:52:23 +01:00
Robert Fewell
7674340ccc Replace deprecated menu function in gnc-csv-gnumeric-popup.c 2017-06-23 17:50:13 +01:00
Robert Fewell
9031dddd95 Replace deprecated size_request in gnc-tree-view.c 2017-06-23 17:49:10 +01:00
Robert Fewell
7dc23aed49 Replace deprecated gtk_rc... functions in gnc-tree-view_split-reg.c 2017-06-23 17:47:26 +01:00
Robert Fewell
47d7b07f07 Replace deprecated functions in gnc-date-edit.c 2017-06-23 14:43:23 +01:00
Robert Fewell
5db244f729 Replace deprecated functions in gnc-combott.c 2017-06-23 14:42:45 +01:00
Robert Fewell
a383bd4f23 Replace deprecated font function in gnc-report.c 2017-06-23 14:41:52 +01:00
Robert Fewell
2aa69b88da Glade GUI adds a has_padding property to the action area which is wrong
This commit removes all these properties from GtkAssistant action area
2017-06-23 11:48:37 +01:00
Robert Fewell
9dd2e42376 Fix up, box should be a GtkWidget 2017-06-23 11:47:08 +01:00
Robert Fewell
d86afb272a Files linked to assistant-loan.glade 2017-06-22 17:16:27 +01:00
Robert Fewell
563a6b106a Files linked to dialog-import.glade 2017-06-22 13:59:04 +01:00
Robert Fewell
fe90eeb303 Files linked to dialog-account-picker.glade 2017-06-22 13:58:09 +01:00
Robert Fewell
e067903ebd Convert gtktable to grid in assistant-qif-import 2017-06-22 13:57:29 +01:00
Robert Fewell
2964189bd0 Files linked to assistant-csv-trans-import.glade 2017-06-22 11:14:12 +01:00
Robert Fewell
d7a8a4a415 Fix up for to align button or account import 2017-06-22 11:13:05 +01:00
Robert Fewell
3e8581c903 Files linked to assistant-csv-account-import.glade 2017-06-21 17:53:39 +01:00
Robert Fewell
751695573f Files linked to assistant-csv-export.glade 2017-06-21 17:53:06 +01:00
Robert Fewell
e2592baef1 Files linked to assistant-acct-period.glade 2017-06-21 17:51:53 +01:00
Robert Fewell
ff70c67e56 Files linked to assistant-stock-split.glade 2017-06-21 10:24:35 +01:00
Robert Fewell
3c3b609384 Files linked to assistant-hierarchy.glade 2017-06-21 10:24:09 +01:00
Geert Janssens
823b41d629 Fix commodity namespace tests
While new files will use CURRENCY to indicate a commodity is a currency,
older files (including our ancient test files) are still using
ISO4217. So we need to expect both values in the xml file tests.
This is different from file loading (which will automatically map
ISO4217 to CURRENCY) and file saving (which will from now on always
write CURRENCY).
2017-06-21 10:11:54 +02:00
Geert Janssens
f3eeda3a9e Stop writing commodity namespaces to xml files in gnucash 1.8 compatible way
Gnucash will still be able to read the old ISO4217 tags, but no longer write them
2017-06-20 22:36:58 +02:00
Geert Janssens
12d85ff647 Merge branch 'maint' 2017-06-20 22:35:57 +02:00
Geert Janssens
c80dad742e Bug 603379 - Prevent changing some Account Options if it has transactions - followup
Relax the account type change restrictions again. In the new implementation
account types can't be changed for an account with splits:
- if the change woud force a commodity change (to/from normal accounts from/to stock related accounts)
- for immutable accounts

At the time of this commit the following account types are considered immutable:
- Accounts Receivable
- Accounts Payable
- Trading accounts
2017-06-20 22:08:51 +02:00
John Ralls
7e8b66faac Fix Travis Failure
Merge put back the define of _(), removed in 582edc1. Ninja didn't complain.
2017-06-20 10:56:24 -07:00
John Ralls
4b73bb5c50 Merge branch 'maint' 2017-06-20 10:26:47 -07:00
Robert Fewell
dfd2b047b3 This is minor change to eliminate the spaces in dialog names
This is still using a gtk2 glade file, not sure what will happen here.
2017-06-20 16:24:45 +01:00
Robert Fewell
bdcbb2a08c Remove the aqbanking preferences from this gtk2 glade file 2017-06-20 16:23:46 +01:00