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-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-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-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-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
2004-01-04 Harry Lu <harry.lu@sun.com>
* misc/e-combo-button.c: (e_combo_button_popup): new internal function
to popup the menu.
(impl_button_press_event): call the new function.
(e_combo_button_class_init): init a11y.
(e_combo_button_get_label): new function to return label.
(e_combo_button_popup_menu): new function to popup menu.
* misc/e-combo-button.h: add function declarations.
svn path=/trunk/; revision=28227
2004-12-17 Not Zed <NotZed@Ximian.com>
* e-error.c (ee_load, e_error_newv): translate strings based on
translation-domain, if supplied.
svn path=/trunk/; revision=28179
2004-12-14 Rodney Dawes <dobey@novell.com>
* e-calendar-item.c (e_calendar_item_draw): Use gtk_paint_foo instead
of the deprecated gtk_draw_foo functions
(e_calendar_item_get_day_style): Use colors from the theme for the
background and foreground of various items
* test-calendar.c (main): Don't set a callback for getting the day
style, we want the test app to use the widget defaults
(get_day_style): Remove all this duplicated code as we want to use
the widget default colors for day fg/bg
svn path=/trunk/; revision=28126
2004-10-28 Li Yuan <li.yuan@sun.com>
* e-timezone-dialog/e-timezone-dialog.glade:
Add a name for timezone combox.
* misc/e-calendar.c: (e_calendar_init), (e_calendar_new):
Make accessibility name and description translatable.
Add a atk name for the two buttons so that they can be UI
grabbed by GOK.
* misc/e-dateedit.c: (e_date_edit_new), (create_children):
Add a name for atk object.
Make accessibility name and description translatable.
Add name and description for the date_entry, date_button
and time_combo.
(e_date_edit_show_date_popup), (hide_date_popup):
Grab and ungrab keyboard.
add_relation():
New function to add labelled_by relation for entry
and combobox.
* misc/e-map.c: (e_map_new):
Add a name for world map widget.
Make accessibility name and description translatable.
Set the atk role to image.
* misc/e-multi-config-dialog.c: (e_multi_config_dialog_add_page):
Add an atk name for the page.
svn path=/trunk/; revision=27776
2004-10-13 JP Rosevear <jpr@novell.com>
* Makefile.am: don't build source selector or source option menu
or test programs any more
svn path=/trunk/; revision=27570
2004-10-08 Harry Lu <harry.lu@sun.com>
* e-source-selector.c: (e_source_selector_popup_menu),
(class_init): implement popup_menu so that popup menu can
be shown with Shift+F10.
svn path=/trunk/; revision=27506
2004-10-01 Not Zed <NotZed@Ximian.com>
* e-util-marshal.list: added boolean object boxed.
* e-source-selector.c (class_init): add new 'popup event' signal,
to replace fill_popup_menu.
(selector_button_press_event): emit a POPUP_EVENT rather than a
FILL_POPUP_MENU.
svn path=/trunk/; revision=27465