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-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-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-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-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-28 Li Yuan <li.yuan@sun.com>
* gal/widgets/e-canvas-background.c: (ecb_style_set),
(ecb_class_init):add a signal "style_set" to support theme.
* gal/widgets/e-canvas-background.h:
ditto.
Fixes#301888
svn path=/trunk/; revision=29235
2005-04-21 Mengjie Yu <meng-jie.yu@sun.com>
* gal/widgets/e-reflow.c: (do_adjustment), (cursor_changed),
(e_reflow_dispose), (e_reflow_init):
use idle callback to adjust scrollbar when focus has been changed.
* gal/widgets/e-reflow.h:
add source ID field for idle callback
Fixes#300954
svn path=/trunk/; revision=29223
2005-03-14 Not Zed <NotZed@Ximian.com>
* menus/gal-view-menus.c (build_menus): don't
bonobo_ui_free_string from bonobo_ui_node_to_string - it should be
g_free'd now (api chagne in bonobo).
svn path=/trunk/; revision=29020
2005-03-02 Mengjie Yu <meng-jie.yu@sun.com>
* gal/widgets/e-reflow.c: (e_reflow_event):don't allow to drag
the first line of mini reflows.
Fixes#73207
svn path=/trunk/; revision=28952
2005-02-21 Rodney Dawes <dobey@novell.com>
* e-combo-button.c (paint): Fix the calculation of which shadow type
to use to be more appropriate for the widget state and relief
Always call gtk_box_paint and not only in special cases like GtkButton
(e_combo_button_init): Change the arrow packing to pack_end
Fixes#54503
svn path=/trunk/; revision=28836
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 Rodney Dawes <dobey@novell.com>
* e-error.c (e_error_newv): Fix up spacing to be HIG compliant for
the borders around the dialogs
svn path=/trunk/; revision=28566
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-21 Rodney Dawes <dobey@novell.com>
* gal/e-text/e-text.c (_do_tooltip): Don't pass in the "fill_color"
property for creating the canvas item for the tooltip
* gal/widgets/e-reflow.c (set_empty): Don't pass in the "fill_color"
property for creating the EText canvas item
Fixes#9413
svn path=/trunk/; revision=28501
2005-01-20 Not Zed <NotZed@Ximian.com>
** See bug #64964.
* e-error.c (e_error_newv): just use add_button, not
add_action_widget, for stock+label widgets, since they both show
the same, and for some reason set_default_response doesn't work
otherwise.
svn path=/trunk/; revision=28460
2005-01-19 Harry Lu <harry.lu@sun.com>
Fix for 46359, enable "Alt+Down Arrow" to show the popup for
e-combo-cell-editable.c.
* e-combo-cell-editable.c: (show_popup): rewrite it to a more
generic function.
(button_clicked_cb): call the new show_popup function.
(entry_key_press_event_cb): show popup if "Alt+Down Arrow".
(ecce_grab_focus): new function.
(ecce_class_init): add grab_focus handler so that the entry
can get focus.
svn path=/trunk/; revision=28446
2005-01-18 Hao Sheng <hao.sheng@sun.com>
* misc/e-dateedit.[ch]:
(e_date_edit_get_entry): return the entry of the date edit.
svn path=/trunk/; revision=28428
2005-01-17 Harry Lu <harry.lu@sun.com>
Fix for 62831.
* e-search-bar.c: (activate_by_subitems): add an a11y name for
the search entry.
svn path=/trunk/; revision=28416
2005-01-12 Chenthill Palanisamy <pchenthill@novell.com>
* e-send-options.c: (e_send_options_get_widgets_data),
(e_send_options_fill_widgets_with_data): Get the value
for the autodelete toggle button
(page_changed_cb): Do not hide the classification label
and its combo box here.
svn path=/trunk/; revision=28379
2005-01-06 Chenthill Palanisamy <pchenthill@novell.com>
Commiting the files mentioned below again to HEAD since it
was not added in head.
svn path=/trunk/; revision=28250