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
* configure.in:
change the version number to 1.99 to make it different than HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10365 57a11ea4-9604-0410-9ed3-97b8803252fd
the last patch was for the New Account Dialog, not the Hierarchy Druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10364 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
* lib/egg/eggtoolbar.c
Priit Laes' patch for C90 compliance (only the g2 portion).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10204 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