| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
2005-12-17 Tor Lillqvist <tml@novell.com>
* Makefile.am: Link with bootstrap libs on Win32. Use
E_WIDGETS_CFLAGS instead of GNOME_BONOBO_CFLAGS, GNOME_INCLUDEDIR,
ICONV_CFLAGS and GNOME_FULL_CFLAGS. Link with all required
libraries. Use -no-undefined on Win32.
svn path=/trunk/; revision=30828
|
|
|
|
|
|
|
| |
2005-12-10 Harish Krishnaswamy <kharish@novell.com>
Fixed substitutions that I missed in the last commit.
svn path=/trunk/; revision=30744
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-12-09 Harish Krishnaswamy <kharish@novell.com>
* e-util.[ch] (e_str_compare), (e_str_case_compare),
(e_collate_compare), (e_int_compare): prefix the wrapper
functions with e - do not use g lest it is assumed to
be a glib function.
* e-table-example-2.c (create_table), e-table-extras.c (ete_init):
* e-table-size-test.c (create_table), test-check.c (check_test):
* test-cols.c (multi_cols_test), test-table.c (table_browser_test):
s/g_*_compare/e_*_compare.
svn path=/trunk/; revision=30739
|
|
|
|
|
|
|
|
|
|
| |
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-10-14 Kaushal Kumar <kakumar@novell.com>
* table/e-table-group-container.c
(e_table_group_container_print_page): Use gnome_font_find_closest
instead of gnome_font_find since Helvetica is not always present.
Fixes bug #246803.
Patch by: Mubeen Jukaku.
svn path=/trunk/; revision=30506
|
|
|
|
|
|
|
| |
filed. Fixes #207110. Patch submitted by
"Devashish Sharma <sdevashish@novell.com>"
svn path=/trunk/; revision=30489
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-29 Tor Lillqvist <tml@novell.com>
* e-table.c (e_table_load_specification)
* e-table-specification.c (e_table_specification_load_from_file)
* e-tree-table-adapter.c (open_file): Use
g_win32_locale_filename_from_utf8() from GLib 2.8 instead of
gnome_win32_locale_filename_from_utf8() which was temporarily in
libgnome.
svn path=/trunk/; revision=30421
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-28 Tor Lillqvist <tml@novell.com>
* e-table-specification.c (e_table_specification_load_from_node):
Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing
to literal ASCII strings, just casefolding ASCII is enough. Also
better for portability.
svn path=/trunk/; revision=30407
|
|
|
|
|
|
|
|
|
|
|
| |
2005-08-24 Li Yuan <li.yuan@sun.com>
Fixes #314352.
* e-table-item.c: (eti_event):
if accessibility is enabled, we enable horizontal cusor
movement for line selection.
svn path=/trunk/; revision=30244
|
|
|
|
|
|
|
|
| |
2005-08-23 Not Zed <NotZed@Ximian.com>
* e-table-config.c (setup_fields): fix some missing casts.
svn path=/trunk/; revision=30220
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-08-03 Li Yuan <li.yuan@sun.com>
* menus/gal-view-new-dialog.glade:
Add a11y name to the left table of config dialog.
* misc/e-multi-config-dialog.c:
Add name to the left table of preference dialog.
* table/e-table-config.c: (e_table_proxy_etable_shown_new),
(e_table_proxy_etable_available_new):
Add a11y name to "Show Fields" table and "Available Fields" table.
svn path=/trunk/; revision=29980
|
|
|
|
|
|
|
|
|
| |
2005-07-25 Srinivasa Ragavan <sragavan@novell.com>
* e-table-config.glade: Added code to use stock icons instead of
-> and <-
svn path=/trunk/; revision=29867
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-21 Kaushal Kumar <kakumar@novell.com>
* table/ChangeLog: Added from gal/gal/e-table as Gal is
retired from Head and e-table files are moved here.
svn path=/trunk/; revision=29558
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-08 Not Zed <NotZed@Ximian.com>
* e-tree-selection-model.c (etsm_toggle_single_row)
(etsm_select_single_row): If only a few rows have changed, emit
each as a separate row_changed event rather than triggering a
complete redraw of the whole window.
svn path=/trunk/; revision=29551
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-06-01 Kaushal Kumar <kakumar@novell.com>
* e-table-item.c (eti_dispose): Don't hide the tooltip if we don't
have a canvas anymore.
Patch by: Not Zed
svn path=/trunk/; revision=29436
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-05-06 Sarfraaz Ahmed <asarfraaz@novell.com>
* gal/e-table/e-table.c (et_real_construct) : Check for NULL string
before passing to dgettext. Fixes a crash on Solaris. #260312. Patch
submitted by Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
svn path=/trunk/; revision=29280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-03-14 Theppitak Karoonboonyanan <theppitak@gmail.com>
* e-cell-text.c (e_cell_text_retrieve_surrounding_cb)
(e_cell_text_delete_surrounding_cb): selecion fixes for im's.
svn path=/trunk/; revision=29007
|
|
|
|
|
|
|
|
|
|
| |
2005-02-25 Li Yuan <li.yuan@sun.com>
Fix for #73009.
* e-table-config-no-group.glade:
* e-table-config.glade:
svn path=/trunk/; revision=28906
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-27 Li Yuan <li.yuan@sun.com>
* e-cell-combo.c: (e_cell_combo_init), (e_cell_combo_do_popup),
(e_cell_combo_list_button_press), (e_cell_combo_button_press),
(e_cell_combo_button_release), (e_cell_combo_key_press):
add an a11y name for the popup list.
make shortcut key ALT+Arrow work.
Fixes #70261
* e-cell-text.c: (e_cell_text_class_init), (_delete_selection),
(_insert):
add "text_inserted" and "text_deleted" signals to notify the
text has been changed.
(e_cell_text_get_text_by_view):
new helper function to get the text being editted.
* e-cell-text.h:
add signal declaration.
* e-cell-toggle.c: (etog_draw):
add range check for negative values.
* e-cell-vbox.c: (e_cell_vbox_class_init):
* e-cell-vbox.h:
make ECellVboxView public since it will be used in a11y part.
* e-table-click-to-add.c: (etcta_style_set),
(create_rect_and_text), (etcta_realize), (etcta_class_init),
(e_table_click_to_add_commit):
add "style_set" signal to click_to_add and implement
the style_set function.
(etcta_init):
add a11y name to click to add.
* e-table-click-to-add.h:
add "style_set" signal to click_to_add and implement
the style_set function.
* e-table-config.c: (config_button_up), (config_button_down):
check whether the columns are empty.
* e-table-group-container.c:
* e-table-group-container.h:
make ETableGroupContainerChildNode public since it
will be used in a11y part.
* e-table-item.c: (eti_init):
init eti->cols.
(eti_event):
at GDK_KEY_PRESS event and GDK_Down key pressed, we check
view_col value before we pass it to eti_e_cell_event.
(eti_class_init):
call the new initialize function
* e-table.c: (table_canvas_focus_event_cb):
if canvas has a focused item but the etable does not
have a cursor row, just focus the first item after check
whether the click_to_add should get the focus.
svn path=/trunk/; revision=28571
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-26 JP Rosevear <jpr@novell.com>
Fixes #38195
* e-cell-combo.c (e_cell_combo_set_popdown_strings): don't convert
to the locale for gtk widgets now
svn path=/trunk/; revision=28563
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-21 JP Rosevear <jpr@novell.com>
Fixes #29309
* e-table-header-item.h: add field chooser dialog data member
* e-table-header-item.c: remove weak pointer ref
(ethi_popup_field_chooser): if we already have a dialog, just
present it, otherwise create a new one and listen for its
destruction
svn path=/trunk/; revision=28169
|
|
|
|
|
|
|
|
|
| |
2004-11-24 Li Yuan <li.yuan@sun.com>
* e-table.c: (e_table_get_cell_geometry):
check whether header_canvas and table_canvas is NULL.
svn path=/trunk/; revision=27980
|
|
|
|
|
|
|
|
|
|
| |
2004-11-04 Li Yuan <li.yuan@sun.com>
* gal/e-table/e-table.c: (table_canvas_focus_event_cb):
if canvas has a focused item but the etable does not have a cursor row,
just focus the first item.
svn path=/trunk/; revision=27828
|
|
|
|
|
|
|
|
|
| |
2004-10-19 JP Rosevear <jpr@novell.com>
* e-table.c (table_canvas_focus_event_cb): return FALSE so we
don't kill the focus event chain
svn path=/trunk/; revision=27625
|
|
|
|
|
|
|
|
|
|
| |
2004-08-09 Not Zed <NotZed@Ximian.com>
* e-cell-combo.c (e_cell_combo_get_popup_pos): include scrollbar
offset in vertical calculation. don't ask me i just work here.
see #61932.
svn path=/trunk/; revision=26873
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-08-02 Radek Doulik <rodo@ximian.com>
* e-table-config.c (e_table_config_construct): do not set
position, it's already done in .glade, call set_transient_for
always (passing NULL is valid as well)
* e-table-config.glade: * e-table-config-no-group.glade: center
window on parent, don't let it resize and most importan make it
dialog window so that set_transient_for works against define views
dialog
Fixes #61936
2004-08-02 Radek Doulik <rodo@ximian.com>
* gal-define-views-dialog.c: save collection on exit
Fixes #61936
svn path=/trunk/; revision=26819
|
|
|
|
|
|
|
|
|
|
|
| |
2004-07-07 Radek Doulik <rodo@ximian.com>
* e-table-sorted-variable.c (etsv_add): added
e_table_model_pre_change because we call
e_table_model_row_inserted later. It fixes freeze/unfreeze for
ETableItem assert warning which I run into when fixing #56271
svn path=/trunk/; revision=26632
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-22 Rodney Dawes <dobey@novell.com>
* e-table-config.c (do_fields_config_dialog, e_table_config_new):
Fix some spacing and border width properties on the dialog's widgets
to make the dialog compliant with the HIG
2004-06-22 Christopher James Lahey <clahey@ximian.com>
* e-table-model.[ch]: Added e_table_model_freeze and e_table_model_thaw
* e-table-config.c (setup_fields): Use e_table_model_freeze and
e_table_model_thaw
Fixes #54785
svn path=/trunk/; revision=26460
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-11 Radek Doulik <rodo@ximian.com>
* e-table-config.c (e_table_config_construct): set dialog window
position, glade doesn't do that for us anymore as the window is
first hidden, extended and later shown
* e-table-config-no-group.glade: as below
* e-table-config.glade: set visibility to false, it will keep the
dialog hidden until we call gtk_widget_show and thus no resizing
is visible while we are extending the dialog content
Fixes #57825
svn path=/trunk/; revision=26311
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-06-10 Not Zed <NotZed@Ximian.com>
* e-tree-selection-model.c (e_tree_selection_model_select_paths):
add new api for setting the whole selection in one go. See
#59546.
svn path=/trunk/; revision=26277
|
|
|
|
| |
svn path=/trunk/; revision=26269
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-09 Radek Doulik <rodo@ximian.com>
* e-table-field-chooser.c (ensure_nonzero_step_increments): new
helper function to set step_increments
(allocate_callback): call ensure_nonzero_step_increments
(resize): ditto
Fixes #48275
svn path=/trunk/; revision=26268
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-22 Bruce Tao <bruce.tao@sun.com>
Fixes #51626
* e-table-click-to-add.c: (etcta_event):
Add an entry for focus_in event, do the same thing as button_press event.
* e-table-item.c: (eti_event):
Mask the Ctrl+Tab processing routine.
* e-table.c: (table_canvas_focus_event_cb), (canvas_vbox_event),
(click_to_add_event), (e_table_setup_table):
Enable you to navigate between click_to_add and the existing tasks by
pressing Ctrl+Tab. However, if there is no existing task, you can still jump
out of click_to_add by this way.
svn path=/trunk/; revision=25831
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-04 Not Zed <NotZed@Ximian.com>
* e-table-item.c (eti_event): revert last patch.
(eti_attach_cell_views): add some code to reset drags and other
things as if the model changed, so we don't keep trying to run
things we shouldn't be on the view which might be changing. This
may break other things but should fix 57222 and related.
svn path=/trunk/; revision=25779
|
|
|
|
|
|
|
|
|
|
| |
2004-05-04 Not Zed <NotZed@Ximian.com>
* e-table-item.c (eti_event): if motion column is beyond our known
columns, just ignore it and don't generate a LEAVE_NOTIFY. uh,
seems to work, and fixes #57222.
svn path=/trunk/; revision=25778
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-30 Jeffrey Stedfast <fejj@ximian.com>
* e-cell-text.c (e_cell_text_class_init): Changed the int param
specs to take a min value of -1 and also defautl to -1 (-1 means
off and they should all default to the same value that they
default to in the init() function). Needed to fix bug #57304.
svn path=/trunk/; revision=25713
|
|
|
|
|
|
| |
Patch by hao.sheng@sun.com
svn path=/trunk/; revision=25004
|
|
|
|
|
|
|
|
|
| |
2004-02-26 Not Zed <NotZed@Ximian.com>
* e-table-item.c (eti_table_model_pre_change): reset
motion_row/motion_col if the model changes. See bug #54757.
svn path=/trunk/; revision=24878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-12 Rodney Dawes <dobey@ximian.com>
* gal/widgets/gal-combo-box.c (gal_combo_box_init): Change the
shadow type for the arrows here, so that themes that do handle the
use of shadow types with arrows, draw things correctly, instead of
following what the old default gtk+ did in 1.x
2004-02-12 Rodney Dawes <dobey@ximian.com>
* e-cell-popup.c (ecp_draw):
* e-cell-spin-button.c (ecsb_draw):
* e-table-header-utils.c (e_table_header_draw_button): Change the
shadow type for the arrows here, so that themes that do handle the
use of shadow types with arrows, draw things correctly, instead of
following what the old default gtk+ did in 1.x
2004-02-12 Rodney Dawes <dobey@ximian.com>
* e-vscrolled-bar.c (e_vscrolled_bar_init): Change the
shadow type for the arrows here, so that themes that do handle the
use of shadow types with arrows, draw things correctly, instead of
following what the old default gtk+ did in 1.x
svn path=/trunk/; revision=24720
|
|
|
|
|
|
|
|
|
|
| |
2004-01-27 Radek Doulik <rodo@ximian.com>
* e-cell-text.c (ect_print): print strikeout/underline
Fixes #32240
svn path=/trunk/; revision=24466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-16 Yuedong Du <yuedong.du@sun.com>
Fixed bug 51917, add atk support for ClickToAdd
* gal/a11y/e-table/Makefile.am: add files.
* gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c:
(gal_a11y_e_table_click_to_add_factory_get_accessible_type),
(gal_a11y_e_table_click_to_add_factory_create_accessible),
(gal_a11y_e_table_click_to_add_factory_class_init),
(gal_a11y_e_table_click_to_add_factory_init),
(gal_a11y_e_table_click_to_add_factory_get_type): factory
for ClickToAdd
* gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h:
ditto
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c:
(etcta_get_n_actions), (etcta_get_description),
(etcta_action_get_name), (idle_do_action), (etcta_do_action),
(atk_action_interface_init): a "click" action interface.
(etcta_get_name),
(etcta_get_n_children), (etcta_ref_child): create accessible
according to which child is available. Either rect or row.
(etcta_class_init),
(etcta_init), (gal_a11y_e_table_click_to_add_get_type),
(etcta_event): listen to canvas event, emit children-changed signal
when it found rect/row was changed.
(gal_a11y_e_table_click_to_add_new):
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.h:
* gal/a11y/e-table/gal-a11y-e-table-item-factory.c:
(gal_a11y_e_table_item_factory_create_accessible):
* gal/a11y/e-table/gal-a11y-e-table.c: (init_child_item),
(et_get_n_children), (et_ref_child): change the trick way to
create a11y object for a table item. Because ClickToAdd is also
a table item, previous way do not work for clicktoadd.
* gal/e-table/e-table-click-to-add.c: (etcta_class_init):
atk_register the new a11y factory.
svn path=/trunk/; revision=23956
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-08 Andrew Wu <yang.wu@sun.com>
Fixed #50844
* gal/a11y/e-table/gal-a11y-e-cell-popup.c:
* gal/a11y/e-table/gal-a11y-e-cell-popup.h:
a11y impl. for e-cell-popup.
svn path=/trunk/; revision=23670
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-23 Andrew Wu <yang.wu@sun.com>
Fixed Bug 51252, 51254, 51255.
* gal/e-table/e-table-header-item.c:
(ethi_event):add some code deal with key press event.
* gal/e-table/e-table-header-item.h
add a member "selected_col" for keyboard navigation.
* gal/e-table/e-table.c
(e_table_setup_header):make header can focus.
svn path=/trunk/; revision=23572
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Bolian Yin <bolian.yin@sun.com>
Fixes #51139
* gal/a11y/gal-a11y-e-table-item: (gal_a11y_e_table_item_ref_selection)
(gal_a11y_e_table_item_unref_selection): new functions.
* gal/e-table/e-table-item.c : change the place of emitting ""selection_model_removed" signal.
svn path=/trunk/; revision=23571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_text),
(ect_get_character_at_offset), (ect_get_caret_offset),
(ect_get_character_count), (ect_get_n_selections),
(ect_get_selection), (ect_add_selection), (ect_remove_selection),
(ect_set_selection), (ect_set_caret_offset),
(ect_set_text_contents), (ect_insert_text), (ect_copy_text),
(ect_delete_text), (ect_cut_text), (ect_paste_text),
(ect_class_init): a11y implementations for ECellText.
* gal/e-table/e-cell-text.c: (e_cell_text_set_selection),
(e_cell_text_get_selection), (e_cell_text_copy_clipboard),
(e_cell_text_paste_clipboard), (e_cell_text_delete_selection): new
functions to support corresponding atk operations.
* gal/e-table/e-cell-text.h: some APIs added to support atk operations.
svn path=/trunk/; revision=23568
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Mike Kestner <mkestner@ximian.com>
* gal/widgets/gtk-combo* : renamespace and move to
* gal/widgets/gal-combo* : here
* gal/widgets/Makefile.am : build new files
2003-11-17 Mike Kestner <mkestner@ximian.com>
* e-table-config.c : use new gal_combo_* namespace.
svn path=/trunk/; revision=23402
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-14 Andrew Wu <yang.wu@sun.com>
Fix for 50800
* gal/e-table/e-cell-combo.c (e_cell_combo_init):
connect "e_cell_combo_list_button_press" to gtklist.
(e_cell_combo_list_button_press):
deal with the "click" event.
(e_cell_combo_selection_changed):
delete the action to selection changed.
svn path=/trunk/; revision=23350
|
|
|
|
|
|
|
|
|
| |
2003-11-12 Andrew Wu <yang.wu@sun.com>
Fix for 50681
* gal/e-table/e-table-item.c (eti_event):
send a event to the right cell to pop up something.
svn path=/trunk/; revision=23349
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-03 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/Makefile.am: new files (gal-a11y-e-cell-tree.c/h)
added
* gal/a11y/e-table/gal-a11y-e-cell.h: adding 2 new functions to add or
remove atk states
* gal/a11y/e-table/gal-a11y-e-cell.c (eti_dispose): unref the state_set
(eti_ref_state_set): new function
(eti_class_init): create and initialize the state_set
(eti_init): override the "ref_state_set" function in AtkObjectClass with
"eti_ref_state_set"
(gal_a11y_e_cell_add_state): adding a return value
(gal_a11y_e_cell_remove_state): new function
* gal/e-table/e-cell-tree.c: (e_cell_tree_class_init): register
GalA11yECellText as the a11y implementation for ECellText.
(e_cell_tree_view_get_subcell_view): new function to retrieve the cell_view
of subcell in ECellTree
* gal/e-table/e-cell-tree.h: adding 1 new function to retrieve the cell_view
of subcell in ECellTree
* gal/a11y/e-table/gal-a11y-e-cell-tree.c: new file. A11y implementation
for ECellTree
* gal/a11y/e-table/gal-a11y-e-cell-tree.h: new file. A11y implementation
for ECellTree
svn path=/trunk/; revision=23296
|
|
|
|
|
|
|
|
|
|
| |
2003-11-11 Bolian Yin <bolian.yin@sun.com>
Fixes # 50480
* e-table-item: add two signals: "selection_model_removed" and "selection_model_added"
svn path=/trunk/; revision=23281
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-13 Charles Zhang <charles.zhang@sun.com>
* e-table-config.c (e_table_config_new): disable apply button
when initial dialog.
* e-table-header-item.c (apply_changes): disable apply button
after applying changes.
svn path=/trunk/; revision=23168
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-30 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): new function
to deal with grabing table cell focus
(eti_atk_component_iface_init): Override "grab_focus" virtual function
with eti_grab_focus of AtkComponent interface. (#50131)
* gal/e-table/e-cell-text.c: (e_cell_text_class_init): register
GalA11yECellText as the a11y implementation for ECellText.
svn path=/trunk/; revision=23166
|
|
|
|
|
|
|
|
|
| |
2003-10-28 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
* Fix for "50258 libgal: shared object looks for wrong mo file"
svn path=/trunk/; revision=23163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-26 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/Makefile.am: add new file for toggle cell a11y
object.
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c: new a11y object toggle cell (gal_a11y_e_cell_toggle_get_type),
(gal_a11y_e_cell_toggle_class_init), (toggle_cell_action), the
implementation of toggle cell action.
(gal_a11y_e_cell_toggle_new):
* gal/a11y/e-table/gal-a11y-e-cell-toggle.h: ditto
* gal/a11y/e-table/gal-a11y-e-cell.c:
(_gal_a11y_e_cell_get_action_info),
(_gal_a11y_e_cell_destroy_action_info),
(gal_a11y_e_cell_add_action), (gal_a11y_e_cell_remove_action),
(gal_a11y_e_cell_remove_action_by_name),
(gal_a11y_e_cell_action_get_n_actions),
(gal_a11y_e_cell_action_get_name),
(gal_a11y_e_cell_action_get_description),
(gal_a11y_e_cell_action_set_description),
(gal_a11y_e_cell_action_get_keybinding), (idle_do_action),
(gal_a11y_e_cell_action_do_action),
(gal_a11y_e_cell_atk_action_interface_init),
(gal_a11y_e_cell_type_add_action_interface),
(gal_a11y_e_cell_add_state): helper functions for add a action,
stealed from gailcell.c
* gal/a11y/e-table/gal-a11y-e-cell.h:
* gal/e-table/e-cell-toggle.c: (e_cell_toggle_class_init): register
toggle's a11y object.
svn path=/trunk/; revision=23095
|
|
|
|
|
|
|
|
|
|
| |
* Fix for "50065 chinese locales Input method hangs after a task entry
and new folder creation"
* gal/e-table/e-cell-text.c: (ect_event) Added check to return
if preedit_length == 0 and E_CELL_PREEDIT flag is set.
svn path=/trunk/; revision=23093
|
|
|
|
|
|
|
|
|
| |
2003-10-23 Hans Petter Jansson <hpj@ximian.com>
* e-table-item.c (eti_get_cell_background_color): Allocate
colors using gdk_colormap_alloc_color().
svn path=/trunk/; revision=23053
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-14 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
* Support for preedit in e-text widgets.
* gal/gal/e-text/e-text.c: Added e_text_preedit_changed_cb and
insert_preedit_text.
* Modified the following functions.
(e_text_draw) Calls insert_preedit_text also cursor pos @ the end of
text->selection_start + text->preedit_len
(e_text_event) Added hooks for preedit_cb
(e_text_init) Inits text->preedit_len
(e_text_retrieve_surrounding_cb) Removed printf
(e_text_delete_surrounding_cb) Correct params for
gtk_editable_delete_text to make it work.
* gal/gal/e-text/e-text.h: Added preedit_len in struct _EText
2003-09-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
* Fix for "44222 task summary entry widget not i18ned". The following
files are changed.
* gal/gal/e-table/e-cell-text.c: Lots of changes for i18n
selection/input support. Added these functions for input method support.
(e_cell_text_preedit_changed_cb)
(e_cell_text_commit_cb)
(e_cell_text_retrieve_surrounding_cb)
(e_cell_text_delete_surrounding_cb)
(layout_with_preedit) This function inserts the preedit string
with the right attribs to the layout text.
(build_attr_list) Creates the PangoAttrList with bold/stikeout/underline
as applicable for the current ECellText.
The following functions are modified.
(ect_stop_editing): disconnect signal handlers when editing stops
(ect_draw): Changes for including the preedit only to the currently
selected row/col. Also display the cursor at the end of preedit text.
(ect_event): Connects the IM callbacks to the key press event.
Disconnect when not in editing mode. Also a special flag to see
when Enter key pressed in preedit mode, the text is committed only
not a new row is created. This woks in conjunction with the changes
made in the eti_event in e-table-item.c file and e-cell.h.
(ect_height): Changes due to parameters changing for generate_layout
(ect_enter_edit): Initialization of im_context for a cell text and
assoociated flags.
(ect_max_width): Changes due to parameters changing for
generate_layout.
(ect_max_width_by_row): Changes due to parameters changing for
generate_layout.
(ect_show_tooltip): Changes due to parameters changing for
generate_layout.
(e_cell_text_construct): check whether paramters are NULL.
(get_position_from_xy): Changes due to parameters changing for
generate_layout.
(_insert): Set the selection_start as the minimum of strlen(edit->text)
and selection_start. Used to correct the preedit_string length
which may have added to the selection_start.
(e_cell_text_view_command): When inserting, if in the preedit mode
do not delete the selection.
(_selection_get): Set utf8 data instead of string data.
(_selection_received): Take in UTF8_ATOM inaddition to
GDK_SELECTION_TYPE_STRING.
(e_cell_text_view_get_selection): Make utf8 data when acting as a
selection source.
* gal/e-table/e-cell-text.h : Included <gtk/gtkmenu.h>
* gal/e-table/e-cell.h: Added enum E_CELL_PREEDIT to ECellFlags
* gal/e-table/e-table-item.c: (eti_event) Changes for not committing
the edited text as a seperate row in preedit mode.
* gal/e-table/e-table.c: (table_canvas_focus_event_cb) To have
proper im_context focus for the ecanvas holding the e-table.
svn path=/trunk/; revision=22882
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-09-28 Charles Zhang <charles.zhang@sun.com>
* e-table-config.c (do_sort_and_group_config_dialog): process
GTK_RESPONSE_DELETE_EVENT signal correctly.
* e-table-config.c (do_fields_config_dialog): the same as above
[#48815]
svn path=/trunk/; revision=22852
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-11 Mike Kestner <mkestner@ximian.com>
* e-table-config.c (get_source_model_col_index): new method to
get the source model column for a specified available_model idx.
(create_global_store): save the source model index in a new col.
(config_button_add): use the new index lookup function [48153].
svn path=/trunk/; revision=22536
|
|
|
|
|
|
|
|
|
| |
2003-09-11 Mike Kestner <mkestner@ximian.com>
* e-table-sort-info.c (e_table_sort_info_load_from_node):
move scnt and gcnt initialization outside the for loop [43156].
svn path=/trunk/; revision=22532
|
|
|
|
|
|
|
|
|
|
| |
2003-09-05 Gilbert Fang <gilbert.fang@sun.com>
* gal/a11y/Makefile.am: add e-table atk support to libgal a11y
* gal/e-table/e-table.c: (e_table_class_init): add atk registration
for GalA11yETable (#47780)
svn path=/trunk/; revision=22466
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-25 Harry Lu <harry.lu@sun.com>
** For bug #47874.
* e-table-specification.c (e_table_specification_load_from_file):
check whether file exists before call xmlParseFile().
* e-table-state.c (e_table_state_load_from_file): ditto.
* e-tree-table-adapter.c (open_file): ditto.
svn path=/trunk/; revision=22358
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-19 Mike Kestner <mkestner@ximian.com>
* e-cell-tree.c (draw_expander): add an expander_style param
(ect_draw): pass expander_style to draw_expander
(animate_expander): new timeout handler for expander animation
(ect_event): on !retro clicks, draw a "semi" expander and start
an animation handler to finish the animation.
svn path=/trunk/; revision=22288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
2003-08-12 Larry Ewing <lewing@ximian.com>
* e-cell-toggle.c (check_cache): actually chose the right color to+ composite over when caching the pixmap.
svn path=/trunk/; revision=22200
|
|
|
|
|
|
|
|
|
| |
2003-07-28 Mike Kestner <mkestner@ximian.com>
* e-table-config (setup_fields): map model_column to available
model row by ignoring disabled columns.
svn path=/trunk/; revision=21993
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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-22 Hans Petter Jansson <hpj@ximian.com>
* e-cell-text.c (get_font_for_size): Implement.
(ect_print): Use same font heuristics as evo calendar, pick a font
that fits. Correct baseline calculation.
svn path=/trunk/; revision=21519
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-19 Larry Ewing <lewing@ximian.com>
* e-table-specification.c (e_table_specification_load_from_node):
remove extra ref, the count starts at one.
* e-table-utils.c (e_table_spec_to_full_header): add_column adds a
reference, so drop the intial reference.
* e-table.c (et_real_construct):remove extra ref, count starts at
one.
svn path=/trunk/; revision=21479
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-28 Mike Kestner <mkestner@ximian.com>
* configure.in : bump libtool version for api addition
* gal/util/e-util.c (e_utf8_strftime): new, utf8 in/out
(e_utf8_strftime_fix_am_pm): new, utf8 in/out
2003-05-28 Mike Kestner <mkestner@ximian.com>
* e-cell-date.c (ecd_get_text): use e_utf8_strftime_fix_am_pm
and remove locale to utf8 conversion at end. [43485]
svn path=/trunk/; revision=21343
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-19 Mike Kestner <mkestner@ximian.com>
* Makefile.am : revert a broken CLEAN_FILES change. [42478]
2003-05-19 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (build_layout): don't call any line breaking
or justification code if the width <= 0 since it's pointless
and apparently pango likes to crash when you do. [43199]
svn path=/trunk/; revision=21260
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-16 Mike Kestner <mkestner@ximian.com>
* gal-view-collection.c (view_changed): block the signal
that got us here until we're done to stop an infinite
recursion. Fixes 43153.
2003-05-16 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (invisible_finalize): kill
(ect_stop_editing): destroy the invisible, not weak_unref
(e_cell_text_view_get_invisible): don't weak_ref the invisible
since we own its ref.
2003-05-16 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_event): fix a couple timer checks
* e-tree-table-adapter.c (update_node): Traverse POST order
so that the parent nodes are at the head of the prepended list.
Don't restore expanded state to nodes that aren't in the tree
any longer. Hopefully fixes #42856.
svn path=/trunk/; revision=21229
|
|
|
|
|
|
|
| |
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-13 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_event): gross hack to work around a
post dispose event emission by gtk2.0/canvas2.0 [#42622]
svn path=/trunk/; revision=21174
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
2003-05-06 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (insert_node): add missing model_changed
(etta_proxy_node_inserted): add missing model_changed
(etta_proxy_node_removed): add missing model_changed
svn path=/trunk/; revision=21116
|
|
|
|
|
|
|
|
| |
2003-05-05 Jeremy Katz <katzj@redhat.com>
* e-table-config.c (setup_fields): Use correct macro for int->pointer
svn path=/trunk/; revision=21111
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-01 Mike Kestner <mkestner@ximian.com>
* gal/e-text/e-completion-callbacks.c (e_completion_callbacks_new):
return the instantiated object. [bug #42156]
2003-05-01 Mike Kestner <mkestner@ximian.com>
* e-cell-combo.c (e_cell_combo_selection_changed): new
(e_cell_combo_init): connect to selection_changed on popup_list
(e_cell_combo_do_popup): block selection_changed while popping up
[bug #40996]
svn path=/trunk/; revision=21042
|
|
|
|
|
|
|
|
| |
2003-05-01 JP Rosevear <jpr@ximian.com>
* e-table.c (et_real_construct): remove gratuitous ref
svn path=/trunk/; revision=21041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-29 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (build_layout): don't use unicode ellipsis so
that we don't break on broken font setups.
2003-04-29 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (generate_layout): don't set width on the layout
during edit
svn path=/trunk/; revision=21012
|
|
|
|
|
|
|
|
| |
2003-04-28 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (build_layout): don't do wrapping during edit
svn path=/trunk/; revision=20995
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-21 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (build_layout): use unicode ellipsis char for
breaking lines. Use g_utf8_find_prev_char and check for failure
so that we don't tight loop for small cells that can't display
any chars.
svn path=/trunk/; revision=20924
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-21 Mike Kestner <mkestner@ximian.com>
* e-cell-tree.c (ect_draw): use e_tree_table_adapter_node_get_next
to determine how to draw sibling lines.
(ect_print): ditto
* e-tree-table-adapter.c (e_t_t_a_node_get_next): new
svn path=/trunk/; revision=20902
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-19 Chris Toshok <toshok@ximian.com>
[ fixes evolution bug #40464 ]
* e-table.c (e_table_class_init): use G_SIGNAL_TYPE_STATIC_SCOPE
for the GtkSelectionData args of table_drag_data_get and
table_drag_data_received.
svn path=/trunk/; revision=20900
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-18 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (build_layout): if the layout splits into more
than one line, shorten it to a single line with elipses.
(generate_layout): don't ref NULL layouts
(ect_enter_edit): use g_new0 for the CellEdit
(get_position_from_xy): use generate_layout since edit->layout
isn't necessarily set here.
svn path=/trunk/; revision=20892
|
|
|
|
|
|
|
|
| |
2003-04-17 JP Rosevear <jpr@ximian.com>
* e-table-subset.c : add guarding for row indexing (Bug# 41497)
svn path=/trunk/; revision=20891
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-16 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (build_layout): set width and alignment of layout.
(generate_layout): set width on existing layout and pass new width
param to build_layout.
(ect_draw): pass width to generate_layout
(ect_height): pass width to generate_layout
(ect_enter_edit): pass width to generate_layout
(ect_max_width): pass width to generate_layout
(ect_max_width_by_row): pass width to generate_layout
(ect_show_tooltip): pass width to generate_layout
(e_cell_text_view_command): pass width to generate_layout
svn path=/trunk/; revision=20870
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-15 Hans Petter Jansson <hpj@ximian.com>
* e-table-header-utils.c (e_table_draw_elided_string): Don't unref
the layout that was passed in.
(e_table_header_draw_button): Always unref the layout when we're
done with it.
* e-tree-table-adapter.c (e_tree_table_adapter_load_expanded_state):
Free the id when we're done with it.
svn path=/trunk/; revision=20853
|
|
|
|
|
|
|
|
|
| |
2003-04-11 JP Rosevear <jpr@ximian.com>
* e-table-one.c (one_dispose): free data here since we don't have
source in finalize
svn path=/trunk/; revision=20817
|
|
|
|
|
|
|
|
| |
2003-04-08 Mike Kestner <mkestner@ximian.com>
* e-table-config-no-group.glade : add response ids to buttons
svn path=/trunk/; revision=20770
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-08 Mike Kestner <mkestner@ximian.com>
* gal/widgets/Makefile.am : remove e-font.[ch], test-e-font,
and test-font-loading.
* gal/widgets/e-unicode.[ch] (e_utf8_from_gtk_string): kill
(e_utf8_from_gtk_string_sized): kill
(e_utf8_to_gtk_string): kill
(e_utf8_to_gtk_string_sized): kill
(e_utf8_gtk_menu_item_new_with_label): kill
(e_utf8_gtk_clist_set_text): kill
(e_utf8_gtk_clist_append): kill
* e-categories-master-list-option-menu.c (ecmlom_ecml_changed):
don't use e_utf8_to_gtk_string.
* e-categories-master-list-combo (ecmlc_ecml_changed):
don't use e_utf8_to_gtk_string.
2003-04-08 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c : break e-font dependency
svn path=/trunk/; revision=20766
|
|
|
|
|
|
|
|
|
| |
2003-04-08 Mike Kestner <mkestner@ximian.com>
* e-table-config.glade : swap button order
* e-table-config-no-group.glade : swap button order
svn path=/trunk/; revision=20761
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-08 Mike Kestner <mkestner@ximian.com>
* e-cell-popup.c : remove debugging g_print calls
* e-table-group-container.c : fix length_threshold prop range
* e-table-group-leaf.c : fix length_threshold prop range
* e-table-item.c : fix length_threshold prop range
svn path=/trunk/; revision=20750
|
|
|
|
|
|
|
|
|
| |
2003-04-04 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (etta_sort_info_changed): guard against
root == NULL. Bug #39491.
svn path=/trunk/; revision=20668
|
|
|
|
|
|
| |
for the GTK_TYPE_SELECTION_DATA arg.
svn path=/trunk/; revision=20650
|
|
|
|
|
|
|
|
|
|
| |
2003-04-02 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (update_node): restore expanded
state of node and all children. Fixes Ximian bug #40393.
(check_expanded): new traverser function
svn path=/trunk/; revision=20642
|
|
|
|
|
|
|
|
|
| |
2003-03-31 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (kill_gnode): if killing the root
node, set it to NULL in the priv data. Bug #39441.
svn path=/trunk/; revision=20607
|
|
|
|
|
|
|
|
|
| |
2003-03-24 Mike Kestner <mkestner@ximian.com>
* e-table-sort-info.c (e_table_sort_info_load_from_node):
properly parse nodes that include whitespace. bug #39896
svn path=/trunk/; revision=20486
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-24 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (update_node): don't call delete_node
on the root node since generate_tree already does that. Thanks
to Antonio Xu <antonio.xu@sun.com> for identifying the cause of
the bug and providing a candidate patch. Bug #38320.
svn path=/trunk/; revision=20481
|
|
|
|
|
|
|
|
| |
2003-03-23 Chris Toshok <toshok@ximian.com>
* e-table.c (do_drag_motion): fix UMR.
svn path=/trunk/; revision=20469
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Chris Toshok <toshok@ximian.com>
* e-cell-text.h: add underline_column field.
* e-cell-date.c: add underline_column to the comment.
* e-cell-size.c: add underline_column to the comment.
* e-cell-text.c (build_layout): handle underline column.
(ect_show_tooltip): same.
(ect_set_property): same.
(ect_get_property): same.
(e_cell_text_class_init): same.
(e_cell_text_init): same.
(e_cell_text_new): add underline_column to the comment.
svn path=/trunk/; revision=20347
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Chris Toshok <toshok@ximian.com>
* e-table-item.h (ETableItem): add cursor_idle_id.
* e-table-item.c (eti_idle_maybe_show_cursor): save off the
cursor_idle_id.
(eti_idle_show_cursor_cb): reset the cursor_idle_id to 0.
(eti_dispose): remove the cursor_idle_id. Fixes a crash in the
evolution select-names dialog.
svn path=/trunk/; revision=20346
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Chris Toshok <toshok@ximian.com>
* e-table-item.h (ETableItem): add cursor_idle_id.
* e-table-item.c (eti_idle_maybe_show_cursor): save off the
cursor_idle_id.
(eti_idle_show_cursor_cb): reset the cursor_idle_id to 0.
(eti_dispose): remove the cursor_idle_id. Fixes a crash in the
evolution select-names dialog.
svn path=/trunk/; revision=20344
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Mike Kestner <mkestner@ximian.com>
* e-table-header-item.c (ethi_draw): mimic Gtk's sort arrows
(ethi_start_drag): mimic Gtk's sort arrows
svn path=/trunk/; revision=20340
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Mike Kestner <mkestner@ximian.com>
* e-tree-selection-model.c (select_single_path): null start_path
(etsm_invert_selection): null start_path
(etsm_toggle_single_row): null start_path
(etsm_real_move_selection_end): start at start_path, not cursor
(etsm_set_selection_end): set start_path
(e_tree_selection_model_init): null start_path
svn path=/trunk/; revision=20337
|
|
|
|
|
|
|
|
|
|
| |
2003-03-14 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (update_node): save and restore expanded
state so parents don't collapse when children are added to them.
(e_tree_table_adapter_node_is_expanded): guard against null nodes.
svn path=/trunk/; revision=20303
|
|
|
|
|
|
|
|
|
| |
2003-03-05 Mike Kestner <mkestner@ximian.com>
* e-tree-model.c : fix a couple ==TRUE uses pointed out by
Morten Welinder <terra@diku.dk>.
svn path=/trunk/; revision=20169
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-04 Dmitry Mastrukov <dmitry@taurussoft.org>
* gal/widgets/e-unicode.c : i18n fix
2003-03-04 Dmitry Mastrukov <dmitry@taurussoft.org>
* e-cell-date.c (ecd_get_text): i18n fix
* e-table.c (et_real_construct): i18n fix
* e-table-config.c (create_global_store): i18n fix
* e-table-utils.c (et_col_spec_to_col): i18n fix
2003-03-04 Mike Kestner <mkestner@ximian.com>
* e-tree-selection-model.c : some cursor fixes
svn path=/trunk/; revision=20156
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-04 Mike Kestner <mkestner@ximian.com>
* e-tree-selection-model.c : rewrite to store selected paths in a
hashtable instead of a tree.
* e-tree-table-adapter.c : lose the hacky orig_position api since
etsm doesn't need it anymore.
svn path=/trunk/; revision=20136
|
|
|
|
|
|
|
|
|
|
| |
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-table.c (et_drag_motion): remove alloc-based transform
(et_drag_data_received): ditto
(et_drag_drop): ditto
(do_drag_motion): ditto
svn path=/trunk/; revision=20100
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-20 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_table_model_rows_deleted): fix overzealous
g_asserts to avoid crashes when eti->rows is already updated.
svn path=/trunk/; revision=19982
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-20 Mike Kestner <mkestner@ximian.com>
* e-tree-selection-model.c (etsm_orig_position): kill
(etsm_find_node_unless_equals): use new etta_orig_position
(update_parents): use new etta_orig_position
(etsm_recurse_is_path_selected): use new etta_orig_position
* e-tree-table-adapter.c (e_tree_table_adapter_orig_position): new
(resort_node): populate orig_pos, fix sorting_map bound bug
(create_gnode): initialize orig_pos
(delete_node): call resort_node so orig_pos gets updated
(insert_node): always call resort_node let it decide whether to sort
svn path=/trunk/; revision=19975
|
|
|
|
|
|
|
|
| |
2003-02-18 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (move_map_elements): set remap_needed
svn path=/trunk/; revision=19930
|
|
|
|
|
|
|
|
|
| |
2003-02-17 Chris Toshok <toshok@ximian.com>
* e-cell-text.c (build_layout): make sure the row >= 0 before
calling value_at to calc "strikeout".
svn path=/trunk/; revision=19926
|
|
|
|
|
|
|
|
|
|
| |
2003-02-17 Jody Goldberg <jody@gnome.org>
* gal/e-table/e-table-group.c (e_table_group_construct) : make things
compile on an alpha. passing NULL to a var_arg not portable.
This seems like a better approach.
svn path=/trunk/; revision=19924
|
|
|
|
|
|
|
|
|
|
| |
2003-02-17 Chris Toshok <toshok@ximian.com>
* e-tree-table-adapter.c (etta_proxy_node_data_changed): return
after the e_table_model_no_change call.
(etta_proxy_node_col_changed): same.
svn path=/trunk/; revision=19923
|
|
|
|
|
|
|
|
|
| |
2003-02-13 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (*_load_expanded_state): guard for
null paths if save_id lookup fails.
svn path=/trunk/; revision=19904
|
|
|
|
|
|
|
|
|
| |
2003-02-13 Mike Kestner <mkestner@ximian.com>
* e-table-header-item.c (ethi_drag_motion): don't transform
based on allocation position. Position isn't absolute now.
svn path=/trunk/; revision=19902
|
|
|
|
|
|
|
|
|
| |
2003-02-13 Mike Kestner <mkestner@ximian.com>
* e-table-header-utils.c (e_table_header_draw_button): kill
a double unref on the pango_layout.
svn path=/trunk/; revision=19900
|
|
|
|
|
|
|
|
|
| |
2003-02-12 Hans Petter Jansson <hpj@ximian.com>
* e-table-click-to-add.c (etcta_realize): Request a reflow on
realization, so size and placement will be correct initially.
svn path=/trunk/; revision=19899
|
|
|
|
|
|
|
|
|
|
| |
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-12 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (insert_node): work around broken models
that insert children before parents. bad models.
(e_tree_table_adapter_load_expanded_state): don't update_node
(e_tree_table_adapter_node_set_expanded): recursively expand
parent if the node is not visible yet.
(e_tree_table_adapter_set_sort_info): don't resort empty trees
svn path=/trunk/; revision=19894
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=19857
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-06 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (resort_node): index bound bug
(insert_children): prepend/reverse for now
(generate_tree): resize old map to zero before filling it again
(insert_node): fix assumption that root parent node has an index
svn path=/trunk/; revision=19828
|
|
|
|
|
|
|
|
|
|
| |
2003-02-06 Not Zed <NotZed@Ximian.com>
* e-tree-table-adapter.c (delete_node): use the parent path to
find the parent node rather than the row, which is not valid for
the root node, which still needs its visible child count updated.
svn path=/trunk/; revision=19797
|
|
|
|
|
|
|
|
|
|
| |
* e-table-config.c (config_class_init): Replace deprecated
glade_gnome_init() call with glade_init().
* e-table-field-chooser.c (e_table_field_chooser_class_init):
Likewise.
svn path=/trunk/; revision=19759
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=19735
|
|
|
|
|
|
|
|
|
|
| |
2003-01-23 Larry Ewing <lewing@ximian.com>
* e-table-click-to-add.c (e_table_click_to_add_commit): destroy
canvas items to removing them, simply unrefing them is not
sufficient.
svn path=/trunk/; revision=19589
|
|
|
|
|
|
|
| |
e_table_model_pre_changed() only once so we dont' get the table in
a frozen state after returning from here.
svn path=/trunk/; revision=19574
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-15 Jeffrey Stedfast <fejj@ximian.com>
* e-tree-table-adapter.c
(e_tree_table_adapter_save_expanded_state): Same here.
* e-table-state.c (e_table_state_save_to_file): Same as below.
* e-table-specification.c (e_table_specification_save_to_file):
Back to using e_xml_save_file(). Not sure we can really trust
xmlSaveFile (sure as hell couldn't in the libxml-1.x days),
besides, e_xml_save_file protects against corruption due to not
enough disk space.
svn path=/trunk/; revision=19481
|
|
|
|
|
|
|
|
|
| |
2003-01-15 Not Zed <NotZed@Ximian.com>
* e-cell-tree.c (ect_draw): If we set a clip rectangle, clear it
after we've finished.
svn path=/trunk/; revision=19467
|
|
|
|
|
|
|
|
| |
2002-01-10 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_table_model_rows_deleted): revert broken fix
svn path=/trunk/; revision=19413
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-18 Chris Toshok <toshok@ximian.com>
* e-table-group-container.c (etgc_dispose): free the children
before we free and dispose of our ecol, since
e_table_group_container_child_node_free depends on it. Fixes a
crash.
svn path=/trunk/; revision=19166
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-18 Chris Toshok <toshok@ximian.com>
* e-table-header-item.c (ethi_popup_customize_view): pass NULL for
parent_window for e_table_config_new.
* e-table-config.glade, e-table-config-no-group.glade: switch from
GnomePropertyBox to GtkDialog, remove the extra notebook widget
from the heirarchy, and set all the subdialogs modal.
* e-table-config.h: add parent_window arg to
e_table_config_{new,construct}.
* e-table-config.c (config_dialog_changed): new function, not
really needed yet since the apply/ok buttons are never
insensitive.
(config_get_property): handle the "state" read-only property.
(config_class_init): put back in the "state" property that was
deleted during the merge from the gal-2 branch (it looks like).
(do_sort_and_group_config_dialog): set the sort/group dialog
transient for the e-table-config dialog, and
gnome_property_box_changed -> config_dialog_changed.
(do_fields_config_dialog): same, but with the fields dialog.
(dialog_response): response handler for the e-table-config dialog.
(setup_gui): remote the hide button/notebook code, since neither
of those widgets exist anymore in this dialog, and remove the
"apply" signal and connect to "response", since we're a GtkDialog
dialog instead of a GnomePropertyBox.
(e_table_config_construct): take a parent_window arg, and
set_transient_for if it's non-NULL.
(e_table_config_new): take parent_window arg and pass to
construct.
svn path=/trunk/; revision=19165
|
|
|
|
|
|
|
|
| |
2002-12-16 Chris Toshok <toshok@ximian.com>
* e-cell-text.c (_get_tep): edit->tep isn't a GtkObject anymore.
svn path=/trunk/; revision=19144
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-16 Chris Toshok <toshok@ximian.com>
* e-table-header-utils.c (e_table_draw_elided_string): pass in the
pango layout so we don't have to create another one here. Also,
elide the string properly (same method that e-clipped-label uses)
and simplify the extent operations.
(e_table_header_compute_height): just use
pango_layout_get_pixel_size here.
(e_table_header_draw_button): make sure the clip rectangle is
NULL'ed on our gc, since random gtk calls seem to install one,
which sucks. Also, simplify the pango layout stuff a little.
svn path=/trunk/; revision=19142
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-16 Chris Toshok <toshok@ximian.com>
* e-table.c (et_real_construct): remove obvious double g_strdup.
* e-table-header-item.c (ethi_header_context_menu): ref/sink the
popup.
* e-table-field-chooser.c (e_table_field_chooser_init): use
gtk_widget_show_all so our custom widget gets displayed.
svn path=/trunk/; revision=19135
|
|
|
|
|
|
|
|
| |
2002-12-13 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_table_model_rows_deleted): valgrindage
svn path=/trunk/; revision=19119
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-05 Jeffrey Stedfast <fejj@ximian.com>
* e-table-extras.c (ete_init): Add a "collate" sort callback that
uses the new g_collate_compare().
2002-12-05 Jeffrey Stedfast <fejj@ximian.com>
* gal/util/e-util.c (g_str_compare): Revert back to using just
strcmp - this fixes bug #33933 but reopens bug #26355.
(g_collate_compare): New function meant to address the sorting
required by bug #26335.
svn path=/trunk/; revision=19014
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-03 Hans Petter Jansson <hpj@ximian.com>
* e-table.c (e_table_get_state_object): Don't leak old sort info.
2002-12-03 Hans Petter Jansson <hpj@ximian.com>
* gal/widgets/e-canvas-background.c (ecb_destroy): Don't leak
private structure.
svn path=/trunk/; revision=18999
|
|
|
|
|
|
|
|
|
| |
2002-12-03 Not Zed <NotZed@Ximian.com>
* e-tree-memory.c (etmm_dispose): make this a dispose rather than
finalise. Crashes on finalise otherwise.
svn path=/trunk/; revision=18990
|
|
|
|
|
|
| |
e_table_memory_store_clear().
svn path=/trunk/; revision=18937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-18 Chris Toshok <toshok@ximian.com>
* e-table-config.c (connect_button): take GCallback, not
GtkSignalFunc.
(configure_sort_dialog): show the custom widget.
(configure_group_dialog): same.
(configure_fields_dialog): same, also pass G_CALLBACK (func),
instead of GTK_SIGNAL_FUNC (func), to connect_button.
(setup_gui): pass G_CALLBACK (func), instead of GTK_SIGNAL_FUNC
(func), to connect_button.
* Makefile.am (glade_DATA): remove e-table-group.glade, since we
don't use it anyplace.
svn path=/trunk/; revision=18832
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-16 Chris Toshok <toshok@ximian.com>
* e-table.c (set_scroll_adjustments): check for
table->table_canvas == NULL.
* e-table-item.c (eti_dispose): guard eti->tooltip.
svn path=/trunk/; revision=18807
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-header-item.c (ethi_popup_customize_view): fix typo.
svn path=/trunk/; revision=18777
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-14 Chris Toshok <toshok@ximian.com>
* e-table-header-item.c (ethi_popup_customize_view): ETableConfig
derives from GObject (fix warnings).
* e-table.c: deal with ESorter deriving from GObject.
* e-table-sorter.[ch]: this derives from GObject now.
svn path=/trunk/; revision=18775
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-14 Chris Toshok <toshok@ximian.com>
* e-table-without.[ch]: this subclasses from GObject now, not
GtkObject. don't use GtkObject (especially casts to it) inside
the code.
* e-table-config-no-group.glade: libglade-convert.
* e-table-config.glade: same.
* e-table-field-chooser.glade: same.
* e-table-group.glade: same.
svn path=/trunk/; revision=18766
|
|
|
|
|
|
|
|
| |
2002-11-13 Chris Toshok <toshok@ximian.com>
* gal/util/e-marshal.list: add more marshallers for e-table.
svn path=/trunk/; revision=18750
|
|
|
|
| |
svn path=/trunk/; revision=18703
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gal/e-table/e-cell-popup.c: Replace gtk_object_(un)?ref() with
g_object_(un)?ref().
* gal/e-table/e-cell-text.c: Likewise.
* gal/e-table/e-cell-tree.c: Likewise.
* gal/e-table/e-cell-vbox.c: Likewise.
* gal/e-table/e-table-click-to-add.c: Likewise.
* gal/e-table/e-table-config-field.c: Likewise.
* gal/e-table/e-table-field-chooser-dialog.c: Likewise.
* gal/e-table/e-table-field-chooser-item.c: Likewise.
* gal/e-table/e-table-field-chooser.c: Likewise.
* gal/e-table/e-table-group-container.c: Likewise.
* gal/e-table/e-table-item.c: Likewise.
* gal/e-table/e-table-without.c: Likewise.
svn path=/trunk/; revision=18702
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* e-table-memory-store.h: correct the GET_CLASS macro.
* e-table-one.h: same.
* e-table-sorted.h: same.
* e-table-subset.h: same.
* e-tree-sorted-variable.h: same.
* e-tree-table-adapter.h: same.
svn path=/trunk/; revision=18680
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Mike Kestner <mkestner@ximian.com>
* e-table-sorted-variable.[ch] : GObjectify
* e-tree-sorted-variable.[ch] : GObjectify
svn path=/trunk/; revision=18573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-col.[ch] : GObjectify
* e-table-column-specification.[ch] : GObjectify
* e-table-config.[ch] : GObjectify
* e-table-group-leaf.c : use GObject api for models
* e-table-group.c : use GObject api for models
* e-table-header-item.c : use GObject api for models
* e-table-header.c : use GObject api for models
* e-table-selection-model.c : use GObject api for models
* e-table-sort-info.[ch] : GObjectify
* e-table-sorted.[ch] : GObjectify
* e-table-sorter.c : use GObject api for models
* e-table-specification.c : use GObject api for models
* e-table-state.[ch] : GObjectify
* e-table-subset-variable.[ch] : GObjectify
* e-table-subset.[ch] : GObjectify
* e-table.c : use GObject api for models
svn path=/trunk/; revision=18571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 Chris Toshok <toshok@ximian.com>
* e-table-memory-store.h: add prototypes for the _change*
functions.
* e-table-memory-store.c (e_table_memory_store_change_array): new
function, mostly c&p from _insert_array.
(e_table_memory_store_change): new function, mostly c&p from
_insert.
(e_table_memory_store_change_adopt_array): new function, mostly
c&p from _insert_adopt_array.
(e_table_memory_store_change_adopt): new function, mostly c&p from
_insert_adopt.
svn path=/trunk/; revision=18432
|
|
|
|
|
|
|
|
| |
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-10-18 JP Rosevear <jpr@ximian.com>
* e-table-item.c (eti_cursor_activated): don't emit a signal if we
couldn't find the view row
svn path=/trunk/; revision=18405
|
|
|
|
|
|
|
|
| |
2002-10-02 Mike Kestner <mkestner@ximian.com>
* e-table-search.c (e_table_search_destroy): call drop_timeout
svn path=/trunk/; revision=18319
|
|
|
|
|
|
|
|
|
| |
2002-09-27 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_get_cell_foreground_color): use the fg color
array in style, not text color. Change requested by Chris Lahey.
svn path=/trunk/; revision=18256
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* e-table.c (et_real_construct): Set the selection model's
selection_mode after setting the table model, or things will break
in the GTK_SELECTION_SINGLE case if the table doesn't start out
empty.
svn path=/trunk/; revision=18121
|
|
|
|
|
|
|
|
| |
2002-09-18 Mike Kestner <mkestner@ximian.com>
* e-tree-model.c (e_tree_model_is_expandable): guard against NULL nodes.
svn path=/trunk/; revision=18118
|
|
|
|
|
|
|
|
|
|
| |
2002-09-17 Mike Kestner <mkestner@ximian.com>
* gal/e-table/e-table-item.c (eti_event): exit editing on dblclick.
ungrab based on grabbed_count. unset grabbed_col and grabbed_row
on ungrab.
svn path=/trunk/; revision=18089
|
|
|
|
|
|
|
|
|
|
|
|
| |
forgot to commit the po stuff from the release. also bumped the so number.
2002-09-10 Mike Kestner <mkestner@ximian.com>
* gal/e-table/e-table-item.c (eti_event): allow keypress handling
for cursor_col==-1 as long as cursor_row isn't -1 also so that e-tree
searching works without click focusing an item.
svn path=/trunk/; revision=18038
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-06 Jeffrey Stedfast <fejj@ximian.com>
* e-tree-table-adapter.c
(e_tree_table_adapter_save_expanded_state): And finally here.
* e-table-state.c (e_table_state_save_to_file): Same here.
* e-table-specification.c (e_table_specification_save_to_file): No
need to save to a temp file first here either since
e_xml_save_file now does that for us.
* e-table.c (e_table_save_specification): No need to handle
writing to a temp file first anymore, since I've updated
e_xml_save_file() to handle that for us.
svn path=/trunk/; revision=17724
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-06 Jeffrey Stedfast <fejj@ximian.com>
* e-cell-progress.c: #include <string.h> for memset
* e-table.c (e_table_save_specification): Updated to use
e_xml_save_file() instead of xmlSaveFile(). Also fixed to save to
a tmp file first.
* e-table-specification.c (e_table_specification_save_to_file):
Same as above.
* e-table-state.c (e_table_state_save_to_file): Same here.
* e-tree-table-adapter.c
(e_tree_table_adapter_save_expanded_state): And here too.
svn path=/trunk/; revision=17717
|
|
|
|
|
|
| |
that no non-Shift modifier is pressed.
svn path=/trunk/; revision=17556
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-19 Christopher James Lahey <clahey@ximian.com>
* e-tree-table-adapter.c (find_next_node, find_first_child_node):
Made these able to find the potential row for a new node which
will be the last row.
(find_row_num): Made this handle find_next_node and
find_first_child_node returning n_map.
svn path=/trunk/; revision=17517
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-18 JP Rosevear <jpr@ximian.com>
Patch by clahey.
* e-table.c (et_get_arg): get the use_click_to_add value
(et_set_arg): set the use_click_to_add_value, and either display
the item or destroy it
(e_table_class_init): add the use_click_to_add arg
svn path=/trunk/; revision=17218
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-14 Christopher James Lahey <clahey@ximian.com>
* e-cell-popup.c (ecp_draw, ecp_event): Don't draw or interact
with the popup button if a cell isn't editable (based on a patch
by JPR.)
* e-table-col.c, e-table-col.h: Added the compare_col field to
this structure. Added a GtkArg to set it.
* e-table-column-specification.c, e-table-column-specification.h:
Added the compare_col field here. Made it load properly from xml.
* e-table-sorting-utils.c: Sort based on the compare_col in the
ETableCol instead of the col_idx.
* e-table-utils.c (et_col_spec_to_col): Set the compare_col field
in the ETableCol properly.
* e-table.c, e-table.h: Removed the drag_get_data_row and
drag_get_data_col fields since they're not used any longer.
(e_table_construct): If specification loading fails, return a NULL
ETable instead of just ignoring it.
(e_table_drag_highlight): Only destroy table->drop_highlight if it
exists.
svn path=/trunk/; revision=17190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-05 Christopher James Lahey <clahey@ximian.com>
* e-table-field-chooser-item.c: Added debugging printfs.
* e-table-header-item.c: Added debugging printfs.
(ethi_drag_motion): Don't subtract widget->allocation.* here. It
seems that this value is affected by whether the table is using a
click to add field. Not sure why.
* e-table-item.c (eti_realize): Check for NULL selection here.
svn path=/trunk/; revision=17118
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-05 Christopher James Lahey <clahey@ximian.com>
* e-tree-model.c (d): Added debugging printfs.
* e-tree-sorted.c (ets_proxy_node_changed,
ets_proxy_node_data_changed, ets_proxy_node_col_changed,
ets_proxy_node_inserted): Added a bunch of e_tree_model_no_change
signals where appropriate.
* e-tree-table-adapter.c (etta_proxy_node_changed): Added an
e_table_model_no_change signal where appropriate.
svn path=/trunk/; revision=17116
|
|
|
|
|
|
|
|
|
|
| |
2002-06-05 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_realize): Made it so that on realize we grab
focus if we have the cursor, since otherwise, we'll change our
selection on focus in.
svn path=/trunk/; revision=17115
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-04 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_event): Reenable tooltips if the
GAL_DO_TOOLTIPS environment variable is set.
svn path=/trunk/; revision=17097
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-24 Christopher James Lahey <clahey@ximian.com>
* e-tree-table-adapter.c
(e_tree_table_adapter_node_would_be_expanded,
e_tree_table_adapter_node_is_expanded): Added would_be_expanded
refactoring code out of is_expanded.
(find_first_child_node_maybe_deleted): Use the new function.
svn path=/trunk/; revision=17016
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-21 Christopher James Lahey <clahey@ximian.com>
* e-tree-sorted.c (ets_proxy_node_request_collapse): Check for
path being NULL.
* e-tree-table-adapter.c
(e_tree_table_adapter_load_expanded_state): Rebuild the tree after
loading the state.
svn path=/trunk/; revision=16963
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-13 Christopher James Lahey <clahey@ximian.com>
* e-tree-table-adapter.c: Changed a lot of direct uses in this
file of node->is_expanded to call the function
e_tree_table_adapter_node_is_expanded instead.
(e_tree_table_adapter_node_is_expanded): Improved this function to
know if the root node is visible and always return it as being
expanded if it's not. It also doesn't bother creating nodes if
they don't exist yet, and instead figures out whether they would
be expanded if they were to be created and returns that value
instead.
svn path=/trunk/; revision=16768
|
|
|
|
|
|
|
|
| |
2002-05-10 Christopher James Lahey <clahey@ximian.com>
* e-table-search.c: Include string.h here.
svn path=/trunk/; revision=16749
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-09 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c: Switch from gnome_canvas_item_grab to
e_canvas_item_grab.
* gal/widgets/e-canvas.c, gal/widgets/e-canvas.h
(e_canvas_item_grab, e_canvas_item_ungrab): Added these functions.
From gal/e-table/ChangeLog:
2002-05-09 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c, e-table-item.h: Switched from
gnome_canvas_item_grab to e_canvas_item_grab.
svn path=/trunk/; revision=16738
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-tree-table-adapter.c
(e_tree_table_adapter_save_expanded_state): Bump file version to 2.
(This will make older versions of gal ignore the file, fixing the
problem where going from evo HEAD to evo 1.0.x makes the folder
tree disappear.) Store the default expanded state in the file now
to prevent this from happening again in the future.
(e_tree_table_adapter_load_expanded_state): Deal with version 2.
If the model's default expansion state doesn't match the saved
state, ignore the save file.
svn path=/trunk/; revision=16736
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-02 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h
(e_popup_menu_create_with_domain): Added this function that lets
you specify the translation domain.
From gal/e-table/ChangeLog:
2002-05-02 Christopher James Lahey <clahey@ximian.com>
* e-table-click-to-add.c (finish_editing): Add horizontal dividers
here too.
* e-table-config.c (create_global_store): Translate column headers
here.
* e-table-header-item.c (ethi_header_context_menu): Use
e_popup_menu_create_with_domain here.
* e-table-header-utils.c (e_table_header_draw_button): Translate
from utf8 here before drawing.
* e-table-memory-store.c, e-table-memory-store.h
(e_table_memory_store_insert_adopt_array): Changed the name of
this function from e_table_memory_store_insert_adopt.
(e_table_memory_store_insert_adopt): Added this function which
takes a ... list.
* e-table-utils.c (et_col_spec_to_col): Translate column titles to
utf8 here.
svn path=/trunk/; revision=16668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-05-01 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-completion-view.c (simple_spec),
gal/widgets/e-categories-master-list-dialog.c (SPEC),
gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain
here.
* gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the
different cases.
From gal/e-table/ChangeLog:
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* e-table-config.c, e-table-config.h, e-table-specification.c,
e-table-specification.h, e-table-utils.c, e-table-utils.h,
e-table.c, e-table.h: Made these pay attention to the
gettext-domain in the etspec.
* e-table-config.c: Set the gettext-domain in the etspec here.
From gal/menus/ChangeLog:
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* gal-define-views-dialog.c (SPEC),
gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain
here.
svn path=/trunk/; revision=16658
|
|
|
|
|
|
|
|
|
| |
2002-04-29 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_cursor_change): Redraw a row that is no
longer the cursor even if this item isn't getting the new cursor.
svn path=/trunk/; revision=16642
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-26 Christopher James Lahey <clahey@ximian.com>
* e-table-field-chooser-item.c (etfci_maybe_start_drag): Take an
int instead of a double. From a patch by jody@ximian.com.
svn path=/trunk/; revision=16606
|
|
|
|
|
|
|
|
| |
2002-04-26 Christopher James Lahey <clahey@ximian.com>
* e-table-state.c (etst_destroy): Only unref etst->sort_info once.
svn path=/trunk/; revision=16603
|
|
|
|
|
|
|
|
|
|
| |
2002-04-26 Christopher James Lahey <clahey@ximian.com>
* e-table-model.c (e_table_model_value_at), e-tree-model.c
(e_tree_model_value_at): Documented the life cycle requirements of
the return value of these functions.
svn path=/trunk/; revision=16602
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-26 Christopher James Lahey <clahey@ximian.com>
* e-table-memory-store.c (e_table_memory_store_adopt_value_at,
etms_set_value_at): Added calls to e_table_model_pre_change here
so that the ETableItem doesn't unfreeze more times than it
freezes.
svn path=/trunk/; revision=16593
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-25 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c (etsm_selected_count_recurse,
etsm_foreach_recurse): Made these handle the case where
all_children_selected_array has a bit set, but the children of
that node aren't filled in.
svn path=/trunk/; revision=16590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-24 Christopher James Lahey <clahey@ximian.com>
* e-table-config.c (create_global_store): Changed this to match
the new e_table_memory_store_insert function prototype.
svn path=/trunk/; revision=16579
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-24 JP Rosevear <jpr@ximian.com>
* e-cell-pixbuf.c (pixbuf_print): implement printing
(pixbuf_print_height): implement print height
(e_cell_pixbuf_class_init): set printing virtual methods
* e-cell-toggle.c (etog_print): remove clipping, default clipping
is done by the table, scale based on toggle height
* e-table-item.c (e_table_item_calculate_print_widths): make the
scale 1:1
svn path=/trunk/; revision=16577
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.19.99.14.
* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h
(e_popup_menu_copy_1, e_popup_menu_free_1, e_popup_menu_copy,
e_popup_menu_free): Added these functions
From gal/e-table/ChangeLog:
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* e-table-memory-store.c, e-table-memory-store.h: Renamed the
insert functions in this class to make a bit more sense.
From gal/menus/ChangeLog:
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* gal-view-instance.c, gal-view-instance.h
(gal_view_instance_get_popup_menu,
gal_view_instance_free_popup_menu): Added these functions. Used
to add a current view menu to your popup menus.
From gal/shortcut-bar/ChangeLog:
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* e-icon-bar.c (e_icon_bar_drag_motion): Removed an unused
variable.
svn path=/trunk/; revision=16559
|
|
|
|
|
|
|
|
| |
2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
* e-table-state.c (etst_destroy): Unref the sort_info.
svn path=/trunk/; revision=16549
|
|
|
|
|
|
|
|
|
| |
2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
* e-cell-toggle.c (etog_kill_view): After unreffing all the
pixmaps, free the toggle_view->pixmap_cache.
svn path=/trunk/; revision=16548
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-04-19 JP Rosevear <jpr@ximian.com>
* e-cell-toggle.c (etog_print): print the cell in the allotted
area
(etog_print_height): return the print height
svn path=/trunk/; revision=16536
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.19.99.11.
* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h: Changed
this to be API compatible with gal 0.19. Added a bunch of pound
defines and added API for toggle and radio menu items.
* gal/widgets/e-categories.c: Updated this to match the new
EPopupMenu.
From gal/e-table/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* e-table-header-item.c: Updated this to match the new EPopupMenu.
svn path=/trunk/; revision=16496
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-11 Christopher James Lahey <clahey@ximian.com>
* e-table-header-item.c (ethi_header_context_menu): Fixed a memory
leak here by using the "selection-done" signal.
* e-table.c, e-table.h (white_item_event): Added the
"white_space_event" signal.
svn path=/trunk/; revision=16439
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-25 Christopher James Lahey <clahey@ximian.com>
* e-table-memory-store.c (e_table_memory_store_insert,
e_table_memory_store_insert_adopt, e_table_memory_store_remove):
Call the parent function after doing all the internal work so that
when the changed signal goes out, our work is already done.
svn path=/trunk/; revision=16245
|
|
|
|
|
|
|
|
|
| |
+
+ * e-table-header-item.c: Adjust this to handle the new EPopupMenu
+ API.
+
svn path=/trunk/; revision=16223
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-15 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-canvas.c (e_canvas_style_set): Check for a
style_set signal on all the contained GnomeCanvasItems.
From gal/e-table/ChangeLog:
2002-03-15 Christopher James Lahey <clahey@ximian.com>
* e-cell-toggle.c: Clear the pixmap cache in e_cell_style_set.
* e-cell.c, e-cell.h (e_cell_style_set): Added this virtual
method.
* e-table-item.c, e-table-item.h: Call e_cell_style_set in out
style_set signal.
svn path=/trunk/; revision=16180
|
|
|
|
|
|
|
|
|
|
| |
2002-03-15 Christopher James Lahey <clahey@ximian.com>
* e-cell-toggle.c: Add a GdkPixmap * cache of rendered toggle
images. This should considerably speed up over the wire
performance of ECellToggle.
svn path=/trunk/; revision=16177
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-15 Christopher James Lahey <clahey@ximian.com>
* e-table-header.c, e-table-header.h (e_table_header_min_width):
New function that returns the total minimum width of all the
columns.
* e-table.c, e-table.h (set_header_width): Call
e_table_header_min_width here instead of total_width.
(et_size_request): Override the size_request method instead of
doing set_usize.
svn path=/trunk/; revision=16175
|
|
|
|
|
|
|
|
|
|
|
| |
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-cell-pixbuf.c, e-cell-pixbuf.h (pixbuf_draw): Added
selected_column, focused_column, and unselected_column.
svn path=/trunk/; revision=16149
|
|
|
|
|
|
|
|
|
|
|
| |
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-03-12 Christopher James Lahey <clahey@ximian.com>
* e-table-memory-store.c, e-table-memory-store.h: Added support
for E_TABLE_MEMORY_STORE_OBJECT which represents a column storing
a GtkObject.
svn path=/trunk/; revision=16132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-12 Christopher James Lahey <clahey@ximian.com>
* e-cell-vbox.c (ecv_draw): Give the correct height to the
subcells instead of overlapping them.
* e-table-header.c, e-table-header.h (e_table_header_move,
eth_calc_widths): Emit the dimension_changed signal with the width
of the header.
* e-table-memory-store.c (duplicate_value, etms_free_value):
Handle NULL pixbufs here.
* e-table.c, e-table.h: Connect to the dimension_changed signal
and call set_header_width. Did a bit of refactoring here.
svn path=/trunk/; revision=16128
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-12 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added e-table-search.lo.
* gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING):
Added this marshal function.
From gal/e-table/ChangeLog:
2002-03-12 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (libetable_la_SOURCES): Added e-table-search.c.
(libetableinclude_HEADERS): Added e-table-search.h.
* e-cell.h: Added ETableSearchFun here.
* e-table-col.h: Added search here.
* e-table-column-specification.c, e-table-column-specification.h:
Added search here.
* e-table-extras.c, e-table-extras.h (e_table_extras_add_search):
Added ETableSearchFuncs here.
* e-table-memory-store.c (e_table_memory_store_insert,
e_table_memory_store_insert_adopt): Handle row == -1 here.
* e-table-search.c, e-table-search.h: New class to reusably handle
the semantics of searching for a string.
* e-table-simple.c, e-table-simple.h: Added a bunch of simple
functions here for if your table is all strings. Should be
reusable.
* e-table-utils.c (et_col_spec_to_col): Added support for searches
here.
* e-table.c, e-table.h: Added an ETableSearch here.
svn path=/trunk/; revision=16119
|
|
|
|
|
|
|
|
|
| |
2002-03-11 Christopher James Lahey <clahey@ximian.com>
* e-tree-sorted.c (ets_proxy_node_request_collapse): Proxy
request_collapse signals.
svn path=/trunk/; revision=16116
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-11 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added e-cell-vbox.lo.
From gal/e-table/ChangeLog:
2002-03-11 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (libetable_la_SOURCES): Added e-cell-vbox.c.
(libetableinclude_HEADERS): Added e-cell-vbox.h.
* e-cell-vbox.c, e-cell-vbox.h: New ECell to take multiple other
ECells and use them all in a vertical series.
svn path=/trunk/; revision=16110
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-11 Christopher James Lahey <clahey@ximian.com>
* e-table-memory-store.c (e_table_memory_store_insert_list): Added
this function to take a ... list of column data. The expected
number of parameters in the ... is the number of columns in the
table.
svn path=/trunk/; revision=16109
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-11 Christopher James Lahey <clahey@ximian.com>
* e-table-memory-store.c, e-table-memory-store.h
(E_TABLE_MEMORY_STORE_PIXBUF): Added a pixbuf column type.
* e-table-specification.c, e-table-specification.h: Added
horizontal-resize attribute.
* e-table.c, e-table.h: Handle horizontal_resize.
svn path=/trunk/; revision=16108
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-08 Christopher James Lahey <clahey@ximian.com>
* e-tree-memory.c (etmm_node_request_collapse): Handle a collapse
request by marking all descendents of that node as needing their
children recomputed.
* e-tree-model.c, e-tree-model.h
(e_tree_model_node_request_collapse): Added this signal to request
that the view of your tree collapse this node.
* e-tree-selection-model.c (etsm_selected_count): Pass the root of
the sorted model here instead of the root of the base model.
* e-tree-table-adapter.c (etta_proxy_node_request_collapse):
Handle a collapse request by collapsing the node in the tree.
svn path=/trunk/; revision=15990
|
|
|
|
|
|
|
|
|
| |
2002-03-08 Christopher James Lahey <clahey@ximian.com>
* e-tree-memory.c, e-tree-memory.h (check_children): Added a
fill_in_children signal.
svn path=/trunk/; revision=15988
|
|
|
|
|
|
|
| |
* e-table-item.c: Re-disable tooltips since they're (still)
fantastically obnoxious with focus-follows-mouse. (OKed by Ettore).
svn path=/trunk/; revision=15927
|
|
|
|
|
|
|
|
|
| |
2002-03-04 Damon Chaplin <damon@ximian.com>
* e-cell.c (e_cell_print): only call the cell's print method if it has
one. Avoids crashing for unimplemented print methods.
svn path=/trunk/; revision=15903
|