aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
Commit message (Collapse)AuthorAgeFilesLines
...
* Added a function to force refresh/resize the icons.Srinivasa Ragavan2005-08-113-0/+12
| | | | | | | | | 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
* Add a11y name to the left table of config dialog. Add name to the leftLi Yuan2005-08-044-3/+35
| | | | | | | | | | | | | | 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
* escape the "%" character correctly.David Malcolm2005-08-032-1/+6
| | | | | | * e-attachment-bar.c: (update_remote_file): escape the "%" character correctly. svn path=/trunk/; revision=29959
* added bug id 310488 to changelogSushma Rai2005-07-291-6/+7
| | | | svn path=/trunk/; revision=29933
* Void function should not return value.Mengjie Yu2005-07-292-2/+11
| | | | | | | | | | | 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
* used ref instead of copying the entire mime part. Also commitedSrinivasa Ragavan2005-07-293-45/+28
| | | | | | | | | | 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
* Added checks for the parameters.Srinivasa Ragavan2005-07-252-0/+33
| | | | | | | | | | | 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
* Fixes a bug where it allows just builtin views to be edited and not userSrinivasa Ragavan2005-07-252-2/+8
| | | | | | | | | | 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
* Added code to use stock icons instead of -> and <-Srinivasa Ragavan2005-07-252-8/+262
| | | | | | | | | 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
* ESendOptionsDialogClass: has a member new virtual method for defaultVivek Jain2005-07-203-1/+27
| | | | | | | | | | | | 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
* Cleaned up most of it. Added the DnD.Srinivasa Ragavan2005-07-205-131/+407
| | | | | | | | | | | | | | | 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
* Added gnome-vfs-module-2.0 to E_WIDGET_CFLAGS. Added e-attachment-bar.[ch]Srinivasa Ragavan2005-07-117-1/+2008
| | | | | | | | | | 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
* Added widgets in INCLUDES.Kaushal Kumar2005-06-2355-78/+96
| | | | | | | | | | | | 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
* Added from gal/gal/e-table as Gal is retired from Head and e-table filesKaushal Kumar2005-06-212-0/+8923
| | | | | | | | | 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
* If only a few rows have changed, emit each as a separate row_changed eventNot Zed2005-06-201-2/+31
| | | | | | | | | | | 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
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-17196-564/+915
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Don't hide the tooltip if we don't have a canvas anymore. Patch by: NotKaushal Kumar2005-06-011-1/+3
| | | | | | | | | | 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
* add relation to date_button.Li Yuan2005-05-312-0/+8
| | | | | | | | | | | 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
* export ethi_change_sort_state, so we can call it in a11y part.Li Yuan2005-05-204-1/+14
| | | | | | | | | | | | | | | 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
* move e-error.[ch] and e-system-errors.xml to e-util/. remove test-error.Not Zed2005-05-166-743/+6
| | | | | | | | | 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
* Add profiler so that it gets disted properlyRodney Dawes2005-05-143-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ChangeLogShreyas Srinivasan2005-05-121-0/+4
| | | | | | | | 2005-05-12 Shreyas Srinivasan <sshreyas@novell.com> * ChangeLog svn path=/trunk/; revision=29341
* Fixed #272005Shreyas Srinivasan2005-05-121-10/+46
| | | | | | | | 2005-05-12 Shreyas Srinivasan <sshreyas@novell.com> * e-send-options.c : Fixed #272005 svn path=/trunk/; revision=29340
* Fix the bug 303856. Enables OK button when arrow key used to change theSrinivasa Ragavan2005-05-122-0/+27
| | | | | | | | | 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
* Fixed a typo. #273095Sarfraaz Ahmed2005-05-062-2/+5
| | | | | | | | 2005-05-06 Sarfraaz Ahmed <asarfraaz@novell.com> * e-send-options.glade : Fixed a typo. #273095 svn path=/trunk/; revision=29294
* Fix for 273097Harish Krishnaswamy2005-05-062-4/+4
| | | | svn path=/trunk/; revision=29286
* Fixes 273096Harish Krishnaswamy2005-05-062-2/+6
| | | | svn path=/trunk/; revision=29283
* Solaris gettext crashes on NULL input string. Fixes #260312. PatchSarfraaz Ahmed2005-05-062-1/+7
| | | | | | | | | | 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
* Check for NULL string before passing to dgettext. Fixes a crash onSarfraaz Ahmed2005-05-061-1/+1
| | | | | | | | | | 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
* Port to Windows, initial commit:Tor Lillqvist2005-04-29107-447/+674
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* we should not do any layout adjustment if the item doesn't exist.Mengjie Yu2005-04-291-1/+4
| | | | | | | | | | | 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
* add a signal "style_set" to support theme. ditto.Li Yuan2005-04-282-0/+27
| | | | | | | | | | | | | 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
* use widget->style instead of hard code colors.Li Yuan2005-04-284-25/+28
| | | | | | | | | | | | | | | | 2005-04-28 Li Yuan <li.yuan@sun.com> * misc/e-calendar-item.c: (e_calendar_item_realize), (e_calendar_item_set_selection_if_emission), (e_calendar_item_style_set): use widget->style instead of hard code colors. * misc/e-calendar-item.h: * misc/e-calendar.c: (e_calendar_style_set): call e_calendar_item_style_set when style changes. Fixes #6767. svn path=/trunk/; revision=29234
* use idle callback to adjust scrollbar when focus has been changed. addMengjie Yu2005-04-222-0/+42
| | | | | | | | | | | | | | 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
* break while row equals -1.Mengjie Yu2005-04-211-0/+3
| | | | | | | | | | | 2005-04-21 Mengjie Yu <meng-jie.yu@sun.com> * gal/widgets/e-selection-model.c: (e_selection_model_key_press): break while row equals -1. Fixes #74434 svn path=/trunk/; revision=29222
* Fixes #40762Li Yuan2005-03-231-1/+8
| | | | | | | | | | 2005-03-16 Li Yuan <li.yuan@sun.com> * gal-define-views-dialog.c: (etable_selection_change_forall_cb): Fixes #40762 svn path=/trunk/; revision=29093
* don't bonobo_ui_free_string from bonobo_ui_node_to_string - it should beNot Zed2005-03-152-4/+7
| | | | | | | | | | 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
* bounds check the selection beginning.Theppitak Karoonboonyanan2005-03-141-4/+4
| | | | | | | | | | 2005-03-14 Theppitak Karoonboonyanan <theppitak@gmail.com> * gal/e-text/e-text.c (e_text_retrieve_surrounding_cb) (e_text_delete_surrounding_cb): bounds check the selection beginning. svn path=/trunk/; revision=29008
* selecion fixes for im's.Theppitak Karoonboonyanan2005-03-141-7/+18
| | | | | | | | | 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
* Handling static capability for disabling general send options at theSushma Rai2005-03-112-0/+6
| | | | | | right palce. Fixes #73501 svn path=/trunk/; revision=29000
* don't allow to drag the first line of mini reflows.Mengjie Yu2005-03-041-0/+3
| | | | | | | | | | | 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
* Make the entry widget grab focus. Fixes bug #60551.Jeffrey Stedfast2005-03-032-0/+7
| | | | | | | | | 2005-03-01 Jeffrey Stedfast <fejj@novell.com> * e-search-bar.c (subitem_activated_cb): Make the entry widget grab focus. Fixes bug #60551. svn path=/trunk/; revision=28940
* Fix for #73009.Li Yuan2005-02-282-0/+4
| | | | | | | | | | 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
* Fix the calculation of which shadow type to use to be more appropriate forRodney Dawes2005-02-222-16/+28
| | | | | | | | | | | | | 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
* Install shared libraries to privlibdir.Hans Petter Jansson2005-02-104-6/+11
| | | | | | | | | | | | | | | | 2005-02-09 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-editor/Makefile.am: * addressbook/gui/contact-list-editor/Makefile.am: * addressbook/util/Makefile.am: * filter/Makefile.am: * widgets/e-timezone-dialog/Makefile.am: * widgets/menus/Makefile.am: * widgets/misc/Makefile.am: * smime/lib/Makefile.am: * smime/gui/Makefile.am: Install shared libraries to privlibdir. svn path=/trunk/; revision=28762
* Some code clean work.Harry Lu2005-02-041-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-27 Harry Lu <harry.lu@sun.com> Some code clean work. * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (gal_a11y_e_table_click_to_add_init): new function to register type only when a11y is enabled. * gal/a11y/e-table/gal-a11y-e-table-click-to-add.h: * gal/a11y/e-table/gal-a11y-e-table-item.c: (gal_a11y_e_table_item_init): ditto. * gal/a11y/e-table/gal-a11y-e-table.c: (gal_a11y_e_table_init): ditto. * gal/a11y/e-table/gal-a11y-e-table.h: * gal/a11y/e-table/gal-a11y-e-tree.c: (gal_a11y_e_tree_init): ditto. * gal/a11y/e-table/gal-a11y-e-tree.h: * gal/a11y/e-text/gal-a11y-e-text.c: (gal_a11y_e_text_init): ditto. * gal/a11y/e-text/gal-a11y-e-text.h: * gal/a11y/factory.c: useless file removed. * gal/a11y/init.c: useless file removed. * gal/e-text/e-text.c: (e_text_class_init): move a11y registry call to a11y code. svn path=/trunk/; revision=28702
* Some code clean work.Harry Lu2005-02-043-16/+6
| | | | | | | | | | | | | 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
* add a11y name to url link button.Li Yuan2005-02-032-0/+7
| | | | | | | | | 2005-02-02 Li Yuan <li.yuan@sun.com> * e-url-entry.c: (init): add a11y name to url link button. svn path=/trunk/; revision=28688
* add an a11y name for the popup list. make shortcut key ALT+Arrow work.Li Yuan2005-01-2713-63/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix up spacing to be HIG compliant for the borders around the dialogsRodney Dawes2005-01-272-1/+8
| | | | | | | | | 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
* Fixes #38195JP Rosevear2005-01-261-7/+1
| | | | | | | | | | | 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
* turn off debug output, people think its a significant error.Not Zed2005-01-252-2/+6
| | | | | | | | | 2005-01-25 Not Zed <NotZed@Ximian.com> * e-error.c: turn off debug output, people think its a significant error. svn path=/trunk/; revision=28539
* add a11y name for the option menu.Mengjie Yu2005-01-242-0/+11
| | | | | | | | | 2005-01-24 Mengjie Yu <meng-jie.yu@sun.com> * e-search-bar.c: (set_option): add a11y name for the option menu. svn path=/trunk/; revision=28523
* Don't pass in the "fill_color" property for creating the canvas item forRodney Dawes2005-01-222-2/+0
| | | | | | | | | | | | | 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
* fix a typoHarry Lu2005-01-201-1/+1
| | | | svn path=/trunk/; revision=28461
* ** See bug #64964.Not Zed2005-01-202-1/+14
| | | | | | | | | | | | | 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
* add a translater note.Harry Lu2005-01-202-0/+6
| | | | | | | | 2005-01-20 Harry Lu <harry.lu@sun.com> * e-search-bar.c: (activate_by_subitems): add a translater note. svn path=/trunk/; revision=28457
* Fix for 46359, enable "Alt+Down Arrow" to show the popup forHarry Lu2005-01-192-12/+42
| | | | | | | | | | | | | | | | | 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
* return the entry of the date edit.Hao Sheng2005-01-183-0/+16
| | | | | | | | | 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
* Fix for 62831.Harry Lu2005-01-172-0/+12
| | | | | | | | | | | 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
* Get the value for the autodelete toggle button (page_changed_cb): Do notChenthill Palanisamy2005-01-122-2/+15
| | | | | | | | | | | | 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
* Added code to support global options. Filled the finalize and disposeChenthill Palanisamy2005-01-104-13/+167
| | | | | | | | | | | | | | | | | 2005-01-10 Chenthill Palanisamy <pchenthill@novell.com> * e-send-options.c: (e_send_options_get_widgets_data), (e_send_options_fill_widgets_with_data), (page_changed_cb), (init_widgets), (get_widgets), (setup_widgets), (e_sendoptions_set_global), (e_sendoptions_dialog_run), (e_sendoptions_dialog_finalize), (e_sendoptions_dialog_dispose), (e_sendoptions_dialog_init), (e_sendoptions_dialog_class_init), (e_sendoptions_dialog_get_type): Added code to support global options. Filled the finalize and dispose functions. * e-send-options.glade: Changed a label id. * e-send-options.h: Added the set_global function. svn path=/trunk/; revision=28315
* dist the glade fileJP Rosevear2005-01-062-0/+5
| | | | | | | | 2005-01-06 JP Rosevear <jpr@novell.com> * Makefile.am: dist the glade file svn path=/trunk/; revision=28255
* Commiting the files mentioned below again to HEAD since it was not addedChenthill Palanisamy2005-01-064-0/+1939
| | | | | | | | | 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
* merging send optionsChenthill Palanisamy2005-01-062-0/+12
| | | | | | | | | | | 2005-01-06 Chenthill Palanisamy <pchenthill@novell.com> merging send options * Makefile.am: * e-send-options.[ch]: Widgets for the send options dialog * e-send-options.glade: Contains interface for the dialog svn path=/trunk/; revision=28249
* Modify the changelog's entry date to corret year.Harry Lu2005-01-041-1/+1
| | | | svn path=/trunk/; revision=28229
* new internal function to popup the menu. (impl_button_press_event): callHarry Lu2005-01-043-4/+61
| | | | | | | | | | | | | | 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
* translate strings based on translation-domain, if supplied.Not Zed2004-12-222-9/+29
| | | | | | | | | 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
* Fixes #29309JP Rosevear2004-12-222-3/+18
| | | | | | | | | | | | | | | 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
* Use gtk_paint_foo instead of the deprecated gtk_draw_foo functionsRodney Dawes2004-12-153-99/+46
| | | | | | | | | | | | | | | | 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
* test progJP Rosevear2004-11-2619-696/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * test-info-label.c: test prog * e-url-entry.c: get image directly from icon factory * e-combo-button.c: ditto; convert to G_DEFINE_TYPE * e-activity-handler.c: convert to G_DEFINE_TYPE * e-task-widget.c: ditto * e-task-bar.c: ditto * e-multi-config-dialog.c: ditto * e-dropdown-button.c: ditto * e-cell-renderer-combo.c: ditto * e-cell-date-edit.c: ditto * e-calendar.c: ditto * e-calendar-item.c: ditto * Makefile.am: don't build the title bar, build an info label test program svn path=/trunk/; revision=27999
* check whether header_canvas and table_canvas is NULL.Li Yuan2004-11-241-3/+5
| | | | | | | | | 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
* Convert to G_DEFINE_TYPEJP Rosevear2004-11-122-12/+16
| | | | | | | | 2004-11-12 JP Rosevear <jpr@novell.com> * menus/gal-view-menus.c: Convert to G_DEFINE_TYPE svn path=/trunk/; revision=27904
* convert to G_DEFINE_TYPEJP Rosevear2004-11-122-12/+10
| | | | | | | | 2004-11-12 JP Rosevear <jpr@novell.com> * e-timezone-dialog/e-timezone-dialog.c: convert to G_DEFINE_TYPE svn path=/trunk/; revision=27903
* if canvas has a focused item but the etable does not have a cursor row,Li Yuan2004-11-041-0/+4
| | | | | | | | | | 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
* Fix up changelogs to have the correct info.JP Rosevear2004-11-022-86/+91
| | | | svn path=/trunk/; revision=27778
* Add a name for timezone combox. Make accessibility name and descriptionLi Yuan2004-11-016-1/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* use E_WIDGET instead of GNOME_FULLJP Rosevear2004-10-282-8/+12
| | | | | | | | 2004-10-27 JP Rosevear <jpr@novell.com> * Makefile.am: use E_WIDGET instead of GNOME_FULL svn path=/trunk/; revision=27745
* return FALSE so we don't kill the focus event chainJP Rosevear2004-10-201-3/+3
| | | | | | | | | 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
* fix e-source-option-menu includeJP Rosevear2004-10-152-1/+5
| | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * e-pilot-settings.c: fix e-source-option-menu include svn path=/trunk/; revision=27585
* don't build source selector or source option menu or test programs anyJP Rosevear2004-10-149-1825/+7
| | | | | | | | | 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
* implement popup_menu so that popup menu can be shown with Shift+F10.Harry Lu2004-10-082-0/+24
| | | | | | | | | | 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
* Fixes #66164JP Rosevear2004-10-062-2/+14
| | | | | | | | | | | 2004-10-06 JP Rosevear <jpr@novell.com> Fixes #66164 * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): replicate fix to e-cell-combo.c by NotZed svn path=/trunk/; revision=27475
* added boolean object boxed.Not Zed2004-10-064-21/+38
| | | | | | | | | | | | | 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
* Add the label back for previewing the timezone name, and set the labelRodney Dawes2004-09-143-10/+66
| | | | | | | | | | | | | | 2004-09-13 Rodney Dawes <dobey@novell.com> * e-timezone-dialog/e-timezone-dialog.c (get_widgets): (on_map_motion, on_map_leave, e_timezone_dialog_set_timezone): * e-timezone-dialog/e-timezone-dialog.glade: Add the label back for previewing the timezone name, and set the label appropriately Fixes #64800 svn path=/trunk/; revision=27258
* Point at "config-prefs" instead of "config" for the help sectionRodney Dawes2004-09-142-1/+6
| | | | | | | | | 2004-09-13 Rodney Dawes <dobey@novell.com> * e-multi-config-dialog.c (impl_response): Point at "config-prefs" instead of "config" for the help section svn path=/trunk/; revision=27254
* Bugzilla #63731Suresh Chandrasekharan2004-08-311-2/+32
| | | | | | | | | | | | | | | | 2004-08-29 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Bugzilla #63731 * gal/e-text/e-text.c (insert_preedit_text): For multilple ETexts sharing the same GnomeCanvas im_context, prevent updating all childern in case preedit for one changed. (e_text_event): Don't disconnect the signal to a EText if it is out of focus and still having preedit. Save it and disconnect it when another EText comes into focus. svn path=/trunk/; revision=27085
* Rollback for fix #63731Suresh Chandrasekharan2004-08-262-17/+24
| | | | | | | 2004-08-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Rollback for fix #63731 svn path=/trunk/; revision=27028
* Bugzilla #63731Suresh Chandrasekharan2004-08-262-24/+17
| | | | | | | | | | | | | | | | | | | | | 2004-08-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Bugzilla #63731 * gal/e-text/e-text.h: Remove unneeded text->im_context_signals_registered. * gal/e-text/e-text.c (e_text_init): Removed text->im_context_signals_registered (e_text_event): Remove text->im_context signals handler connect/disconnect from here. (e_text_set_property): Added them here, now they will be invoked only @ text->im_context creation time, or re-set or at e_text_dispose. Also focus_out events does not affect the signals as they used to. svn path=/trunk/; revision=27024
* [ probable fix for the remaining portion of #45931 ]Chris Toshok2004-08-251-3/+8
| | | | | | | | | | | | 2004-08-23 Chris Toshok <toshok@ximian.com> [ probable fix for the remaining portion of #45931 ] * gal/e-text/e-entry.c (e_entry_show_popup): only return early if we're trying to pop up the view while the entry is unfocused. if we're trying to pop it down, carry on as normal. svn path=/trunk/; revision=27009
* Connect to the "changed" signal instead of "activate"Rodney Dawes2004-08-172-1/+8
| | | | | | | | | | | 2004-08-17 Rodney Dawes <dobey@novell.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Connect to the "changed" signal instead of "activate" Fixes #62970 svn path=/trunk/; revision=26956
* Really dist the pilot sources this timeJP Rosevear2004-08-132-0/+10
| | | | | | | | 2004-08-03 JP Rosevear <jpr@novell.com> * Makefile.am: Really dist the pilot sources this time svn path=/trunk/; revision=26902
* include scrollbar offset in vertical calculation. don't ask me i just workNot Zed2004-08-121-4/+6
| | | | | | | | | | 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
* nuke, unnecessary. (e_entry_start_completion): set item_chosen to FALSE.Chris Toshok2004-08-061-20/+6
| | | | | | | | | | | | 2004-08-04 Chris Toshok <toshok@ximian.com> * gal/e-text/e-entry.c (e_entry_refresh_popup): nuke, unnecessary. (e_entry_start_completion): set item_chosen to FALSE. (added_cb): nuke, unnecessary. (full_cb): only show the popup if the user hasn't chosen an entry. (activate_cb): set item_chosen to TRUE. svn path=/trunk/; revision=26832
* do not set position, it's already done in .glade, call set_transient_forRadek Doulik2004-08-044-17/+17
| | | | | | | | | | | | | | | | | | | | | | | 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
* accessor (e_pilot_settings_set_source): ditto (build_ui): show the sourceJP Rosevear2004-08-034-0/+293
| | | | | | | | | | | | | 2004-08-01 JP Rosevear <jpr@novell.com> * e-pilot-settings.c (e_pilot_settings_get_source): accessor (e_pilot_settings_set_source): ditto (build_ui): show the source option menu (e_pilot_settings_new): use above * e-pilot-settings.h: add prototypes svn path=/trunk/; revision=26797
* use ctrl-shift-q to clear search barJP Rosevear2004-07-262-1/+6
| | | | | | | | | 2004-07-26 JP Rosevear <jpr@novell.com> * e-search-bar.c (setup_bonobo_menus): use ctrl-shift-q to clear search bar svn path=/trunk/; revision=26734
* watch for selection changes and set Delete button sensitivity according toRadek Doulik2004-07-241-0/+21
| | | | | | | | | | | | 2004-07-23 Radek Doulik <rodo@ximian.com> * gal-define-views-dialog.c: watch for selection changes and set Delete button sensitivity according to view collection item built-in flag Fixes #57914 svn path=/trunk/; revision=26717
* include config.h. See #61395.Not Zed2004-07-222-0/+8
| | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * e-error.c: include config.h. See #61395. svn path=/trunk/; revision=26696
* remove protoJP Rosevear2004-07-213-41/+24
| | | | | | | | | | | | | | | 2004-07-20 JP Rosevear <jpr@novell.com> * e-source-selector.h: remove proto * e-source-selector.c (selection_func): don't force the item to be checked (cell_toggled_callback): allow the cell to be untoggled even if its primary (init): set the pixbuf renderable (e_source_selector_set_toggle_selection): no longer necessary svn path=/trunk/; revision=26682
* remove debug spew and fix the display when pango_layout_line_x_to_indexChris Toshok2004-07-162-10/+11
| | | | | | | | | | | 2004-07-16 Chris Toshok <toshok@ximian.com> * e-clipped-label.c (e_clipped_label_recalc_chars_displayed): remove debug spew and fix the display when pango_layout_line_x_to_index returns FALSE (before we were drawing both the ellipses and the text). svn path=/trunk/; revision=26660
* s/GB-2312/GB2312/ - fixes bug #61385.Jeffrey Stedfast2004-07-132-1/+5
| | | | | | | | 2004-07-12 Jeffrey Stedfast <fejj@novell.com> * e-charset-picker.c: s/GB-2312/GB2312/ - fixes bug #61385. svn path=/trunk/; revision=26641
* added e_table_model_pre_change because we call e_table_model_row_insertedRadek Doulik2004-07-131-0/+2
| | | | | | | | | | | 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
* fixed the ChangeLogJeffrey Stedfast2004-07-011-1/+1
| | | | svn path=/trunk/; revision=26556
* Fix alignment of the icon to be 0x0Rodney Dawes2004-06-252-0/+7
| | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * e-error.c (e_error_newv): Fix alignment of the icon to be 0x0 Fixes #60493 svn path=/trunk/; revision=26503
* Add a call to e_source_selector_set_select_new here so that we can selectRodney Dawes2004-06-253-1/+34
| | | | | | | | | | | | | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c (create_component_view): * gui/tasks-component.c (create_component_view): Add a call to e_source_selector_set_select_new here so that we can select new sources when we create them 2004-06-24 Rodney Dawes <dobey@novell.com> * e-source-selector.[ch]: Add new "select_new" property to private structure of the ESourceSelector (rebuild_cb): Add code to select the new source, and cause the selection_changed signal to get emitted, if we select new sources (init): Don't select new sources by default (e_source_selector_set_select_new): Add function to set whether or not we want to select new sources when we add them svn path=/trunk/; revision=26498
* Fix some spacing and border width properties on the dialog's widgets toRodney Dawes2004-06-233-0/+52
| | | | | | | | | | | | | | | | | | | 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
* Add preconditions. Make sure garbage or NULL data doesn't get used.Hans Petter Jansson2004-06-232-5/+22
| | | | | | | | | 2004-06-22 Hans Petter Jansson <hpj@ximian.com> * misc/e-source-selector.c (e_source_selector_peek_primary_selection): Add preconditions. Make sure garbage or NULL data doesn't get used. svn path=/trunk/; revision=26454
* clone view before saving it to avoid problems with setting current_view_idRadek Doulik2004-06-211-0/+2
| | | | | | | | | | | | 2004-06-21 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_save): clone view before saving it to avoid problems with setting current_view_id Fixes #57354 svn path=/trunk/; revision=26437
* fix a path leak and maek the code more structured.Not Zed2004-06-163-7/+33
| | | | | | | | | | | | 2004-06-16 Not Zed <NotZed@Ximian.com> * e-source-selector.c (cell_toggled_callback): fix a path leak and maek the code more structured. (e_source_selector_set_toggle_selection): set the mode on whether you can toggle the currnet selection or not. (cell_toggled_callback): implement set_toggle_selection behaviour. svn path=/trunk/; revision=26361
* prepend label " " before the ETableRadek Doulik2004-06-152-14/+57
| | | | | | | | | | | | | 2004-06-14 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.glade: prepend label " " before the ETable * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_set_instance): select first row (gal_view_instance_save_as_dialog_init): show the etable svn path=/trunk/; revision=26338
* (pixbuf_cell_data_func): fix the appearance a little.Larry Ewing2004-06-122-2/+4
| | | | svn path=/trunk/; revision=26316
* (pixbuf_cell_data_func): clean up warnings. (double bad larry).Larry Ewing2004-06-122-4/+2
| | | | svn path=/trunk/; revision=26315
* (pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).Larry Ewing2004-06-122-1/+2
| | | | svn path=/trunk/; revision=26314
* make the source selector use a colock block instead of setting theLarry Ewing2004-06-122-14/+50
| | | | | | | | | | 2004-06-11 Larry Ewing <lewing@ximian.com> * misc/e-source-selector.c: make the source selector use a colock block instead of setting the foreground to indicate the source color. svn path=/trunk/; revision=26313
* set dialog window position, glade doesn't do that for us anymore as theRadek Doulik2004-06-114-4/+158
| | | | | | | | | | | | | | | | | | 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
* hardcode the border size. it is hardcoded in e-text as well. Even usingRadek Doulik2004-06-111-5/+7
| | | | | | | | | | | | | | | 2004-06-11 Radek Doulik <rodo@ximian.com> * gal/e-text/e-entry.c (canvas_size_request): hardcode the border size. it is hardcoded in e-text as well. Even using style values in e-text will not help as style values might differ between EText and EEntry. I think it will be best to rewrite EEntry for evo 2.1 so that it derives from GtkEntry and only adds the auto completion feature Fixes part of #42864 svn path=/trunk/; revision=26309
* HIGified, updated as suggested in #46236Radek Doulik2004-06-112-244/+224
| | | | | | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.glade: HIGified, updated as suggested in #46236 * gal-view-instance-save-as-dialog.c (gvisad_setup_radio_buttons): removed notebook with help text switching (gal_view_instance_save_as_dialog_init): set dialog title Fixes #46236 svn path=/trunk/; revision=26292
* added castRadek Doulik2004-06-114-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c (idle_do_action): added cast * gal/a11y/e-table/gal-a11y-e-cell-tree.c (gal_a11y_e_cell_tree_new): added cast * gal/a11y/e-table/gal-a11y-e-cell.c: added #include <gtk/gtkwindow.h> * gal/e-text/e-text.c (_get_position): removed unused variable * gal/e-text/e-completion.c: #if 0'ed e_completion_sort * tests/test-text.c (create_entry): removed unused variables added #include "gal/widgets/e-canvas-utils.h" added #include "gal/e-text/e-text-model.h" (create_text): removed unused variables (create_ro_text): ditto * tests/test-table-1.c (create_table): added cast * tests/test-completion.c (main): added cast * gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): return NULL if check fails added #include <string.h> for strlen (et_get_text_after_offset): fixed typo defalut --> default (et_get_text_at_offset): ditto (et_get_character_extents): removed unused variables (et_set_selection): ditto (_et_command_cb): added default: label to quiet compiler * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c (gal_a11y_e_table_click_to_add_factory_create_accessible): return NULL if check fails * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c (idle_do_action): fixed wrong cast (idle_do_action): removed unused variables (etcta_ref_child): return NULL if check fails (gal_a11y_e_table_click_to_add_new): ditto (gal_a11y_e_table_click_to_add_new): removed unused variable * gal/a11y/e-table/gal-a11y-e-table-item-factory.c (gal_a11y_e_table_item_factory_create_accessible): return NULL if fails (gal_a11y_e_table_item_factory_create_accessible): added cast (gal_a11y_e_table_item_factory_create_accessible): removed unused variable * gal/a11y/e-table/gal-a11y-e-table-item.c (eti_dispose): removed unused variable (eti_get_parent): ditto (eti_get_n_children): ditto (eti_ref_child): ditto (eti_get_index_in_parent): ditto (eti_ref_accessible_at_point): return value (NULL) (cell_destroyed): removed unused variable (cell_destroyed): ditto (table_add_row_selection): ditto added #inclued <string.h> for memset, memmove (eti_rows_inserted): removed unused variable (eti_rows_deleted): ditto (eti_header_structure_changed): ditto * gal/a11y/e-table/gal-a11y-e-cell-popup.c (gal_a11y_e_cell_popup_class_init): removed unused variable added #include "gal-a11y-e-cell-registry.h" (popup_cell_action): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-toggle.c (toggle_cell_action): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-tree.c: added #include "gal-a11y-e-cell-registry.h" (gal_a11y_e_cell_tree_new): add cast (gal_a11y_e_cell_tree_new): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-text.c: added #include <string.h> (ect_remove_selection): removed unused variable (ect_copy_text): added cast (ect_delete_text): ditto (ect_paste_text): ditto (ect_init): ditto * gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): added cast (eti_grab_focus): ditto (eti_grab_focus): return TRUE (grab was successful) added #include <atk/atkstateset.h> * gal/a11y/e-table/gal-a11y-e-tree.c: added #include "gal-a11y-e-table-item.h" (gal_a11y_e_tree_new): removed unused variable * gal/e-text/e-text.c (_do_tooltip): removed unused variable (e_text_event): added cast (primary_clear_cb): removed unused variable (_get_position): ditto (_get_position): ditto #if 0'ed unused prototypes * gal/e-text/e-text-model.c (e_text_model_real_insert_length): removed unused variables * gal/e-text/e-completion.c (e_completion_sort): #if'0 ed, as it's not used anywhere * gal/widgets/e-reflow.c (items_inserted): remove unused variables * gal/widgets/e-categories.c (e_categories_get_property): remove unused variable * gal/widgets/e-categories-master-list-dialog.c (dialog_destroyed): added cast * gal/widgets/e-categories-master-list-combo.c (ecmlc_ecml_changed): remove unused variable * gal/widgets/color-palette.c: include string.h for memset prototype svn path=/trunk/; revision=26289
* fixes for compiler warningsRadek Doulik2004-06-109-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* remove defunct Revert button and replace OK/Cancel buttons with a CloseJon Oberheide2004-06-102-43/+2
| | | | | | | | | | 2004-06-08 Jon Oberheide <jon@focalhost.com> * gal-define-views-dialog.c (gal_define_views_dialog_init), gal-define-views.glade: remove defunct Revert button and replace OK/Cancel buttons with a Close button. Fixes bug #48131. svn path=/trunk/; revision=26279
* add new api for setting the whole selection in one go. See #59546.Not Zed2004-06-102-0/+16
| | | | | | | | | | 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
* process only if len > 0Radek Doulik2004-06-091-30/+33
| | | | | | | | | | 2004-06-09 Radek Doulik <rodo@ximian.com> * gal/e-text/e-text.c (capitalize): process only if len > 0 Fixes #51078 svn path=/trunk/; revision=26270
* (ensure_nonzero_step_increments): set step increments always to 16Radek Doulik2004-06-091-2/+2
| | | | svn path=/trunk/; revision=26269
* new helper function to set step_increments (allocate_callback): callRadek Doulik2004-06-091-0/+20
| | | | | | | | | | | | | 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
* Add HIG border width for dialog window.William Jon McCann2004-06-042-0/+6
| | | | | | | | 2004-06-03 William Jon McCann <mccann@jhu.edu> * e-error.c (e_error_newv): Add HIG border width for dialog window. svn path=/trunk/; revision=26205
* Link test-error against libeutil.Christian Neumair2004-06-022-2/+7
| | | | | | | | 2004-06-01 Christian Neumair <chris@gnome-de.org> * Makefile.am (test_error_LDADD): Link test-error against libeutil. svn path=/trunk/; revision=26147
* Don't propagate the expose to the label widget, the parent expose handlerAnders Carlsson2004-06-022-5/+5
| | | | | | | | | 2004-06-01 Anders Carlsson <andersca@gnome.org> * e-expander.c (e_expander_expose): Don't propagate the expose to the label widget, the parent expose handler does that. svn path=/trunk/; revision=26144
* Use the constructed title string.Anders Carlsson2004-05-312-1/+5
| | | | | | | | 2004-05-28 Anders Carlsson <andersca@gnome.org> * e-error.c (e_error_newv): Use the constructed title string. svn path=/trunk/; revision=26132
* Require e-error-toolRodney Dawes2004-05-282-0/+5
| | | | | | | | | | | | 2004-05-27 Rodney Dawes <dobey@novell.com> * e-util/Makefile.am (dist-hook): Require e-error-tool 2004-05-27 Rodney Dawes <dobey@novell.com> * */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist" svn path=/trunk/; revision=26114
* ugh, too drunk to remember to commit this last nightNot Zed2004-05-222-1/+3
| | | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_default_parent): uh, fix the sense of the if-we-dont-have-it test. svn path=/trunk/; revision=26039
* set a default error parent fallback. (e_error_newv): if parent is null,Not Zed2004-05-213-0/+39
| | | | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_default_parent): set a default error parent fallback. (e_error_newv): if parent is null, see if we have a default still alive, and use that. warn if not. svn path=/trunk/; revision=26031
* Use the activate signal, instead of changed, for the combo boxRodney Dawes2004-05-212-1/+21
| | | | | | | | | | | | | | | 2004-05-20 Rodney Dawes <dobey@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Use the activate signal, instead of changed, for the combo box (on_map_motion): Set the text in the combo's entry when we mouse over one of the points on the map, as a preview for the timezone (on_map_leave): Reset the combo's entry to the timezone we started with when we leave the map Fixes #57122 svn path=/trunk/; revision=26020
* only unref the mask if there is oneJP Rosevear2004-05-212-1/+7
| | | | | | | | | 2004-05-20 JP Rosevear <jpr@novell.com> * e-task-widget.c (e_task_widget_construct): only unref the mask if there is one svn path=/trunk/; revision=26016
* don't dist the error .h fileJP Rosevear2004-05-202-1/+4
| | | | | | | | 2004-05-19 JP Rosevear <jpr@novell.com> * Makefile.am: don't dist the error .h file svn path=/trunk/; revision=25979
* load the <help> tag if present. (ee_response): handle the help responseNot Zed2004-05-182-13/+45
| | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * e-error.c (ee_load): load the <help> tag if present. (ee_response): handle the help response and swallow the signal. (e_error_newv): setup help button if we have a help uri. svn path=/trunk/; revision=25945
* Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon()Jeffrey Stedfast2004-05-183-2/+11
| | | | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * e-url-entry.c (init): Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon() call. * e-combo-button.c (create_empty_image_widget): Don't hard-code the size of the icon in pixels, instead use the appropriate E_ICON_SIZE_ enum. svn path=/trunk/; revision=25930
* Add bug numberJP Rosevear2004-05-171-0/+2
| | | | svn path=/trunk/; revision=25922
* bitmap_unref the mask, don't object_unref itJP Rosevear2004-05-172-1/+6
| | | | | | | | | 2004-05-17 JP Rosevear <jpr@novell.com> * e-task-widget.c (e_task_widget_construct): bitmap_unref the mask, don't object_unref it svn path=/trunk/; revision=25921
* added fixme for stock+label case, which doesn't work.Michael Zucci2004-05-121-0/+2
| | | | svn path=/trunk/; revision=25875
* duh, use the right node pointer for title and secondary text.Not Zed2004-05-122-3/+6
| | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * e-error.c (ee_load): duh, use the right node pointer for title and secondary text. svn path=/trunk/; revision=25873
* make the Because cases the same.Not Zed2004-05-126-84/+76
| | | | | | | | | | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * e-system-errors.xml: make the Because cases the same. * e-system-errors.xml.h: add for translators. * e-error.c (ee_load): just use _() to do i18n rather than the nasty lang stuff. (find_node): no longer needed. * Makefile.am (%.xml.h): setup the build rules for the i18n file for the errors. * e-system-errors.xml.in: Removed, renamed to .xml and removed the _ stuff. svn path=/trunk/; revision=25871
* Fixes #48129Jon Oberheide2004-05-101-0/+1
| | | | | | | | | | | 2004-05-10 Jon Oberheide <jon@focalhost.com> Fixes #48129 * gal-view-new-dialog.c (gal_view_new_dialog_init): set dialog title svn path=/trunk/; revision=25837
* Fixes #51626Bruce Tao2004-05-103-4/+73
| | | | | | | | | | | | | | | | | | | | 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
* Build fixes.Xan Lopez2004-05-052-4/+13
| | | | | | Build fixes. svn path=/trunk/; revision=25790
* Don't necessarily set row to 0 if the root node has the cursor (otherwiseJeffrey Stedfast2004-05-051-5/+3
| | | | | | | | | | | | 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
* revert last patch. (eti_attach_cell_views): add some code to reset dragsNot Zed2004-05-041-2/+12
| | | | | | | | | | | | 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
* if motion column is beyond our known columns, just ignore it and don'tNot Zed2004-05-041-2/+3
| | | | | | | | | | 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
* updateDan Winship2004-05-031-3/+4
| | | | svn path=/trunk/; revision=25751
* blah, need to do entity decoding. #57918.Not Zed2004-05-032-1/+28
| | | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * e-error.c (ee_build_label): blah, need to do entity decoding. #57918. svn path=/trunk/; revision=25741
* Changed the int param specs to take a min value of -1 and also defautl toJeffrey Stedfast2004-04-301-5/+5
| | | | | | | | | | | 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
* pass the correct data when weak unreffingJP Rosevear2004-04-302-1/+6
| | | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * e-activity-handler.c (impl_dispose): pass the correct data when weak unreffing svn path=/trunk/; revision=25691
* make the label selectable. (e_error_newv): if we have stock and label set,Not Zed2004-04-292-5/+19
| | | | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_newv): make the label selectable. (e_error_newv): if we have stock and label set, then use a stock button with an override label. svn path=/trunk/; revision=25677
* Update the categories dialog to be more HIG compliantRodney Dawes2004-04-291-3/+10
| | | | | | | | | | 2004-04-28 Rodney Dawes <dobey@ximian.com> * gal/widgets/e-categories.c (e_categories_construct): * gal/widgets/gal-categories.glade: Update the categories dialog to be more HIG compliant svn path=/trunk/; revision=25674
* holder for system errors.Not Zed2004-04-286-12/+141
| | | | | | | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> * e-system-errors.xml.in: holder for system errors. * test-error.c: helper to show an error message/test it. * e-error.[ch]: Api for disk-based, hig-compliant error messages and query boxes. svn path=/trunk/; revision=25650
* Don't destroy item until after we know which column it is in; the sortHans Petter Jansson2004-04-281-8/+11
| | | | | | | | | | | 2004-04-27 Hans Petter Jansson <hpj@ximian.com> * gal/widgets/e-reflow.c (item_removed): Don't destroy item until after we know which column it is in; the sort comparison function might need it. Also set the newly vacant memory location at the end of the array to NULL. Fixes a crash in evo. svn path=/trunk/; revision=25646
* #include <e-util/e-icon-factory.h>Jeffrey Stedfast2004-04-201-0/+2
| | | | svn path=/trunk/; revision=25533
* Updated to sue E_ICON_SIZE enums.Jeffrey Stedfast2004-04-202-2/+6
| | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-info-label.c (e_info_label_new): Updated to sue E_ICON_SIZE enums. svn path=/trunk/; revision=25532
* Update to use EIconFactory to get the filename for the component iconsRodney Dawes2004-04-194-49/+40
| | | | | | | | | | | | | | | 2004-04-19 Rodney Dawes <dobey@ximian.com> * e-info-label.c (e_info_label_new): Update to use EIconFactory to get the filename for the component icons using the icon theme 2004-04-19 Michael Terry <mike@mterry.name> * e-combo-buddon.c: * e-url-entry.c: Update these to use EIconFactory and GtkImages directly instead of GdkPixmaps svn path=/trunk/; revision=25513
* Work in progress, HIG'ing and de-coupling of errors.Michael Zucci2004-04-162-0/+590
| | | | svn path=/trunk/; revision=25493
* Set the border widths on the dialog's vbox and action area to beRodney Dawes2004-04-156-142/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Rodney Dawes <dobey@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Set the border widths on the dialog's vbox and action area to be HIG-complaint Get rid of the timezone preview widget in here Point the internal 'table' to the right widget (on_map_motion): Get rid of the extra-hacky code to set the preview widget's label to the timezone, now that that widget is gone (on_map_leave): Update the comment to not reference the preview widget that is now gone Get rid of the code to set the preview widget's label to empty string * e-timezone-dialog/e-timezone-dialog.glade: Update for HIG-compliance 2004-04-09 Rodney Dawes <dobey@ximian.com> * e-charset-picker.c: Include gtkhbox.h in here to avoid the warnings (activate_other): (e_charset_picker_dialog): Make these dialogs be more HIG-compliant * e-filter-bar.c (do_advanced): (menubar_activated): Make these dialogs be more HIG-compliant svn path=/trunk/; revision=25468
* ugh, fix some last minute changes which broke shit.Not Zed2004-04-082-18/+19
| | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * e-info-label.c (e_info_label_set_info): ugh, fix some last minute changes which broke shit. svn path=/trunk/; revision=25370
* A widget to show component info for the current component/view.Not Zed2004-04-084-0/+235
| | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * e-info-label.[ch]: A widget to show component info for the current component/view. svn path=/trunk/; revision=25368
* Updated for changes to e-config-page.c (init): Removed the OK and ApplyJeffrey Stedfast2004-04-084-204/+24
| | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * e-multi-config-dialog.c: Updated for changes to e-config-page.c (init): Removed the OK and Apply buttons. * e-config-page.c (e_config_page_apply): Removed. (e_config_page_is_applied): Removed. (e_config_page_changed): Removed. svn path=/trunk/; revision=25363
* don't issue the display view signal a second time, connect_view does thisJP Rosevear2004-04-061-1/+0
| | | | | | | | | | 2004-04-05 JP Rosevear <jpr@ximian.com> * gal-view-instance.c (gal_view_instance_set_current_view_id): don't issue the display view signal a second time, connect_view does this for us svn path=/trunk/; revision=25324
* Make the button initially insensitive. Connect to the entry's "changed"Dan Winship2004-04-032-6/+30
| | | | | | | | | | | * e-url-entry.c (init): Make the button initially insensitive. Connect to the entry's "changed" signal. (entry_changed_cb): sensitize the button iff the entry is non-empty (button_clicked_cb): simplify a bit by using gtk_entry_get_text rather than gtk_editable_get_chars. svn path=/trunk/; revision=25300
* [ fixes bug #51897 ]Chris Toshok2004-04-021-11/+19
| | | | | | | | | | | | | | 2004-04-01 Chris Toshok <toshok@ximian.com> [ fixes bug #51897 ] * gal/e-text/e-text.c (insert_preedit_text): only reset the layout attrs if there is some preedit text to insert. also, try getting text->layout's attributes before creating a new list. this will keep us from overwriting existing attributes and wiping out the underlining for objects. svn path=/trunk/; revision=25294
* Create a new class for "Western European, New" to fix a translation issue.Jeffrey Stedfast2004-04-022-2/+9
| | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_new): Create a new class for "Western European, New" to fix a translation issue. svn path=/trunk/; revision=25293
* start the rule editor with the right label.Not Zed2004-03-312-1/+6
| | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): start the rule editor with the right label. svn path=/trunk/; revision=25258
* We don't need this really (class_init): We don't need to have our ownRodney Dawes2004-03-272-2/+13
| | | | | | | | | | | | | | | | | | | | 2004-03-26 Rodney Dawes <dobey@ximian.com> * e-shell-settings-dialog.c (impl_realize): We don't need this really (class_init): We don't need to have our own realize impl for setting the default window size of the dialog, especially since we are setting the size before we actually get realized, anyway (init): Set the dialog size here, and don't set the border width of the dialog 2004-03-26 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (init): Remove the dialog separator Set the border widths of the dialog's vbox and action area to be more HIG-compliant Set the border width of the dialog's child to 12 for HIG-compliance svn path=/trunk/; revision=25197
* comment fix from trent.Michael Zucci2004-03-161-2/+2
| | | | svn path=/trunk/; revision=25087
* change arg name (e_calendar_item_init): ditto (e_calendar_item_get_arg):JP Rosevear2004-03-163-14/+78
| | | | | | | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_class_init): change arg name (e_calendar_item_init): ditto (e_calendar_item_get_arg): ditto (e_calendar_item_set_arg): ditto (e_calendar_item_preserve_day_selection): set the selection day to the given selection (e_calendar_item_set_first_month): use above to preserve selected day of week * e-calendar-item.h: change field name svn path=/trunk/; revision=25071
* move function about setup_bonobo_menus which requires it so its notTrent Lloyd2004-03-132-11/+16
| | | | | | | | | 2004-03-13 Trent Lloyd <lathiat@sixlabs.org> * e-search-bar.c (remove_bonobo_menus): move function about setup_bonobo_menus which requires it so its not implicitly defined svn path=/trunk/; revision=25055
* enlarge the text box to accomodate the time info in different locales.Kidd Wang2004-03-122-2/+5
| | | | | | | * e-dateedit.c: (create_children): enlarge the text box to accomodate the time info in different locales. svn path=/trunk/; revision=25041
* fixed ChangeLogJeffrey Stedfast2004-03-121-1/+1
| | | | svn path=/trunk/; revision=25033
* Fix for bug #55267.Jeffrey Stedfast2004-03-122-2/+2
| | | | | | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55267. * e-filter-bar.c (set_property): Use efb->setquery properly (set to TRUE before calling set_item_id and FLASE afterwards). Also setquery to TRUE before emitting the "search-activated" signal so that we don't run the callback for the signal we are emitting. svn path=/trunk/; revision=25032
* Use efb->setquery properly (set to TRUE before calling set_item_id andJeffrey Stedfast2004-03-123-9/+29
| | | | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (set_property): Use efb->setquery properly (set to TRUE before calling set_item_id and FLASE afterwards). Also setquery to TRUE before emitting the "search-activated" signal so that we don't run the callback for the signal we are emitting. svn path=/trunk/; revision=25031
* Make the acces key Alt+O work.Harry Lu2004-03-101-1/+1
| | | | | | Patch by hao.sheng@sun.com svn path=/trunk/; revision=25004
* Emit the "search-activated" signal. Fixes bug #55054.Jeffrey Stedfast2004-03-032-0/+9
| | | | | | | | | 2004-03-02 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (set_property): Emit the "search-activated" signal. Fixes bug #55054. svn path=/trunk/; revision=24934
* Create the arrows in these widgets as GTK_SHADOW_NONE, since the defaultRodney Dawes2004-02-274-3/+13
| | | | | | | | | | | | | | 2004-02-26 Rodney Dawes <dobey@ximian.com> * e-cell-renderer-combo.c (ecrc_get_size): * e-dateedit.c (create_children): * e-dropdown-button.c (e_dropdown_button_construct): Create the arrows in these widgets as GTK_SHADOW_NONE, since the default arrow type in GTK+ 2.x is flat triangle arrows, and shadow types are generally ignored for arrows anyway, and so we don't look ugly with themes that handle shadow types on arrows correctly svn path=/trunk/; revision=24900
* don't reference uninitialized memoryJP Rosevear2004-02-272-4/+8
| | | | | | | | | 2004-02-26 JP Rosevear <jpr@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_dispose): don't reference uninitialized memory svn path=/trunk/; revision=24892
* remove the right thingChristian Neumair2004-02-271-1/+1
| | | | | | | | 2004-02-26 Christian Neumair <chris@gnome-de.org> * e-search-bar.c (remove_bonobo_menus): remove the right thing svn path=/trunk/; revision=24889
* Before Update the bonobo ui component, remove it first.Bill Zhu2004-02-262-0/+8
| | | | | | | | | | | 2004-02-26 Bill Zhu <bill.zhu@sun.com> * e-search-bar.c (setup_bonobo_menus): Before Update the bonobo ui component, remove it first. Fixes #54788 svn path=/trunk/; revision=24881
* reset motion_row/motion_col if the model changes. See bug #54757.Not Zed2004-02-261-0/+2
| | | | | | | | | 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
* Change the shadow type for the arrows here, so that themes that do handleRodney Dawes2004-02-134-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Change the filename and section that we pass to gnome_help_display_desktopRodney Dawes2004-02-122-2/+8
| | | | | | | | | | 2004-02-11 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (impl_response): Change the filename and section that we pass to gnome_help_display_desktop so that the help browser displays the documentation correctly svn path=/trunk/; revision=24708
* Add a Help button (impl_response): Handle the Help button and open theRodney Dawes2004-02-112-0/+20
| | | | | | | | | | | 2004-02-10 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (init): Add a Help button (impl_response): Handle the Help button and open the documentation Fixes #30681 svn path=/trunk/; revision=24694
* Don't show the task label by defaultRodney Dawes2004-02-062-1/+4
| | | | | | | | 2004-02-05 Rodney Dawes <dobey@ximian.com> * e-task-bar.c: Don't show the task label by default svn path=/trunk/; revision=24636
* Moved here from shell/, since they are now used only by the components,Dan Winship2004-02-048-4/+1165
| | | | | | | | | | | | | | | * e-activity-handler.c: * e-activity-handler.h: * e-task-bar.c: * e-task-bar.h: * e-task-widget.c: * e-task-widget.h: Moved here from shell/, since they are now used only by the components, not the shell itself. * Makefile.am (widgetsinclude_HEADERS, libemiscwidgets_la_SOURCES): add new files svn path=/trunk/; revision=24586
* it's possible to get to this function without the EText ever beingChris Toshok2004-02-031-0/+7
| | | | | | | | | | | 2004-02-03 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.c (e_text_command): it's possible to get to this function without the EText ever being realized. Since we create the layout in realize(), let's just create it here too. Fixes crash bug 46165 (aka "The Bug with a million dups"). svn path=/trunk/; revision=24579
* set image_buf/image_buf_size here instead of in all callers. also emit theChris Toshok2004-02-032-16/+32
| | | | | | | | | | | | | | | | 2004-02-02 Chris Toshok <toshok@ximian.com> * e-image-chooser.c (set_image_from_data): set image_buf/image_buf_size here instead of in all callers. also emit the "changed" signal here. (image_drag_data_received_cb): remove the copying to image_buf and emitting of "changed" from here. (e_image_chooser_set_from_file): only g_free (data) here if set_image_from_data failed. (e_image_chooser_set_image_data): copy the image data we're passed before calling set_image_data. free it if rv == FALSE. svn path=/trunk/; revision=24577
* add an alignment around the image. This might not be enough. hrm.Chris Toshok2004-01-313-23/+83
| | | | | | | | | | | | | 2004-01-30 Chris Toshok <toshok@ximian.com> * e-image-chooser.c (e_image_chooser_init): add an alignment around the image. This might not be enough. hrm. (set_image_from_data): handle the case where there's no image (image_height == image_width == 0). (e_image_chooser_get_image_data): new function. (e_image_chooser_set_image_data): new function. svn path=/trunk/; revision=24552
* abstract out the drag and droppable image widget from the contact listChris Toshok2004-01-314-0/+554
| | | | | | | | | | | | | 2004-01-30 Chris Toshok <toshok@ximian.com> * e-image-chooser.[ch]: abstract out the drag and droppable image widget from the contact list editor and stick it here. There's some code for a "Browse..." button here but it's not enabled. * Makefile.am (widgetsinclude_HEADERS): add e-image-chooser.h. (libemiscwidgets_la_SOURCES): add e-image-chooser.c svn path=/trunk/; revision=24549
* Only save the search-bar state OR the filter-bar state - decided based onJeffrey Stedfast2004-01-312-51/+45
| | | | | | | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (get_property): Only save the search-bar state OR the filter-bar state - decided based on what the search is. If the search is an advanced search, then save the filter-bar state, otherwise save the search-bar state. (set_property): Only need to restore the first state we find (filter-bar vs search-bar). If we are restoring filter-bar state, set efb->setquery to TRUE and then set the item_id to E_FILTERBAR_ADVANCED_ID. svn path=/trunk/; revision=24542
* Same.Jeffrey Stedfast2004-01-293-3/+12
| | | | | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_get_property): Same. * e-filter-bar.c (get_property): Use g_value_set_string_take_ownership() instead of g_value_take_string() since we need snaps to work with glib-2.0 earlier than 2.3.x. svn path=/trunk/; revision=24507
* Added a new property "state" which is READ-WRITE so that we canJeffrey Stedfast2004-01-294-19/+204
| | | | | | | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c: Added a new property "state" which is READ-WRITE so that we can save/restore state in the mailer code if we want to. Sort of a work-in-progress toward fixing bug #53195. (class_init): Ported to use the GObject property stuff instead of the deprecated GtkArg stuff. (get_property): Ported from impl_get_arg(). (set_property): New object::set_property implementation to set the query state. svn path=/trunk/; revision=24502
* Use button->time for the mouse click event, so that the popup stays up onRodney Dawes2004-01-281-1/+1
| | | | | | | | | | | 2004-01-27 Rodney Dawes <dobey@ximian.com> * gal/e-text/e-text.c (popup_targets_received): Use button->time for the mouse click event, so that the popup stays up on button release Fixes #47548 svn path=/trunk/; revision=24483
* fix double free of the button event.Chris Toshok2004-01-281-1/+0
| | | | | | | | | 2004-01-27 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.c (popup_targets_received): fix double free of the button event. svn path=/trunk/; revision=24481
* print strikeout/underlineRadek Doulik2004-01-271-1/+30
| | | | | | | | | | 2004-01-27 Radek Doulik <rodo@ximian.com> * e-cell-text.c (ect_print): print strikeout/underline Fixes #32240 svn path=/trunk/; revision=24466
* if the source is primary, don't allow it to be un-selectedJP Rosevear2004-01-242-11/+19
| | | | | | | | | 2004-01-24 JP Rosevear <jpr@ximian.com> * e-source-selector.c (cell_toggled_callback): if the source is primary, don't allow it to be un-selected svn path=/trunk/; revision=24397
* Be even more exactly like the GtkButton painting stuffRodney Dawes2004-01-212-9/+12
| | | | | | | | | | | 2004-01-20 Rodney Dawes <dobey@ximian.com> * e-combo-button.c (paint): Be even more exactly like the GtkButton painting stuff Fixes #52988 svn path=/trunk/; revision=24343
* set a primary selection if there is one before the rebuildJP Rosevear2004-01-212-6/+27
| | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (rebuild_model): set a primary selection if there is one before the rebuild (e_source_selector_set_primary_selection): block the signals when clearing the tree selection to make the op atomic; emit the selection_changed signal if a hidden selection is not currently selectecd svn path=/trunk/; revision=24342
* provide parent iter in/out arg (test_collapse_row_callback): use privJP Rosevear2004-01-212-16/+57
| | | | | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (find_source_iter): provide parent iter in/out arg (test_collapse_row_callback): use priv shortcut (e_source_selector_select_source): pass parent iter (e_source_selector_unselect_source): ditto (e_source_selector_peek_primary_selection): return the right thing if the primary selection is currently hidden (e_source_selector_set_primary_selection): set the primary selection properly if the source node is currently hidden svn path=/trunk/; revision=24337
* util routine to clear the row reference to the saved primary selectionJP Rosevear2004-01-212-43/+101
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (clear_saved_primary_selection): util routine to clear the row reference to the saved primary selection (find_source_iter): unref the model data retrieved (rebuild_existing_cb): ditto (toggle_cell_data_func): ditto (text_cell_data_func): ditto (selection_func): ditto; clear the saved primary selection if something else is selected (cell_toggled_callback): ditto (test_collapse_row_callback): clear the toggled_last flag (row_expanded_callback): once we've restored the saved primary selection, clear it (selector_button_press_event): unref the model data (impl_dispose): use clear_saved_primary_selection (init): the store column holds object not pointer type (e_source_selector_peek_primary_selection): unref the model da svn path=/trunk/; revision=24334
* check if the collapsing node has its child selected, if so take a rowJP Rosevear2004-01-212-1/+75
| | | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (test_collapse_row_callback): check if the collapsing node has its child selected, if so take a row reference to remember the selection (row_expanded_callback): check if the expanding node has the saved primary selection under it and re-select if so (init): listen for signals (impl_dispose): free the primary selection svn path=/trunk/; revision=24329
* create the data structure for rebuilding the model (free_rebuild_data):JP Rosevear2004-01-202-22/+202
| | | | | | | | | | | | | | | | | | | | | 2004-01-19 JP Rosevear <jpr@ximian.com> * e-source-selector.c (create_rebuild_data): create the data structure for rebuilding the model (free_rebuild_data): free it (rebuild_existing_cb): check for the sources that are still existing or deleted (rebuild_model): do incremental updates (selection_func): if the last thing we did was toggle, we don't actually want to highlight and if the source is not checked, check it (cell_toggled_callback): indicate that a toggle just occurred (init): initial toggled last to false (e_source_selector_set_primary_selection): set some preconditions Fixes #51787 svn path=/trunk/; revision=24312
* Fix remaining usages of GTK_*EXPANDER* definesRodney Dawes2004-01-153-19/+23
| | | | | | | | 2004-01-14 Rodney Dawes <dobey@ximian.com> * e-expander.[ch]: Fix remaining usages of GTK_*EXPANDER* defines svn path=/trunk/; revision=24226
* Implemented #127527: the attachment bar is packed inside an EExpanderERDI Gergo2004-01-114-1/+1447
| | | | | | | | | 2003-12-02 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: Implemented #127527: the attachment bar is packed inside an EExpander svn path=/trunk/; revision=24146
* free event (e_text_do_popup): copy the event so we have good dataJP Rosevear2004-01-071-1/+2
| | | | | | | | | | | 2004-01-06 JP Rosevear <jpr@ximian.com> * gal/e-text/e-text.c (popup_targets_received): free event (e_text_do_popup): copy the event so we have good data Fixes #51956 svn path=/trunk/; revision=24071
* Fix for bug #46349Rodney Dawes2003-12-232-35/+74
| | | | | | | | | | | 2003-12-22 Rodney Dawes <dobey@ximian.com> Fix for bug #46349 * e-combo-button.c: Use the appropriate style painting for a button widget, since we are a button svn path=/trunk/; revision=24002
* call gdk_window_focus() so that keyboard works correctly.Harry Lu2003-12-182-1/+6
| | | | | | | | | 2003-12-18 Harry Lu <harry.lu@sun.com> * e-cell-date-edit.c: (e_cell_date_edit_do_popup): call gdk_window_focus() so that keyboard works correctly. svn path=/trunk/; revision=23975
* Fixed bug 51917, add atk support for ClickToAddYuedong Du2003-12-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use e_source_equal() instead of comparing pointers. This allows user toHans Petter Jansson2003-12-172-8/+24
| | | | | | | | | | | | | | 2003-12-16 Hans Petter Jansson <hpj@ximian.com> * misc/e-source-option-menu.c (select_source_foreach_menu_item): Use e_source_equal() instead of comparing pointers. This allows user to pass in a source that was obtained from somewhere else. Set the matching internal source as "selected" instead of the one passed in. (select_source): Emit signal only if we found a match. Don't ref/unref anything, since the selected source will always be from our internal list. svn path=/trunk/; revision=23954
* NULL out priv->instance when we unref it. Bug #51713.Not Zed2003-12-102-1/+8
| | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * menus/gal-view-menus.c (remove_instance): NULL out priv->instance when we unref it. Bug #51713. svn path=/trunk/; revision=23895
* Fixed #50844Andrew Wu2003-12-082-2/+5
| | | | | | | | | | | 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
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-072-1/+4
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * */Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23658
* Fix for bugzilla bug #51624 and #51627.Harry Lu2003-12-054-13/+52
| | | | | | | | | | | | | | | | | | | | | | | | 2003-12-04 Harry Lu <harry.lu@sun.com> Fix for bugzilla bug #51624 and #51627. * e-calendar-item.c: (e_calendar_item_selection_add_days): set the date to the first day of the month so that user can use keyboard's arrow key to select a date. (e_calendar_item_set_selection_if_emission): only set selection_changed if emission is TRUE. * e-calendar.c: (e_calendar_init): add back the "clicked" handler so that user can use keyboard to click the button. (e_calendar_start_auto_move): no need to move since it is already handled by the clicked handler (e_calendar_on_prev_clicked), (e_calendar_on_next_clicked): move the month here. * e-dateedit.c: (e_date_edit_show_date_popup): use gdk_window_focus instead of gdk_keyboard_grab so that the focus won't lost if user click the button with keyboard. (hide_date_popup): no need to call gdk_keyboard_ungrab. svn path=/trunk/; revision=23642
* (init): Set the mode on the text cellEttore Perazzoli2003-12-032-0/+8
| | | | | | | | renderer to GTK_CELL_RENDERER_MODE_ACTIVATABLE so clicking on the text doesn't change the status of the checkbox. [Many thanks to Jonathan Blandford for telling me how to do this!] svn path=/trunk/; revision=23588
* Fixed Bug 51252, 51254, 51255. add some code deal with key press event.Andrew Wu2003-12-023-7/+66
| | | | | | | | | | | | | | 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
* Fixes #51139Bolian Yin2003-12-021-2/+2
| | | | | | | | | | | | | 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
* a11y implementations for ECellText. new functions to support correspondingTim Wo2003-12-022-0/+195
| | | | | | | | | | | | | | | | | | | | 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
* list the signal args properlJP Rosevear2003-12-022-1/+5
| | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * e-source-selector.c (class_init): list the signal args properl svn path=/trunk/; revision=23542
* Added test-source-option-menu executableÉRDI Gergo2003-12-011-1/+2
| | | | svn path=/trunk/; revision=23518
* canned the _clicked handlers as those make it impossible to move just oneERDI Gergo2003-12-012-22/+5
| | | | | | | | | 2003-11-30 ERDI Gergo <cactus@cactus.rulez.org> * e-calendar.c: canned the _clicked handlers as those make it impossible to move just one month at a time svn path=/trunk/; revision=23517
* Add NONE:POINTER.Ettore Perazzoli2003-12-014-8/+51
| | | | | | | | | | | | | * e-util-marshal.list: Add NONE:POINTER. * test-source-option-menu.c (source_selected_callback): New callback to test the "source_selected" signal. (on_idle_create_widget): Connect. * e-source-option-menu.c: Add "source_selected" signal. (select_source): Assume source != NULL and emit "source_selected". svn path=/trunk/; revision=23512
* New test.Ettore Perazzoli2003-12-015-1/+444
| | | | | | | | | * test-source-option-menu.c: New test. * e-source-option-menu.h: New. * e-source-option-menu.c: New. svn path=/trunk/; revision=23511
* renamespace and move to here build new filesMike Kestner2003-11-186-10/+1444
| | | | | | | | | | | | | | 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
* allow new lable with mnemonic (e_search_bar_construct): alter lable name.Charles Zhang2003-11-172-3/+8
| | | | | | | | | 2003-11-17 Charles Zhang <charles.zhang@sun.com> * e-search-bar.c(add_button): allow new lable with mnemonic (e_search_bar_construct): alter lable name. [50810] svn path=/trunk/; revision=23385
* use find_source_iter and get the selection from the right spotJP Rosevear2003-11-172-25/+66
| | | | | | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * e-source-selector.c (e_source_selector_set_primary_selection): use find_source_iter and get the selection from the right spot (find_source_iter): util function to find the iter given the source (e_source_selector_select_source): signal that the model changed (e_source_selector_unselect_source): ditto svn path=/trunk/; revision=23372
* make source selector flags/libsJP Rosevear2003-11-153-6/+11
| | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * configure.in: make source selector flags/libs svn path=/trunk/; revision=23366
* Fix for 50800 connect "e_cell_combo_list_button_press" to gtklist.Andrew Wu2003-11-141-3/+21
| | | | | | | | | | | | | 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
* Fix for 50681 send a event to the right cell to pop up something.Andrew Wu2003-11-141-0/+6
| | | | | | | | | 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
* remove a declaration of a deleted func.Bolian Yin2003-11-132-2/+4
| | | | | | | | 2003-11-13 Bolian Yin <bolian.yin@sun.com> * e-calendar-item.c: remove a declaration of a deleted func. svn path=/trunk/; revision=23310
* a canvas item does not inherit from gtkwidgetJP Rosevear2003-11-132-19/+8
| | | | | | | | | 2003-11-12 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_class_init): a canvas item does not inherit from gtkwidget svn path=/trunk/; revision=23298
* new files (gal-a11y-e-cell-tree.c/h) added adding 2 new functions to addTim Wo2003-11-122-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixes #50538Bolian Yin2003-11-113-40/+61
| | | | | | | | | | | | 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes #50538 * e-calendar-item: make e_calendar_item_normalize_date public func. add "selection_preview_changed" signal. move some definition of constants to .h svn path=/trunk/; revision=23284
* Fixes # 50480Bolian Yin2003-11-112-0/+30
| | | | | | | | | | 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
* (e_source_selector_new): Expand all theEttore Perazzoli2003-11-112-0/+7
| | | | | | nodes. svn path=/trunk/; revision=23276
* don't include toplevel libicalJP Rosevear2003-11-082-1/+4
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * e-timezone-dialog/Makefile.am: don't include toplevel libical svn path=/trunk/; revision=23228
* make sure the marshal stuff is in the sources and remove the built filesJP Rosevear2003-11-072-2/+10
| | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * Makefile.am: make sure the marshal stuff is in the sources and remove the built files when disting svn path=/trunk/; revision=23218
* Shush.JP Rosevear2003-11-071-0/+1
| | | | svn path=/trunk/; revision=23214
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-072-1/+5
| | | | svn path=/trunk/; revision=23206
* disable apply button when initial dialog. disable apply button afterCharles Zhang2003-11-032-0/+6
| | | | | | | | | | | 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
* new function to deal with grabing table cell focusTim Wo2003-11-031-0/+4
| | | | | | | | | | | | 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
* shared object looks for wrong mo file"Suresh Chandrasekharan2003-11-034-4/+4
| | | | | | | | | 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
* fill_popup_menu signal has 2 arguments.Rodrigo Moya2003-10-292-1/+6
| | | | | | | | | 2003-10-28 Rodrigo Moya <rodrigo@ximian.com> * e-source-selector.c (class_init): fill_popup_menu signal has 2 arguments. svn path=/trunk/; revision=23109
* added "fill_popup_menu" signal, to allow the addition of new items to theRodrigo Moya2003-10-293-1/+42
| | | | | | | | | | | | | 2003-10-28 Rodrigo Moya <rodrigo@ximian.com> * e-source-selector.[ch]: added "fill_popup_menu" signal, to allow the addition of new items to the popup menu. (class_init): create new signal. (init): connect to "button_press_event" for the tree view. (selector_button_press_event): callback for "button_press_event". (e_source_selector_selection_shown): use g_return_val_if_fail. svn path=/trunk/; revision=23106
* add new file for toggle cell a11y object. new a11y object toggle cellYuedong Du2003-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 andSuresh Chandrasekharan2003-10-281-0/+3
| | | | | | | | | | * 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
* Allocate colors using gdk_colormap_alloc_color().Hans Petter Jansson2003-10-241-1/+4
| | | | | | | | | 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