Commit Graph

2100 Commits

Author SHA1 Message Date
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 e84acb9b0c menus/gal-view-collection.c (load_single_dir) Use
2005-09-29  Tor Lillqvist  <tml@novell.com>

	* menus/gal-view-collection.c (load_single_dir)
	* menus/gal-view-instance.c (load_current_view): 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=30420
2005-09-29 17:54:07 +00:00
Li Yuan b659826991 Fix #240762. If the galview implement the edit function, enable the edit
2005-09-29  Li Yuan  <li.yuan@sun.com>

        * menus/gal-define-views-dialog.c:
        (etable_selection_change_forall_cb):
        Fix #240762. If the galview implement the edit function,
        enable the edit button. If not, disable it.

svn path=/trunk/; revision=30414
2005-09-29 08:17:59 +00:00
Tor Lillqvist aaf0cb36d6 On Win32, use bootstrap import library for libemiscwidgets, which hasn't
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* text/Makefile.am: On Win32, use bootstrap import library for
	libemiscwidgets, which hasn't been built yet when we come
	here. Drop several overlapping CFLAGS. EXTRA_GNOME_CFLAGS
	should be enough. Install in privsolib instead of privlib (no
	difference on Unix). Use NO_UNDEFINED. Link with all needed
	libraries to satisfy the -no-undefined used on Windows.

svn path=/trunk/; revision=30409
2005-09-28 11:50:56 +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
Tor Lillqvist 31485fd411 Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* e-charset-picker.c (e_charset_picker_new,
	e_charset_picker_bonobo_ui_populate): Use g_ascii_strcasecmp()
	instead of strcasecmp(). We are comparing to strings known to be
	plain ASCII, so just casefolding ASCII is enough. Also better for
	portability.

svn path=/trunk/; revision=30406
2005-09-28 11:35:31 +00:00
Tor Lillqvist 41d4bb2a43 Install in privsolib instead of privlib (no difference on Unix). Use
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* menus/Makefile.am: Install in privsolib instead of privlib
	(no difference on Unix). Use NO_UNDEFINED. Drop several
	overlapping CFLAGS, use E_UTIL_CFLAGS instead. Link with
	necessary libraries.

svn path=/trunk/; revision=30405
2005-09-28 11:29:08 +00:00
Tor Lillqvist f45ecd1f42 On Win32, use bootstrp import library for libemiscwidgets, which hasn't
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* e-timezone-dialog/Makefile.am: On Win32, use bootstrp import
	library for libemiscwidgets, which hasn't been built yet when we
	come here. Install in privsolib instead of privlib (no difference
	on Unix). Use NO_UNDEFINED. Link with EVOLUTION_CALENDAR_LIBS.

svn path=/trunk/; revision=30404
2005-09-28 11:25:03 +00:00
Sushma Rai 94584bf0dd Start search on category, when the category is selected.
Fixes #263269.

svn path=/trunk/; revision=30361
2005-09-20 09:34:12 +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
Srinivasa Ragavan d851c3525b Fix for bug #314136. Shows filename in the remote download in composer.
2005-08-24  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment.c (e_attachment_build_remote_file):
	Fix for bug #314136. Shows filename in the remote download in
	composer.

	* e-attachment-bar.c (update): Better space management.
	Kills one extra row that happens some times.
	(e_attachment_bar_set_width): Just adjusts the size instead of
	rebuild of the bar, which is the cause for the freeze. Fixes the
	bug #313799. Remove the function e_attachment_bar_refresh

	* e-attachment-bar.h: Remove the function e_attachment_bar_refresh

svn path=/trunk/; revision=30234
2005-08-24 04:22:14 +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 24917fc712 cast warning away.
2005-08-23  Not Zed  <NotZed@Ximian.com>

        * e-send-options.c (get_widgets): cast warning away.

        * e-calendar-item.c (e_calendar_item_realize): remove some unused
        vars.

svn path=/trunk/; revision=30219
2005-08-24 03:09:00 +00:00
Francisco Javier F. Serrador e967f26d1a Resolve #309074
2005-08-21  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* Resolve #309074

svn path=/trunk/; revision=30179
2005-08-21 18:10:23 +00:00
Srinivasa Ragavan cb37c563af Use camel_url to construct url (eab_icon_clicked_cb)
2005-08-17  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment-bar.c
	eab_drag_data_get: Use camel_url to construct url
	(eab_icon_clicked_cb) (e_attachment_bar_new):
	Fixed part of bug #312224. It handles double click on a attachment
	icon and calls gnome_url_show.

	* e-attachment.[ch] (finalise) (init): Add a new member to preserve
	the stored location
	(e_attachment_new)(e_attachment_build_remote_file): Camel_url to
	construct urls

svn path=/trunk/; revision=30160
2005-08-19 05:30:15 +00:00
Srinivasa Ragavan 7966598a85 Fixed few warnings
2005-08-16  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment.c (download_to_local_path) (e_attachment_edit): Fixed
	few warnings

svn path=/trunk/; revision=30128
2005-08-16 05:26:17 +00:00
Srinivasa Ragavan eb491088f8 Fix for bug #312545
2005-08-16  Srinivasa Ragavan <sragavan@novell.com>

	* mail/em-format-html-display.c:
	* widgets/misc/e-attachment*.c: Fix for bug #312545

svn path=/trunk/; revision=30126
2005-08-16 03:47:55 +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
Not Zed 0df3a787c4 revert dobey's last patch here, it completely broke customisation of the
2005-08-03  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (build_items): revert dobey's last patch here, it
        completely broke customisation of the menu.

svn path=/trunk/; revision=30116
2005-08-15 03:15:06 +00:00
Srinivasa Ragavan d3346e28f7 Added a function to force refresh/resize the icons.
2005-08-11  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment-bar.[ch] (e_attachment_bar_refresh): Added a function
	to force refresh/resize the icons.

svn path=/trunk/; revision=30082
2005-08-11 04:24:17 +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
David Malcolm 54f8da4d57 escape the "%" character correctly.
* e-attachment-bar.c: (update_remote_file): escape the "%" character correctly.

svn path=/trunk/; revision=29959
2005-08-03 04:13:29 +00:00
Sushma Rai 0725cd0609 added bug id 310488 to changelog
svn path=/trunk/; revision=29933
2005-07-29 06:48:20 +00:00
Mengjie Yu 484ab15780 Void function should not return value.
2005-07-28  Mengjie Yu  <meng-jie.yu@sun.com>

        * misc/e-attachment-bar.c: (update_remote_file):
        Void function should not return value.

        Fixes #311837

svn path=/trunk/; revision=29924
2005-07-29 04:39:25 +00:00
Srinivasa Ragavan 5fae902059 used ref instead of copying the entire mime part. Also commited
2005-07-29 Srinivasa Ragavan <sragavan@novell.com>

        * e-attachment.c: (e_attachment_new_from_mime_part) used ref instead of
        copying the entire mime part. Also commited
	(2005-07-15  Diego Gonzalez    <diego@pemas.net>) patch

svn path=/trunk/; revision=29921
2005-07-29 04:05:17 +00:00
Srinivasa Ragavan c40a953222 Added checks for the parameters.
2005-07-25  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment-bar,c: (e_attachment_bar_remove_selected) (e_attachment_bar_edit_selected)
	(e_attachment_bar_get_attachment) (e_attachment_bar_get_parts)
	(e_attachment_bar_get_download_count) (e_attachment_bar_attach_remote_file): Added
	checks for the parameters.

svn path=/trunk/; revision=29874
2005-07-25 05:40:44 +00:00
Srinivasa Ragavan 72aa1e526e Fixes a bug where it allows just builtin views to be edited and not user
2005-07-21  Srinivasa Ragavan <sragavan@novell.com>

	* menus/gal-define-views-dialog.c: (etable_selection_change_forall_cb)
	Fixes a bug where it allows just builtin views to be edited and not user
	added one. It should have been the other way around.

svn path=/trunk/; revision=29868
2005-07-25 04:30:33 +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
Vivek Jain 7b0b66588b ESendOptionsDialogClass: has a member new virtual method for default
2005-07-20  Vivek Jain  <jvivek@novell.com>

	* e-send-options.h : ESendOptionsDialogClass: has a member new virtual
	method for default callback of "sod_response"
	* e-send-options.c : introduced a new signal "sod_response"
	captures the response for the child dialog and makes it available at the
	object level (useful for the external members invoking the dialog)

svn path=/trunk/; revision=29815
2005-07-20 11:59:53 +00:00
Srinivasa Ragavan a4e4725d36 Cleaned up most of it. Added the DnD.
2005-07-20  Srinivasa Ragavan <sragavan@novell.com>

	* e-attachment-bar.[ch]:(remove_attachment) (update) (e_attachment_bar_get_selector)
	(e_attachment_bar_get_attachment) (destroy) (init) (e_attachment_bar_new)
	(e_attachment_bar_add_attachment) (e_attachment_bar_attach_remote_file)
	Cleaned up most of it. Added the DnD.

	* e-attachment.[ch]: (real_changed) (class_init) (init) (e_attachment_new)
	(e_attachment_new_remote_file) (e_attachment_build_remote_file): Moved the
	remote download code from bar to here and few cleanups.

svn path=/trunk/; revision=29813
2005-07-20 11:17:42 +00:00
Srinivasa Ragavan 6454ebb3b7 Added gnome-vfs-module-2.0 to E_WIDGET_CFLAGS. Added e-attachment-bar.[ch]
2005-07-11 Srinivasa Ragavan <sragavan@novell.com>

	* configure.in: Added gnome-vfs-module-2.0 to E_WIDGET_CFLAGS.
	* Added e-attachment-bar.[ch] e-attachment.[ch] e-attachment.glade to
	directory structure and the Makefile.am

svn path=/trunk/; revision=29708
2005-07-11 08:44:02 +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 2fbe8dce2d add relation to date_button.
2005-05-31  Li Yuan  <li.yuan@sun.com>

	* e-dateedit.c:(e_date_edit_update_date_entry):
	add relation to date_button.

	Fixes #302267

svn path=/trunk/; revision=29429
2005-05-31 10:10:45 +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
Not Zed 5e58353ddd move e-error.[ch] and e-system-errors.xml to e-util/. remove test-error.
2005-05-16  Not Zed  <NotZed@Ximian.com>

        * Makefile.am: move e-error.[ch] and e-system-errors.xml to
        e-util/. remove test-error.

svn path=/trunk/; revision=29359
2005-05-16 06:09:50 +00:00
Rodney Dawes d88e794ded Add profiler so that it gets disted properly
2005-05-13  Rodney Dawes  <dobey@novell.com>

	* plugins/Makefile.am (DIST_SUBDIRS): Add profiler so that it gets
	disted properly

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* Makefile.am: Add new em-folder-utils.[ch] abstraction

	* em-folder-browser.c: Update for new menu layout
	Add new methods to handle the actions that were previously only
	available from the context menu when right-clicking on a folder

	* em-folder-selector.c (emfs_response): Just call emfu_folder_create
	if the user wants to create a new folder in the selector dialog
	(em_folder_selector_get_selected_path): Clean up the code to fix a
	couple potential crashes

	* em-folder-tree.[ch]: Add methods to get pointers to a CamelFolder or
	CamelFolderInfo object for the selected item in the tree
	Add a method to get a pointer to an EMFolderTreeModelStoreInfo object
	for the selected store in the tree
	Move folder operations out into em-folder-utils.[ch] so that they
	are abstracted from the tree and can be used by methods other than
	the internal context menu

	* em-folder-utils.[ch]: Move the folder operations code to here

	* em-folder-view.c: Update for the new menu layout
	Fix Mark as Read/Unread in the context menu to only show up in the list

	* mail-component.c (create_item): Just call emfu_folder_create here
	when the user requests to create a new folder from the New toolbar item

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* org-gnome-mailing-list-actions.xml: Update for the new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* org-gnome-plugin-manager.xml: Update for new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* org-gnome-save-attachments.xml: Update for new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* e-shell-window.c (setup_widgets): Update for the new menu layout by
	putting the "component" switching items under the "Tools" menu

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* *.xml: Update to the new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* e-filter-bar.[ch]: Update for the new menu layout

svn path=/trunk/; revision=29354
2005-05-13 21:29:28 +00:00
Shreyas Srinivasan 29bb024c1a ChangeLog
2005-05-12  Shreyas Srinivasan	<sshreyas@novell.com>

	* ChangeLog

svn path=/trunk/; revision=29341
2005-05-12 12:59:43 +00:00
Shreyas Srinivasan 6262536b11 Fixed #272005
2005-05-12  Shreyas Srinivasan	<sshreyas@novell.com>

	* e-send-options.c : Fixed #272005

svn path=/trunk/; revision=29340
2005-05-12 12:59:06 +00:00
Srinivasa Ragavan 0120f7fffd Fix the bug 303856. Enables OK button when arrow key used to change the
2005-05-12  Srinivasa Ragavan <sragavan@novell.com>
	* misc/e-dateedit.c: (on_time_entry_key_release),
	(create_children): Fix the bug 303856. Enables OK button
	when arrow key used to change the time in a appointment.

svn path=/trunk/; revision=29329
2005-05-12 05:42:18 +00:00
Sarfraaz Ahmed 835ba64d0c Fixed a typo. #273095
2005-05-06  Sarfraaz Ahmed <asarfraaz@novell.com>

        * e-send-options.glade : Fixed a typo. #273095

svn path=/trunk/; revision=29294
2005-05-06 06:28:27 +00:00
Harish Krishnaswamy b4a2742ea9 Fix for 273097
svn path=/trunk/; revision=29286
2005-05-06 05:14:48 +00:00
Harish Krishnaswamy 01babc63d8 Fixes 273096
svn path=/trunk/; revision=29283
2005-05-06 05:10:09 +00:00
Sarfraaz Ahmed 21a815d86f Solaris gettext crashes on NULL input string. Fixes #260312. Patch
2005-05-06  Sarfraaz Ahmed <asarfraaz@novell.com>

        * misc/e-search-bar.c: (set_menu) Solaris gettext crashes on NULL
        input string. Fixes #260312. Patch submitted by
        Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>

svn path=/trunk/; revision=29282
2005-05-06 04:47:19 +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
Mengjie Yu ed13004c60 we should not do any layout adjustment if the item doesn't exist.
2005-04-28  Mengjie Yu  <meng-jie.yu@sun.com>

        * gal/widgets/e-reflow.c: (do_adjustment):
        we should not do any layout adjustment if the item doesn't exist.

        Fixes #302275

svn path=/trunk/; revision=29248
2005-04-29 08:09:55 +00:00