Commit Graph

13763 Commits

Author SHA1 Message Date
Cristian Marchi
d381f3bc1e Fix Traditional Chinese win32 package translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20363 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-02 19:33:25 +00:00
J. Alex Aycinena
1b9023e78f Modify Tax Info on Account Page to display or not display sub-account info based on whether row is expanded.
Re-apply changes reverted in r20251. The only difference between this commit and r20207 is that, contrary to the recommendation given in gnc-tree-view.h, "Use GNC_TREE_VIEW_COLUMN_DATA_NONE if you plan on using a non-model data source for this column", it cobtinues to use "GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO". Using "GNC_TREE_VIEW_COLUMN_DATA_NONE" generates problems later in the "gnc_tree_view_add_text_column" routine when it tries to set up sorting for the column ("CRIT <Gtk> gtk_tree_sortable_set_sort_func: assertion `sort_column_id >= 0' failed").

Define a new column, GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO_SUB_ACCT, in gnc-tree-model-account.c filled with gnc_ui_account_get_tax_info_sub_acct_string.

Modify gnc-tree-view-account.c to define a tax_info_data_func that displays only the the data in the GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO model column if the row is expanded; otherwise it combines it with the data in the GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO_SUB_ACCT model column. Modily the view creation function to use the new tax_info_data_func for the text after having first set it to GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO to prevent the problem mentioned above, thereby overriding it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20359 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-01 23:09:37 +00:00
Christian Stimming
97a9fad2db Fix typo in German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20358 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-01 21:27:14 +00:00
Cristian Marchi
6086bd725c Add Traditional Chinese translation for win32 package system.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20357 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-01 19:44:05 +00:00
Cristian Marchi
aa6f6e2b9b Updated Traditional Chinese translation by Kuang-che.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20356 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-01 19:36:45 +00:00
Cristian Marchi
9c8391f5c0 Improved French translation by Sebastien Daniel.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20355 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-01 19:33:53 +00:00
Geert Janssens
0e559e295a Remove some obsolete files
These files were once copied from gtk 2.8 to work around pre-2.8 gtk
bugs when that was still our baseline. Our baseline is currently 2.10,
so these files are no longer needed/used.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20354 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-28 18:48:23 +00:00
Geert Janssens
de076842e2 Fix Gtk CRIT warnings introduced in r20351
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20353 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-28 16:26:28 +00:00
Geert Janssens
3e8262e3d9 Small spelling corrections in comments and some whitespace adjustments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20352 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-28 11:28:25 +00:00
Geert Janssens
e2865dba97 Update page name if invoice/bill is renamed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20351 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-28 11:28:13 +00:00
Geert Janssens
727b9c16f9 Present already open budget page if the user tries to open a budget more than once
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20350 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-28 11:28:02 +00:00
Geert Janssens
36b7f3215e Update page name if budget is renamed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20349 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-28 11:27:54 +00:00
Geert Janssens
95cd34c172 Bug #347265 - budget column resizing/options applies to all budget
windows

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20348 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-28 11:27:45 +00:00
Geert Janssens
8f850d0ff3 Only show the Save As dialog at the end of the Hierarchy druid if it
was called at the beginning of a new book, not when a hierarchy is
added to from the actions menu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20344 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-26 14:42:40 +00:00
Christian Stimming
af2630904f Re-indentation of source code.
This re-indentation was done using astyle-1.24 using the following options:

  astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20343 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-26 14:04:34 +00:00
Geert Janssens
cb366864c4 Update gtk include headers to follow gtk recommendations (only include gtk/gtk.h)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20342 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-26 13:04:37 +00:00
Geert Janssens
f19e1d0d4c Set a printer job name when printing reports and cheques
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20340 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-25 23:59:21 +00:00
Cristian Marchi
3ab9bbd16f Updated Lithuanian translation by Mantas Kriaučiūnas.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20339 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-25 07:11:16 +00:00
Phil Longstaff
226917b373 Update revision to 2.4.3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20336 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-25 00:29:25 +00:00
Christian Stimming
70b83c9ece Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20334 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-24 20:44:37 +00:00
Christian Stimming
0bb9fdc24d I18n improvement: Unify two very similar strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20333 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-24 20:44:25 +00:00
Cristian Marchi
a1326e2725 Updated Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20332 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-24 19:29:00 +00:00
Cristian Marchi
b664b57ab2 Updated Slovak translation, copied from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20327 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-23 12:50:19 +00:00
Christian Stimming
8bb7cb9d26 Updated Traditional Chinese translation, by Kuang-che Wu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20326 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-22 20:28:34 +00:00
Christian Stimming
7c05bb43fc Remove translation markers from already-translated strings in German tax report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20322 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-20 21:05:39 +00:00
Christian Stimming
c9a1b871b7 Update German tax report, by Franz Stoll.
The contributor also sent some explanatory documents, which I for now
copied into tax/us/de_DE/, but I just didn't know whether they better
belong anywhere else.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20321 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-20 21:05:20 +00:00
John Ralls
b2ede997f4 qofinstance.h: Delete duplicate declarations and consolidate editlevel declarations in one place.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20317 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-19 01:17:42 +00:00
Cristian Marchi
f7c074a5b7 Updated Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20316 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 19:08:11 +00:00
Cristian Marchi
370bf9f2d0 Unify two very similar strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20315 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 19:07:13 +00:00
Christian Stimming
6a6370ba4e Extend gtkmm/C++ plugin to include an actual gnc-plugin implementation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20314 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 11:35:45 +00:00
Christian Stimming
9d399b0c2e Really fix conditional configure test for gtkmm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20313 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 11:35:34 +00:00
Christian Stimming
b6f909b75f Re-apply r20310: Add optional module that compiles with gtkmm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20312 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 09:37:24 +00:00
Christian Stimming
df9044243b Revert r20310, "Add optional module that compiles with gtkmm..." - the configure code wasn't taking this as optional for whatever reason.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20311 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-17 18:43:43 +00:00
Christian Stimming
5eba235bac Add optional module that compiles with gtkmm, i.e. in C++.
This was just a crazy idea, but it turns out to be extremely easy.
This can be used as a place for new GUI elements which people prefer
to write in gtkmm/C++ instead of C. It's disabled by default.
Use configure --enable-gtkmm to enable it.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20310 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 21:39:54 +00:00
Christian Stimming
75454cbdbb Fix const-correctness of gnc-module interface.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20309 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 21:39:40 +00:00
Christian Stimming
5061b7d911 Add missing run-time typechecks in new code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20308 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 21:08:26 +00:00
Christian Stimming
a6f944598a Fix CRIT gtk warning if the old_page_long_name was NULL but still passed to g_strrstr.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20307 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 21:08:10 +00:00
Christian Stimming
3304711d6c Fix invoice line ordering mismatch between register window and reports.
The new code was missing the call to gncInvoiceSortEntries.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20306 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 20:47:49 +00:00
Christian Stimming
9742dab337 Win32 build: Updated aqbanking5 version numbers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20305 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 20:16:35 +00:00
Christian Stimming
80e4847f2a Add extra toolbar buttons as shortcuts for some business functions, "New Invoice" for now.
The extra toolbar buttons are disabled until the user enables them
manually in Preferences -> Business -> Extra buttons.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20304 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 20:13:37 +00:00
Geert Janssens
d7073fb148 Bug #642445 [PATCH] Segfault when tip_of_the_day.list is empty
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20303 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 11:46:01 +00:00
Christian Stimming
8650eec61c Add accessor of GtkUIManager in GncMainWindow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20302 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 21:15:08 +00:00
Christian Stimming
fe58851549 Win32 build: Fix outdated (and broken) URL of ActivePerl.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20301 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 19:34:52 +00:00
Christian Stimming
bb26d07dce Bug #642284: Fails to build on Ubuntu Natty
Patch by Ahmed El-Mahmoudy.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20300 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 19:33:02 +00:00
Christian Stimming
f265d7ce1c Updated German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20299 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 19:21:56 +00:00
John Ralls
314e54586e QofSession: Don't push a new generic error if there's already one available that might be more descriptive.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20298 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 00:17:50 +00:00
John Ralls
ef0dd46391 Remove no-longer-correct warning about the aqbanking5 setup wizard not being implemented: It is.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20297 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-13 20:19:45 +00:00
Christian Stimming
8fcbbe1022 Updated German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20296 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-13 20:18:52 +00:00
John Ralls
9995c03ed0 Bug #641832: Use g_strdup_printf() instead of dbi_conn_queryf() to format the query; the latter crashed msvcrt. Also reverts r20287 because the root bug is fixed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20295 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-13 20:03:12 +00:00
Christian Stimming
0bcf002937 Implement command for changing the ordering of invoice entries by moving them up or down one row.
Turned out this is rather easy: Just swap the "date-entered" of both items.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20294 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 21:55:57 +00:00