and fix signal processing:
* src/register/register-gnome/gnucash-item-edit.h:
Made the gnc_item_edit_get_type function return GType
* src/register/register-gnome/gnucash-item-edit.h:
Made the gnc_item_edit_get_type function use GObject
* src/register/register-gnome/gnucash-item-list.c:
Removed an extra button_press_event handler
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10420 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome-utils/gnc-date-format.h:
Added #include <glib.h>
Added private member 'disposed' to GncDenseCal struct
Added GNC_TYPE_DATE_FORMAT macro
* src/gnome-utils/gnc-date-format.c:
Converted the following functions to use GObject:
gnc_date_format_get_type,
gnc_date_format_class_init
Created gnc_date_format_dipose function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10406 57a11ea4-9604-0410-9ed3-97b8803252fd
* we don't need to get our own account TreeModel and set it to our
new account TreeView, because gnc_tree_view_account_new gives us
a TreeView with the global account TreeModel already set. Plus,
it already has the right TreeModelSort interface, which we are
counting on.
* check for NULL before trying to gtk_entry_set_text().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10389 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-sx-from-trans.c:
- Removed per-button callbacks in favor of a
dialog response callback
- Changed per-button callback functions to
simple 'action' functions that are called
in the response handler.
- Migrated away from gtk_signal_connect
- Removed references to GNOME 1.x dialog
- C Style changes: 'open curly brace on same line'
- Moved 'public' function gnc_sx_create_from_trans
to the bottom of the file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10382 57a11ea4-9604-0410-9ed3-97b8803252fd
Stephen Evanchik's Minor touch-ups to GNCCurrencyEdit:
* src/gnome-utils/gnc-currency-edit.c:
In gnc_currency_edit_get_type added 'const' keyword and
final NULL entry in currency_edit_info declaration
In gnc_currency_edit_new use g_type_class_ref and
GNC_TYPE_CURRENCY_EDIT macro; move gtk_type_new to
g_object_new
Stephen Evanchik's patch to remove references to gtk_type_new
in converted widgets:
* src/gnome-utils/gnc-date-edit.h:
Added GNC_TYPE_DATE_EDIT macro
* src/gnome-utils/gnc-general-select.h:
Added GNC_TYPE_GENERAL_SELECT macro
* src/gnome-utils/gnc-date-edit.c:
* src/gnome-utils/gnc-general-select.c:
* src/gnome-utils/gnc-dense-cal.c:
gtk_type_new -> g_object_new
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10380 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome-utils/gnc-dense-cal.h:
Added #include <glib.h>
Added private member 'disposed' to GncDenseCal struct
Added GNC_TYPE_DENSE_CAL macro
* src/gnome-utils/gnc-dense-cal.c:
Converted the following functions to use GObject:
gnc_dense_cal_get_type,
gnc_dense_cal_class_init
Renamed gnc_dense_cal_destroy to gnc_dense_cal_dispose
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10379 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome-utils/gnc-date-edit.h:
Removed #include <gnome.h>
Added #include <glib.h>
Added private member 'disposed' to GNCDateEdit struct
* src/gnome-utils/gnc-date-edit.c:
Converted the following functions to use GObject:
gnc_date_edit_get_type,
gnc_date_edit_class_init
Renamed gnc_date_edit_destroy to gnc_date_edit_finalize
Added gnc_date_edit_dispose function that handles
child widget destruction
Explicit casts to GTK_WIDGET in create_children
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10377 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/glade/account.glade:
- Made Accounts h-scroll box policy automatic.
- Reordered the containing table to two rows, one column
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10363 57a11ea4-9604-0410-9ed3-97b8803252fd
* lib/egg/egg-menu-merge.c:
change a gint to a gsize
* src/gnome/gnc-plugin-page-account-tree.c:
use GINT_TO_POINTER() instead of a direct cast.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10316 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/gnc-budget*:
* src/gnome/*budget*:
* src/gnome/glade/budget.glade:
* src/gnome-utils/gnc-budget*:
Darin Willits' initial budget code. Still not fully functional
but the basic UI is there. See the GNOME2_STATUS for additional
information.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10212 57a11ea4-9604-0410-9ed3-97b8803252fd
* configure.in: add support for gtkhtml-3.1, remove src/experimental
* src/Makefile.am: remove experimental subtree
* src/app-file/gncmod-app-file.c: don't need gnc-mdi-utils.h
* src/gnome/gnc-window.c: register the gnc-mdi progress handler
* src/gnome-utils/gnc-mdi-utils.[ch]: add a progress handler
that gets set by the gnc-window code (just like in gnc-file)
to remove a circular dependency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10061 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix other instance of xaccGUIDType call while we're in the file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10000 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome-utils/gnc-mdi-utils.c (gnc_mdi_show_progress): Proxy
progress-display call through to gnc-window code.
(gnc_ui_get_toplevel): Re-implement gnc_ui_get_toplevel in a
less-correct but valid way.
* src/report/report-gnome/gnc-plugin-page-report.c
(gnc_plugin_page_report_create_widget): Set the top-level window
so progress-render calls work during report render-time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9986 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-new-user.c:
* src/gnome/gnc-embedded-window.c:
* src/gnome/gnc-main-window.c:
* src/gnome/gnc-plugin-page-account-tree.c:
* src/gnome-utils/dialog-transfer.c:
* src/gnome-utils/gnc-query-list.c:
Vitaly Lipatov's C-construct patch --
During compiling CVS version of gnucash (tag gnucash-gnome2-dev)
I have found some mistakes makes error with GCC compiler.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9966 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/report-gnome/gnc-plugin-page-report.c
(gnc_plugin_page_report_class_init): Add 'report_id'
object-property for page-c'tor.
(gnc_plugin_page_report_setup): Setup the page's report at creation time so
we can get the correct tab labels.
* src/gnome-utils/gnc-mdi-utils.c (gnc_mdi_show_progress): Weaken
assertion while code isn't fully changed over, yet.
(gnc_ui_get_toplevel): Comment out b0rken MDI-related code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9961 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/report-gnome/window-report.h: Comment interface with
recon about usage in the source tree.
* src/report/report-gnome/gnc-plugin-page-report.c: Copy
window-report.c implementation over to here, rename, and get
somewhat working again. At this point, report-menu invocations
result in a tab being created, and displaying the error message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9937 57a11ea4-9604-0410-9ed3-97b8803252fd
* lib/egg/egg-menu-merge.c:
we don't have a "ui" so dont notify ourself when merging.
* src/gnome-utils/gnc-menu-extensions.scm:
Use empty strings instead of #f for menu items so we don't
cause problems later where we expect to get an actual string.
* src/report/report-gnome/report-gnome.scm:
Make sure we actually have a menu-path list!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9936 57a11ea4-9604-0410-9ed3-97b8803252fd