Commit Graph

1023 Commits

Author SHA1 Message Date
Harish Krishnaswamy accf651625 Revert the previous patch. Requires rework.
2006-07-10  Harish Krishnaswamy  <kharish@novell.com>

	* table/e-cell-text.c: (ect_unrealize), (build_layout):
	* text/e-text.c: (reset_layout): Revert the previous
	patch. Requires rework.

svn path=/trunk/; revision=32272
2006-07-10 15:16:42 +00:00
Rajeev ramanathan 891d8bfc6a Added code for Resize Transparency with Cairo drawing. Added code to
2006-07-10  Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>

Added code for Resize Transparency with Cairo drawing.
Added code to render ECell and EText text items with
antialiasing, hinting and sub-pixel ordering with cairo.

svn path=/trunk/; revision=32270
2006-07-10 14:02:36 +00:00
Harish Krishnaswamy a1d6678af2 Enhanced search functionality. patch submitted by Johnny Jacob Reviewed
2006-06-30  Harish Krishnaswamy  <kharish@novell.com>

Enhanced search functionality. patch submitted by Johnny Jacob
Reviewed and committed by Harish.

svn path=/trunk/; revision=32207
2006-06-30 09:46:32 +00:00
simon.zheng ba09f4ba89 **Fixes bug #338295 Use pango to handle text when printing tasks.
2006-06-12  simon.zheng  <simon.zheng@sun.com>

        **Fixes bug #338295
        * e-cell-text.c: (get_font_description_for_size), (get_font_size),
        (ect_print), (ect_print_height): Use pango to handle text when
        printing tasks.

svn path=/trunk/; revision=32118
2006-06-12 13:00:31 +00:00
Ed Catmur 0161858613 ** Fixes bug #343764 now entirely Adding a weak reference to avoid
2006-06-12  Ed Catmur  <ed@catmur.co.uk>

	** Fixes bug #343764 now entirely
	* e-table-header-utils.c: (e_table_header_draw_button):
	Adding a weak reference to avoid crashing.

svn path=/trunk/; revision=32109
2006-06-12 09:45:31 +00:00
Srinivasa Ragavan d3e8fc3169 Committing a fix for sorting in the vertical view message list.
svn path=/trunk/; revision=32105
2006-06-12 05:05:48 +00:00
Carlos Garcia Campos 75eede56b4 ** Fixes bug #343764 Ensure g_label points to the right widget before
2006-06-08  Carlos Garcia Campos  <carlosgc@gnome.org>

	** Fixes bug #343764
	* e-table-header-utils.c: (e_table_header_draw_button):
	Ensure g_label points to the right widget before accessing to its
	style.

svn path=/trunk/; revision=32094
2006-06-08 13:51:32 +00:00
Hiroyuki Ikezoe f872f9ad2d Remove extra tabs. Fixes #343734.
2006-06-05  Hiroyuki Ikezoe  <poincare@ikezoe.net>

	* Makefile.am: Remove extra tabs. Fixes #343734.

svn path=/trunk/; revision=32079
2006-06-05 12:25:15 +00:00
Srinivasa Ragavan e4bdc1e6a7 Added support for Vertical View in Evolution Mailer with custom message list.
svn path=/trunk/; revision=32071
2006-06-02 18:12:08 +00:00
Hiroyuki Ikezoe 670c810b86 Reviewed and committed by Harish Krishnaswamy <kharish@novell.com>
2006-05-12  Hiroyuki Ikezoe  <poincare@ikezoe.net>
	Reviewed and committed by Harish Krishnaswamy <kharish@novell.com>

	** Fixes bug #341530.
	* e-table.h:
	Removed duplicate delcaration of e_table_commi_click_to_add.

svn path=/trunk/; revision=31979
2006-05-12 11:43:38 +00:00
Jeff Cai 18da28dd9a ** Fixes bug #327035 Grab focus only from widgets which can have focus on.
2006-04-10  Jeff Cai <jeff.cai@sun.com>

        ** Fixes bug #327035
        * e-table-header-item.c: (ethi_event):
        Grab focus only from widgets which can have focus on.

svn path=/trunk/; revision=31796
2006-04-10 08:56:09 +00:00
Srinivasa Ragavan 365a4d8c11 Committing fix for bug #328283
svn path=/trunk/; revision=31623
2006-03-02 05:39:57 +00:00
Simon Zheng e99cb76e51 ** Fixes bug #331400
2006-03-01  Simon Zheng  <simon.zheng@sun.com>

        ** Fixes bug #331400

        * e-cell-text.c: (ect_print_height): Table item height is decided
        by the max cell height in item. And cell-text is just one of cells.
        As done by ect_print(), to leave some margin for text, 2 for footer,
        2 for header, actual print height should be 16 + 4.

svn path=/trunk/; revision=31617
2006-03-01 08:02:57 +00:00
Srinivasa Ragavan ca852ba2de Fixed bug #332408
svn path=/trunk/; revision=31575
2006-02-24 07:56:58 +00:00
Srinivasa Ragavan e9ee985ddd Fixes bug #328283
svn path=/trunk/; revision=31512
2006-02-14 05:44:03 +00:00
Kjartan Maraas 4a4b322c39 Tons of cleanups of the following sort: - remove unused vars - remove
2006-01-30  Kjartan Maraas  <kmaraas@gnome.org>

	* e-timezone-dialog/e-timezone-dialog.c: (get_zone_from_point):
	* menus/gal-view-menus.c:
	* misc/e-attachment-bar.c: (calculate_height_width),
	(update_remote_file), (e_attachment_bar_get_attachment),
	(class_init):
	* misc/e-attachment.c: (async_progress_update_cb),
	(download_to_local_path):
	* misc/e-calendar-item.c: (e_calendar_item_get_arg),
	(e_calendar_item_realize), (e_calendar_item_ensure_days_visible):
	* misc/e-calendar.c: (e_calendar_drag_motion),
	(e_calendar_drag_leave), (e_calendar_focus):
	* misc/e-canvas-background.c: (ecb_get_property):
	* misc/e-canvas.c: (e_canvas_class_init), (pick_current_item):
	* misc/e-cell-date-edit.c: (e_cell_date_edit_do_popup),
	(e_cell_date_edit_show_popup):
	* misc/e-cell-percent.c:
	* misc/e-charset-picker.c: (e_charset_picker_bonobo_ui_populate):
	* misc/e-config-page.c: (e_config_page_class_init):
	* misc/e-dateedit.c: (e_date_edit_set_date),
	(e_date_edit_set_date_and_time_of_day),
	(on_date_popup_date_selected):
	* misc/e-dropdown-button.c: (e_dropdown_button_class_init):
	* misc/e-expander.c: (get_expander_bounds), (e_expander_expose),
	(is_in_expander_panel):
	* misc/e-filter-bar.c: (option_changed), (build_items):
	* misc/e-image-chooser.c: (e_image_chooser_init),
	(image_drag_data_received_cb):
	* misc/e-map.c: (e_map_size_allocate), (e_map_button_press),
	(e_map_button_release), (e_map_motion), (e_map_zoom_to_location),
	(e_map_zoom_out), (update_render_point), (repaint_point),
	(zoom_in_smooth):
	* misc/e-multi-config-dialog.c: (impl_response):
	* misc/e-reflow.c: (e_reflow_realize), (e_reflow_event):
	* misc/e-search-bar.c: (clear_search), (search_now_verb_cb),
	(entry_activated_cb), (activate_button_clicked_cb),
	(clear_button_clicked_cb):
	* misc/e-selection-model.c: (e_selection_model_key_press):
	* misc/e-send-options.c: (delay_until_date_changed_cb),
	(e_sendoptions_get_need_general_options):
	* misc/e-unicode.c: (e_stripped_char):
	* table/e-cell-progress.c: (eprog_draw_border), (eprog_draw),
	(eprog_event):
	* table/e-cell-spin-button.c: (ecsb_event), (ecsb_focus),
	(ecsb_unfocus), (ecsb_dispose):
	* table/e-cell-text.c: (ect_draw), (ect_show_tooltip):
	* table/e-cell-toggle.c: (etog_draw), (etog_event):
	* table/e-cell-tree.c: (ect_max_width):
	* table/e-cell-vbox.c:
	* table/e-table-click-to-add.c: (etcta_event):
	* table/e-table-config.c: (create_global_store):
	* table/e-table-field-chooser-dialog.c:
	* table/e-table-field-chooser-item.c: (etfci_find_button),
	(etfci_reflow), (etfci_get_property), (etfci_realize):
	* table/e-table-field-chooser.c:
	(e_table_field_chooser_class_init):
	* table/e-table-group-container.c: (etgc_unrealize):
	* table/e-table-group.c: (e_table_group_new):
	* table/e-table-header-item.c: (e_table_header_item_get_height),
	(ethi_realize), (ethi_event):
	* table/e-table-header-utils.c: (e_table_draw_elided_string),
	(e_table_header_draw_button):
	* table/e-table-item.c: (eti_set_property), (eti_get_property),
	(eti_draw), (eti_event), (eti_cursor_change):
	* table/e-table-scrolled.c: (e_table_scrolled_class_init):
	* table/e-table-search.c:
	* table/e-table-sort-info.c: (e_table_sort_info_save_to_node):
	* table/e-table.c: (table_canvas_reflow_idle),
	(table_canvas_size_allocate), (canvas_vbox_event),
	(click_to_add_event), (do_drag_motion), (e_table_class_init):
	* table/e-tree-scrolled.c: (e_tree_scrolled_class_init):
	* table/e-tree.c: (tree_canvas_reflow_idle),
	(tree_canvas_size_allocate), (e_tree_drag_get_data),
	(do_drag_motion), (e_tree_class_init):
	* text/e-text.c: (e_text_set_property), (e_text_draw),
	(_do_tooltip), (primary_clear_cb), (_get_position),
	(e_text_command): Tons of cleanups of the following sort:
	- remove unused vars
	- remove extraneous semi-colons
	- add some comments where assignments were done without using
	  the results later
	- remove break; statements after return foo;
	- add casts in some places to be more type correct
	- rename variables with name clashes
	- s/if/ifdef in some cases
	- mark some code static
	- remove some unused functions
	- use guint for 1-bit bitfields

svn path=/trunk/; revision=31371
2006-01-30 12:28:21 +00:00
Andre Klapper fe9e00b044 removed string "dialog1" from translation. Fixes bug 306118.
2006-01-27  Andre Klapper <a9016009@gmx.de>
	* plugins/groupwise-features/proxy-listing.glade:
	* plugins/publish-calendar/publish-calendar.glade:
	* smime/gui/smime-ui.glade:
	* widgets/table/e-table-config.glade:
	* widgets/table/e-table-config-no-group.glade:
	removed string "dialog1" from translation. Fixes bug 306118.

svn path=/trunk/; revision=31326
2006-01-27 15:12:53 +00:00
Srinivasa Ragavan ef3ea1d41b Added functions to collapse/Expand all
2006-01-16  Srinivasa Ragavan  <sragavan@novell.com>

	* table/e-tree-table-adapter.c (set_expanded_state_func),
	(set_collapsed_state_func):
	(e_tree_table_adapter_load_all_expanded_state):
	* table/e-tree.c: (e_tree_load_all_expanded_state):
	Added functions to collapse/Expand all

svn path=/trunk/; revision=31203
2006-01-16 08:17:21 +00:00
Srinivasa Ragavan bc8ab923ce Fixes the scroll issue with e-tree.
2006-01-13  Srinivasa Ragavan  <sragavan@novell.com>

	* e-table-item.c: (adjustment_changed), (eti_tree_unfreeze),
	(eti_realize): Fixes the scroll issue with e-tree.

svn path=/trunk/; revision=31157
2006-01-13 08:26:45 +00:00
Andre Klapper 2b1cf9db64 fixed one typo. Fixes bug 306118 partially.
2005-12-23  Andre Klapper <a9016009@gmx.de>
	* e-table.c: fixed one typo.
          Fixes bug 306118 partially.

svn path=/trunk/; revision=30939
2005-12-23 02:43:37 +00:00
Chenthill Palanisamy c1f51e7dad fixes #303876
svn path=/trunk/; revision=30921
2005-12-21 13:08:16 +00:00
Tor Lillqvist 86c90c049e Use g_ascii_strcasecmp() instead of g_strcasecmp(). This function handles
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* e-table-config.c (find_model_column_by_name): Use
	g_ascii_strcasecmp() instead of g_strcasecmp(). This function
	handles the English column names.

	* e-table-specification.c (e_table_specification_load_from_file)
	* e-table-state.c (e_table_state_load_from_file):
	Use e_xml_parse_file().

svn path=/trunk/; revision=30867
2005-12-18 10:21:24 +00:00
Tor Lillqvist f53ba44b55 Link with bootstrap libs on Win32. Use E_WIDGETS_CFLAGS instead of
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-17 17:05:48 +00:00
Harish Krishnaswamy 6783c373e4 Fixed substitutions that I missed in the last commit.
2005-12-10 Harish Krishnaswamy <kharish@novell.com>
Fixed substitutions that I missed in the last commit.

svn path=/trunk/; revision=30744
2005-12-10 07:32:04 +00:00
Harish Krishnaswamy c1b0b713ca prefix the wrapper functions with e - do not use g lest it is assumed to
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-09 11:01:23 +00:00
Boby Wang 366fb95772 Fixes #322740. change the condition expression for GDK_RIGHT and GDK_LEFT.
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-07 09:48:08 +00:00
Li Yuan 94a8222e18 Fixes bug #322776. When focus come into e-tree, it is possible that the
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-12-06 05:18:51 +00:00
Kaushal Kumar 9e2a8d4e41 Use gnome_font_find_closest instead of gnome_font_find since Helvetica is
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
2005-10-14 11:12:48 +00:00
Sushma Rai b0bbe73658 dded case insensitive compare support etable, and using it for Organization
filed. Fixes #207110. Patch submitted by
"Devashish Sharma  <sdevashish@novell.com>"

svn path=/trunk/; revision=30489
2005-10-04 13:06:08 +00:00
Tor Lillqvist a4c6645e87 e-table.c (e_table_load_specification) e-table-specification.c
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-29 18:00:17 +00:00
Tor Lillqvist 00be9c147c Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to
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-09-28 11:45:01 +00:00
Li Yuan 9162088ec2 Fixes #314352. if accessibility is enabled, we enable horizontal cusor
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-25 06:54:58 +00:00
Not Zed 434e74c52e fix some missing casts.
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-24 03:10:29 +00:00
Not Zed 1d79bf1049 ** See bug #313063.
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-15 03:18:01 +00:00
Li Yuan 1b28d2f6d5 Add a11y name to the left table of config dialog. Add name to the left
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-08-04 04:56:54 +00:00
Srinivasa Ragavan 187b669d84 Added code to use stock icons instead of -> and <-
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-07-25 04:28:26 +00:00
Kaushal Kumar df07f02cae Added widgets in INCLUDES.
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-23 09:11:11 +00:00
Kaushal Kumar 0efd94d86f Added from gal/gal/e-table as Gal is retired from Head and e-table files
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-21 07:14:33 +00:00
Not Zed 510b256281 If only a few rows have changed, emit each as a separate row_changed event
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-20 10:29:14 +00:00
Kaushal Kumar 27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
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-17 15:20:35 +00:00
Kaushal Kumar 2bbaae24e9 Don't hide the tooltip if we don't have a canvas anymore. Patch by: Not
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-06-01 03:56:13 +00:00
Li Yuan 85bf0e61d2 export ethi_change_sort_state, so we can call it in a11y part.
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-20 02:21:29 +00:00
Sarfraaz Ahmed a5b8cdfdbe Check for NULL string before passing to dgettext. Fixes a crash on
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-05-06 04:46:07 +00:00
Tor Lillqvist 2decafb544 Port to Windows, initial commit:
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-04-29 14:18:18 +00:00
Theppitak Karoonboonyanan c66108e0fc selecion fixes for im's.
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-03-14 06:34:27 +00:00
Li Yuan abd62cc802 Fix for #73009.
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-02-28 02:27:37 +00:00
Harry Lu 8b7b24623a Some code clean work.
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-02-04 04:49:02 +00:00
Li Yuan d8d481373f add an a11y name for the popup list. make shortcut key ALT+Arrow work.
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-27 05:16:19 +00:00
JP Rosevear 365d63f45a Fixes #38195
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
2005-01-26 14:28:17 +00:00
JP Rosevear 9aaf62bf4b Fixes #29309
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-12-21 20:47:40 +00:00