| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
I thought this might be the cause of bug #643089.
Turns out it wasn't, but it's a good thing to do anyway.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Yes, the GtkScrollable interface is implemented by more than just
GtkLayout, but it turns out GtkLayout is the only thing Evolution
uses the GtkScrollable API for on the gtk3 branch.
|
|
|
|
|
| |
ETable has a "vertical-spacing" style property, ETree does not.
ECellText expects it to be in both.
|
| |
|
|
|
|
| |
It's not necessary anymore.
|
|
|
|
| |
It's not used by themes so I don't see the need to port it.
|
| |
|
|
|
|
| |
gtk+-3.0 removed it for being "unused".
|
| |
|
|
|
|
|
|
|
| |
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.
I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Still remaining:
GtkAccessible::widget
GtkAssistant::forward
GtkAssistant::back
GtkObject::flags
GtkTreeStore::stamp
The GtkAssistant fields are related to bug #596428. We don't
need accessor functions so much as the enhancement described
there implemented.
https://bugzilla.gnome.org/show_bug.cgi?id=615613
|
| |
|
| |
|
|
|
|
| |
This reverts commit 0e239e555149729fb536d6a48b3640b5462a2e47.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To avoid another case like bug #587014, add GSignalAccumulator functions
to all ETable and ETree signals that return a flag to indicate the signal
has been handled.
See commit e9dc381d3ace3404d0eafe94eb6da3b9a843abb8 for an example of
the kind of problems not having a GSignalAccumulator can cause.
Signals changed:
ETree::click
ETree::right-click
ETree::white-space-event
ETable::click
ETable::key-press
ETable::right-click
ETable::start-drag
ETable::white-space-event
ETableItem::click
ETableItem::right-click
ETableItem::start-drag
ETableGroup::click
ETableGroup::key-press
ETableGroup::right-click
ETableGroup::start-drag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Neither ETree::key-press nor ETableItem::key-press signal definitions
specify a GSignalAccumulator that terminates the signal emission when
a handler returns TRUE, and Evolution 2.29 connects multiple handlers
to ETree::key-press.
When the space key is pressed, the first handler implements the magic
space bar behavior and returns TRUE, which should terminate signal
emission but doesn't because there's no accumulator function on the
signal. So the second handler runs and checks for other keys besides
space. It returns FALSE since it didn't handle the key press.
End result: emission site gets back FALSE (from the second handler) as
the return value, so it thinks the key press was not handled at all and
invokes the fallback handler -- e_selection_model_toggle_single_row() --
which -unselects- the newly selected row, making it appear the next
unread message was never selected.
Several other ETable-related signals that return "handled" flags also
lack GSignalAccumulator functions. I've made a note to myself to fix
those as well.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EFocusTracker tracks the input focus within a window and helps keep
the sensitivity of "selectable" actions in the main menu up-to-date.
Selectable actions include Cut, Copy, Paste, Select All and Delete.
EFocusTracker has built-in support for widgets that implement the
GtkEditable interface such as GtkEntry and GtkTextView. It also
supports custom widgets that implement the ESelectable interface,
which is a subset of GtkEditable and can apply to anything that
displays selectable content (esp. tree views and ETables).
This commit integrates EFocusTracker with EShellWindow, CompEditor,
EMsgComposer, and ESignatureManager.
It also bumps the GtkHTML requirement to 2.29.5 to utilize the new
GtkhtmlEditor:html constructor property.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Collect all shell modules into a new top-level 'modules' directory:
$(top_srcdir)/modules/addressbook
$(top_srcdir)/modules/calendar
$(top_srcdir)/modules/mail
Nothing is allowed to link to these, not plugins nor other modules.
THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X.
- Mimic the libevolution-mail-shared library from master (except drop
the "shared" suffix) and have libevolution-mail-importers and all
mail-related plugins link to it.
- Discard the a11y subdirectories and have the files live alongside
their counterpart widgets.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
a11y/widgets/ea-combo-button.c
a11y/widgets/ea-combo-button.h
addressbook/gui/component/addressbook-component.c
addressbook/gui/component/addressbook-component.h
addressbook/gui/component/addressbook-view.c
addressbook/gui/component/addressbook-view.h
addressbook/gui/component/component-factory.c
addressbook/gui/widgets/e-addressbook-view.c
addressbook/gui/widgets/eab-contact-display.c
addressbook/gui/widgets/eab-gui-util.h
addressbook/gui/widgets/eab-menu.c
addressbook/gui/widgets/eab-menu.h
addressbook/gui/widgets/eab-popup-control.c
addressbook/gui/widgets/eab-popup-control.h
addressbook/gui/widgets/eab-popup.c
addressbook/gui/widgets/eab-popup.h
calendar/gui/cal-search-bar.c
calendar/gui/calendar-commands.c
calendar/gui/calendar-component.c
calendar/gui/comp-editor-factory.c
calendar/gui/comp-editor-factory.h
calendar/gui/control-factory.c
calendar/gui/dialogs/comp-editor.c
calendar/gui/e-cal-component-memo-preview.c
calendar/gui/e-cal-component-memo-preview.h
calendar/gui/e-calendar-table.c
calendar/gui/e-memo-table.c
calendar/gui/e-memos.c
calendar/gui/e-tasks.c
calendar/gui/gnome-cal.c
calendar/gui/gnome-cal.h
calendar/gui/itip-bonobo-control.c
calendar/gui/itip-bonobo-control.h
calendar/gui/main.c
calendar/gui/memos-component.c
calendar/gui/memos-control.c
calendar/gui/memos-control.h
calendar/gui/migration.c
calendar/gui/migration.h
calendar/gui/tasks-component.c
calendar/gui/tasks-control.c
calendar/importers/main.c
composer/Makefile.am
composer/e-composer-header-table.c
composer/e-composer-header.c
composer/e-composer-header.h
composer/e-composer-name-header.c
composer/e-composer-private.c
composer/e-composer-text-header.c
composer/e-msg-composer.c
composer/e-msg-composer.h
e-util/e-corba-utils.h
e-util/e-logger.c
e-util/e-logger.h
e-util/e-util-labels.c
e-util/e-util-labels.h
em-format/em-format.c
mail/Makefile.am
mail/e-mail-shell-migrate.c
mail/em-account-editor.c
mail/em-account-editor.h
mail/em-composer-prefs.c
mail/em-composer-utils.c
mail/em-composer-utils.h
mail/em-folder-browser.c
mail/em-folder-tree-model.c
mail/em-folder-tree.c
mail/em-folder-tree.h
mail/em-folder-utils.c
mail/em-folder-utils.h
mail/em-folder-view.c
mail/em-format-html-display.c
mail/em-format-html.c
mail/em-mailer-prefs.c
mail/em-mailer-prefs.h
mail/em-message-browser.c
mail/em-message-browser.h
mail/em-network-prefs.h
mail/em-popup.c
mail/em-utils.c
mail/importers/Makefile.am
mail/mail-component-factory.c
mail/mail-component.c
mail/mail-config-factory.c
mail/mail-config-factory.h
mail/mail-config.c
mail/mail-dialogs.glade
mail/mail-types.h
plugins/calendar-weather/calendar-weather.c
plugins/mail-account-disable/mail-account-disable.c
plugins/select-one-source/select-one-source.c
po/POTFILES.in
shell/e-component-registry.c
shell/e-component-registry.h
shell/e-component-view.c
shell/e-component-view.h
shell/e-corba-config-page.c
shell/e-corba-config-page.h
shell/e-shell-constants.h
shell/e-shell-settings-dialog.c
shell/e-shell-settings-dialog.h
shell/e-shell-window-commands.c
shell/e-shell-window.c
shell/e-shell.h
shell/e-sidebar.c
shell/e-sidebar.h
shell/e-user-creatable-items-handler.c
shell/e-user-creatable-items-handler.h
shell/es-menu.c
shell/es-menu.h
shell/evolution-component.h
shell/evolution-config-control.c
shell/evolution-config-control.h
shell/evolution-listener.c
shell/evolution-listener.h
shell/evolution-shell-component-utils.c
shell/evolution-shell-component-utils.h
shell/importer/evolution-importer-client.c
shell/importer/evolution-importer-client.h
shell/importer/evolution-importer-listener.c
shell/importer/evolution-importer-listener.h
shell/importer/evolution-importer.c
shell/importer/evolution-importer.h
shell/importer/evolution-intelligent-importer.c
shell/importer/evolution-intelligent-importer.h
shell/importer/intelligent.c
shell/main.c
shell/test/evolution-test-component.c
shell/test/evolution-test-component.h
widgets/menus/gal-view-instance.c
widgets/menus/gal-view-menus.c
widgets/menus/gal-view-menus.h
widgets/misc/Makefile.am
widgets/misc/e-activity-handler.c
widgets/misc/e-activity-handler.h
widgets/misc/e-charset-picker.c
widgets/misc/e-combo-button.c
widgets/misc/e-combo-button.h
widgets/misc/e-config-page.h
widgets/misc/e-dropdown-button.c
widgets/misc/e-dropdown-button.h
widgets/misc/e-filter-bar.c
widgets/misc/e-info-label.c
widgets/misc/e-info-label.h
widgets/misc/e-multi-config-dialog.c
widgets/misc/e-multi-config-dialog.h
widgets/misc/e-search-bar.c
widgets/misc/e-search-bar.h
widgets/misc/e-task-bar.c
widgets/misc/e-task-bar.h
widgets/misc/e-task-widget.c
widgets/misc/e-task-widget.h
widgets/misc/test-dropdown-button.c
widgets/misc/test-error.c
widgets/misc/test-info-label.c
widgets/table/e-table-example-1.c
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
|
| |
| |
| |
| | |
svn path=/trunk/; revision=36313
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2008-08-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #519292
* mail/message-list.c: (load_tree_expand_all): Drop function.
* mail/message-list.c: (regen_list_done): Rather use desired expanded state
value when creating the tree instead of the default model's value for
this to have 'expand/collapse all' commands work better and quicker.
* widgets/tablee-tree.h: (e_tree_load_all_expanded_state):
* widgets/tablee-tree.c: (e_tree_load_all_expanded_state):
* widgets/tablee-tree-table-adapter.h:
(e_tree_table_adapter_load_all_expanded_state):
* widgets/tablee-tree-table-adapter.c:
(e_tree_table_adapter_load_all_expanded_state),
(set_expanded_state_func), (set_collapsed_state_func):
Drop functions in favor of new functions.
* widgets/tablee-tree.h: (e_tree_force_expanded_state):
* widgets/tablee-tree.c: (e_tree_force_expanded_state):
* widgets/tablee-tree-table-adapter.h: (e_tree_table_adapter_force_expanded_state):
* widgets/tablee-tree-table-adapter.c: (e_tree_table_adapter_force_expanded_state),
(struct ETreeTableAdapterPriv), (create_gnode), (etta_init):
Use either default value of the model to expanded state of new node or
use the one which has been set (forced) by new functions.
svn path=/trunk/; revision=35954
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2008-08-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #352695
* widgets/table/e-tree-table-adapter.h:
(e_tree_table_adapter_save_expanded_state_xml),
(e_tree_table_adapter_load_expanded_state_xml):
* widgets/table/e-tree-table-adapter.c:
(e_tree_table_adapter_save_expanded_state_xml),
(e_tree_table_adapter_save_expanded_state),
(e_tree_table_adapter_load_expanded_state_xml),
(e_tree_table_adapter_load_expanded_state):
* widgets/table/e-tree.h: (e_tree_save_expanded_state_xml),
(e_tree_load_expanded_state_xml):
* widgets/table/e-tree.c: (e_tree_save_expanded_state_xml),
(e_tree_load_expanded_state_xml):
Be able to store expanded state also in memory, not only on the disk.
* mail/message-list.c: (struct _MessageListPrivate), (save_tree_state),
(load_tree_state), (on_model_row_changed), (message_list_init),
(message_list_construct), (struct _regen_list_msg), (regen_list_done),
(regen_list_free), (mail_regen_list): Be able to recognize whether
there has been any change on any row in a list and save expanded
state only in case there was any change. Also use in-memory storing
of the expanded state in case we do not want to rewrite full view
It's for searches only, and it's not stored between sessions.
svn path=/trunk/; revision=35953
|
| | |
|
| |
| |
| |
| |
| | |
There still left two things opened, search for KILL-BONOBO to find them.
One is in calendar's Makefile.am, one in composer.
|
| |
| |
| |
| | |
svn path=/branches/kill-bonobo/; revision=36534
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Kill EABMenu.
- Centralize marshallers to eliminate duplication.
svn path=/branches/kill-bonobo/; revision=36368
|
|/
|
|
| |
svn path=/branches/kill-bonobo/; revision=35994
|
|
|
|
| |
svn path=/trunk/; revision=35665
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-30 Milan Crha <mcrha@redhat.com>
** Fix for bug #528288
* widgets/misc/e-filter-bar.c: (get_property): Do not return any query
with empty text from search bar.
* widgets/table/e-tree.h: (e_tree_set_info_message):
* widgets/table/e-tree.c: (struct ETreePriv), (et_dispose), (e_tree_init),
(tree_size_allocate), (e_tree_set_info_message):
Allow setting info message into the tree. It doesn't check
whether the tree is empty or not, so take care of that.
* mail/em-folder-browser.c: (emfb_init), (em_folder_browser_show_wide):
Ensure minimum size for preview and message list.
* mail/em-folder-browser.c: (get_view_query):
Distinguish between no filter and custom filter.
* mail/message-list.c: (regen_list_done):
Set info message to tree when no message shown in a list.
svn path=/trunk/; revision=35459
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-01 Milan Crha <mcrha@redhat.com>
** Fix for bug #512623
* e-tree.c: (item_key_press):
Check only if Ctrl/Alt/Shift is pressed when required Shift only.
* e-table.c: (group_key_press): Ignore/consider GDK_MODEx_MASK states.
svn path=/trunk/; revision=34944
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
| |
Use GObject's marshalers whenever possible.
svn path=/trunk/; revision=34324
|
|
|
|
| |
svn path=/trunk/; revision=34192
|
|
|
|
|
|
|
|
|
|
| |
2007-09-02 Matthew Barnes <mbarnes@redhat.com>
* Update FSF address in header comments (#469886).
Patch from Tobias Mueller.
svn path=/trunk/; revision=34151
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
* e-util/e-util.h: Remove E_MAKE_TYPE macro.
* e-util/e-bit-array.c:
* e-util/e-sorter-array.c:
* e-util/e-sorter.c:
* e-util/e-text-event-processor-emacs-like.c:
* e-util/e-text-event-processor.c:
* widgets/menus/gal-define-views-dialog.c:
* widgets/menus/gal-define-views-model.c:
* widgets/menus/gal-view-collection.c:
* widgets/menus/gal-view-etable.c:
* widgets/menus/gal-view-factory-etable.c:
* widgets/menus/gal-view-factory.c:
* widgets/menus/gal-view-instance-save-as-dialog.c:
* widgets/menus/gal-view-instance.c:
* widgets/menus/gal-view-new-dialog.c:
* widgets/menus/gal-view.c:
* widgets/misc/e-canvas-background.c:
* widgets/misc/e-canvas-vbox.c:
* widgets/misc/e-canvas.c:
* widgets/misc/e-printable.c:
* widgets/misc/e-reflow-model.c:
* widgets/misc/e-reflow.c:
* widgets/misc/e-selection-model-array.c:
* widgets/misc/e-selection-model-simple.c:
* widgets/misc/e-selection-model.c:
* widgets/table/e-cell-checkbox.c:
* widgets/table/e-cell-combo.c:
* widgets/table/e-cell-date.c:
* widgets/table/e-cell-float.c:
* widgets/table/e-cell-hbox.c:
* widgets/table/e-cell-number.c:
* widgets/table/e-cell-pixbuf.c:
* widgets/table/e-cell-popup.c:
* widgets/table/e-cell-progress.c:
* widgets/table/e-cell-size.c:
* widgets/table/e-cell-spin-button.c:
* widgets/table/e-cell-text.c:
* widgets/table/e-cell-toggle.c:
* widgets/table/e-cell-tree.c:
* widgets/table/e-cell-vbox.c:
* widgets/table/e-cell.c:
* widgets/table/e-table-click-to-add.c:
* widgets/table/e-table-col.c:
* widgets/table/e-table-column-specification.c:
* widgets/table/e-table-column.c:
* widgets/table/e-table-config-field.c:
* widgets/table/e-table-config.c:
* widgets/table/e-table-extras.c:
* widgets/table/e-table-field-chooser-dialog.c:
* widgets/table/e-table-field-chooser-item.c:
* widgets/table/e-table-field-chooser.c:
* widgets/table/e-table-group-container.c:
* widgets/table/e-table-group-leaf.c:
* widgets/table/e-table-group.c:
* widgets/table/e-table-header-item.c:
* widgets/table/e-table-header.c:
* widgets/table/e-table-item.c:
* widgets/table/e-table-memory-callbacks.c:
* widgets/table/e-table-memory-store.c:
* widgets/table/e-table-memory.c:
* widgets/table/e-table-model.c:
* widgets/table/e-table-one.c:
* widgets/table/e-table-scrolled.c:
* widgets/table/e-table-search.c:
* widgets/table/e-table-selection-model.c:
* widgets/table/e-table-simple.c:
* widgets/table/e-table-sort-info.c:
* widgets/table/e-table-sorted-variable.c:
* widgets/table/e-table-sorted.c:
* widgets/table/e-table-sorter.c:
* widgets/table/e-table-specification.c:
* widgets/table/e-table-state.c:
* widgets/table/e-table-subset-variable.c:
* widgets/table/e-table-subset.c:
* widgets/table/e-table-without.c:
* widgets/table/e-table.c:
* widgets/table/e-tree-memory-callbacks.c:
* widgets/table/e-tree-memory.c:
* widgets/table/e-tree-model.c:
* widgets/table/e-tree-scrolled.c:
* widgets/table/e-tree-selection-model.c:
* widgets/table/e-tree-simple.c:
* widgets/table/e-tree-sorted-variable.c:
* widgets/table/e-tree-sorted.c:
* widgets/table/e-tree-table-adapter.c:
* widgets/table/e-tree.c:
* widgets/text/e-completion-callbacks.c:
* widgets/text/e-completion-view.c:
* widgets/text/e-completion.c:
* widgets/text/e-entry.c:
* widgets/text/e-table-text-model.c:
* widgets/text/e-text-model-uri.c:
* widgets/text/e-text-model.c:
* widgets/text/e-text.c:
Use G_DEFINE_TYPE instead of E_MAKE_TYPE.
svn path=/trunk/; revision=33864
|
|
|
|
| |
svn path=/trunk/; revision=33777
|
|
|
|
| |
svn path=/trunk/; revision=33608
|
|
|
|
| |
svn path=/trunk/; revision=33432
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-03-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #419524
* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
* mail/em-migrate.c (emm_setup_initial):
* shell/e-component-registry.c (query_components):
* shell/e-shell-settings-dialog.c (load_pages):
* shell/e-shell-window-commands.c (command_quick_reference):
* tools/killev.c (main):
Use g_get_language_names() instead of gnome_i18n_get_language_list().
* e-util/e-util.c: Remove e_gettext().
* e-util/Makefile.am: Remove e-i18n.h.
svn path=/trunk/; revision=33319
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-08-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #352450
* misc/e-canvas-background.c:
* misc/e-cursors.c:
* misc/e-map.c:
* misc/e-reflow.c:
* misc/e-task-widget.c:
* misc/gal-combo-box.c:
* table/e-cell-text.c:
* table/e-cell-toggle.c:
* table/e-table-field-chooser-item.c:
* table/e-table-field-chooser.c:
* table/e-table-header-item.c:
* table/e-table-header-utils.c:
* table/e-table-item.c:
* table/e-table.c:
* table/e-tree-memory.c:
* table/e-tree-sorted.c:
* table/e-tree.c:
* table/e-text.c:
Replace deprecated GLib and GDK function calls.
svn path=/trunk/; revision=32783
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-30 Kjartan Maraas <kmaraas@gnome.org>
* e-timezone-dialog/e-timezone-dialog.c: (get_zone_from_point):
* menus/gal-view-menus.c:
* misc/e-attachment-bar.c: (calculate_height_width),
(update_remote_file), (e_attachment_bar_get_attachment),
(class_init):
* misc/e-attachment.c: (async_progress_update_cb),
(download_to_local_path):
* misc/e-calendar-item.c: (e_calendar_item_get_arg),
(e_calendar_item_realize), (e_calendar_item_ensure_days_visible):
* misc/e-calendar.c: (e_calendar_drag_motion),
(e_calendar_drag_leave), (e_calendar_focus):
* misc/e-canvas-background.c: (ecb_get_property):
* misc/e-canvas.c: (e_canvas_class_init), (pick_current_item):
* misc/e-cell-date-edit.c: (e_cell_date_edit_do_popup),
(e_cell_date_edit_show_popup):
* misc/e-cell-percent.c:
* misc/e-charset-picker.c: (e_charset_picker_bonobo_ui_populate):
* misc/e-config-page.c: (e_config_page_class_init):
* misc/e-dateedit.c: (e_date_edit_set_date),
(e_date_edit_set_date_and_time_of_day),
(on_date_popup_date_selected):
* misc/e-dropdown-button.c: (e_dropdown_button_class_init):
* misc/e-expander.c: (get_expander_bounds), (e_expander_expose),
(is_in_expander_panel):
* misc/e-filter-bar.c: (option_changed), (build_items):
* misc/e-image-chooser.c: (e_image_chooser_init),
(image_drag_data_received_cb):
* misc/e-map.c: (e_map_size_allocate), (e_map_button_press),
(e_map_button_release), (e_map_motion), (e_map_zoom_to_location),
(e_map_zoom_out), (update_render_point), (repaint_point),
(zoom_in_smooth):
* misc/e-multi-config-dialog.c: (impl_response):
* misc/e-reflow.c: (e_reflow_realize), (e_reflow_event):
* misc/e-search-bar.c: (clear_search), (search_now_verb_cb),
(entry_activated_cb), (activate_button_clicked_cb),
(clear_button_clicked_cb):
* misc/e-selection-model.c: (e_selection_model_key_press):
* misc/e-send-options.c: (delay_until_date_changed_cb),
(e_sendoptions_get_need_general_options):
* misc/e-unicode.c: (e_stripped_char):
* table/e-cell-progress.c: (eprog_draw_border), (eprog_draw),
(eprog_event):
* table/e-cell-spin-button.c: (ecsb_event), (ecsb_focus),
(ecsb_unfocus), (ecsb_dispose):
* table/e-cell-text.c: (ect_draw), (ect_show_tooltip):
* table/e-cell-toggle.c: (etog_draw), (etog_event):
* table/e-cell-tree.c: (ect_max_width):
* table/e-cell-vbox.c:
* table/e-table-click-to-add.c: (etcta_event):
* table/e-table-config.c: (create_global_store):
* table/e-table-field-chooser-dialog.c:
* table/e-table-field-chooser-item.c: (etfci_find_button),
(etfci_reflow), (etfci_get_property), (etfci_realize):
* table/e-table-field-chooser.c:
(e_table_field_chooser_class_init):
* table/e-table-group-container.c: (etgc_unrealize):
* table/e-table-group.c: (e_table_group_new):
* table/e-table-header-item.c: (e_table_header_item_get_height),
(ethi_realize), (ethi_event):
* table/e-table-header-utils.c: (e_table_draw_elided_string),
(e_table_header_draw_button):
* table/e-table-item.c: (eti_set_property), (eti_get_property),
(eti_draw), (eti_event), (eti_cursor_change):
* table/e-table-scrolled.c: (e_table_scrolled_class_init):
* table/e-table-search.c:
* table/e-table-sort-info.c: (e_table_sort_info_save_to_node):
* table/e-table.c: (table_canvas_reflow_idle),
(table_canvas_size_allocate), (canvas_vbox_event),
(click_to_add_event), (do_drag_motion), (e_table_class_init):
* table/e-tree-scrolled.c: (e_tree_scrolled_class_init):
* table/e-tree.c: (tree_canvas_reflow_idle),
(tree_canvas_size_allocate), (e_tree_drag_get_data),
(do_drag_motion), (e_tree_class_init):
* text/e-text.c: (e_text_set_property), (e_text_draw),
(_do_tooltip), (primary_clear_cb), (_get_position),
(e_text_command): Tons of cleanups of the following sort:
- remove unused vars
- remove extraneous semi-colons
- add some comments where assignments were done without using
the results later
- remove break; statements after return foo;
- add casts in some places to be more type correct
- rename variables with name clashes
- s/if/ifdef in some cases
- mark some code static
- remove some unused functions
- use guint for 1-bit bitfields
svn path=/trunk/; revision=31371
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-16 Srinivasa Ragavan <sragavan@novell.com>
* table/e-tree-table-adapter.c (set_expanded_state_func),
(set_collapsed_state_func):
(e_tree_table_adapter_load_all_expanded_state):
* table/e-tree.c: (e_tree_load_all_expanded_state):
Added functions to collapse/Expand all
svn path=/trunk/; revision=31203
|
|
|
|
|
|
|
|
|
|
| |
2005-12-07 Boby Wang <boby.wang@sun.com>
Fixes #322740.
* e-tree.c: (item_key_press): change the condition
expression for GDK_RIGHT and GDK_LEFT.
svn path=/trunk/; revision=30736
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-12-06 Li Yuan <li.yuan@sun.com>
* e-tree.c: (table_canvas_focus_event_cb):
Fixes bug #322776.
When focus come into e-tree, it is possible that the focused_item
is not NULL and there is no focused item in e-tree. So test
e_selection_model_cursor_row also.
svn path=/trunk/; revision=30724
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-08-10 Not Zed <NotZed@Ximian.com>
** See bug #313063.
* e-tree.c (e_tree_class_init): fix the set_scroll_adjustments
signal to take object, not pointer arguments. Since glib's
anality doesn't accept an object pointer as a pointer. go figure.
svn path=/trunk/; revision=30117
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-23 Kaushal Kumar <kakumar@novell.com>
* e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am,
addressbook/gui/search/Makefile.am,
plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES.
Updated the include paths to use misc instead of widgets/misc.
svn path=/trunk/; revision=29574
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-17 Kaushal Kumar <kakumar@novell.com>
* Retired GAL from Head. The relevant files have moved inside
evolution. Thanks to JP Rosevear for performing the cvs surgery. The
files have been moved in the following order.
evolution/e-util <- gal/gal/util
evolution/a11y <- gal/gal/a11y
evolution/a11y/e-table <- gal/gal/a11y/e-table
evolution/a11y/e-text <- gal/gal/a11y/e-text
evolution/widgets/table <- gal/gal/e-table
evolution/widgets/text <- gal/gal/e-text
evolution/widgets/misc <- gal/gal/widgets
evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
evolution/widgets/menus <- gal/gal/menus
Following is the summary of changes done to fix the build:-
- New files added to cvs repository,
- a11y/e-table/Makefile.am
- a11y/e-text/Makefile.am
- widgets/table/Makefile.am
- widgets/text/Makefile.am
- widgets/misc/pixmaps/Makefile.am
- iconv-detect.h
- iconv-detect.c
- Updated configure.in.
- Updated all the relevant Makefile.am files.
- Updated the include paths to replace all gal references.
- Updated the marshal list to suit gal files requirements.
svn path=/trunk/; revision=29522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-20 Li Yuan <li.yuan@sun.com>
* e-table-header-item.c:
* e-table-header-item.h:
export ethi_change_sort_state, so we can call it in a11y part.
* e-tree.c: (e_tree_get_header_item):
* e-tree.h:
return the header item of e-tree.
Fix for #302154.
svn path=/trunk/; revision=29393
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-29 Tor Lillqvist <tml@novell.com>
Port to Windows, initial commit:
* configure.in: Check for Win32, define Automake conditional
OS_WIN32. Check for regexec() perhaps in separate -lregex, define
REGEX_LIBS if so. Require glib-2.0 >= 2.6 (and thus also gtk+-2.0
>= 2.6) so that we can use the gstdio wrappers for full support of
non-ASCII filenames on Win32. Don't use -D_REENTRANT on Win32, has
ne special meaning.
* gal.pc.in: Require gtk+-2.0 >= 2.6 also here for consistency.
* gal-zip.in: New file, used to build zipfile format distribution
of gal for Win32.
* configure.in
* Makefile.am: Add gal-zip(.in).
* */Makefile.am
* */*.c: Harmonize -I and #include conventions. (Of course, this
hasn't anything to do with Windows porting as such, I just got
carried away...) Use only -I$(top_srcdir). Use paths to gal
headers staring with "gal", except for headers from the same
directory as the .c file, which are included as such. Include all
gal headers using doublequotes. Sort #includes and remove
duplicates and obvious redundancies. Include config.h first
without any HAVE_CONFIG_H, then system headers, then other GNOME
lib headers, than gal's own headers. Just include gtk.h instead of
separate gtk*.h headers. Don't include gi18n.h, include e-i18n.h
to use e_gettext() consistently.
* gal/Makefile.am: Use -no-undefined on Win32 so that libtool
agrees to build a shared library. Because of the bidirectional
dependency between libgal and libgal-a11y we can build libgal-a11y
sanely as a shared library on Win32, so we don't install any
separate libgal-a11y at all. So, on Win32, link the stuff that
goes into libgal-a11y also into libgal. Link with REGEX_LIBS.
* gal/a11y/Makefile.am: See above. Just build a dummy static
libgal-a11y on Win32 (can't convince Automake not to build the
library at all on one platform using Automake ifdef,
apparently). Then (this is a gross hack) explicitly remove the
library after installation in the install-data-local rule.
* gal/e-table/Makefile.am
* gal/e-table/e-table-config.c: Rename ETABLE_GLADEDIR to
GAL_GLADEDIR for consistency.
* gal/e-table/e-cell-date.c: No localtime_r() in Microsoft's C
library, but its localtime() *is* thread-safe.
* gal/e-table/e-cell-text.c
* gal/e-table/e-cell-tree.c
* gal/e-table/e-cell-vbox.c
* gal/e-text/e-text.c
* gal/widgets/e-unicode.c: Remove unnecessary inclusion of gdkx.h.
* gal/e-table/e-cell-tree.c (ect_realize): Instead of the Xlib
macro None (whose value is zero), use the corresponding
zero-valued enums from the appropriate GDK type.
* gal/e-table/e-table-config.c
* gal/e-table/e-table-field-chooser.c
* gal/menus/gal-define-views-dialog.c
* gal/menus/gal-view-instance-save-as-dialog.c
* gal/menus/gal-view-new-dialog.c
* gal/widgets/e-categories-master-list-array.c
* gal/widgets/e-categories-master-list-dialog.c
* gal/widgets/e-categories.c: Use g_build_filename() to construct
pathnames at run-time instead of compile-time. On Windows the
macros GAL_GLADEDIR and GAL_IMAGESDIR expand to function calls, in
order to support installing in a freely chosen location.
* gal/e-table/e-table-item.c
* gal/e-table/e-cell-vbox.c: Instrad of the Xlib GrabSuccess, use
GDK_GRAB_SUCCESS (which has the same value).
* gal/e-table/e-table-specification.c (e_table_specification_load_from_file)
* gal/e-table/e-table.c (e_table_load_specification)
* gal/e-table/e-tree-table-adapter.c (open_file)
* gal/menus/gal-view-instance.c (load_current_view)
* gal/menus/gal-view-instance.c (load_current_view): On Win32,
convert filename to the locale character set before passing to
xmlParseFile() which doesn't use UTF-8 filenames. Use gstdio
wrappers.
* gal/util/Makefile.am: Define GAL_PREFIX as $prefix. Define
GAL_LOCALEDIR, GAL_GLADEDIR and GAL_IMAGESDIR also here for
e-win32-reloc.c. Include e-win32-reloc.c on Win32.
* gal/util/e-iconv.c (e_iconv_init): Use g_win32_getlocale() on
Windows.
* gal/util/e-util.c
* gal/util/e-xml-utils.c: Use g_mkstemp() instead of non-portable
mkstemp(). Use GLib pathname manipulation functions. Use gstdio
wrappers.
* gal/util/e-util-private.h: New file. Contains just Win32 bits
for now that redefine the directory names from the Makefile as
functions calls.
* gal/util/e-win32-reloc.c: New file. Contains a minimal DllMain()
and functions to support freely chosen installation location on
Windows.
* gal/util/e-xml-utils.c: No fsync() in the Microsoft C library.
* gal/windgets/Makefile.am: Add -I$(top_srcdir)/gal for
consistency with the sibling Makefile.am files.
* gal/widgets/e-canvas.c: Instead of the Xlib AlreadyGrabbed, use
GDK_GRAB_ALREADY_GRABBED.
svn path=/trunk/; revision=29249
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-27 Harry Lu <harry.lu@sun.com>
Some code clean work.
* e-table-click-to-add.c: (etcta_class_init): move a11y registry
call to a11y code.
* e-table.c: (e_table_class_init): ditto.
* e-tree.c: (e_tree_class_init): ditto.
svn path=/trunk/; revision=28701
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-10 Radek Doulik <rodo@ximian.com>
* e-cell-text.c (layout_with_preedit): removed unused variable
* e-tree.c (e_tree_get_item): added cast
added #include <atk/atkregistry.h>
* e-table-one.c (one_finalize): removed unused variable
* e-table-item.c: added #include
"gal/a11y/e-table/gal-a11y-e-table-item.h" for
gal_a11y_e_table_item_factory_get_type prototype
* e-table-header-utils.c (e_table_header_draw_button): removed
unused variable
* e-table-config.c (get_source_model_col_index): removed unused
variable
* e-table-click-to-add.c (finish_editing): added cast
(etcta_event): ditto
* e-cell-toggle.c: added #include
"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
gal_a11y_e_cell_registry_add_cell_type prototype
* e-cell-text.c (layout_with_preedit): removed unused variable
(build_layout): ditto
(ect_event): ditto
(e_cell_text_commit_cb): ditto
* e-cell-popup.c: added #include
"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
gal_a11y_e_cell_registry_add_cell_type prototype
svn path=/trunk/; revision=26284
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-04 Jeffrey Stedfast <fejj@ximian.com>
* e-tree.c (e_tree_find_next): Don't necessarily set row to 0 if
the root node has the cursor (otherwise message_list_select()
first unread will actually select the second unread if the first
unread is the first in the list). Fixes a bug that's been pissing
me off for years.
svn path=/trunk/; revision=25789
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-11 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/Makefile.am: add new files.
* gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_construct):
set the right role.
* gal/a11y/e-table/gal-a11y-e-table-item-factory.c: new file.
(gal_a11y_e_table_item_factory_get_accessible_type),
(gal_a11y_e_table_item_factory_create_accessible),
(gal_a11y_e_table_item_factory_class_init),
(gal_a11y_e_table_item_factory_init),
(gal_a11y_e_table_item_factory_get_type): factory for the table item
a11y object. in create_accessible, we judge the type of widget
then set correct role.
* gal/a11y/e-table/gal-a11y-e-table-item-factory.h: ditto.
* gal/a11y/e-table/gal-a11y-e-tree-factory.c: new file.
(gal_a11y_e_tree_factory_get_accessible_type),
(gal_a11y_e_tree_factory_create_accessible),
(gal_a11y_e_tree_factory_class_init),
(gal_a11y_e_tree_factory_init), (gal_a11y_e_tree_factory_get_type):
factory for a11y object of etree. Mostly copyed from
gal-a11y-e-table-factory.c.
* gal/a11y/e-table/gal-a11y-e-tree-factory.h: ditto
* gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item),
(et_ref_accessible_at_point), (et_get_n_children), (et_ref_child),
(et_class_init), (et_atk_component_iface_init), (et_init),
(gal_a11y_e_tree_get_type), (gal_a11y_e_tree_new):a11y object for
etree object, mostly copied from gal-a11y-e-table.c. init_child_item
set correct role for the table item.
* gal/a11y/e-table/gal-a11y-e-tree.h: ditto.
* gal/e-table/e-table-item.c: (eti_class_init): register factory
for table item a11y object.
* gal/e-table/e-tree.c: (e_tree_get_item), (e_tree_class_init):
add new access fuction to get the table item of etree.
* gal/e-table/e-tree.h: ditto
svn path=/trunk/; revision=22867
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-15 Mike Kestner <mkestner@ximian.com>
* e-cell-tree.c (draw_retro_expander): extracted from ect_draw
(draw_expander): new gtktreeview-like expander drawing
(ect_draw): draw lines and expanders based on retro_look style prop
(adjust_event_position): extracted method from ect_event
(event_in_expander): new checks for motion/clicks in expander
(ect_event): handle prelight for new expanders
* e-table-item.c (eti_init): init new motion col/row
(eti_event): synthesize leave_notify events for cells and propogate
existing motion events to the cells.
* e-tree.c (e_tree_class_init): add retro_look and expander_size
style props.
svn path=/trunk/; revision=22251
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-tree.c (e_tree_init): Initialize some missing fields. Fixes
"no handler with id" warnings at evo shutdown
(ETreePriv): remove unused table_rows_{inserted,deleted}_id
(et_disconnect_from_etta): remove refs to them
* e-table.c (e_table_drag_source_unset): free site->target_list if
it's set.
svn path=/trunk/; revision=21705
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-13 Mike Kestner <mkestner@ximian.com>
* e-tree.c (et_search_search): don't do the CURSOR_FIRST
checks if cursor is NULL [43523]
2003-06-13 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_get_cell_background_color): update to
an alt row color more consistent with gtktreeview. [44610]
svn path=/trunk/; revision=21440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-12 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (generate_layout): guard against NULL strings
* e-table-config.c (create_global_store): don't add disabled
column titles to the store. [44258]
* e-tree-table-adapter.c (e_t_t_a_node_set_expanded): don't
warn if we're trying to collapse a node that's not visible.
* e-tree.c (et_connect_to_etta): don't connect to row_inserted
and row_deleted. [43893]
svn path=/trunk/; revision=21424
|
|
|
|
|
|
|
|
|
|
| |
2003-05-20 Ettore Perazzoli <ettore@ximian.com>
* e-tree.c (tree_canvas_size_allocate): to really fix 42952
use e_table_item_get_cell_geometry. Also a couple valgrind
and g_warning fixes related to this change from Mike.
svn path=/trunk/; revision=21303
|
|
|
|
|
|
|
| |
tree_canvas_reflow_idle() before deciding whether to move the
adjustment, not afterwards. [#42952]
svn path=/trunk/; revision=21197
|
|
|
|
|
|
|
|
|
|
| |
2003-05-14 Mike Kestner <mkestner@ximian.com>
* e-tree-c (context_connect): use weak refs not datasets.
(e_tree_dispose): weak_unref the context.
Hopefully fixes 42617.
svn path=/trunk/; revision=21195
|
|
|
|
|
|
|
|
|
| |
2003-05-09 Mike Kestner <mkestner@ximian.com>
* e-tree.c (find_next_in_range): add null check for paths
(find_prev_in_range): add null check for paths
svn path=/trunk/; revision=21143
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-09 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_cursor_change): don't return on col == -1.
* e-tree.c (tree_canvas_size_allocate): update the adjustment
to center the cursor.
(hover_timeout): remove unused variable to fix warning
svn path=/trunk/; revision=21142
|
|
|
|
|
|
| |
for the GTK_TYPE_SELECTION_DATA arg.
svn path=/trunk/; revision=20650
|
|
|
|
|
|
|
|
|
|
| |
2003-02-26 Rodney Dawes <dobey@ximian.com>
* e-tree.c (et_canvas_style_set): Add style_set to update list properly
(et_canvas_realize): Remove this as it's no longer needed with support
for the style_set implementation
svn path=/trunk/; revision=20108
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-28 Mike Kestner <mkestner@ximian.com>
* e-tree.c (et_drag_motion): remove alloc-based transform
(et_drag_data_received): ditto
(et_drag_drop): ditto
(et_hover_timeout): ditto
(do_drag_motion): ditto
svn path=/trunk/; revision=20099
|
|
|
|
|
|
|
|
|
|
| |
2003-02-12 Mike Kestner <mkestner@ximian.com>
* e-tree.c (e_tree_find_next): handle reverse searches
(find_prev_in_range): reverse search impl
(et_real_construct): kill warnings
svn path=/trunk/; revision=19897
|
|
|
|
|
|
|
|
|
|
| |
2003-02-10 Mike Kestner <mkestner@ximian.com>
* e-tree.c (e_tree_find_next): rewrite to use etta
(find_next_in_range): helper func to search a range of rows
(find_next_callback): kill
svn path=/trunk/; revision=19875
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-03 Mike Kestner <mkestner@ximian.com>
* configure.in : make GAL_LIBS use -lgal-2.0
* gal/Makefile.am : remove extraneous GTK_LIBS reference
* tests/test-tree-3.c : update to new etta API
gal/e-table/ChangeLog
2003-02-03 Mike Kestner <mkestner@ximian.com>
* e-tree-selection-model.c : remove e-tree-sorted usage
* e-tree-table-adapter.* : rewrite to perform sorting
* e-tree.c : remove e-tree-sorted usage
svn path=/trunk/; revision=19755
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-16 Chris Toshok <toshok@ximian.com>
* e-cell-checkbox.[ch]: GObject port work.
* e-cell-combo.[ch]: same.
* e-cell-date.[ch]: same.
* e-cell-float.[ch]: same.
* e-cell-number.[ch]: same.
* e-cell-pixbuf.[ch]: same.
* e-cell-popup.[ch]: same.
* e-cell-progress.[ch]: same.
* e-cell-size.[ch]: same.
* e-cell-spin-button.[ch]: same.
* e-cell-text.[ch]: same.
* e-cell-toggle.[ch]: same.
* e-cell-tree.[ch]: same.
* e-cell-vbox.[ch]: same.
* e-cell.[ch]: same.
* e-table-col.c: same.
* e-table-column.c: same.
* e-table-config-field.[ch]: same.
* e-table-config.c: same.
* e-table-config.glade: same.
* e-table-field-chooser-dialog.[ch]: same.
* e-table-field-chooser-item.[ch]: same.
* e-table-field-chooser.[ch]: same.
* e-table-group-container.[ch]: same.
* e-table-group-leaf.[ch]: same.
* e-table-group.[ch]: same.
* e-table-header-item.[ch]: same.
* e-table-header-utils.[ch]: same.
* e-table-header.c: same.
* e-table-item.[ch]: same.
* e-table-scrolled.[ch]: same.
* e-table-utils.c: same.
* e-table.[ch]: same.
* e-tree-memory-callbacks.h: same.
* e-tree-scrolled.[ch]: same.
* e-tree-sorted-variable.c: same.
* e-tree.[ch]: same.
* test-check.c: same.
* test-cols.c: same.
* test-table.c: same.
svn path=/trunk/; revision=18801
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-14 Chris Toshok <toshok@ximian.com>
* e-table-item.c: deal with ESelectionModel no longer deriving
from GtkObject.
* e-table.c: same.
* e-tree.c: same.
* e-table-config.c (do_fields_config_dialog): use GtkDialog's
reponse instead of GnomeDialog's button.
* e-table-click-to-add.[ch]: GObjectify this.
* e-table-selection-model.[ch]: this derives from GObject now.
* e-tree-selection-model.[ch]: same.
svn path=/trunk/; revision=18773
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c : remove ref/unref G_OBJECT masks
* e-table-extras.c : ditto
* e-table-header-item.c : ditto
* e-table-item.c : ditto
* e-table-memory-store.c : ditto
* e-table-one.c : ditto
* e-tree-sorted.c : ditto
* e-tree-table-adapter.c : ditto
* e-tree.c : ditto
svn path=/trunk/; revision=18572
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Mike Kestner <mkestner@ximian.com>
* e-table-item.c : use GObject api for models
* e-table-memory-callbacks.[ch] : GObjectify
* e-table-memory-store.[ch] : GObjectify
* e-table-memory.[ch] : GObjectify
* e-table-model.[ch] : GObjectify
* e-table-one.[ch] : GObjectify
* e-table-simple.[ch] : GObjectify
* e-tree-memory.[ch] : GObjectify
* e-tree-model.[ch] : GObjectify
* e-tree-selection-model.c : use GObject api for models
* e-tree-simple.[ch] : GObjectify
* e-tree-sorted.[ch] : GObjectify
* e-tree-table-adapter.[ch] : GObjectify
* e-tree.c : use GObject api for models
svn path=/trunk/; revision=18553
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-04 Mike Kestner <mkestner@ximian.com>
* e-table-group.c : use GObject api for ETableHeader
* e-table-header-item.c : use GObject api on ETableHeader
* e-table-header.[ch] : GObjectify
* e-table-item.c : use GObject api on ETableHeader
* e-table-search.[ch] : GObjectify
* e-table-sorted.c : use GObject api for ETableHeader
* e-table-sorter.c : use GObject api for ETableHeader
* e-table-specification.[ch] : GObjectify
* e-table-utils.c : use GObject api for ETableHeader
* e-tree-sorted.c : use GObject api for ETableHeader
* e-tree.c : use GObject api on Header, Spec, and Search
svn path=/trunk/; revision=18531
|
|
|
|
|
|
|
|
|
|
| |
2002-11-01 Mike Kestner <mkestner@ximian.com>
* e-table-extras : gobjectify
* e-tree.c (et_real_construct): ETableExtras is now a GObject
(e_tree_class_init): remove duplicated signals
svn path=/trunk/; revision=18490
|
|
|
|
|
|
| |
merging the gal-2 branch back to the trunk.
svn path=/trunk/; revision=18471
|
|
|
|
|
|
|
|
| |
2002-10-24 Mike Kestner <mkestner@ximian.com>
* e-tree.c (e_tree_set_state_object): call e_tree_state_change
svn path=/trunk/; revision=18428
|
|
|
|
|
|
|
|
|
| |
2002-09-24 Mike Kestner <mkestner@ximian.com>
* e-tree.c (e_tree_set_search_column): New api to set the search
column on a tree without having to set a sort column.
svn path=/trunk/; revision=18193
|
|
|
|
|
|
| |
that no non-Shift modifier is pressed.
svn path=/trunk/; revision=17556
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* e-table-header.c, e-table-header.h
(e_table_header_prioritized_column_selected): Added this function.
* e-table-utils.c, e-table-utils.h
(e_table_util_calculate_current_search_col): Added this function.
* e-table.c, e-table.h, e-tree.c: Added a "always_search"
argument. If this is off, then searches only occur if there's
sort. If it's on, sort takes precendence in doing searches,
followed by the highest priority column shown.
svn path=/trunk/; revision=17109
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-03 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c (ect_style_set): Get the font from the style again
when the style changes.
(init): Checks for the environment variable GAL_ELLIPSIS and uses
that instead of ... if it is set.
* e-table-click-to-add.c (finish_editing): e_table_item_leave_edit
before committing.
(etcta_event): Added a missing break; here.
* e-table-item.c (eti_style_set): On style set, free the height
cache, request a reflow and a redraw, and call
eti_idle_maybe_show_cursor.
(e_table_item_compute_location): Don't call eti_get_height here,
just use the cached value.
* e-tree.c, e-tree.h (e_tree_get_table_adapter): Added this simple
accessor function.
svn path=/trunk/; revision=17088
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-02 Christopher James Lahey <clahey@ximian.com>
* e-table-click-to-add.c: Added horizontal dividers to this item
when in table mode.
* e-table.c, e-tree.c: Made the background be an
e-canvas-background instead of a
* e-tree.c, e-tree.h: Added a white_space_event for feature parity
with ETable.
svn path=/trunk/; revision=16667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-29 Christopher James Lahey <clahey@ximian.com>
* configure.in: Changed LDFLAGS to LIBS for tests here. Bumped
the version number to 0.19.99.15.
From gal/e-table/ChangeLog:
2002-04-29 Christopher James Lahey <clahey@ximian.com>
* e-tree.c, e-tree.h (e_tree_path_foreach): Added this function
which recurses over all nodes, regardless of selection.
svn path=/trunk/; revision=16635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-25 Christopher James Lahey <clahey@ximian.com>
* e-cell-checkbox.c, e-cell-combo.c, e-cell-date.c,
e-cell-float.c, e-cell-number.c, e-cell-pixbuf.c, e-cell-popup.c,
e-cell-size.c, e-cell-spin-button.c, e-cell-text.c,
e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h,
e-table-click-to-add.c, e-table-col.c,
e-table-column-specification.c, e-table-config-field.c,
e-table-config.c, e-table-extras.c,
e-table-field-chooser-dialog.c, e-table-field-chooser-item.c,
e-table-field-chooser.c, e-table-group-container.c,
e-table-group-leaf.c, e-table-group.c, e-table-header-item.c,
e-table-header.c, e-table-item.c, e-table-memory-callbacks.c,
e-table-model.c, e-table-scrolled.c, e-table-selection-model.c,
e-table-sort-info.c, e-table-sorted-variable.c, e-table-sorted.c,
e-table-sorter.c, e-table-specification.c, e-table-state.c,
e-table-subset-variable.c, e-table-subset.c, e-table-without.c,
e-table.c, e-table.h, e-tree-scrolled.c, e-tree-selection-model.c,
e-tree-sorted-variable.c, e-tree-sorted.c, e-tree-table-adapter.c,
e-tree.c: Ansification patch from danw.
svn path=/trunk/; revision=16586
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
* e-table-search.c (e_table_search_destroy): Free the
priv->search_string and priv itself. More memory leak fixage.
* e-tree.c (e_tree_drag_source_unset): Unref site->taget_list so
we don't leak memory.
svn path=/trunk/; revision=16547
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-14 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c: Implemented capitalization keybindings.
* e-tree.c (item_key_press): Added parentheses to the default case
here.
svn path=/trunk/; revision=16168
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-14 Christopher James Lahey <clahey@ximian.com>
* e-table-search.c, e-table-search.h (e_table_search_backspace):
Made this return a boolean that returns whether the ETableSearch
used the backspace at all.
* e-table.c (group_key_press), e-tree.c (item_key_press): Used the
new return value from e_table_search_backspace.
svn path=/trunk/; revision=16166
|
|
|
|
|
|
|
|
|
|
| |
* e-tree.c (item_key_press): Don't search if any modifier but
SHIFT or LOCK is pressed.
* e-table.c (group_key_press): Don't search if any modifier but
SHIFT or LOCK is pressed.
svn path=/trunk/; revision=16161
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-13 Christopher James Lahey <clahey@ximian.com>
* e-table-search.c, e-table-search.h (e_table_search_backspace):
Added this function.
* e-table.c, e-tree.c: Call the new function on backspace.
svn path=/trunk/; revision=16145
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-13 Christopher James Lahey <clahey@ximian.com>
* gal/util/e-util.c, gal/util/e-util.h
(e_marshal_BOOL__STRING_INT): Replaced e_marshal_BOOL__STRING with
this since the function it was used for has been modified.
From gal/e-table/ChangeLog:
2002-03-13 Christopher James Lahey <clahey@ximian.com>
* e-table-extras.c (e_string_search): Check for a NULL haystack
here.
* e-table-search.c, e-table-search.h: Added a parameter to the
search signal here to pass in flags. Specifically, added the
E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST flag. Improved the search
behavior here.
* e-table.c, e-tree.c: Handle the new signature for the search
signal here.
svn path=/trunk/; revision=16139
|
|
|
|
|
|
|
|
| |
2002-03-13 Christopher James Lahey <clahey@ximian.com>
* e-tree.c: Added ETableSearch support.
svn path=/trunk/; revision=16138
|
|
|
|
|
|
|
|
|
| |
2002-02-08 Christopher James Lahey <clahey@ximian.com>
* e-table.c (et_unrealize), e-tree.c (et_unrealize): Call
scroll_off and in e-tree.c hover_off.
svn path=/trunk/; revision=15618
|
|
|
|
| |
svn path=/trunk/; revision=15588
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-31 Christopher James Lahey <clahey@ximian.com>
* e-tree-model.c (e_tree_model_node_find): Made this function much
more readable. Got rid of all the gotos. Fixed a case where
going backwards during a root search checked the root node first.
(e_tree_model_node_real_traverse): Made backwards traversals be
postorder, as they should be, instead of preorder.
* e-tree.c (find_next_callback): Use an extra callback function
here to go from sorted path to model path.
svn path=/trunk/; revision=15543
|
|
|
|
|
|
|
|
|
| |
2002-01-31 Christopher James Lahey <clahey@ximian.com>
* e-tree.c, e-tree.h (e_tree_find_next): Make this function take a
bitfield of parameters instead of two bools.
svn path=/trunk/; revision=15538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-31 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c, e-tree-selection-model.h
(e_tree_selection_model_get_cursor): Added this simple accessor
function.
* e-tree.c, e-tree.h (e_tree_find_next): Searches from the cursor
given the search parameters and moves the cursor if it ever
matches.
svn path=/trunk/; revision=15537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-09 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.19.99.0. Bumped
GAL_CURRENT. Reset GAL_REVISION.
From gal/e-table/ChangeLog:
2002-01-09 Christopher James Lahey <clahey@ximian.com>
* e-table.c, e-table.h (scroll_timeout), e-tree.c
(scroll_timeout): Made these handle horizontal scrolling during
drags.
svn path=/trunk/; revision=15272
|
|
|
|
|
|
|
|
|
|
| |
2002-01-09 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (collapse_drag): Collapse nodes that were opened during
a drag, unless the drop site is a child node. Fixes Ximian bug
#4965.
svn path=/trunk/; revision=15271
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-04 Christopher James Lahey <clahey@ximian.com>
* configure.in (GAL_CURRENT): Bumped version number to 0.18.99.0
and CURRENT to 19.
2001-11-21 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Handle
selection_row_changed signal.
* gal/widgets/e-selection-model-array.c,
gal/widgets/e-selection-model-array.h: Properly send
selection_row_changed signals if changing from a single row
selected to a single other row selected or if moving the
selection_end by a single row.
* gal/widgets/e-selection-model.c,
gal/widgets/e-selection-model.h: Added selection_row_changed
signal.
(e_selection_model_select_as_key_press): Fixed the case statement
here to make MULTIPLE and EXTENDED the same as BROWSE instead of
as SINGLE.
From gal/e-table/ChangeLog:
2001-11-21 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c, e-table-item.h: Handle selection_row_changed
signal. Keep track of the old cursor row so that we only redraw
two rows when the cursor changes.
* e-table.c, e-tree.c: Handle selection_row_changed signal.
* e-tree-selection-model.c: Properly send selection_row_changed
signals if changing from a single row selected to a single other
row selected or if moving the selection_end by a single row.
svn path=/trunk/; revision=14870
|
|
|
|
|
|
|
|
|
|
| |
2001-11-28 Christopher James Lahey <clahey@ximian.com>
* e-table.c (context_destroyed), e-tree.c (context_destroyed):
Check for et being destroyed here before doing anything. Fixes
Ximian bug #15728.
svn path=/trunk/; revision=14864
|
|
|
|
|
|
|
|
|
| |
2001-12-04 Christopher James Lahey <clahey@ximian.com>
* e-table-group.c, e-table.c, e-tree.c: Changed some comments.
Added a bunch of documentation here.
svn path=/trunk/; revision=14861
|
|
|
|
|
|
|
|
|
|
| |
2001-11-10 Christopher James Lahey <clahey@ximian.com>
* e-table.c (group_key_press), e-tree.c (item_key_press): Handle
the case where page up or page down goes off the end of the table
or tree.
svn path=/trunk/; revision=14702
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* e-table.c (et_canvas_root_event), e-tree.c
(et_canvas_root_event): Ignore buttons 4 and 5 here. Fixes Ximian
bug #13853.
svn path=/trunk/; revision=14376
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_cursor_activated): Chain the
cursor_activated signal even if the row is -1.
* e-tree.c (item_cursor_activated): Don't error out here if path
is NULL.
svn path=/trunk/; revision=14185
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* e-cell-checkbox.c, e-cell-checkbox.h, e-cell-combo.c,
e-cell-combo.h, e-cell-date.c, e-cell-date.h, e-cell-number.c,
e-cell-number.h, e-cell-pixbuf.c, e-cell-pixbuf.h, e-cell-popup.c,
e-cell-popup.h, e-cell-size.c, e-cell-size.h,
e-cell-spin-button.c, e-cell-spin-button.h, e-cell-string.c,
e-cell-text.c, e-cell-text.h, e-cell-toggle.c, e-cell-toggle.h,
e-cell-tree.c, e-cell-tree.h, e-cell.c, e-cell.h,
e-table-click-to-add.c, e-table-click-to-add.h, e-table-col-dnd.h,
e-table-col.c, e-table-col.h, e-table-column-specification.c,
e-table-column-specification.h, e-table-column.c,
e-table-config-field.c, e-table-config-field.h, e-table-config.c,
e-table-config.h, e-table-defines.h, e-table-example-1.c,
e-table-example-2.c, e-table-extras.c, e-table-extras.h,
e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h,
e-table-field-chooser-item.c, e-table-field-chooser-item.h,
e-table-field-chooser.c, e-table-field-chooser.h,
e-table-group-container.c, e-table-group-container.h,
e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c,
e-table-group.h, e-table-header-item.c, e-table-header-item.h,
e-table-header-utils.c, e-table-header-utils.h, e-table-header.c,
e-table-header.h, e-table-item.c, e-table-item.h,
e-table-memory-callbacks.c, e-table-memory-callbacks.h,
e-table-memory.c, e-table-memory.h, e-table-model.c,
e-table-model.h, e-table-one.c, e-table-one.h, e-table-scrolled.c,
e-table-scrolled.h, e-table-selection-model.c,
e-table-selection-model.h, e-table-simple.c, e-table-simple.h,
e-table-size-test.c, e-table-sort-info.c, e-table-sort-info.h,
e-table-sorted-variable.c, e-table-sorted-variable.h,
e-table-sorted.c, e-table-sorted.h, e-table-sorter.c,
e-table-sorter.h, e-table-sorting-utils.c,
e-table-sorting-utils.h, e-table-specification.c,
e-table-specification.h, e-table-state.c, e-table-state.h,
e-table-subset-variable.c, e-table-subset-variable.h,
e-table-subset.c, e-table-subset.h, e-table-tooltip.h,
e-table-tree.h, e-table-utils.c, e-table-utils.h,
e-table-without.c, e-table-without.h, e-table.c, e-table.h,
e-tree-memory-callbacks.c, e-tree-memory-callbacks.h,
e-tree-memory.c, e-tree-memory.h, e-tree-model.c, e-tree-model.h,
e-tree-scrolled.c, e-tree-scrolled.h, e-tree-selection-model.c,
e-tree-selection-model.h, e-tree-simple.c, e-tree-simple.h,
e-tree-sorted-variable.c, e-tree-sorted-variable.h,
e-tree-sorted.c, e-tree-sorted.h, e-tree-table-adapter.c,
e-tree-table-adapter.h, e-tree.c, e-tree.h, table-test.c,
table-test.h, test-check.c, test-cols.c, test-table.c: Changed the
license announcement at the top of these files.
* e-cell-string.c: Removed unused file.
svn path=/trunk/; revision=14154
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c (etsm_selected_count): If the root node
is hidden and selected, don't count it in the selected path count.
* e-tree.c (et_canvas_root_event): Attach to the event handler on
the root canvas item instead of the canvas itself when making the
ETree leave editing state.
svn path=/trunk/; revision=14128
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-25 Federico Mena Quintero <federico@ximian.com>
Fixes Ximian bug #6832.
* e-table.c (e_table_setup_table): Use a callback instead of
gtk_widget_queue_draw() for focus events, as the latter does not
have the correct prototype for an event handler.
(group_start_drag): Emit START_DRAG, not KEY_PRESS!
(focus_first_etable_item): Focus the first row in the first
ETableItem if there is no focused item.
* e-tree.c (e_tree_setup_table): Same change as in
e_table_setup_table().
(table_canvas_focus_event_cb): Focus the first row in the tree
item if there is no focused item.
svn path=/trunk/; revision=14124
|
|
|
|
|
|
|
|
|
|
| |
2001-10-06 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (context_destroyed), e-table.c (context_destroyed): Use
g_dataset_set_data_full to find out when the context is destroyed.
Fixes Ximian bug #8502 and Ximian bug #11691.
svn path=/trunk/; revision=13482
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Christopher James Lahey <clahey@ximian.com>
* e-cell-text, e-cell-pixbuf: Adapted height method to deal with a
row of -1.
* e-table-group-container.c, e-table-group-container.h,
e-table-group-leaf.c, e-table-group-leaf.h, e-table-item.c,
e-table-item.h, e-table.c, e-table.h, e-tree.c: Added
"uniform_row_height" argument.
svn path=/trunk/; revision=13440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Michael Meeks <michael@ximian.com>
* gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and
E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from
a single source base.
* All C files:
s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g;
s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/
E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/;
svn path=/trunk/; revision=13428
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Christopher James Lahey <clahey@ximian.com>
* e-table.c, e-tree.c: Set the step_increment on the horizontal
scrollbars here to 20.
svn path=/trunk/; revision=13146
|
|
|
|
|
|
| |
correct right-click behavior in single selection mode.
svn path=/trunk/; revision=13123
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-24 Federico Mena Quintero <federico@ximian.com>
* e-table.c (et_canvas_button_press): Use the correct prototype
for the signal handler.
* e-tree.c (et_canvas_button_press): Likewise.
svn path=/trunk/; revision=13105
|
|
|
|
|
|
|
|
|
|
| |
2001-09-10 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (e_tree_setup_table): Changed which widget to connect
signals to to watch for drag & drop. Fixes Ximian bugs #7450 &
#8732.
svn path=/trunk/; revision=12744
|
|
|
|
|
|
| |
* e-tree.c (e_tree_drag_unhighlight): Remove debugging message.
svn path=/trunk/; revision=12599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-01 Christopher James Lahey <clahey@ximian.com>
* e-cell-float.c (ecf_get_text, ecf_free_text): Rename these
functions from ecn_get_text and ecn_free_text.
* e-cell-tree.c (ect_height): Make sure the height is a multiple
of two here.
* e-table-header-item.c, e-table-header-item.h: Added a "tree"
argument so that the sorting can be set by right clicking on the
header item.
* e-table-item.c (eti_table_model_rows_deleted): Added some
assertions here.
* e-tree-selection-model.c (etsm_find_node_unless_equals): Fixed
indentation.
* e-tree-table-adapter.c (etta_proxy_node_changed): Rewrote this
to be more readable.
(e_tree_table_adapter_node_set_expanded): Added an assertion.
* e-tree.c, e-tree.h (e_tree_get_spec): Added this function.
(e_tree_setup_header): Set the tree argument on the
ETableHeaderItem here.
svn path=/trunk/; revision=12553
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-24 Christopher James Lahey <clahey@ximian.com>
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group-leaf.h, e-table-group.c, e-table-group.h: Added
start_drag signals.
* e-table-item.c, e-table-item.h (eti_event): Send the start_drag
signal. Fixes Ximian bug #807.
* e-table.c, e-table.h, e-tree.c, e-tree.h: Added start_drag
signal. Made default handler start drag & drop if we're set to
automatically handle dnd. Ripped out the code to handle watching
events for dnd since start_drag does this now.
svn path=/trunk/; revision=12437
|
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Christopher James Lahey <clahey@ximian.com>
* e-table.c (group_key_press), e-tree.c (item_key_press): Handle
GDK_KP_Page_Up, GDK_KP_Page_Down, GDK_KP_Right, and GDK_KP_Left
here.
svn path=/trunk/; revision=11996
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-10 Christopher James Lahey <clahey@ximian.com>
* e-table-config.c (setup_gui): If the sort_info can't group, hide
the grouping button and label.
* e-table-header-item.c (ethi_header_context_menu): Removed the
Group By This Field menu item if the sort_info doesn't support
grouping.
* e-table-sort-info.c, e-table-sort-info.h
(e_table_sort_info_get_can_group,
e_table_sort_info_set_can_group): Added these functions.
* e-tree.c (e_tree_set_state_object, et_real_construct): Set
can_group to FALSE for all our sort infos.
(e_tree_get_state_object): Fixed a potential gtk_object_ref (NULL)
here.
svn path=/trunk/; revision=11896
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Jeffrey Stedfast <fejj@ximian.com>
* e-tree.c (et_drag_drop): Initialize ret_val.
(do_drag_motion): Same.
svn path=/trunk/; revision=11861
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Christopher James Lahey <clahey@ximian.com>
* e-tree.c: Make tree nodes open if you hover over them while drag
& dropping.
svn path=/trunk/; revision=11746
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (scroll_timeout): Added scrolling to access nodes that
are scrolled off screen for drops. Fixes Ximian bug #5645.
* e-table.c, e-table.h (scroll_timeout): Added scrolling to access
rows that are scrolled off screen for drops. This doesn't work
for some reason, but I'm checking the code in.
svn path=/trunk/; revision=11724
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-06 Christopher James Lahey <clahey@ximian.com>
* e-table.c, e-table.h (e_table_drag_highlight,
e_table_drag_unhighlight): Implemented these functions.
* e-tree.c (e_tree_drag_highlight, e_tree_drag_unhighlight):
Implemented these functions.
svn path=/trunk/; revision=11713
|
|
|
|
|
|
|
|
|
| |
2001-08-03 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (et_drag_motion, et_drag_drop, et_drag_data_received):
Change these to actually subtract the allocation as they should.
svn path=/trunk/; revision=11649
|
|
|
|
|
|
|
|
|
| |
2001-08-03 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (et_drag_motion, et_drag_drop, et_drag_data_received):
Subtracted 27.
svn path=/trunk/; revision=11624
|
|
|
|
|
|
|
|
|
| |
2001-08-02 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (et_destroy): Set et->priv to NULL here just to be
sure.
svn path=/trunk/; revision=11588
|
|
|
|
|
|
|
|
|
| |
2001-07-12 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (e_tree_get_cell_at): Made these functions return -1 if
the x and y aren't over any cell at all.
svn path=/trunk/; revision=11077
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-12 Christopher James Lahey <clahey@ximian.com>
* e-tree-table-adapter.c (e_tree_table_adapter_node_set_expanded):
Ignore set_expanded if the node is the root and root_visible is
FALSE.
* e-tree.c (item_key_press): Don't call set_expanded on NULL
paths.
svn path=/trunk/; revision=11061
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-11 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h
(e_selection_model_select_as_key_press): Created this function for
key presses that move in some way other than just to the next or
previous row.
(e_selection_model_key_press): Use
e_selection_model_select_as_key_press for handling home and end
here.
svn path=/trunk/; revision=10993
|
|
|
|
|
|
|
|
|
| |
2001-07-11 Christopher James Lahey <clahey@ximian.com>
* e-table.c (group_key_press), e-tree.c (item_key_press): Made the
amount to scroll by smaller here.
svn path=/trunk/; revision=10992
|
|
|
|
|
|
|
|
|
|
| |
2001-07-11 Christopher James Lahey <clahey@ximian.com>
* e-table.c (group_key_press), e-tree.c (item_key_press): Use
e_selection_model_do_something directly for page up and page down
instead of emulating a key press.
svn path=/trunk/; revision=10990
|
|
|
|
|
|
|
|
|
| |
2001-07-05 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (e_tree_get_cell_geometry): Added checks that row and
col are >= 0.
svn path=/trunk/; revision=10809
|
|
|
|
|
|
|
|
|
|
| |
2001-07-05 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (e_tree_new, e_tree_new_from_spec_file): Handle an
error in construction a little bit better here.
(e_tree_get_cursor): Check for row == -1 here.
svn path=/trunk/; revision=10787
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-28 Chris Toshok <toshok@ximian.com>
* e-table.c (et_drag_motion): send signals even if the row/col is
-1.
(et_drag_drop): same.
* e-tree.c (et_drag_motion): same.
(et_drag_drop): same.
svn path=/trunk/; revision=10584
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-27 Peter Williams <peterw@ximian.com>
* configure.in: Bump version number due to incompatible changes
in ETree.
gal/e-table:
2001-06-27 Peter Williams <peterw@ximian.com>
* e-tree-selection-model.c (e_tree_selection_model_add_to_selection): New function,
heavily based on select_single_row.
* e-tree-selection-model.h: Added prototype;
* e-tree.c (e_tree_get_model): New accessor function.
(e_tree_get_selection_model): Same.
(e_tree_selected_count, e_tree_select_all, e_tree_invert_select): Removed. With
the accessors these become pointless.
* e-tree.h: Prototype the functions above. Remove a few functions that
don't make sense anymore.
svn path=/trunk/; revision=10543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-28 Jason Leach <jasonleach@usa.net>
(Make the alternating row colors a option in ETableSpecification
instead of a compiled in #define)
* e-table-specification.c (e_table_specification_load_from_node):
Read in the "alternating-row-colors=bool" option for
ETableSpecifications. Default value is true so unless it is
specified to be false, row colors will alternate.
(e_table_specification_save_to_node): Save the alternating row
color options here.
* e-table.c (et_build_groups): Pass down the alternating row
colors through to the ETableGroup.
* e-table-group-container.[ch]: Handle the new alternating row
colors
option here, passing it to ETableItem.
* e-table-group-leaf.[ch]: Here too.
* e-table-item.c (eti_get_cell_background_color): Got rid of the
#define ALTERNATE_COLORS, replaced with truth check for
ETableItem::alternating_row_colors.
* e-tree.c: Make ETree recognize alternating row color options as
well.
svn path=/trunk/; revision=9622
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-23 Christopher James Lahey <clahey@ximian.com>
* e-table.c (e_table_get_cell_geometry): Documented this function
properly.
* e-tree.c, e-tree.h (e_tree_get_cell_geometry): Added this
function.
svn path=/trunk/; revision=9533
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-19 Christopher James Lahey <clahey@ximian.com>
* e-table-header.c (eth_calc_widths): Submit a signal even if
there are no extras.
* e-table-item.c (eti_request_column_width): Don't compute widths
if our cells aren't realized yet.
* e-tree.c: Call e_table_header_update_horizontal whenever our
data changes.
svn path=/trunk/; revision=9465
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-table.c (et_destroy): Free some things that weren't getting
freed.
* e-tree.c (et_destroy): Free some things that weren't getting
freed.
(e_tree_set_state_object): Don't ref the return value of
e_table_state_to_header.
svn path=/trunk/; revision=9448
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-15 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c (ect_show_tooltip): Set the background color to
the specified tooltip->background. Set the foreground color to
the specified tooltip->foreground.
* e-table-item.c (eti_get_cell_background_color,
eti_get_cell_foreground_color): Added these functions.
(eti_draw, _do_tooltip): Use these new functions.
* e-table-tooltip.h: Added foreground and background colors to
this structure.
* e-tree.c, e-tree.h (e_tree_get_tooltip): Added this function.
svn path=/trunk/; revision=9338
|
|
|
|
|
|
|
|
|
| |
2001-04-11 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (item_key_press): Return TRUE for left and right
arrows.
svn path=/trunk/; revision=9234
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c, e-tree-selection-model.h
(e_tree_selection_model_change_cursor): Added this function.
* e-tree.c (e_tree_set_cursor): Screwed up moving the cursor a
small bit when I changed this to be faster before. Fixed it.
svn path=/trunk/; revision=9171
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c, e-tree-selection-model.h: Added
e_tree_selection_model_select_single_path and made selection_start
be the path as it should be instead of the row.
* e-tree-sorted.c: Added a last_access variable to speed up
access.
* e-tree-table-adapter.c: Made checking last_access look at the 10
values before and after the listed value to look for the value
requested.
* e-tree.c: Call e_tree_selection_model_select_single_path if
E_TREE_USE_TREE_SELECTION.
svn path=/trunk/; revision=9169
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
* e-cell-date.c: Fix headers.
* e-cell-number.c: Ditto.
* e-cell-pixbuf.[ch]: Ditto.
* e-cell-size.c: Ditto.
* e-cell-text.c: Ditto.
* e-cell-tree.c: Ditto.
* e-table-click-to-add.[ch]: Ditto.
* e-table-column-specification.h: Ditto.
* e-table-config-field.c: Ditto.
* e-table-config.[ch]: Ditto.
* e-table-example-2.c: Ditto.
* e-table-field-chooser-dialog.[ch]: Ditto.
* e-table-field-chooser-item.c: Ditto.
* e-table-field-chooser.h: Ditto.
* e-table-group-container.c: Ditto.
* e-table-item.c: Ditto
* e-table-memory.c: Ditto.
* e-table-selection-model.c: Ditto.
* e-table-sorter.c: Ditto.
* e-table-subset-variable.c: Ditto.
* e-table.c: Ditto.
* e-tree-memory.c: Ditto.
* e-tree-model.c: Ditto.
* e-tree-selection-model.[ch]: Ditto.
* e-tree-sorted-variable.c: Ditto.
* e-tree-sorted.c: Ditto.
* e-tree-table-adapter.c: Ditto.
* e-tree.[ch]: Same here.
svn path=/trunk/; revision=9164
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-03 Richard Hult <rhult@codefactory.se>
* e-tree.c (et_get_arg): Add argument to get the table adapter.
(et_set_arg): Add arguments for setting drawing of the grid and
focus.
* e-tree-model.c, e-tree-model.h (e_tree_model_node_traverse):
Fill in missing implementation.
(e_tree_model_node_traverse_preorder): Likewise, but preorder
traversal.
svn path=/trunk/; revision=9156
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-01 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c: Fixed some bugs with the privitization
of ETreeSelectionModel.
* e-tree.c: One more required change to make it work with
E_TREE_USE_TREE_SELECTION on.
svn path=/trunk/; revision=9084
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-01 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (libetable_la_SOURCES): Added
e-tree-selection-model.c.
(libetableinclude_HEADERS): Added e-tree-selection-model.h.
* e-tree.c, e-tree.h: Added code to use ETreeSelectionModel if the
string E_TREE_USE_TREE_SELECTION is defined.
svn path=/trunk/; revision=9082
|
|
|
|
|
|
|
|
| |
2001-03-31 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (e_tree_init): Initialize all necessary fields here.
svn path=/trunk/; revision=9081
|
|
|
|
|
|
|
|
|
| |
2001-03-31 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (et_real_construct): Roll back another part of the
change.
svn path=/trunk/; revision=9080
|
|
|
|
|
|
|
|
|
| |
2001-03-31 Christopher James Lahey <clahey@ximian.com>
* e-tree.c, e-tree.h: Accidently committed this with using the
tree selection model turned on. Rolled back this change.
svn path=/trunk/; revision=9076
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-31 Christopher James Lahey <clahey@ximian.com>
* e-tree-scrolled.c: Include <gal/util/e-util.h> here.
* e-tree-selection-model.c, e-tree-selection-model.h: Privatized
this class. Cleaned this up a bit. Added handlers for signals
from the model.
* e-tree.c, e-tree.h: Privatized this class.
svn path=/trunk/; revision=9075
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-30 Christopher James Lahey <clahey@ximian.com>
* e-table-group.c, e-table-header-item.c, e-table-item.c,
e-table.c, e-tree.c: Made these use GTK_TYPE_GDK_EVENT whenever
sending an event through the signal system instead of
GTK_TYPE_POINTER.
* e-table.c, e-tree.c (set_header_canvas_width): Check that none
of the variables we're going to need are NULL before executing
this function.
svn path=/trunk/; revision=9042
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-30 Christopher James Lahey <clahey@ximian.com>
* e-table-group-container.c, e-table-group-container.h,
e-table-group-leaf.c, e-table-group-leaf.h, e-table-item.c,
e-table-item.h, e-table.c, e-tree.c: Changed the signal
"table_selection_model" to just be "selection_model" everywhere
and made it be ESelectionModels instead of ETableSelectionModels
for generality.
* e-table-item.c (eti_event): Make right arrow and left arrow
accessible as events that can be caught.
* e-tree-sorted.c, e-tree-sorted.h (e_tree_sorted_orig_position):
Added this function.
svn path=/trunk/; revision=9041
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Christopher James Lahey <clahey@ximian.com>
* e-table.c, e-tree.c, e-tree.h: Updated to set the width of the
header canvas to be equal to the width of the table canvas to
avoid infinite loops. Added left arrow and right arrow as tree
collapse and expand bindings.
svn path=/trunk/; revision=9035
|
|
|
|
|
|
|
| |
* e-tree.c (e_tree_class_init): Fix gtk_signal_new arguments, INT
and POINTER were switched causing my alpha to go nuts.
svn path=/trunk/; revision=8935
|
|
|
|
|
|
|
|
|
| |
* e-table.c (et_real_construct): ref the sort_info taken from the
state object.
* e-tree.c (et_real_construct): Ditto. Fixes the last ETree
crash-on-exit bug for me.
svn path=/trunk/; revision=8929
|
|
|
|
|
|
|
|
|
| |
2001-03-25 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (item_key_press): Added '=' and '-' as tree node expand
and collapse
svn path=/trunk/; revision=8923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-20 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 05.99.9.
From gal/e-table/ChangeLog:
2001-03-20 Christopher James Lahey <clahey@ximian.com>
* e-table-click-to-add.c: Turn on the vertical grid.
* e-table-group-container.c, e-table-group-container.h,
e-table-group-leaf.c, e-table-group-leaf.h, e-table-item.c,
e-table-item.h: Replaced the "drawgrid" argument with
"horizontal_draw_grid" and "vertical_draw_grid" arguments.
* e-table-specification.c, e-table-specifcation: Replaced the
draw_grid setting with the horizontal_draw_grid and
vertical_draw_grid settings. If the draw-grid property is set in
a ETableSpecification it is still obeyed and overrides the
vertical-draw-grid and horizontal-draw-grid properties.
* e-table.c, e-table.h, e-tree.c, e-tree.h: Deal with the
horizontal_draw_grid and vertical_draw_grid changes.
* e-tree-model.h: Added a missing include.
svn path=/trunk/; revision=8846
|
|
2001-03-19 Christopher James Lahey <clahey@ximian.com>
* e-tree-sorted.c (ets_proxy_node_changed): Deal with
proxy_node_changed being called on a different root node than the
one we have in our tree.
* e-tree-table-adapter.c: Did some general clean up here.
* Merged branch:
2001-03-19 Christopher James Lahey <clahey@ximian.com>
* e-tree-sorted.c (find_child_path): Added this function to allow
us to find paths that have been removed from the source.
(ets_proxy_node_removed): Fixed the memmove here a bit. Call
find_child_path.
* e-tree-table-adapter.c (find_node): Check that the passed in
path isn't NULL.
2001-03-19 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_reflow): Get width from header object
instead of calculating it ourselves.
* e-table-selection-model.c: Turn off selection saving since it's
so slow.
* e-table.c (e_table_set_state_object): Set the width of the newly
created header object.
* e-tree.c (e_tree_set_state_object): Set the width of the newly
created header object.
(tree_canvas_size_allocate): Don't bother setting the dimensions
of the white background twice.
2001-03-18 Christopher James Lahey <clahey@ximian.com>
* e-table-selection-model.c, e-table-selection-model.h: Made
ETableSelectionModel save the cursor properly across changed
signals if has_save_id is true.
2001-03-18 Christopher James Lahey <clahey@ximian.com>
* e-table-selection-model.c, e-table-selection-model.h: Made
ETableSelectionModel save selection properly across changed
signals if has_save_id is true.
* e-tree-memory.c: A couple of typos.
2001-03-18 Christopher James Lahey <clahey@ximian.com>
* e-tree-memory.c, e-tree-sorted.c: Send pre_changes properly.
2001-03-18 Christopher James Lahey <clahey@ximian.com>
* e-tree-table-adapter.c: Send pre_changes when performing
set_expanded or root_node_set_visible.
2001-03-18 Christopher James Lahey <clahey@ximian.com>
* e-tree-sorted.c (ets_is_expandable): When the API requests
whether the object is expandable and it isn't, make sure to send a
signal when it becomes expandable.
* e-tree-table-adapter.c: Made it so that in a number of cases
where it doesn't need to create an empty hash table node if the
current tree node has no children, it doesn't.
2001-03-18 Christopher James Lahey <clahey@ximian.com>
* e-tree-memory-callbacks.c, e-tree-memory-callbacks.h
(etmc_has_save_id, etmc_get_save_id): Added has_save_id and
get_save_id to the list of methods supported by
e_tree_memory_callbacks.
* e-tree-table-adapter.c, e-tree-table-adapter.h: Added saving of
expanded nodes.
2001-03-18 Christopher James Lahey <clahey@ximian.com>
* e-table-model.c, e-table-model.h (e_table_model_get_save_id):
Changed row_save_id to get_save_id to be consistent with ETree.
* e-tree-model.c, e-tree-model.h: Added "pre_change" signal.
Added has_save_id and get_save_id methods.
* e-tree-sorted.c: Proxy pre_change signal. Implemented
has_save_id and get_save_id. If the base model doesn't provide
has_save_id then we g_strdup_printf the pointer of the base model
ETreePath as the save_id.
* e-tree-table-adapter.c: Proxy pre_change signal. If base model
has_save_id, then use the results of get_save_id as the key for
the hash table of node attributes. Otherwise use the pointer as
before.
2001-03-17 Christopher James Lahey <clahey@ximian.com>
* e-tree-sorted.c (ets_sort_idle): Fixed it so that all nodes get
sorted properly instead of just the top node.
2001-03-17 Christopher James Lahey <clahey@ximian.com>
* e-table-sorting-utils.c (e_table_sorting_utils_tree_sort): Made
tree sorting faster by using a cache.
* e-tree-sorted.c: Added commented out debugging g_prints.
2001-03-17 Christopher James Lahey <clahey@ximian.com>
* e-tree-sorted.c: Switched to using GMemChunks.
2001-03-17 Christopher James Lahey <clahey@ximian.com>
* e-tree-sorted.c (resort_node): Made it so that children of a
node that's being sorted don't send changed signals.
2001-03-17 Christopher James Lahey <clahey@ximian.com>
* e-table-sorting-utils.c, e-table-sorting-utils.h: Switched to
using e_sort and e_search instead of qsort and a linear search.
Added the tree functions e_table_sorting_utils_tree_sort,
e_table_sorting_utils_tree_check_position, and
e_table_sorting_utils_tree_insert.
* e-tree-sorted.c: Made this actually do sorting.
* e-tree-table-adapter.c (etta_proxy_node_changed): The old_size
needs to be the number of visible children + 1 to include the top
node.
* e-tree.c (e_tree_set_state_object): Set the sort_info on the
ETreeSorted when you get a new sort_info.
2001-03-16 Christopher James Lahey <clahey@ximian.com>
* Makefile.am: Added e-tree-sorted.c and e-tree-sorted.h.
* e-table-item.c (eti_realize_cell_views): Only realize the cells
if they're not realized already and if the canvas is realized.
* e-table-sorted.c (ets_proxy_model_cell_changed): Matched the
change to the signature of e_table_sorting_utils_affects_sort.
* e-table-sorting-utils.c, e-table-sorting-utils.h
(e_table_sorting_utils_affects_sort): Changed the signature of
this function to not take the ETableModel source since it doesn't
use it and we need to use this function for ETreeSorted which
doesn't have an ETableModel.
* e-tree-memory.c (etmm_get_expanded_default): Actually implement
the get_expanded_default for this tree.
* e-tree-model.h: Cleaned up the indentation here.
* e-tree-sorted.c, e-tree-sorted.h: New class meant to be used for
sorting trees. It doesn't actually sort yet. It simply acts as
an ETreeProxy which is the hardest part of making ETreeSorted.
* e-tree.c, e-tree.h: Made this use an ETreeSorted.
2001-03-14 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c, e-table-item.h, e-table-selection-model.c,
e-table-selection-model.h, e-table-sorted.c, e-table-sorted.h,
e-table-subset.c, e-table-subset.h, e-table.c, e-table.h: Switch
to handling e_table_model_rows_inserted instead of
e_table_model_row_inserted and e_table_model_rows_deleted instead
of e_table_model_row_deleted.
* e-table-model.c, e-table-model.h: Replaced the signals
"model_row_inserted" and "model_row_deleted" with
"model_rows_inserted" and "model_rows_deleted" so that when
multiple rows are inserted or deleted at the same time they can be
handled properly.
* e-tree-table-adapter.c: Call "model_rows_inserted" and
"model_rows_deleted" instead of "model_changed" when inserting or
deleting multiple rows.
2001-03-14 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (e_table_item_row_diff): Made this not count the
pixel between rows if it isn't there.
2001-03-14 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_header_structure_changed): Properly attach &
realize cell views here.
2001-03-13 Christopher James Lahey <clahey@ximian.com>
* e-tree-table-adapter.c (etta_proxy_node_removed): Check that
parent_node and parent aren't NULL before making function calls on
them.
2001-03-13 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (confirm_height_cache): Fixed a height cache
miscalculation.
* e-tree-table-adapter.c (find_first_child_node): Made the
semantics of this mean that find_first_child_node(adapter, -1)
means return the first node in the tree.
2001-03-13 Christopher James Lahey <clahey@ximian.com>
* e-table-extras.c: Added a "string-integer" comparison function
to the default %ETableExtras so you can do comparisons based on
integer value even if you using strings for the data (this lets
you do editable numbers, for instance.)
* e-table-item.c: Rearranged it a bit so that if you have
draw_grid off it doesn't add space for the horizontal lines, nor
leave them the background color.
* e-table-model.c, e-table-model.h: Added the row_save_id and
has_save_id methods to %ETableModel.
* e-tree.c, e-tree.h: Replaced e_tree_compute_location with
e_tree_get_cell_at.
2001-03-08 Christopher James Lahey <clahey@ximian.com>
* Makefile.am: Added e-table/e-table-utils.c,
e-table/e-tree-memory-callbacks.c, e-table/e-tree-memory.c,
e-table/e-tree-scrolled.c, e-table/e-tree-table-adapter.c, and
e-table/e-tree.c. Removed e-table/e-tree-simple.c. Added
e-table/e-table-utils.h, e-table/e-tree-memory-callbacks.h,
e-table/e-tree-memory.h, e-table/e-tree-scrolled.h,
e-table/e-tree-table-adapter.h, and e-table/e-tree.h. Removed
e-table/e-tree-simple.h.
* e-cell-tree.c: Updated this for the new tree.
* e-table-item.c: Added some redraw requests where appropriate.
* e-table-item.h: Fixed an incorrect class method declaration.
* e-table-model.c, e-table-model.h: Removed
e_table_model_has_sort_group and e_table_model_row_sort_group.
* e-table-scrolled.h: Removed unused headers.
* e-table-simple.c, e-table-simple.h: Rearranged this a bit.
* e-table-sorter.c, e-table-sorting-utils.c,
e-table-sorting-utils.h: Removed sort group stuff. Added the
function e_table_sorting_utils_check_position.
* e-table-utils.c, e-table-utils.h: Utility functions for ETable
and ETree.
* e-table.c: Moved some of the functionality from here to
e-table-utils.c so that it can be reused by ETree.
* e-tree-memory-callbacks.c, e-tree-memory-callbacks.h: Class to
implement an ETreeMemory as callbacks instead of overriding the
class.
* e-tree-memory.c, e-tree-memory.h: ETreeModel that stores a tree
of physical nodes.
* e-tree-model.c, e-tree-model.h: Removed most of the
functionality from here to the classes ETreeMemory and
ETreeTableAdapter. This is now just a simple virtualized tree
class.
* e-tree-scrolled.c, e-tree-scrolled.h: New class. An ETree in an
EScrollFrame.
* e-tree-simple.c: Small change. This is no longer used.
* e-tree-table-adapter.c, e-tree-table-adapter.h: ETableModel that
represents an ETreeModel as a table.
* e-tree.c, e-tree.h: New super class kind of like ETable but for
trees.
End of branch
svn path=/trunk/; revision=8837
|