aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
Commit message (Collapse)AuthorAgeFilesLines
...
* From a patch by Yukihiro Nakai <ynakai@redhat.com>.Christopher James Lahey2001-11-151-0/+30
| | | | | | | | | | | 2001-11-14 Christopher James Lahey <clahey@ximian.com> From a patch by Yukihiro Nakai <ynakai@redhat.com>. * gal/widgets/e-canvas.c (e_canvas_realize): Handle GDK_IM_PREEDIT_POSITION here. svn path=/trunk/; revision=14703
* set both the date and the time of day in one call, creating only a singleJP Rosevear2001-11-063-0/+43
| | | | | | | | | | | | 2001-11-05 JP Rosevear <jpr@ximian.com> * e-dateedit.c (e_date_edit_set_date_and_time_of_day): set both the date and the time of day in one call, creating only a single changed signal * e-dateedit.h: add proto svn path=/trunk/; revision=14602
* Based on a patch by Damon Chaplin <damon@ximian.com>Christopher James Lahey2001-11-062-7/+43
| | | | | | | | | | | | | | 2001-11-05 Christopher James Lahey <clahey@ximian.com> Based on a patch by Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c: Connect to the button_press signal on the popup and do the grab correctly so that this dialog behaves properly when the user clicks it away. Also, changed all instances of setting of popup_shown field of ECellPopup to call e_cell_popup_set_shown. Fixes Ximian bug #14016. svn path=/trunk/; revision=14594
* Snotty code so we only disconnect to rules we no longer have, etc.12001-11-012-20/+50
| | | | | | | | | 2001-10-31 <NotZed@Ximian.com> * e-filter-bar.c (build_items): Snotty code so we only disconnect to rules we no longer have, etc. svn path=/trunk/; revision=14553
* Ref and connect to rule changed here, also clear out previous ref's.Not Zed2001-11-013-28/+38
| | | | | | | | | | | | | | | | 2001-11-01 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (build_items): Ref and connect to rule changed here, also clear out previous ref's. (generate_menu): No longer connect to rules, or reset rule array. (set_option): Dont reset option rules array. (context_rule_removed): Disconnect changed event on rule. (clear_rules): Fujnction to clear rules from an array. (destroy): Disconnect from context signals, and clear rules arrays. * e-filter-bar.h: Remove hash table for change id's. svn path=/trunk/; revision=14550
* emit signal when time set to none/empty.Damon Chaplin2001-10-312-0/+6
| | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_set_time_of_day): emit signal when time set to none/empty. svn path=/trunk/; revision=14502
* Hook to rule changed events. (destroy): Free change id table/unconnect to02001-10-303-5/+60
| | | | | | | | | | | | | 2001-10-30 <NotZed@Ximian.com> * e-filter-bar.c (generate_menu): Hook to rule changed events. (destroy): Free change id table/unconnect to signals. (init): Setup change id table. (e_filter_bar_new): Hook onto rule removed signal. (context_rule_removed): If rule removed, disconnect from signal handler. (rule_changed): For changed rules, also rebuild menu. Fixed #12233. svn path=/trunk/; revision=14459
* try to parse just a date first, and if that works we assume it is a DATEDamon Chaplin2001-10-302-15/+32
| | | | | | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_set_popup_values): try to parse just a date first, and if that works we assume it is a DATE value, so we clear the time field in the popup. (e_cell_date_edit_on_ok_clicked): if the time field is empty, use a DATE value. Also removed some debug messages. svn path=/trunk/; revision=14455
* Set the item to the option_base on it, so the current item is set. Fix for02001-10-302-0/+7
| | | | | | | | | 2001-10-30 <NotZed@Ximian.com> * e-filter-bar.c (set_option): Set the item to the option_base on it, so the current item is set. Fix for #7081. svn path=/trunk/; revision=14451
* Added column_width argument.Christopher James Lahey2001-10-301-0/+21
| | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c: Added column_width argument. svn path=/trunk/; revision=14444
* Adapt to the new ECellPopup signature.Christopher James Lahey2001-10-302-12/+29
| | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Adapt to the new ECellPopup signature. svn path=/trunk/; revision=14441
* ref the ECalendarItem and check if it gets destroyed, to try to avoid aDamon Chaplin2001-10-304-7/+31
| | | | | | | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): ref the ECalendarItem and check if it gets destroyed, to try to avoid a free memory write. * e-dateedit.c (e_date_edit_set_time_of_day): allow setting the time to empty by passing hour as -1. svn path=/trunk/; revision=14394
* Commented out connecting to the scroll adjustments here since it's notChristopher James Lahey2001-10-281-30/+37
| | | | | | | | | | 2001-10-27 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (connect_set_adjustment): Commented out connecting to the scroll adjustments here since it's not necessary for how we use e-reflow. Fixes Ximian bug #13306. svn path=/trunk/; revision=14271
* More fixing of the license texts.Ettore Perazzoli2001-10-284-40/+40
| | | | svn path=/trunk/; revision=14241
* Fixing the license text.Ettore Perazzoli2001-10-2828-28/+0
| | | | svn path=/trunk/; revision=14212
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-2728-56/+56
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-272-4/+38
| | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text-test.c, gal/util/e-i18n.h, gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14169
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-2729-159/+551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h, gal/e-paned/e-paned.c, gal/e-paned/e-paned.h, gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h, gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h, gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c, gal/e-text/e-completion-view.h, gal/e-text/e-completion.c, gal/e-text/e-completion.h, gal/e-text/e-entry-test.c, gal/e-text/e-entry.c, gal/e-text/e-entry.h, gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h, gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h, gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c, gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c, gal/e-text/e-text-model.h, gal/e-text/e-text.c, gal/e-text/e-text.h, gal/util/e-bit-array.c, gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h, gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c, gal/util/e-sorter-array.h, gal/util/e-sorter.c, gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c, gal/util/e-text-event-processor-emacs-like.h, gal/util/e-text-event-processor-types.h, gal/util/e-text-event-processor.c, gal/util/e-text-event-processor.h, gal/util/e-util.c, gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h, gal/widgets/color-group.c, gal/widgets/color-group.h, gal/widgets/color-palette.c, gal/widgets/color-palette.h, gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h, gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h, gal/widgets/e-canvas.c, gal/widgets/e-canvas.h, gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-array.h, gal/widgets/e-categories-master-list-combo.c, gal/widgets/e-categories-master-list-combo.h, gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog-model.h, gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories-master-list-dialog.h, gal/widgets/e-categories-master-list.c, gal/widgets/e-categories-master-list.h, gal/widgets/e-categories.c, gal/widgets/e-categories.h, gal/widgets/e-colors.c, gal/widgets/e-colors.h, gal/widgets/e-cursors.c, gal/widgets/e-cursors.h, gal/widgets/e-font.c, gal/widgets/e-font.h, gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h, gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h, gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.c, gal/widgets/e-printable.h, gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h, gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h, gal/widgets/e-reflow.c, gal/widgets/e-reflow.h, gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h, gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h, gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h, gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h, gal/widgets/e-unicode.c, gal/widgets/e-unicode.h, gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h, gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h, gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h, gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h, gal/widgets/test-color.c, gal/widgets/test-e-font.c, gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c, gal/widgets/widget-color-combo.c, gal/widgets/widget-color-combo.h, gal/widgets/widget-pixmap-combo.c, gal/widgets/widget-pixmap-combo.h, src/e-table/e-table-sorted-variable.c, tests/test-define-views.c, tests/test-shortcut-bar.c, tests/test-table-1.c, tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c, tests/test-unicode.c: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14158
* Added cursor_changed handling to set the has_cursor argument of theChristopher James Lahey2001-10-262-0/+42
| | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Added cursor_changed handling to set the has_cursor argument of the contained objects. svn path=/trunk/; revision=14136
* Fixed warnings here.Christopher James Lahey2001-10-261-8/+8
| | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/util/e-iconv.c (e_iconv), gal/widgets/e-font.c (e_font_to_native), gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized, e_utf8_to_iconv_string_sized, e_utf8_from_gtk_string_sized, e_utf8_to_gtk_string_sized): Fixed warnings here. svn path=/trunk/; revision=14132
* Bumped version to 0.15.99.4 for e-iconv changes.52001-10-261-4/+4
| | | | | | | | | | | | | | | | | | | 2001-10-25 <NotZed@Ximian.com> * configure.in: Bumped version to 0.15.99.4 for e-iconv changes. * gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized): " (e_utf8_to_iconv_string_sized): " (e_utf8_from_gtk_string_sized): " (e_utf8_to_gtk_string_sized): " * gal/widgets/e-font.c (e_font_to_native): s/iconv/e_iconv/ * gal/util/e-iconv.c (e_iconv): Implement a wrapper for iconv() to make sure we link with and execute the right iconv to match the right iconv_open. (BLAH!) svn path=/trunk/; revision=14111
* Don't add the menu item here, do this in the context_changed signalJeffrey Stedfast2001-10-243-28/+115
| | | | | | | | | | | | | | | | | 2001-10-23 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_clicked): Don't add the menu item here, do this in the context_changed signal callback instead. (context_changed): rebuild the search menu. (set_menu): Copy the items into a default_items list so we can regenerate the menu when something changes. Then call generate_menu(). (generate_menu): Do what set_menu() used to do. (e_filter_bar_new): Don't do a rule_context_load() anymore since we don't need to. (destroy): free the default_items list. svn path=/trunk/; revision=13975
* copy the translate field over as well. Should fix an uninitialized memoryDamon Chaplin2001-10-242-0/+6
| | | | | | | | | 2001-10-23 Damon Chaplin <damon@ximian.com> * e-search-bar.c (copy_subitems): copy the translate field over as well. Should fix an uninitialized memory read. svn path=/trunk/; revision=13964
* clear the struct tm fields to keep purify happy.Damon Chaplin2001-10-242-2/+15
| | | | | | | | | | 2001-10-23 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_check_date_changed): (e_date_edit_check_time_changed): clear the struct tm fields to keep purify happy. svn path=/trunk/; revision=13959
* use the new ECellText methods to get the text and set the value.Damon Chaplin2001-10-235-7/+240
| | | | | | | | | | | | | 2001-10-22 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_set_popup_values): (e_cell_date_edit_update_cell): use the new ECellText methods to get the text and set the value. * e-cell-percent.c: new subclass of ECellText to display & edit a percentage value. svn path=/trunk/; revision=13916
* Use right_click_down here instead of maybe_do_something.Christopher James Lahey2001-10-211-1/+1
| | | | | | | | | 2001-10-21 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (e_reflow_selection_event_real): Use right_click_down here instead of maybe_do_something. svn path=/trunk/; revision=13842
* Keep us from reading tmp_tm uninitialized, so purify won't complain.Jon Trowbridge2001-10-212-2/+12
| | | | | | | | | 2001-10-20 Jon Trowbridge <trow@ximian.com> * e-dateedit.c (e_date_edit_check_date_changed): Keep us from reading tmp_tm uninitialized, so purify won't complain. svn path=/trunk/; revision=13831
* Changed some of these gbooleans to be guint : 1s.Christopher James Lahey2001-10-211-1/+1
| | | | | | | | | | | | 2001-10-20 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.h: Changed some of these gbooleans to be guint : 1s. * gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Send the in event here to the new focused item instead of the old one. svn path=/trunk/; revision=13824
* bumped revision to .112001-10-121-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-11 <NotZed@Ximian.com> * configure.in: bumped revision to .1 * gal/widgets/test-font-loading.c (print_gdk_font_name): Close iconv when done. * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Close iconv when dont with it. (e_utf8_from_charset_string_sized): Changed for e_iconv api changes. (e_utf8_to_charset_string_sized): " (e_utf8_from_gtk_string_sized): Close iconv when done with it. (e_utf8_from_locale_string_sized): " (e_utf8_to_locale_string_sized): " * gal/widgets/e-font.c (e_locale_encoding): Removed. (e_iconv_from_charset): Removed. (e_iconv_to_charset): Removed. (e_iconv_from_locale): Removed. (e_iconv_to_locale): Removed. (e_iconv_from_gdk_font): Changd to use new e-iconv apis. (e_iconv_to_gdk_font): " (e_font_unref): Close iconv's when done with them. (translate_encoding): Removed. (get_locale_charset): Removed. (e_gdk_font_encoding): Fix for api changes. * gal/util/e-iconv.c: New stuff to commonify/fix up some problems with the iconv cache/conversion stuff inside e-font. svn path=/trunk/; revision=13601
* Now takes a menu path argument.Jeffrey Stedfast2001-10-103-3/+11
| | | | | | | | | 2001-10-09 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Now takes a menu path argument. svn path=/trunk/; revision=13528
* remove the test condition and always work form the locale not he the font.Larry Ewing2001-10-071-11/+1
| | | | | | | | | | 2001-10-06 Larry Ewing <lewing@ximian.com> * gal/widgets/e-unicode.c (e_utf8_from_gtk_event_key): remove the test condition and always work form the locale not he the font. This has been tested and verified with owen. svn path=/trunk/; revision=13487
* add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migrationMichael Meeks2001-10-055-18/+20
| | | | | | | | | | | | | | | 2001-10-05 Michael Meeks <michael@ximian.com> * gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from a single source base. * All C files: s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g; s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/ E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/; svn path=/trunk/; revision=13428
* added BONOBO_GNOME_CFLAGS to make it compile with latest BonoboRodrigo Moya2001-10-042-0/+6
| | | | | | | | | | 2001-10-04 Rodrigo Moya <rodrigo@ximian.com> * misc/Makefile.am: * menus/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile with latest Bonobo svn path=/trunk/; revision=13407
* Call gnome_canvas_world_to_window here. Finishes fixing Ximian bug #2613.Christopher James Lahey2001-10-042-3/+15
| | | | | | | | | | 2001-10-04 Christopher James Lahey <clahey@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Call gnome_canvas_world_to_window here. Finishes fixing Ximian bug #2613. svn path=/trunk/; revision=13405
* Transcode empty message from utf8 to gtk charset. Fixes Ximian bug #2468.Christopher James Lahey2001-10-031-6/+12
| | | | | | | | | 2001-10-02 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (set_empty): Transcode empty message from utf8 to gtk charset. Fixes Ximian bug #2468. svn path=/trunk/; revision=13360
* Bumped the sonumber to 14.Christopher James Lahey2001-10-022-3/+56
| | | | | | | | | | | | 2001-10-02 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the sonumber to 14. * gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h (e_canvas_item_area_shown): New function returns TRUE iff e_canvas_item_show_area would be a noop. svn path=/trunk/; revision=13296
* grab focus to the date entry or the time entry, depending on which isDamon Chaplin2001-09-272-0/+30
| | | | | | | | | 2001-09-18 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_grab_focus): grab focus to the date entry or the time entry, depending on which is visible. Fixes bug #7237. svn path=/trunk/; revision=13185
* Commit patch from Chris to implement e_tree_right_click_up() forEttore Perazzoli2001-09-262-1/+38
| | | | | | correct right-click behavior in single selection mode. svn path=/trunk/; revision=13123
* Fixed a typo here where we were setting the running height based on theChristopher James Lahey2001-09-211-1/+1
| | | | | | | | | | 2001-09-20 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (reflow_columns): Fixed a typo here where we were setting the running height based on the height of object number 2 instead of the current object. Fixes Ximian bug #8807. svn path=/trunk/; revision=13026
* add prototype for e_date_edit_set_editable.Chris Toshok2001-09-173-0/+33
| | | | | | | | | | | | 2001-09-16 Chris Toshok <toshok@ximian.com> * e-dateedit.h: add prototype for e_date_edit_set_editable. * e-dateedit.c (e_date_edit_set_editable): new function, analogous to gtk_entry_set_editable: let's the user select but not edit (or in this case, bring up the calendar view.) svn path=/trunk/; revision=12867
* Check that unsorted >= 0 before using it as an array index. (Bug #9115)Jon Trowbridge2001-09-151-2/+3
| | | | | | | | | 2001-09-15 Jon Trowbridge <trow@ximian.com> * gal/widgets/e-reflow.c (e_reflow_reflow): Check that unsorted >= 0 before using it as an array index. (Bug #9115) svn path=/trunk/; revision=12852
* Don't unref the old dropdown, we don't "own" it.Jeffrey Stedfast2001-09-142-3/+5
| | | | | | | | | 2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (set_dropdown): Don't unref the old dropdown, we don't "own" it. svn path=/trunk/; revision=12805
* unref the old dropdown_menu if there is one.Larry Ewing2001-09-132-0/+8
| | | | | | | | | 2001-09-13 Larry Ewing <lewing@ximian.com> * e-search-bar.c (set_dropdown): unref the old dropdown_menu if there is one. svn path=/trunk/; revision=12796
* No longer need the context in order to clone a FilterRule.Jeffrey Stedfast2001-09-132-2/+8
| | | | | | | | | | 2001-09-12 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (menubar_activated): No longer need the context in order to clone a FilterRule. (option_changed): Same. svn path=/trunk/; revision=12791
* Re-remove evil utf8_to_gtk debug printf that Chris seems to haveDan Winship2001-09-091-1/+0
| | | | | | | | * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Re-remove evil utf8_to_gtk debug printf that Chris seems to have accidentally re-added. svn path=/trunk/; revision=12703
* Bumped version number to 0.11.99.3 for ETableWithout.Christopher James Lahey2001-09-082-2/+4
| | | | | | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.11.99.3 for ETableWithout. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h (e_selection_model_maybe_do_something): Return a value based on whether we did something. svn path=/trunk/; revision=12679
* added a default size for the saved search dialog of 600 x 300 such that itAnna Marie Dirks2001-09-072-1/+7
| | | | | | | | | | 2001-09-06 Anna Marie Dirks <anna@ximian.com> * e-filter-bar.c: added a default size for the saved search dialog of 600 x 300 such that it opens at a usable size. this fixes bug #7083. svn path=/trunk/; revision=12661
* added a wee bit of padding around the find now label in response to bugAnna Marie Dirks2001-09-062-0/+6
| | | | | | | | | 001-09-05 Anna Marie Dirks <anna@ximian.com> * e-search-bar.c (add_activate_button): added a wee bit of padding around the find now label in response to bug #7049. svn path=/trunk/; revision=12627
* Use e_iconv_from_locale, not e_iconv_to_locale.Chyla Zbigniew2001-09-031-1/+1
| | | | | | | * gal/widgets/e-unicode.c (e_utf8_from_locale_string_sized): Use e_iconv_from_locale, not e_iconv_to_locale. svn path=/trunk/; revision=12562
* Bumped the version number to 0.11.99.2 for new e_utf8 functions.Christopher James Lahey2001-09-022-54/+89
| | | | | | | | | | | | 2001-09-01 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.11.99.2 for new e_utf8 functions. * gal/widgets/e-unicode.c, gal/widgets/e-unicode.h (e_utf8_is_ascii): Added this function. Reformatted. svn path=/trunk/; revision=12557
* Bumped the version number to 0.111.99.1 for new e_utf8 functions.Christopher James Lahey2001-09-012-66/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-01 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.111.99.1 for new e_utf8 functions. * gal/unicode/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Changed this from e_utf8_from_locale_string to e_utf8_to_locale_string. * gal/widgets/e-font.c, gal/widgets/e-font.h (e_iconv_from_charset, e_iconv_to_charset): Added these functions to the exported interface (renamed them as well from e_iconv_from_encoding and e_iconv_to_encoding.) * gal/widgets/e-unicode.c, gal/widgets/e-unicode.h (e_utf8_from_iconv_string, e_utf8_from_iconv_string_sized, e_utf8_to_iconv_string, e_utf8_to_iconv_string_sized, e_utf8_from_charset_string, e_utf8_from_charset_string_sized, e_utf8_to_charset_string, e_utf8_to_charset_string_sized): Added these functions. (e_utf8_from_locale_string, e_utf8_to_locale_string): Changed these to use the new e_utf8_from_iconv_string and e_utf8_to_iconv_string. svn path=/trunk/; revision=12554
* New prototype here.Ettore Perazzoli2001-08-293-0/+40
| | | | | | | | | 2001-08-27 Ettore Perazzoli <ettore@ximian.com> * e-timezone-dialog/e-timezone-dialog.h (e_timezone_dialog_reparent): New prototype here. svn path=/trunk/; revision=12511
* This patch fixes a lot of i18n problems in Evolution.Chyla Zbigniew2001-08-221-0/+1
| | | | | | | * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Call gtk_widget_ensure_style before refering to widget's style. svn path=/trunk/; revision=12381
* cut and paste fixed version of gnome_canvas_button here.Chris Toshok2001-08-221-0/+255
| | | | | | | | | | | | | | 2001-08-21 Chris Toshok <toshok@ximian.com> * gal/widgets/e-canvas.c (e_canvas_button): cut and paste fixed version of gnome_canvas_button here. (pick_current_item): needed by e_canvas_button, also from gnome-canvas.c. (gnome_canvas_item_invoke_point): same. (e_canvas_class_init): hook button_press_event and button_release_event to e_canvas_button. svn path=/trunk/; revision=12376
* Compile fixesIain Holmes2001-08-181-0/+1
| | | | svn path=/trunk/; revision=12172
* added e_date_edit_get/set_make_time_insensitive() which makes the timeDamon Chaplin2001-08-173-18/+115
| | | | | | | | | | 2001-08-16 Damon Chaplin <damon@ximian.com> * e-dateedit.c: added e_date_edit_get/set_make_time_insensitive() which makes the time field insensitive rather than hiding it. I'm not sure we're going to actually use this now, though. svn path=/trunk/; revision=12135
* Set the horizontal usize of the entry to 4.Ettore Perazzoli2001-08-172-0/+6
| | | | | | | * e-search-bar.c (activate_by_subitems): Set the horizontal usize of the entry to 4. svn path=/trunk/; revision=12132
* Boost scoring on an exact nickname match. Manually addressify match.Jon Trowbridge2001-08-164-52/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-16 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c (match_nickname): Boost scoring on an exact nickname match. Manually addressify match. (match_name): Manually addressify matches. (book_query_score): Remove automatic addressification. * gui/component/addressbook.c (addressbook_query_changed): Minor tweak to avoid a crash if we have a negative subid with id ESB_CATEGORY. This should never happen. (addressbook_menu_activated): Reset the entry/option when we select "Clear". Some changes to reflect renaming in ESearchBar. * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): Cardify after importing destinations. This might fix a problem that Damon is having. 2001-08-16 Jon Trowbridge <trow@ximian.com> * e-filter-bar.c (option_changed): Adjusted for renamed ESearchBar functions. (menubar_activated): Adjusted for renamed ESearchBar functions. * e-search-bar.c: Renames some of the horrible function names: s/option_choice/item_id/, s/suboption_choice/subitem_id/. 2001-08-16 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Changed to reflect my renaming of some of the more hideously-named functions in the ESearchBar API. svn path=/trunk/; revision=12081
* Destroy, do not unref, the popup_window.Federico Mena Quintero2001-08-152-1/+7
| | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_destroy): Destroy, do not unref, the popup_window. svn path=/trunk/; revision=12022
* Correctness fixes for when the entry and submenu must be interchanged.Federico Mena Quintero2001-08-152-24/+50
| | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-search-bar.c (activate_by_subitems): Correctness fixes for when the entry and submenu must be interchanged. svn path=/trunk/; revision=12019
* *Please* add accessor functions instead of just object arguments!Federico Mena Quintero2001-08-153-42/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> *Please* add accessor functions instead of just object arguments! * e-search-bar.c (e_search_bar_set_option_choice): New function. (e_search_bar_set_suboption_choice): New function. (e_search_bar_set_text): New function. (impl_set_arg): Use the functions above instead of setting things directly. (add_dropdown): If the item is a separator, set it as insensitive. (activate_by_subitems): Handle the translate field in the subitem structure. Also, allow the creation of separators by having NULL text strings in the subitems. (set_option): If the item is a separator, set it as insensitive. (set_option): Do not use the subitem_garbage hack. Do proper memory management instead. (e_search_bar_set_suboption): New function to change the suboption items in a search bar. * e-search-bar.h (ESearchBarSubitem): Added a `translate' field. This API sucks so much it is not funny. (ESearchBar): Removed the subitem_garbage hack. Please do proper memory management. svn path=/trunk/; revision=12014
* Add "Any Category" option for category searches.Jon Trowbridge2001-08-142-1/+6
| | | | | | | | | | | | | | | | 2001-08-14 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c (addressbook_factory_new_control): Add "Any Category" option for category searches. (addressbook_query_changed): Do the right thing on an "Any Category" search. 2001-08-14 Jon Trowbridge <trow@ximian.com> * e-search-bar.c (activate_by_subitems): Oops... initial suboption_choice should be subitems[0].id, not 0. svn path=/trunk/; revision=12013
* Handle GDK_KP_Up and GDK_KP_Down here.Christopher James Lahey2001-08-141-0/+2
| | | | | | | | | 2001-08-14 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c (e_selection_model_key_press): Handle GDK_KP_Up and GDK_KP_Down here. svn path=/trunk/; revision=11997
* Oops, we didn't need to unref all of the widgets, just a few.Jeffrey Stedfast2001-08-112-14/+8
| | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_destroy): Oops, we didn't need to unref all of the widgets, just a few. svn path=/trunk/; revision=11907
* Removed comment about the need to resolve nicknames properly, because weJon Trowbridge2001-08-115-32/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Removed comment about the need to resolve nicknames properly, because we now do that. 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-filter-bar.h: Set the subitems to NULL in the pre-defined ESearchBarItems. * e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's subitems to NULL. (build_items): Set the ESearchBarItem's subitems to NULL. (e_filter_bar_new): Set the ESearchBarItem's subitems to NULL. * e-search-bar.c: Added support for subitems, so that a search option can key off of another option menu rather than just an entry. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c: Set the ESearchBarItem subitems explicitly to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Where we have ESearchBarItems, set their subitems to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c: Set our ESearchBarItems subitems to NULL. svn path=/trunk/; revision=11904
* last_item_separator shouldn't get reset if the item is hidden.Christopher James Lahey2001-08-111-8/+8
| | | | | | | | | 2001-08-10 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-popup-menu.c (e_popup_menu_create): last_item_separator shouldn't get reset if the item is hidden. svn path=/trunk/; revision=11898
* new proto and virtual methodJP Rosevear2001-08-102-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 JP Rosevear <jpr@ximian.com> * gal/widgets/e-canvas-vbox.h: new proto and virtual method * gal/widgets/e-canvas-vbox.c (e_canvas_vbox_real_add_item_start): adds the the item to the beginning (e_canvas_vbox_add_item_start): call the virtual method 2001-08-10 JP Rosevear <jpr@ximian.com> * e-table.c (et_build_groups): add the items to the start or end based on where the click to add should be (e_table_setup_table): ditto (et_real_construct): read additional spec flag * e-table.h: new flag * e-table-specification.c (etsp_init): init new flag (e_table_specification_load_from_node): set click to add end flag (e_table_specification_save_to_node): write out flag * e-table-specification.h: new flag svn path=/trunk/; revision=11880
* Don't forget to unref stuff here too.Jeffrey Stedfast2001-08-103-94/+132
| | | | | | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_destroy): Don't forget to unref stuff here too. * e-filter-bar.c (destroy): Free all the goodies that we allocate at construct time and unref the rule context. (class_init): Override the destroy method. svn path=/trunk/; revision=11871
* Fixes bug #6918Anna Marie Dirks2001-08-102-1/+9
| | | | | | | | | | | 2001-08-09 Anna Marie Dirks <anna@ximian.com> Fixes bug #6918 * e-filter-bar.h: Changed the "Save As.." menu item to "Add to Saved Searches". svn path=/trunk/; revision=11850
* changed the E_FILTERBAR_RESET label from "Show All" to "Clear" toAnna Marie Dirks2001-08-102-1/+7
| | | | | | | | | | 2001-08-09 Anna Marie Dirks <anna@ximian.com> * e-filter-bar.h : changed the E_FILTERBAR_RESET label from "Show All" to "Clear" to alleviate confusion about whether "Show All" means that hidden messages are also shown or not. (See ximian bug #6743) svn path=/trunk/; revision=11833
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-094-1/+19
| | | | | | | | | | | | | 2001-08-09 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_destroy): Chain to the destroy handler in the parent class! * e-clipped-label.c (e_clipped_label_destroy): Likewise. Sigh. * e-dropdown-button.c (impl_destroy): Likewise. Double sigh. svn path=/trunk/; revision=11817
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-092-0/+6
| | | | | | | | | | | | | | | | | | | | 2001-08-08 Federico Mena Quintero <federico@ximian.com> * gal/widgets/e-selection-model-array.c (esma_destroy): Chain to the destroy handler in the parent class! * gal/widgets/e-selection-model.c (esm_destroy): Likewise. Sigh. * gal/widgets/e-categories.c (e_categories_destroy): Likewise. And make it static. Double sigh. * gal/widgets/e-categories-master-list-array.c (ecmla_destroy): Likewise. Triple sigh. * gal/widgets/e-categories-master-list-dialog-model.c (ecmldm_destroy): Likewise. Quadruple sigh. svn path=/trunk/; revision=11810
* Re-labeled the "Activate" button "Find Now".Anna Marie Dirks2001-08-092-1/+5
| | | | | | | 2001-08-08 Anna Marie Dirks <anna@ximian.com> * e-search-bar.c: Re-labeled the "Activate" button "Find Now". svn path=/trunk/; revision=11804
* New. New.Ettore Perazzoli2001-08-084-0/+277
| | | | | | | * e-bonobo-widget.c: New. * e-bonobo-widget.h: New. svn path=/trunk/; revision=11768
* allow toggling between converting from the gdkfont's charset or from theLarry Ewing2001-08-071-1/+11
| | | | | | | | | | 2001-08-07 Larry Ewing <lewing@ximian.com> * gal/widgets/e-unicode.c (e_utf8_from_gtk_event_key): allow toggling between converting from the gdkfont's charset or from the locale charset for testing. svn path=/trunk/; revision=11723
* [Added an "Activate" button to the search bar.]Ettore Perazzoli2001-08-053-17/+66
| | | | | | | | | | | | | | | * e-search-bar.c (submit_button_clicked_cb): Callback for the "clicked" signal on the activate button. (add_submit): New function to add a "Activate" button on the right of the entry. (e_search_bar_construct): Call it. (add_spacer): Removed. (e_search_bar_construct): Don't call it. (find_id): Remove debugging message. (put_in_spacer_widget): New utility function to create a GtkEventBox with a border width of one and put a widget into it. svn path=/trunk/; revision=11690
* Make the close icon as large as the pin icon so the bar doesn't changeEttore Perazzoli2001-08-052-13/+25
| | | | | | | | | * e-title-bar.c: Make the close icon as large as the pin icon so the bar doesn't change size when it switches between them. (e_title_bar_construct): Add some horizontal padding to the label to make it look nicer. svn path=/trunk/; revision=11688
* Request an update. (e_calendar_item_mark_days): Likewise.Federico Mena Quintero2001-08-042-0/+9
| | | | | | | | | 2001-08-03 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_mark_day): Request an update. (e_calendar_item_mark_days): Likewise. svn path=/trunk/; revision=11643
* don't show the year in the popup submenu for the months, and center theDamon Chaplin2001-07-252-4/+15
| | | | | | | | | | 2001-07-24 Damon Chaplin <damon@ximian.com> * e-calendar-item.c (e_calendar_item_show_popup_menu): don't show the year in the popup submenu for the months, and center the months. Fixes bug #4397. svn path=/trunk/; revision=11365
* When the dialog gets closed, always make sure the entry widget becomesJeffrey Stedfast2001-07-192-1/+5
| | | | | | | | | | | | 2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_destroyed): When the dialog gets closed, always make sure the entry widget becomes sensitive again. (menubar_activated): Don't use FILTER_SOURCE_INCOMING because that's not what we want, we want (I think) NULL (at least with NULL, bug #4490 goes away). svn path=/trunk/; revision=11209
* When the dialog gets closed, always make sure the entry widget becomesJeffrey Stedfast2001-07-192-188/+179
| | | | | | | | | 2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_destroyed): When the dialog gets closed, always make sure the entry widget becomes sensitive again. svn path=/trunk/; revision=11208
* Remove the debugging message here.Dan Winship2001-07-181-1/+0
| | | | | | | * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Remove the debugging message here. svn path=/trunk/; revision=11179
* Fixes bug #2901.Federico Mena Quintero2001-07-172-16/+10
| | | | | | | | | | | 2001-07-16 Federico Mena Quintero <federico@ximian.com> Fixes bug #2901. * e-dateedit.c (e_date_edit_parse_date): Use e_time_parse_date(). (e_date_edit_parse_time): Use e_time_parse_time(). svn path=/trunk/; revision=11137
* *** empty log message ***Jacob Berkman2001-07-163-21/+27
| | | | svn path=/trunk/; revision=11126
* Reset the view when we set the model here. Fixes Ximian #4105.Christopher James Lahey2001-07-161-0/+1
| | | | | | | | | 2001-07-16 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (connect_model): Reset the view when we set the model here. Fixes Ximian #4105. svn path=/trunk/; revision=11124
* Created this function for key presses that move in some way other thanChristopher James Lahey2001-07-112-78/+80
| | | | | | | | | | | | | | 2001-07-11 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h (e_selection_model_select_as_key_press): Created this function for key presses that move in some way other than just to the next or previous row. (e_selection_model_key_press): Use e_selection_model_select_as_key_press for handling home and end here. svn path=/trunk/; revision=10993
* Destroy the tooltip if we're the owner when we're destroyed. Also, keep aChristopher James Lahey2001-07-081-0/+2
| | | | | | | | | | | | | | 2001-07-07 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_destroy): Destroy the tooltip if we're the owner when we're destroyed. Also, keep a reference to the text object in case we get a signal on the window after the text object is destroyed. * gal/widgets/e-canvas.c (e_canvas_destroy): Hide the tooltip if there is one when the canvas is destroyed. svn path=/trunk/; revision=10888
* added functions to set a callback to get the current time, which is usedDamon Chaplin2001-07-037-50/+230
| | | | | | | | | | | | 2001-07-02 Damon Chaplin <damon@ximian.com> * e-calendar-item.c: * e-cell-date-edit.c: * e-dateedit.c: added functions to set a callback to get the current time, which is used instead of localtime(). We need this as we have to use our own timezones. svn path=/trunk/; revision=10728
* *misc/e-filter-bar.c (option_changed): Specified a default size for theAnna Marie Dirks2001-07-031-3/+20
| | | | | | | | | | 2001-07-02 Anna Marie Dirks <anna@ximian.com> *misc/e-filter-bar.c (option_changed): Specified a default size for the Advanced Search dialog such that when it first appear, it is large enough to view all parts of a search clause without the user needing to resize it. svn path=/trunk/; revision=10703
* Take a callback function and user_data so that we can add listeners toJeffrey Stedfast2001-07-033-3/+34
| | | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Take a callback function and user_data so that we can add listeners to each of the menu items. svn path=/trunk/; revision=10702
* Updated to build e-charset-picker.cJeffrey Stedfast2001-07-035-0/+515
| | | | | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Updated to build e-charset-picker.c * e-charset-picker.[c,h]: Moved here from gal. (e_charset_picker_bonobo_ui_populate): New function to populate a bonobo-ui with a charset picker menu. svn path=/trunk/; revision=10687
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-2314-25/+25
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* copied the EMap widget verbatim from Ximian Setup Tools. Hmm. Maybe itDamon Chaplin2001-06-144-0/+1933
| | | | | | | | | | | | 2001-06-14 Damon Chaplin <damon@ximian.com> * e-map.[hc]: copied the EMap widget verbatim from Ximian Setup Tools. Hmm. Maybe it should go in gal, but its not a very general widget. * Makefile.am (INCLUDES): defined MAP_DIR for e-map.c. (libemiscwidgets_a_SOURCES): added e-map.[hc]. svn path=/trunk/; revision=10221
* Removed unused variable.Federico Mena Quintero2001-06-013-2/+9
| | | | | | | | | | | | 2001-05-31 Federico Mena Quintero <federico@ximian.com> * e-dropdown-button.c (impl_button_press_event): Removed unused variable. * e-cell-date-edit.c (e_cell_date_edit_rebuild_time_list): Removed unused variable. svn path=/trunk/; revision=10062
* #include <stdlib.h> #include <string.h>. Kill warnings.Kjartan Maraas2001-05-251-0/+1
| | | | | | | | | 2001-05-25 Kjartan Maraas <kmaraas@gnome.org> * gal/widgets/e-font.c: #include <stdlib.h> * gal/widgets/e-popup-menu.c: #include <string.h>. Kill warnings. svn path=/trunk/; revision=9971
* Killed a warning here. (model_changed, items_inserted): Check if we'reChristopher James Lahey2001-05-191-7/+5
| | | | | | | | | 2001-05-19 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (model_changed): Killed a warning here. (model_changed, items_inserted): Check if we're empty. svn path=/trunk/; revision=9891
* my computer crashed while commiting this first time.Gediminas Paulauskas2001-05-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2001-05-12 Gediminas Paulauskas <menesis@delfi.lt> * folder-browser-factory.c: load pixmaps for MessageCopy and MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu> for a patch. 2001-05-12 Gediminas Paulauskas <menesis@delfi.lt> * evolution-mail.xml: add pixmaps for MessageCopy and MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu> for a patch. 2001-05-12 Gediminas Paulauskas <menesis@delfi.lt> * po/POTFILES.in: update with new/moved files. also: Removed duplicated DATADIR in mail/Makefile.am fixed warning in e-search-bar.c in my recent code there svn path=/trunk/; revision=9783
* Added util/e-sorter-array.lo and widgets/e-reflow-model.lo. RemovedChristopher James Lahey2001-05-084-410/+1199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-07 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added util/e-sorter-array.lo and widgets/e-reflow-model.lo. Removed widgets/e-reflow-sorted.lo. * gal/util/Makefile.am (libutil_la_SOURCES): Added e-sorter-array.c. (libgalinclude_HEADERS): Added e-sorter-array.h. * gal/util/e-sorter-array.c, gal/util/e-sorter-array.h: A sorter for use with a single compare function to do sorting. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_INT__OBJECT_POINTER): Added this marshaller. * gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added e-reflow-model.c. Removed e-reflow-sorted.c. (libwidgetsinclude_HEADERS): Added e-reflow-sorted.h. Removed e-reflow-model.h. * gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h: Model for EReflow. Has a number of items and generates canvas items on the fly. * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Major rewrite. This now uses a model to generate its canvas items instead of having canvas items added to it. It doesn't create the canvas items now until they will be shown on screen. svn path=/trunk/; revision=9710
* Fix for #2253 (search names not translated), mail-search i18n fixes.Gediminas Paulauskas2001-05-082-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * searches.xml: replace title> with _title>. Part of fix to #2253. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * mail-search.c: convert search entry to utf8. * mail-local.c: d() debugging message. * mail-send-recv.c: replace " ..." with "..." * Makefile.am: removed EVOLUTION_VERSION. 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * POTFILES.in: add mail/mail-search.c 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * misc/e-search-bar.c (add_dropdown), (set_option): first try to translate, then if not suceeded -- convert from utf8. This handles cases when menuitem needs to be translated (it is passed as N_()), or is utf8 search title. However you cannot have a search like "Folders" -- it is translated. Part of fix for #2253. * misc/e-filter-bar.c: d() debugging strings. Use E_FILTERBAR_ADVANCED macro instead of own "Advanced ..." for consistency. 2001-05-08 Gediminas Paulauskas <menesis@delfi.lt> * filter-rule.c (xml_decode): allow "_title" in user rules. translate them and encode to utf8. (get_rule_part_widget): do not call gettext on part->title. It is always translated already. svn path=/trunk/; revision=9706
* write what was converted to console, this function does not work always.Gediminas Paulauskas2001-05-081-3/+6
| | | | | | | | | | | | | | | | | 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): write what was converted to console, this function does not work always. (e_utf8_gtk_editable_get_chars), (e_utf8_gtk_menu_item_new_with_label): removed some unneeded checks. (e_xml_get_translated_utf8_string_prop_by_name): if i.e. "title" was found, do not convert it to utf8 -- it already is. do this only on "_title". * gal/e-table/e-table-header-item.c: fix warning. svn path=/trunk/; revision=9692
* I am sure at least with this:Gediminas Paulauskas2001-05-072-3/+17
| | | | | | | | | 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * misc/e-filter-bar.h: xgettext does not find N_() in #defines. So created fake enum. Also removed spaces before "..." svn path=/trunk/; revision=9690
* Added widgets/e-categories-master-list-dialog-model.lo andChristopher James Lahey2001-04-291-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-29 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added widgets/e-categories-master-list-dialog-model.lo and widgets/e-categories-master-list-dialog.lo here. * gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added widgets/e-categories-master-list-dialog-model.c and widgets/e-categories-master-list-dialog.c here. (libwidgetsinclude_HEADERS): Added widgets/e-categories-master-list-dialog-model.h and widgets/e-categories-master-list-dialog.h here. (glade_DATA): Added e-categories-master-list-dialog.glade here. * gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog-model.h: New class defining an ETableModel for use in e-categories-master-list-dialog.c. * gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories-master-list-dialog.glade, gal/widgets/e-categories-master-list-dialog.h: New dialog for editing the master category list. * gal/widgets/e-categories.c: Added code to hook up the edit master category list button here to launch an e-categories-master-list-dialog. * gal/widgets/gal-categories.glade: Added a button here to edit the master category list. svn path=/trunk/; revision=9625
* UpdateKjartan Maraas2001-04-241-2/+3
| | | | svn path=/trunk/; revision=9541
* Added #include <glib.h> and moved corresponding local headers to the top.Kjartan Maraas2001-04-247-10/+30
| | | | | | | | | | 2001-04-24 Kjartan Maraas <kmaraas@gnome.org> * e-calendar-item.c, e-calendar.c, e-cell-date-edit.c, e-clipped-label.c: Added #include <glib.h> and moved corresponding local headers to the top. svn path=/trunk/; revision=9540
* Added #include <stdlib.h>.Christopher James Lahey2001-04-241-0/+1
| | | | | | | | 2001-04-23 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-unicode.c: Added #include <stdlib.h>. svn path=/trunk/; revision=9520
* bump to 0.7.99.1, add gal/unicode/Makefile. gal no longer internallyDan Winship2001-04-242-52/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: bump to 0.7.99.1, add gal/unicode/Makefile. gal no longer internally depends on libunicode, although it will continue to configure against it until gtkhtml/evolution are ported too. * gal/Makefile.am (nonui_subdirs): add unicode (libgal_la_LDFLAGS): remove $(UNICODE_LIBS) (libgal_la_LIBADD): add unicode/*.lo * gal/unicode/*: unicode handling code copied nearly verbatim from glib 2.0, plus gal build glue. * gal/e-text/Makefile.am (INCLUDES): Remove UNICODE_CFLAGS (e_text_test_LDADD, e_entry_test_LDADD, e_text_model_test_LDADD, e_completion_test_LDADD): remove -lunicode, add libunicode.la * gal/e-text/e-text.c: Remove <unicode.h>, use gunicode functions. * gal/widgets/Makefile.am (libwidgets_la_LDFLAGS): remove UNICODE_LIBS (INCLUDES): remove UNICODE_CFLAGS (test_e_font_LDADD, test_font_loading_LDADD): add libunicode.la * gal/widgets/e-unicode.h: #include <gal/unicode/gunicode.h>. Remove some cruft. * gal/widgets/e-unicode.c: remove <unicode.h>, use gunicode functions. Add e_unicode_get_utf8 to replace some uses of unicode_get_utf8, which isn't quite the same as any gunicode function. * gal/widgets/e-font.c: remove <unicode.h>, use gunicode functions svn path=/trunk/; revision=9512
* Changed some comments here.Christopher James Lahey2001-04-173-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed some comments here. * gal/Makefile.am (libgal_la_LIBADD): Added widgets/e-categories-master-list-array.lo and widgets/e-categories-master-list.lo. * gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added widgets/e-categories-master-list-array.c and widgets/e-categories-master-list.c. (libwidgetsinclude_HEADERS): Added widgets/e-categories-master-list-array.h and widgets/e-categories-master-list.h. * gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-array.h, gal/widgets/e-categories-master-list.c, gal/widgets/e-categories-master-list.h: Added ECategoriesMasterList and a simple local implementation of it. * gal/widgets/e-categories.c, gal/widgets/e-categories.h: Privatized this. Switched to using ECategoriesMasterList. (table_right_click): Added a right click menu to add and remove things to and from the global category list. * gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h: Fixed some comments and formatting. * gal/widgets/e-popup-menu.h (E_POPUP_SEPARATOR, E_POPUP_TERMINATOR): Added these #defines. svn path=/trunk/; revision=9392
* Upped the version number to 0.7.99.0.Jody Goldberg2001-04-171-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-15 Jody Goldberg <jgoldberg@home.com> * configure.in: Upped the version number to 0.7.99.0. * gal/widgets/Makefile.am : add test-color. * gal/widgets/test-color.c (main) : update. * gal/widgets/color-group.c (color_group_new_named) : add a context pointer to manage multiple instances of the same conceptual group in different instances. eg the foregroup colour groups for windows editing different documents should be different. (create_unique_name) : Adjust signature. (color_group_from_name) : ditto, Use the cg as the key, not just name. (color_group_destroy) : ditto. (color_group_new_named) : ditto. (cg_hash) : new function. (cg_cmp) : new function. (initialize_group_names) : used here. * gal/widgets/color-palette.c (color_palette_new) : Take a ColorGroup directly rather than a ColorGroup name. (color_palette_new_with_vals) : ditto. * gal/widgets/widget-color-combo.c (color_table_setup) : Take a ColorGroup directly rather than a ColorGroup name. (color_combo_construct) : Ditto. (color_combo_new) : Ditto. svn path=/trunk/; revision=9391
* New function, because it is ridiculous to have to hunt down objectFederico Mena Quintero2001-04-163-2/+48
| | | | | | | | | | | | | 2001-04-15 Federico Mena Quintero <federico@ximian.com> * e-search-bar.c (e_search_bar_get_option_choice): New function, because it is ridiculous to have to hunt down object arguments to fetch values. (e_search_bar_get_text): Likewise. (impl_get_arg): Use the functions above so that we have to maintain only one version of the getters. svn path=/trunk/; revision=9339
* Do not ref both the box and the item; just connect to the item's "destroy"Federico Mena Quintero2001-04-161-7/+15
| | | | | | | | | | | | 2001-04-15 Federico Mena Quintero <federico@ximian.com> * gal/widgets/e-canvas-vbox.c (e_canvas_vbox_real_add_item): Do not ref both the box and the item; just connect to the item's "destroy" signal. (e_canvas_vbox_remove_item): Do not unref the box. (e_canvas_vbox_destroy): Disconnect from the items. svn path=/trunk/; revision=9335
* Use e_canvas_hide_tooltip and e_canvas_popup_tooltip. Set bold on theChristopher James Lahey2001-04-152-0/+63
| | | | | | | | | | | | 2001-04-15 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (tooltip_event): Use e_canvas_hide_tooltip and e_canvas_popup_tooltip. Set bold on the tooltip. * gal/widgets/e-canvas.c, gal/widgets/e-canvas.h: Added e_canvas_popup_tooltip and e_canvas_hide_tooltip. svn path=/trunk/; revision=9323
* Added widget/e-hsv-utils.lo.Christopher James Lahey2001-04-152-0/+197
| | | | | | | | | | | | | | | 2001-04-14 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am: Added widget/e-hsv-utils.lo. * gal/widgets/Makefile.am: Added e-hsv-utils.c and e-hsv-utils.h. * gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Moved from gal/e-table/e-table-hsv-utils.c and gal/e-table/e-table-hsv-utils.h. Handle modifying hue saturation and value of colors. svn path=/trunk/; revision=9317
* Always emit the cursor changed signal. Even if it's changed to the sameChristopher James Lahey2001-04-131-8/+5
| | | | | | | | | | 2001-04-13 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c (e_selection_model_do_something): Always emit the cursor changed signal. Even if it's changed to the same row/column. svn path=/trunk/; revision=9297
* New function to translate a string and then convert it to utf8. Acts justChristopher James Lahey2001-04-112-1/+37
| | | | | | | | | | | | | | | | | | | | | 2001-04-10 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-unicode.c, gal/widgets/e-unicode.h (e_xml_get_translated_utf8_string_prop_by_name): New function to translate a string and then convert it to utf8. Acts just like e_xml_get_translated_string and then calls e_utf_from_locale_string on it. * gal/util/e-xml-utils.c: Changed e_xml_get_translated_string to take a string with no underscore at the beginning and search for both that prop and the same prop with the underscore prepended. If it finds it without the underscore, it returns it. If it finds it with the underscore, it translates. * gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Reformatted these a bit. svn path=/trunk/; revision=9216
* i18n fixes, added missing includes.Gediminas Paulauskas2001-04-112-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * AUTHORS: /me is a translator. * configure.in (EVO_CHECK_LIB): fail with AC_MSG_ERROR, not echo && exit 1. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * backend/ebook/evolution-gnomecard-importer.c: added missing #include. * contact-editor/e-contact-editor.c (_arrow_pressed): popup menu items were not translated after selecting one of them. * gui/widgets/e-addressbook-view.c: mark popup menu items with N_(). Updated list[] for translators. * gui/widgets/e-minicard.c: same. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_set_arg): fix warning for "editable" arg. * gui/widgets/e-minicard-view.c: convert "empty_message" to utf8. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * widgets/e-summary-subwindow.c: added some missing includes. * widgets/e-summary-title-button.h: same. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * menus/gal-view-menus.c: convert label to utf8. svn path=/trunk/; revision=9215
* i18n fixes.Gediminas Paulauskas2001-04-111-0/+4
| | | | | | | | | | | | | | | i18n fixes. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * gal/widgets/e-unicode.c (e_utf8_*_*_string): if (!string) return NULL; to avoid crashes in strlen(NULL). TODO: need g_strlen which does that. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * e-table.c (et_real_construct): convert click_to_add_message locale->utf8. svn path=/trunk/; revision=9214
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-051-4/+4
| | | | svn path=/trunk/; revision=9191
* Some small header cleanups & fixes, and fix to translate all popup menusGediminas Paulauskas2001-04-053-4/+28
| | | | | | | | | | | | (woohoo!): 2001-04-05 Gediminas Paulauskas <menesis@delfi.lt> * gal/widgets/e-popup-menu.c: Copied gnome_app_helper_gettext function here, and use it for translating menu names (they are passed from app as well as from gal in arrays with N_(), and domains differ). svn path=/trunk/; revision=9190
* More header fixes. Same. Same. Same here. More header fixes. Same here.Kjartan Maraas2001-04-057-8/+47
| | | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * e-calendar.c: More header fixes. * e-cell-date-edit.c: Same. * e-dateedit.[ch]: Same. * e-title-bar.c: Same here. * e-search-bar.c: More header fixes. * test-calendar.c: Same here. svn path=/trunk/; revision=9178
* Added e_selection_model_cursor_activated.Christopher James Lahey2001-04-042-0/+12
| | | | | | | | | | 2001-04-04 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Added e_selection_model_cursor_activated. svn path=/trunk/; revision=9177
* Fixed headers. Moved the .h associated with each .c to the top of the listChristopher James Lahey2001-04-043-3/+9
| | | | | | | | | | | | | | | | | | | | | | 2001-04-04 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text-model-uri.c, gal/e-text/e-text.c, gal/e-text/e-text.h, gal/e-text/e-text-event-processor.c, gal/util/e-xml-utils.c, gal/widgets/e-cursors.c, gal/widgets/e-cursors.h: Fixed headers. Moved the .h associated with each .c to the top of the list of included files. * gal/util/e-util.h: Removed the bonobo-xobject.h header here. * gal/util/e-xml-utils.c: Replaced strcasecmp with g_strcasecmp. * gal/widgets/e-canvas-vbox.c: Make this work even if the item is destroyed after the vbox. * gal/widgets/e-categories.c (do_parse_categories): Made this translate using e_utf8_from_locale string as it should. svn path=/trunk/; revision=9175
* Fix headers. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. Same. Ditto. SameKjartan Maraas2001-04-0416-15/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * gal/e-text/e-entry.c: Fix headers. * gal/e-text/e-table-text-model.[ch]: Ditto. * gal/e-text/e-table-text-model-uri.c: Ditto. * gal/e-text/e-text-model-uri.[ch]: Ditto. * gal/e-text/e-text-model.[ch]: Ditto. * gal/e-text/e-text.[ch]: Ditto. * gal/util/e-text-event-processor-emacs-like.[ch]: Ditto. * gal/util/e-text-event-processor.[ch]: Same. * gal/util/e-util.h: Ditto. * gal/util/e-xml-utils.[ch]: Same here. * gal/widgets/color-group.[ch]: Ditto. * gal/widgets/color-palette.[ch]: Ditto. * gal/widgets/e-canvas-utils.h: Ditto. * gal/widgets/e-canvas-vbox.[ch]: Ditto. * gal/widgets/e-canvas.[ch]: Ditto. * gal/widgets/e-categories.h: Ditto. * gal/widgets/e-colors.[ch]: Ditto. * gal/widgets/e-cursors.c: Ditto. * gal/widgets/e-gui-utils.c: Ditto * gal/widgets/e-popup-menu.[ch]: Same. * gal/widgets/e-reflow-sorted.c: Same. * gal/widgets/e-reflow.[ch]: Same. * gal/widgets/e-selection-model.c: Same * gal/widgets/e-unicode.[ch]: Same. * gal/widgets/gtk-combo-stack.[ch]: Same. * gal/widgets/widget-color-combo.[ch]: Same. * gal/widgets/widget-pixmap-combo.[ch]: Same. svn path=/trunk/; revision=9168
* My previous commit was incomplete.Gediminas Paulauskas2001-04-021-1/+2
| | | | | | | called e_utf8_from_gtk_string on category names, so they no are translated and show up correctly. svn path=/trunk/; revision=9093
* Replace #include <gtk/gtk.h> Remove #include <gnome.h> Replace #includeKjartan Maraas2001-03-3013-16/+68
| | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-dropdown-button.c: Replace #include <gtk/gtk.h> * e-dropdown-button.h: Remove #include <gnome.h> * e-filter-bar.c: Replace #include <gtk/gtk.h> * e-filter-bar.h: Replace #include <gtk/gtk.h> * e-messagebox.c: Add #includes to count for removed <gnome.h> in e-messagebox.h: * e-messagebox.h: Replace #include <gnome.h> * e-search-bar.c: Replace #include <gnome.h> * e-search-bar.h: Same here * test-calendar.c: Remove #include <gnome.h> * test-dateedit.c: Replace #include <gnome.h> * test-dropdown-button.c: Same here. * test-title-bar.c: Same here. svn path=/trunk/; revision=9018
* Added util/e-bit-array.lo.Christopher James Lahey2001-03-274-224/+92
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-26 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added util/e-bit-array.lo. * gal/util/Makefile.am: Added e-bit-array.c and e-bit-array.h. * gal/util/e-bit-array.c, gal/util/e-bit-array.h: New class containing the implementation of the bit array used in e-selection-model-array. * gal/widgets/e-selection-model-array.c, e-selection-model-array.h: Refactored the bit array implementation into a separate class. * gal/widgets/e-selection-model-simple.c: Changed how it clears the bit array of the ESelectionModelArray parent class. * gal/widgets/e-selection-model.h: Added code to make the declaration of EForeachFunc only get included once. svn path=/trunk/; revision=8955
* Added e-selection-model-array.lo.Christopher James Lahey2001-03-256-529/+924
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-25 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-selection-model-array.lo. * gal/widgets/Makefile.am: Added e-selection-model-array.c and e-selection-model-array.h. * gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h: New class that implements the details of ESelectionModel. ESelectionModel has been refactored to just be a this virtual class. ESelectionModelArray is the original implementation of ESelectionModel. This is what most people will want to use or derive from. * gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h: Made the parent class of this be ESelectionModelArray instead of ESelectionModel. Changed some function names to match this change. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Refactored most of the implementation of this class into ESelectionModelArray. Now just a thin virtual class. From gal/e-table/ChangeLog: 2001-03-25 Christopher James Lahey <clahey@ximian.com> * e-table-selection-model.c, e-table-selection-model.h: Made the parent object of this be ESelectionModelArray instead of ESelectionModel due to their refactoring. Changed the commented out code for saving the selection a bit. svn path=/trunk/; revision=8924
* Validate the filter rule.Jeffrey Stedfast2001-03-232-1/+8
| | | | | | | | 2001-03-22 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_clicked): Validate the filter rule. svn path=/trunk/; revision=8909
* Upped the version number to 0.5.99.4.Christopher James Lahey2001-03-204-49/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-19 Christopher James Lahey <clahey@ximian.com> * configure.in: Upped the version number to 0.5.99.4. * Merged branch: 2001-03-18 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Added another semi-private function (e_selection_model_change_cursor.) 2001-03-18 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Added a couple of semi-private functions (e_selection_model_change_one_row and e_selection_model_confirm_row_count.) 2001-03-18 Christopher James Lahey <clahey@ximian.com> * tests/test-tree-1.c, tests/test-tree-3.c: Added arguments for e_tree_memory_callbacks_new of get_save_id and has_save_id to NULL. 2001-03-17 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c (e_sort): Switched to just using qsort directly here. 2001-03-17 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_bsearch, e_sort): Added e_sort and e_bsearch. They both take a closure. e_sort guarantees a stable sort. e_bsearch returns the range of matching elements including the position where an object would be if there are no matching elements. 2001-03-16 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-tree-sorted.lo. 2001-03-14 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h: Replaced the methods insert_row and delete_row with insert_rows and delete_rows. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Replaced the methods insert_row and delete_row with insert_rows and delete_rows. 2001-03-08 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added e-table/e-table-utils.lo, e-table/e-tree-memory-callbacks.lo, e-table/e-tree-memory.lo, e-table/e-tree-scrolled.lo, e-table/e-tree-table-adapter.lo, and e-table/e-tree.lo. Removed e-table/e-tree-simple.lo. * gal/util/e-util.c, gal/util/e-util.h: Added a whole bunch of e_marshal functions for ETree. * tests/test-tree-1.c, tests/test-tree-3.c: Reworked these to use the new tree stuff. End of branch svn path=/trunk/; revision=8840
* use gnome_dialog_run() to make the warning dialog modal. Also created aDamon Chaplin2001-03-192-38/+37
| | | | | | | | | | | 2001-03-18 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_show_time_invalid_warning): use gnome_dialog_run() to make the warning dialog modal. Also created a better warning message showing the format expected. Also used e_time_format_time() to format all times. svn path=/trunk/; revision=8823
* Make this take an extra argument saying whether or not to grab theDan Winship2001-03-162-6/+7
| | | | | | | | | | | * gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Make this take an extra argument saying whether or not to grab the widget-level focus. * gal/e-text/e-text.c (e_text_event): Update arguments to e_canvas_item_grab_focus. svn path=/trunk/; revision=8745
* If we click on the edit menu, then bring up a rule editor. If the userNot Zed2001-03-152-0/+32
| | | | | | | | | | 2001-03-15 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): If we click on the edit menu, then bring up a rule editor. If the user adds/removes rules though, they are neither saved, nor added to the menu's. sigh. svn path=/trunk/; revision=8730
* Made this function do something a little closer to what it is supposed toChristopher James Lahey2001-03-141-2/+4
| | | | | | | | | 2001-03-13 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (e_reflow_point): Made this function do something a little closer to what it is supposed to do. svn path=/trunk/; revision=8693
* Rename this from g_unichar_to_utf8 so that it doesn't conflict with theDan Winship2001-03-142-9/+9
| | | | | | | | | * gal/widgets/e-unicode.c (e_unichar_to_utf8): Rename this from g_unichar_to_utf8 so that it doesn't conflict with the function of that name exported by gnome-print (and so that it's consistent with all of the other functions in the file). svn path=/trunk/; revision=8679
* pretty much working now.Damon Chaplin2001-03-053-76/+537
| | | | | | | | 2001-03-04 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c: pretty much working now. svn path=/trunk/; revision=8548
* New class implementing a simple selection model that you add rows to andChris Lahey2001-03-012-0/+144
| | | | | | | | * gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h: New class implementing a simple selection model that you add rows to and remove rows from. svn path=/trunk/; revision=8443
* Added e-selection-model-simple.lo.Christopher James Lahey2001-03-014-27/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-selection-model-simple.lo. * gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added e-selection-model-simple.c. (libwidgetsinclude_HEADERS): Added e-selection-model-simple.h. * gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h: Added a gint *position argument to e_reflow_sorted_remove_item and e_reflow_sorted_get_item and two gint * arguments to e_reflow_sorted_replace_item and e_reflow_sorted_reorder_item to return the positions in the array of the items removed, gotten, or moved. * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Added a gint *position argument to e_reflow_sorted_add_item to return the positions in the array of the item added. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Added e_selection_model_move_row. svn path=/trunk/; revision=8442
* New type of search bar that interacts with filter contexts to save filtersNot Zed2001-03-016-29/+672
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Not Zed <NotZed@Ximian.com> * e-filter-bar.c: New type of search bar that interacts with filter contexts to save filters etc. Still probably needs a little cleanpu. 2001-02-28 Not Zed <NotZed@Ximian.com> * e-search-bar.c (add_dropdown): Save the dropdown menu in the struct too. Sigh, this is only so we can scan its content later, ick. (e_search_bar_set_menu_sensitive): New function to se tthe sentisitivty of menyu items based on id. (find_id): New function to find the row and widget for a specific id. (add_option): Renamed to set_option. (add_dropdown): Renamed to set_dropdown. (add_dropdown): ?New function to add a single item. (set_dropdown): Call add_dropdown to add each item. (e_search_bar_add_menu): New public function to add a single item. 2001-02-27 Not Zed <NotZed@Ximian.com> * Makefile.am (libemiscwidgets_a_SOURCES): Added filter-bar.[ch]. * e-search-bar.c (class_init): Init virtual functions. (e_search_bar_set_option): (e_search_bar_set_menu): virtualise calling. (e_search_bar_construct): Call virtual functions to setup menus. * e-search-bar.h (struct _ESearchBarClass): Virtualise add_dropdown/add_option, so certain base options can be created. svn path=/trunk/; revision=8436
* Make this more robust: do not assume that the GdkEvent will be either aMiguel de Icaza2001-02-281-1/+7
| | | | | | | | | | 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gal/widgets/e-gui-utils.c (e_popup_menu): Make this more robust: do not assume that the GdkEvent will be either a GdkEventButton of some sort or a GdkEventKey: deal gracefully with other possible svn path=/trunk/; revision=8423
* Added e-sorter.lo and e-selection-model.lo.Christopher James Lahey2001-02-282-0/+906
| | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am: Added e-sorter.lo and e-selection-model.lo. * gal/util/Makefile.am: Added e-sorter.c and e-sorter.h. * gal/util/e-sorter.c, gal/util/e-sorter.h: New class. This is a new simple virtual class for use with ESelectionModel. It implements the same set of methods as ETableSorter but the default behavior is as if the sorting was a no-op. * gal/widgets/Makefile.am: Added e-selection-model.c and e-selection-model.h. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: New class. Implements all of the semantics of ETableSelectionModel except for the connection to the ETableModel. svn path=/trunk/; revision=8421
* new files to implement an ECell for showing and editing dates & times.Damon Chaplin2001-02-264-0/+513
| | | | | | | | | | | 2001-02-25 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.[hc]: new files to implement an ECell for showing and editing dates & times. (Unfinished) * Makefile.am (libemiscwidgets_a_SOURCES): added e-cell-date-edit.[hc] svn path=/trunk/; revision=8388
* Move the event box into the esb->dropdown_holder. Changed so it can beNot Zed2001-02-243-16/+68
| | | | | | | | | | | | | | 2001-02-24 Not Zed <NotZed@Ximian.com> * e-search-bar.c (add_dropdown): Move the event box into the esb->dropdown_holder. Changed so it can be called again on the same esb, to rebuild the menu. (e_search_bar_set_menu): New function to (re)set the menu. (add_option): Setup so it can be re-called to rebuild the option list. (e_search_bar_set_option): New function to build the menu's. svn path=/trunk/; revision=8373
* From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>Christopher James Lahey2001-02-176-0/+25
| | | | | | | | | | | | | | 2001-02-17 Christopher James Lahey <clahey@ximian.com> From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com> * gal/util/e-util.h, gal/util/e-xml-utils.h, gal/widgets/e-canvas-utils.h, gal/widgets/e-colors.h, gal/widgets/e-cursors.h, gal/widgets/e-gui-utils.h, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.h, gal/widgets/gtk-combo-stack.h: Added GNOME_DECLS. svn path=/trunk/; revision=8267
* Made a width other than the default possible if the children have widthsChristopher James Lahey2001-02-112-5/+27
| | | | | | | | | | 2001-02-11 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h: Made a width other than the default possible if the children have widths larger than the default. svn path=/trunk/; revision=8171
* Added this function.Christopher James Lahey2001-02-112-9/+60
| | | | | | | | | 2001-02-11 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h (e_canvas_item_show_area_delayed): Added this function. svn path=/trunk/; revision=8168
* Since gdkevent is a union, casting a smaller struct to a gdkevent causedJP Rosevear2001-02-101-7/+16
| | | | | | | | | | | | | 2001-02-09 JP Rosevear <jpr@ximian.com> * gal/widgets/e-canvas.c (e_canvas_key): Since gdkevent is a union, casting a smaller struct to a gdkevent caused unknown memory to be copied around. fix by copying to a full gdkevent structure before calling gdkevent. (e_canvas_focus_in): ditto (e_canvas_focus_out): ditto svn path=/trunk/; revision=8153
* Added a "header" argument to set the label at the top of the dialog.Christopher James Lahey2001-02-091-30/+31
| | | | | | | | | | 2001-02-08 Christopher James Lahey <clahey@ximian.com> * gal/widgets/gal-categories.glade, gal/widgets/e-categories.c (ec_set_header): Added a "header" argument to set the label at the top of the dialog. svn path=/trunk/; revision=8108
* Added Akira's japanese etc. encodings to e-fontLauris Kaplinski2001-02-081-5/+10
| | | | svn path=/trunk/; revision=8056
* Check for nl_langinfo (CODESET). Code taken from glib 1.3 branch.Christopher James Lahey2001-02-072-2/+130
| | | | | | | | | | | | | | | | | 2001-02-06 Christopher James Lahey <clahey@ximian.com> * configure.in: Check for nl_langinfo (CODESET). Code taken from glib 1.3 branch. * gal/widgets/e-font.c, gal/widgets/e-font.h (e_locale_encoding): Added e_locale_encoding, e_iconv_from_locale, and e_iconv_to_locale. * gal/widgets/e-unicode.c, gal/widgets/e-unicode.h: Added e_utf8_from_locale_string, e_utf8_from_locale_string_sized, e_utf8_to_locale_string, e_utf8_to_locale_string_sized. svn path=/trunk/; revision=8032
* Ignore test-dropdown-buttonJeffrey Stedfast2001-02-062-0/+5
| | | | | | | | 2001-02-05 Jeffrey Stedfast <fejj@ximian.com> * .cvsignore: Ignore test-dropdown-button svn path=/trunk/; revision=8013
* Changed the call to iconv to be char ** instead of const char **.Christopher James Lahey2001-02-051-5/+5
| | | | | | | | | | 2001-02-05 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-font.c (e_font_to_native), gal/widgets/e-unicode.c (e_utf8_from_gtk_string_sized, e_utf8_to_gtk_string_sized): Changed the call to iconv to be char ** instead of const char **. svn path=/trunk/; revision=7970
* Always include +1 for the size. 0*2 == 0, so malloc returns NULL, which isNot Zed2001-01-291-1/+1
| | | | | | | | | | 2001-01-29 Not Zed <NotZed@Ximian.com> * gal/widgets/e-unicode.c (e_utf8_xml1_decode): Always include +1 for the size. 0*2 == 0, so malloc returns NULL, which is not what we want. svn path=/trunk/; revision=7885
* Update copyright and add myself as the author.Ettore Perazzoli2001-01-281-2/+6
| | | | svn path=/trunk/; revision=7877
* Make the ESearchBar pretty by using the same border for the dropdownEttore Perazzoli2001-01-282-3/+31
| | | | | | | | button as the option menu, and adding the right amount of empty space on the right, to match the size of a scrollbar. (The latter is just a dirty ugly bad hack, but it's fine for now.) svn path=/trunk/; revision=7876
* Documented.Ettore Perazzoli2001-01-281-4/+14
| | | | svn path=/trunk/; revision=7870
* Changed the EDropdownButton so that it works more like a standard menuEttore Perazzoli2001-01-283-16/+60
| | | | | | | | bar (i.e. the menu is popped up on button_press instead of button_release). Now it is also based on GtkToggleButton, so it stays pushed down when the menu is on the screen. svn path=/trunk/; revision=7869
* Make the ESearchBar use the new EDropdownButton widget.Ettore Perazzoli2001-01-273-146/+217
| | | | svn path=/trunk/; revision=7855
* Fix the API to EDropdownButton by removing args that don't make muchEttore Perazzoli2001-01-274-21/+13
| | | | | | sense. svn path=/trunk/; revision=7854
* ...And the ChangeLog too.Ettore Perazzoli2001-01-271-0/+4
| | | | svn path=/trunk/; revision=7853
* Ooops, forgot to commit the Makefile.Ettore Perazzoli2001-01-271-9/+27
| | | | svn path=/trunk/; revision=7852
* New, simple dropdown button widget based on the thing that Damon didEttore Perazzoli2001-01-273-0/+390
| | | | | | in `e-meeting-time-sel.c'. svn path=/trunk/; revision=7851
* Clamp the value we set here. (compute_offset): Switched to ints here.Christopher James Lahey2001-01-261-16/+16
| | | | | | | | | | 2001-01-25 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-canvas-utils.c (e_canvas_item_show_area): Clamp the value we set here. (compute_offset): Switched to ints here. svn path=/trunk/; revision=7825
* Made this function put some space around the area shown.Christopher James Lahey2001-01-261-12/+32
| | | | | | | | | 2001-01-25 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-canvas-utils.c (e_canvas_item_show_area): Made this function put some space around the area shown. svn path=/trunk/; revision=7820
* e_calendar_item_get_date_range() now returns a boolean, which is FALSE ifDamon Chaplin2001-01-253-8/+34
| | | | | | | | | | 2001-01-25 Damon Chaplin <damon@ximian.com> * e-calendar-item.[hc]: e_calendar_item_get_date_range() now returns a boolean, which is FALSE if no dates are currently shown. Plus a couple of minor sanity checks. svn path=/trunk/; revision=7799
* Unset the GTK_CAN_FOCUS flag on the ECalendar. (e_calendar_focus_in):Federico Mena Quintero2001-01-202-33/+14
| | | | | | | | | | | | | | 2001-01-19 Federico Mena Quintero <federico@ximian.com> * e-calendar.c (e_calendar_init): Unset the GTK_CAN_FOCUS flag on the ECalendar. (e_calendar_focus_in): Removed function since it did nothing. (e_calendar_focus_out): Likewise. (e_calendar_key_press): Likewise. (e_calendar_init): Turn off the GTK_CAN_FOCUS flag for both arrow buttons. svn path=/trunk/; revision=7665
* s/GdkEventButton/GdkEvent/Dan Winship2001-01-204-5/+8
| | | | | | | | | | * gal/widgets/e-popup-menu.c (e_popup_menu_run): s/GdkEventButton/GdkEvent/ * gal/widgets/e-gui-utils.c (e_popup_menu): ditto, and deal with key events as well svn path=/trunk/; revision=7660
* Make zero the minimum number of days that can be specified.Federico Mena Quintero2001-01-192-5/+18
| | | | | | | | | | | | | | | 2001-01-17 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_set_max_days_sel): Make zero the minimum number of days that can be specified. (e_calendar_item_set_arg): We do need an update when the maximum number of selected days is changed. (e_calendar_item_set_max_days_sel): Request an update of the canvas item. (e_calendar_item_button_press): Do not start selecting days if the max_days_selected is less than 1. svn path=/trunk/; revision=7625
* Oops. Delete this. I never meant for this to get commit'd.Jeffrey Stedfast2001-01-182-23/+5
| | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * e-messagebox.c (e_message_box_get_id): Oops. Delete this. I never meant for this to get commit'd. svn path=/trunk/; revision=7587
* Dont remove the function, give it the proper nameJP Rosevear2001-01-172-0/+25
| | | | | | | | | 2001-01-17 JP Rosevear <jpr@ximian.com> * e-messagebox.c (e_message_box_get_id): Dont remove the function, give it the proper name svn path=/trunk/; revision=7580
* Fix the build by removing a stale function definition. Sigh.Ettore Perazzoli2001-01-172-20/+6
| | | | svn path=/trunk/; revision=7578
* Hi fejj. Using your computer to check in the files you forget to add. :-)Jeffrey Stedfast2001-01-172-0/+451
| | | | svn path=/trunk/; revision=7576
* Added e-messagebox to the build.Jeffrey Stedfast2001-01-172-0/+9
| | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Added e-messagebox to the build. * e-messagebox.[c,h]: Added a new messagebox window that contains a checkbox for "Don't show me this again." svn path=/trunk/; revision=7566
* Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home.Jacob Leach2001-01-172-0/+6
| | | | | | | Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home. Bug #1060. svn path=/trunk/; revision=7536
* Removed an unused variable. (e_utf8_from_gtk_string_sized): Made ib constChristopher James Lahey2001-01-091-2/+3
| | | | | | | | | | 2001-01-06 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-unicode.c (e_utf8_xml1_decode): Removed an unused variable. (e_utf8_from_gtk_string_sized): Made ib const here. svn path=/trunk/; revision=7307
* Broke font and fontset parts of EFont into separate functions. PossiblyLauris Kaplinski2001-01-061-2/+52
| | | | | | fixed bug #857 (needs some more testing) svn path=/trunk/; revision=7279
* bump versionJP Rosevear2001-01-051-0/+174
| | | | | | | | | | | | | | | | 2001-01-04 JP Rosevear <jpr@helixcode.com> * configure.in: bump version * gal/widgets/gal-categories.glade: Glade file for category editor * gal/widgets/e-categories.[hc]: A category editor dialog taken and renamed from evolution * gal/widgets/Makefile.am: Build new files and install glade stuff svn path=/trunk/; revision=7260
* Added functions for encoding utf8 safely into libxml brokennessLauris Kaplinski2001-01-032-0/+100
| | | | svn path=/trunk/; revision=7225
* Always have some text. Fixes crash.Miguel de Icaza2000-12-261-0/+1
| | | | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * gal/e-text/e-text.c (e_text_init): Always have some text. Fixes crash. * gal/widgets/e-reflow.c (set_empty): Set draw_background to FALSE. svn path=/trunk/; revision=7172
* translationsJP Rosevear2000-12-233-10/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto-dialog.glade.h: translations * gui/goto-dialog.glade: new glade file for goto dialog * gui/gnome-cal.c (setup_widgets): Set date navigator attributes * gui/calendar-commands.h: remove prototype * gui/goto.h: Add prototype * gui/Makefile.am: Add glade file stuff * gui/gnome-cal.c (setup_widgets): Use accessors to configure the calendar item properly 2000-12-22 JP Rosevear <jpr@helixcode.com> * e-calendar-item.h: add prototypes * e-calendar-item.c (e_calendar_item_init): Set max_days_selected to 1 and days_to_start_week_selection to -1 as documented in header (e_calendar_item_set_arg): use new accessor methods (e_calendar_item_get_arg): ditto (e_calendar_item_get_max_days_sel): accessor (e_calendar_item_set_max_days_sel): ditto (e_calendar_item_get_days_start_week_sel): ditto (e_calendar_item_set_days_start_week_sel): ditto (e_calendar_item_class_init): add display_popup argument (e_calendar_item_init): initialize display_popup member (e_calendar_item_get_arg): get display_popup member (e_calendar_item_set_arg): set display_popup member (e_calendar_item_button_press): only show the popup menu if the member is set (e_calendar_item_get_display_popup): acessor (e_calendar_item_set_display_popup): ditto svn path=/trunk/; revision=7132
* Upped the version number to 0.4.1. Bumped the GAL_REVISION to 1.Christopher James Lahey2000-12-161-8/+0
| | | | | | | | | | | | | | | | 2000-12-15 Christopher James Lahey <clahey@helixcode.com> * configure.in: Upped the version number to 0.4.1. Bumped the GAL_REVISION to 1. 2000-12-14 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-canvas-vbox.c (e_canvas_vbox_event): Don't allow the arrow keys to let you scroll off of the table. * NEWS: Changed the NEWS format. svn path=/trunk/; revision=7049
* #include <time.h>Federico Mena Quintero2000-12-153-1/+5
| | | | | | | | 2000-12-14 Federico Mena Quintero <federico@helixcode.com> * e-dateedit.h: #include <time.h> svn path=/trunk/; revision=7034
* Changed the color from yellow to light gray.Christopher James Lahey2000-12-141-1/+6
| | | | | | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text.c (_do_tooltip): Changed the color from yellow to light gray. * gal/widgets/e-canvas-vbox.c (e_canvas_vbox_event): Made it so that e-canvas-vbox doesn't eat all the keyboard events. This means widget navigation keys work properly. svn path=/trunk/; revision=6989
* Fixed some warnings.Christopher James Lahey2000-12-121-1/+2
| | | | | | | | 2000-12-12 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c (esb_pack_menubar): Fixed some warnings. svn path=/trunk/; revision=6940
* If there are columns allocated, free them upon a destroy.JP Rosevear2000-12-091-3/+0
| | | | | | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * e-table-state.c (etst_destroy): If there are columns allocated, free them upon a destroy. 2000-12-08 JP Rosevear <jpr@helixcode.com> * gal/widgets/e-canvas.c (e_canvas_destroy): Remove my lame "fix" svn path=/trunk/; revision=6884
* Work to get a Gtk-Doc infrastructure in place for Gal.Miguel de Icaza2000-12-091-4/+4
| | | | | | | | Work to get a Gtk-Doc infrastructure in place for Gal. Miguel. svn path=/trunk/; revision=6883
* Call the parent class destroyer as wellJP Rosevear2000-12-092-0/+8
| | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * e-calendar.c (e_calendar_destroy): Call the parent class destroyer as well svn path=/trunk/; revision=6881
* Destroy the gdkIC if we have oneJP Rosevear2000-12-081-0/+5
| | | | | | | | | 2000-12-07 JP Rosevear <jpr@helixcode.com> * gal/widgets/e-canvas.c (e_canvas_destroy): Destroy the gdkIC if we have one svn path=/trunk/; revision=6847
* Move away from unicode_iconv*. We still need libunicode for utf8Dan Winship2000-11-301-25/+9
| | | | | | | | | | | | | | | | | | | | | | | | strings functions, but that will go away eventually. * configure.in: Add a check for libiconv, which is required if your system doesn't have iconv in libc, or has glibc 2.1.2. Bump the gal version number to 0.2.99.3 * tests/Makefile.am (LDADD): add ICONV_LIBS * gal/widgets/Makefile.am (libwidgets_la_LDFLAGS): Add ICONV_LIBS * gal/widgets/e-unicode.c: Use iconv rather than libunicode for iconv()ing. (e_unicode_init): No longer needed * gal/widgets/e-font.c: Use iconv rather than libunicode for iconv()ing. (e_iconv_{from,to}_gdk_font): renamed from e_uiconv... * gal/widgets/test-e-font.c: No longer need to e_unicode_init(). svn path=/trunk/; revision=6719
* updated to emit "changed" when appropriate, which turned out to beDamon Chaplin2000-11-275-465/+1185
| | | | | | | | | | | | | | | 2000-10-26 Damon Chaplin <damon@helixcode.com> * e-dateedit.[hc]: updated to emit "changed" when appropriate, which turned out to be amazingly difficult :( Also added e_date_edit_get/set_date() to get/set just the date. Added e_date_edit_date_is_valid() & e_date_edit_time_is_valid() so you can check if the user has tried to enter an invalid date. (All the get_date/time functions return the last valid date entered.) * test-dateedit.c: updated a bit. svn path=/trunk/; revision=6672
* Made the underline show up properly in the main menu bar.Christopher James Lahey2000-11-111-3/+23
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Made the underline show up properly in the main menu bar. svn path=/trunk/; revision=6532
* Switched from using gtk_menu_item_new_with_label for the menu header toChristopher James Lahey2000-11-101-1/+1
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Switched from using gtk_menu_item_new_with_label for the menu header to using gnome_stock_menu_item. svn path=/trunk/; revision=6530
* Changed the gal version number and the gal so number. Added check forChristopher James Lahey2000-11-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Changed the gal version number and the gal so number. Added check for bonobo. * gal/Makefile.am: Added gal-view-menus.lo. * gal/widgets/e-unicode.c: Removed some unused variables. From gal/menus/ChangeLog: 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-menus.c and gal-view-menus.h. * gal-view-menus.c, gal-view-menus.h: New files to create the view menus. svn path=/trunk/; revision=6528
* Fixed two spacing problems: first, changed the spacing around the end ofAnna Marie Dirks2000-11-101-2/+4
| | | | | | | | | | 2000-11-08 Anna Marie Dirks <anna@helixcode.com> * e-search-bar.c: Fixed two spacing problems: first, changed the spacing around the end of the text-entry widget so that the text entry is always aligned with the beginning of the scrollbar; second, trimmed down the space between the widgets in the search bar. svn path=/trunk/; revision=6522
* Added decomposing case insensitive utf-8 strstrLauris Kaplinski2000-11-082-4/+1493
| | | | svn path=/trunk/; revision=6498
* gal/widgets/e-unicode.h: END_GNOME_DECLS, not BEGINJulian Missig2000-11-071-1/+1
| | | | svn path=/trunk/; revision=6469
* Add a submenu field to struct EPopupMenu.Jeffrey Stedfast2000-11-072-34/+46
| | | | | | | | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * gal/widgets/e-popup-menu.h: Add a submenu field to struct EPopupMenu. * gal/widgets/e-popup-menu.c (e_popup_menu_create): If the menu item has a submenu field, create the submenu and attach it. * configure.in: Bumped the micro-version because of some changes to e-popup-menu's structure. svn path=/trunk/; revision=6461
* Fixed the argument comment. Removed an old enum that's not used here.Christopher James Lahey2000-11-071-9/+4
| | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.h: Fixed the argument comment. Removed an old enum that's not used here. svn path=/trunk/; revision=6457
* Added e-search-bar.c and e-search-bar.h.Christopher James Lahey2000-11-072-0/+384
| | | | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-search-bar.c and e-search-bar.h. * e-search-bar.c, e-search-bar.h: Moved this from e-addressbook-search. svn path=/trunk/; revision=6454
* Removed the "time_changed" signal, since it was never being emitted in theFederico Mena Quintero2000-11-043-59/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-02 Federico Mena Quintero <federico@helixcode.com> * e-dateedit.h (EDateEditClass): Removed the "time_changed" signal, since it was never being emitted in the first place. Time values *are* both date and time together anyways, so whenever one changes we should notify about the whole date/time value being changed. Renamed the remaining "date_changed" signal to just "changed". * e-dateedit.c (e_date_edit_class_init): Do not create the "time_changed" signal; rename the other one to "changed". (set_time): Moved the core functionality from e_date_edit_set_time() to here. This function just sets the widgets' values without emitting any signals. (e_date_edit_set_time): Emit the "changed" signal unconditionally. This is to be consistent with the rest of the GTK+ widgets, and it actually makes writing client code easier. (e_date_edit_new): Use set_time(). (on_date_popup_now_button_clicked): Do not emit the signal here. (on_date_popup_none_button_clicked): Likewise. (e_date_edit_set_time_of_day): Emit the signal, since we do not call e_date_edit_set_time(). svn path=/trunk/; revision=6367
* #include <string.h> to get rid of warning. Same here.Kjartan Maraas2000-10-313-0/+7
| | | | | | | | | 2000-10-30 Kjartan Maraas <kmaraas@gnome.org> * e-calendar-item.c: #include <string.h> to get rid of warning. * e-clipped-label.c: Same here. svn path=/trunk/; revision=6287
* Do not unref the cal_popup since we already destroyed it.Federico Mena Quintero2000-10-282-1/+6
| | | | | | | | | 2000-10-27 Federico Mena Quintero <federico@helixcode.com> * e-dateedit.c (e_date_edit_destroy): Do not unref the cal_popup since we already destroyed it. svn path=/trunk/; revision=6244
* Added e_container_focus_nth_entry.Christopher James Lahey2000-10-132-0/+33
| | | | | | | | | 2000-10-12 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h: Added e_container_focus_nth_entry. svn path=/trunk/; revision=5893
* fixed to recalculate min_cell_width/height in case the show_week_numbersDamon Chaplin2000-10-124-45/+211
| | | | | | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_recalc_sizes): fixed to recalculate min_cell_width/height in case the show_week_numbers option is changed. * e-dateedit.c: added support for hiding the date field, and added get/set_time_of_day() functions to get/set just the time. svn path=/trunk/; revision=5854
* Added missing BEGIN/END_GNOME_DECLSLauris Kaplinski2000-10-091-0/+5
| | | | svn path=/trunk/; revision=5790
* better i18n of strftime strings.Damon Chaplin2000-09-303-9/+20
| | | | | | | | | 2000-09-30 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c: * e-dateedit.c: better i18n of strftime strings. svn path=/trunk/; revision=5645
* Get the title bar for the folder view to use TigerT's pin icon for theEttore Perazzoli2000-09-293-56/+209
| | | | | | button when appropriate. svn path=/trunk/; revision=5636
* use pixmaps instead of GtkArrows to look better. Also set the canvasDamon Chaplin2000-09-258-247/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-23 Damon Chaplin <damon@helixcode.com> * e-calendar.c: use pixmaps instead of GtkArrows to look better. Also set the canvas window's background when realized so that we can set the button reliefs to none. 2000-09-22 Damon Chaplin <damon@helixcode.com> * test-dateedit.c: updated a bit, adding a few EDateEdits with different options. * e-calendar-item.c (e_calendar_item_set_selection): aborted any current selection operation and initialize all of the selection fields. (e_calendar_item_unmap): new function to abort any current selection operation. Otherwise GnomeCanvas gets in a muddle about grabs. * e-dateedit.c: marked some strftime()/strptime() format strings for translation and used "%m/%d/%Y" instead of "%x" so we get the complete year number. Also changed e_date_edit_get_time() so it returns -2 if it can't parse the date or time, and -1 if it is explicitly set to None. (e_date_edit_parse_date): new function to parse the date string and add on the current century if a year of 0-99 is entered. 2000-09-21 Damon Chaplin <damon@helixcode.com> * e-dateedit.c (on_date_button_clicked): only check return of strptime for NULL. It should now select the correct day set in the popup. * e-calendar.c: * e-calendar-item.c: * test-calendar.c: removed support for buttons within the ECalendar. It is cleaner to add them outside it, as EDateEdit does. svn path=/trunk/; revision=5561
* Changed the #ifndef used so that it doesn't collide with one inside ofChristopher James Lahey2000-09-211-3/+3
| | | | | | | | | | 2000-09-21 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-gui-utils.h: Changed the #ifndef used so that it doesn't collide with one inside of evolution. The entire name of this file should change soon. svn path=/trunk/; revision=5535
* Moved files, fixed header files and paths - FedericoFederico Mena Quintero2000-09-206-5/+7
| | | | svn path=/trunk/; revision=5513
* set this to 4 to specify how much X/Open we want with that.Dan Winship2000-09-192-1/+6
| | | | | | | * e-dateedit.c (_XOPEN_SOURCE): set this to 4 to specify how much X/Open we want with that. svn path=/trunk/; revision=5491
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-188-1351/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Leak prevention.Morten Welinder2000-09-181-2/+8
| | | | | | | | | 2000-09-17 Morten Welinder <terra@diku.dk> * src/widgets/e-colors.c (e_color_init): Don't leak if called twice. svn path=/trunk/; revision=5489
* Added e-reflow-sorted and e-reflow and fixed the #includes.Christopher James Lahey2000-09-181-4/+4
| | | | | | | | | | 2000-09-17 Christopher James Lahey <clahey@helixcode.com> * src/widgets/Makefile.am, src/widgets/e-reflow-sorted.c, src/widgets/e-reflow.c: Added e-reflow-sorted and e-reflow and fixed the #includes. svn path=/trunk/; revision=5487
* doh!Jody Goldberg2000-09-181-6/+6
| | | | | | | | | | | 2000-09-17 Jody Goldberg <jgoldberg@home.com> * src/widgets/e-colors.c (e_color_init) : doh! * configure.in : Add a version. * src/Makefile.am (libgal_la_LIBADD) : Update the set of lo files. svn path=/trunk/; revision=5486
* Added the src/widgets/pixmaps/ directory.Christopher James Lahey2000-09-181-0/+2
| | | | | | | | | | | | | | | | | 2000-09-17 Christopher James Lahey <clahey@helixcode.com> * configure.in, src/widgets/Makefile.am: Added the src/widgets/pixmaps/ directory. * po/ChangeLog: Necessary for make distcheck. * src/util/Makefile.am (libgalinclude_HEADERS): Fixed a typo of e-xml-utils.c to e-xml-utils.h. * src/widgets/pixmaps/.cvsignore, src/widgets/pixmaps/Makefile.am: Make this a full fledged directory for make distcheck purposes. svn path=/trunk/; revision=5484
* Removed duplicate $(EXTRA_GNOME_CFLAGS).Christopher James Lahey2000-09-181-1/+1
| | | | | | | | | | | | | | | | 2000-09-17 Christopher James Lahey <clahey@helixcode.com> * src/e-table/Makefile.am: Removed duplicate $(EXTRA_GNOME_CFLAGS). * src/util/Makefile.am: Added e-xml-utils.c and e-xml-utils.h. * src/widgets/Makefile.am: Added e-printable.c and e-printable.h. * src/widgets/e-printable.c: Fixed the include directory for e-util.h. svn path=/trunk/; revision=5483
* Move srcs from gnumeric andJody Goldberg2000-09-184-97/+191
| | | | | | Rename to e-colors and e-cursor svn path=/trunk/; revision=5480
* Remove e_create_image_widget functionJP Rosevear2000-09-183-50/+3
| | | | | | | | | | 2000-09-17 JP Rosevear <jpr@helixcode.com> * src/widgets/e-gui-utils.c: Remove e_create_image_widget function * src/widgets/e-canvas-vbox.c: Fix headers svn path=/trunk/; revision=5479
* Use underscores for untranslated characters fro Gtk+Lauris Kaplinski2000-09-131-52/+42
| | | | svn path=/trunk/; revision=5391
* Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text.Christopher James Lahey2000-09-112-10/+36
| | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * e-unicode.c, e-unicode.h: Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text. svn path=/trunk/; revision=5316
* added e-dateedit.[hc] and the test-dateedit app.Damon Chaplin2000-09-118-8/+1258
| | | | | | | | | | | | | | | | | | | 2000-09-11 Damon Chaplin <damon@helixcode.com> * Makefile.am (libemiscwidgets_a_SOURCES): added e-dateedit.[hc] and the test-dateedit app. * e-dateedit.[hc]: new widget to use instead of GnomeDateEdit. It uses the new ECalendar widget for the calendar and also supports "None", "Today" and "Now" buttons, and goes away with a single click. * test-dateedit.c: app to test the EDateEdit widget. * e-calendar-item.c: updated to support the EDateEdit better, mainly by adding the "move_selection_when_moving" arg so we can turn it off to keep the same day selected when changing the months shown. svn path=/trunk/; revision=5304
* remove consts from the EPopupMenu structure: the caller may want to modifyDan Winship2000-09-091-4/+4
| | | | | | | | * e-popup-menu.h: remove consts from the EPopupMenu structure: the caller may want to modify its own EPopupMenu before calling e_popup_menu_run. svn path=/trunk/; revision=5261
* Bunch of unicode related changesLauris Kaplinski2000-09-082-9/+38
| | | | svn path=/trunk/; revision=5235
* Merge in the colour combo emhancements.Jody Goldberg2000-09-071-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-06 Jody Goldberg <jgoldberg@home.com> * color-group.c (color_group_new_named) : strdup the name if it is supplied by the user. (color_group_class_init) : Use the destroy method. 2000-09-03 Michael Levy <mlevy@genoscope.cns.fr> * color-group.c : Re-write of color-combo-group.c to allow for arbitrary widgets to share a common color history. * widget-color-combo.c : Extracted all the code required to make the color table and moved it to a new object (ColorPalette). Changed the ColorCombo so that it uses the ColorPalette (and the shared color hsitory provided by the groupped ColorPalettes). All the code that refered to the creation of the color table was removed, and when appropriate, moved to color-palette.c Removed all mention of ColorComboGroups (as these no longer exist). * color-palette.c : Extracted from widget-color-combo.c (color_palette_new) : Creates a color palette. (color_palette_get_current_color) : returns the current color. 2000-07-30 Michael Levy <mlevy@genoscope.cns.fr> * color-combo-group.c : New GtkObject meant to group color combo boxes so that their custom color histories are shared. Includes functions to create and destroy the object, as well as those required size, and navigate through the custom color history. * widget-color-combo.c (group_new_custom_color) : New function to handle the new_custom_color signal emitted by the ColorComboGroup (custom_color_history_setup) : New function which initialises a combo box's custom color history with the one stored in the group (color_table_setup) : Added call to custom_color_history_setup. (cust_color_set) : Removed call to cust_color_row_shift and moved it to group_new_custom_color. Also added call to color_combo_group_add_color in order to notify group of change (color_combo_new_with_vals) : Added mandatory group name to function prototype. Also added call to color_combo_group_new_named and connected the "new_custom_color" signal emitted by the newly created group to group_new_custom_color (color_combo_new) : Added mandatory group name to function prototype. * widget-color-combo.c (color_combo_new) : Added mandatory group name to function prototype. svn path=/trunk/; revision=5229
* Remove incorrect optimization. Events are read-only!Federico Mena Quintero2000-09-071-12/+8
| | | | | | | | | 2000-09-07 Federico Mena Quintero <federico@helixcode.com> * e-canvas.c (emit_event): Remove incorrect optimization. Events are read-only! svn path=/trunk/; revision=5228
* make sure we get the start_weekday since we need it for draw_days(). FixesDamon Chaplin2000-09-063-21/+31
| | | | | | | | | | | | | | | | 2000-09-05 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_draw_month): make sure we get the start_weekday since we need it for draw_days(). Fixes a drawing bug. 2000-08-31 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_button_press): (e_calendar_item_button_release): grab/ungrab the pointer so we always get the button_release event. svn path=/trunk/; revision=5216
* New font translation code for utf-8, but commented out at momentLauris Kaplinski2000-09-051-36/+32
| | | | svn path=/trunk/; revision=5194
* A bit more e_utf8 wrappers here and thereLauris Kaplinski2000-09-022-4/+53
| | | | svn path=/trunk/; revision=5180
* Email should now display correctly in GtkHTMLLauris Kaplinski2000-09-012-0/+931
| | | | svn path=/trunk/; revision=5154
* #define gnome_font_lookup_default for gnome-print 0.20Lauris Kaplinski2000-08-311-0/+1
| | | | svn path=/trunk/; revision=5133
* New base class for Cells. Convert everything to access the elements thatJody Goldberg2000-08-312-0/+4
| | | | | | | | | | | | | | | | | | | | | | | 2000-08-30 Jody Goldberg <jgoldberg@home.com> * dependent.[ch] : New base class for Cells. Convert everything to access the elements that are now in the cell's base. s/Cell::sheet/Cell::Dependent::sheet/ s/Cell::cell_flags/Cell::Dependent::flags/ * Makefile.am : Because of XL we need to build plugins before src. That will need changing. * src/func.c (function_marshal_arg) : Use expr_array_intersection. * src/expr.c (eval_expr_real) : Do implicit conversions from strings to numbers if possible. Access the first element of an array. NOTE : This is WRONG We need to implement array expression behavior some day. (expr_array_intersection) : New routine. svn path=/trunk/; revision=5127
* Made it compilable both with gnome-print 0.20 and 0.21+Lauris Kaplinski2000-08-311-0/+6
| | | | svn path=/trunk/; revision=5126
* Updated.Damon Chaplin2000-08-316-476/+2151
| | | | | | | | | 2000-08-30 Damon Chaplin <damon@helixcode.com> * e-calendar-item.[hc]: * e-calendar.[hc]: Updated. svn path=/trunk/; revision=5120
* make e-util depend on libunicodeDan Winship2000-08-301-1/+1
| | | | | | | | | | | * Makefile.am (libeutil_la_LIBADD): make e-util depend on libunicode * e-popup-menu.c (make_item): Use GtkMenuItem rather than GtkPixmapMenuItem for items with no pixmaps, so that if the whole menu is pixmapless, you don't get a column of blank pixmaps. svn path=/trunk/; revision=5114
* More UTF-8 handlingLauris Kaplinski2000-08-252-0/+19
| | | | svn path=/trunk/; revision=5032
* Unicode in addressbook basically works, including simple searchingLauris Kaplinski2000-08-242-0/+48
| | | | svn path=/trunk/; revision=4997
* Added missing e-unicode.h and e-unicode.cLauris Kaplinski2000-08-232-0/+186
| | | | svn path=/trunk/; revision=4977
* Fixed some warnings.Christopher James Lahey2000-08-113-1/+10
| | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * e-calendar-item.c, e-calendar.c: Fixed some warnings. svn path=/trunk/; revision=4723
* Fix the bug where it truncates the last itemChristopher James Lahey2000-08-091-1/+1
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Fix the bug where it truncates the last item svn path=/trunk/; revision=4648
* Ooops.Christopher James Lahey2000-08-091-6/+7
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Ooops. svn path=/trunk/; revision=4630
* Added a hide_mask argument to the two popup menu functions.Christopher James Lahey2000-08-092-23/+40
| | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c, e-popup-menu.h: Added a hide_mask argument to the two popup menu functions. svn path=/trunk/; revision=4625
* Added e_container_change_tab_order.Christopher James Lahey2000-08-082-1/+83
| | | | | | | | | 2000-08-07 Christopher James Lahey <clahey@helixcode.com> * e-gui-utils.c, e-gui-utils.c: Added e_container_change_tab_order. svn path=/trunk/; revision=4580
* Fix silly error of not chaining destructor for canvas.Matthew Loper2000-07-281-0/+2
| | | | svn path=/trunk/; revision=4390
* A few fixes to the ECanvas selection item a miniature cleanup of the event ↵Matthew Loper2000-07-271-8/+22
| | | | | | handler. svn path=/trunk/; revision=4364
* new widget and canvas item to replace GtkCalendar. Not quite finished yet.Damon Chaplin2000-07-268-1/+2429
| | | | | | | | | | 2000-07-25 Damon Chaplin <damon@helixcode.com> * e-calendar-item.h: * e-calendar.[hc]: new widget and canvas item to replace GtkCalendar. Not quite finished yet. svn path=/trunk/; revision=4322
* Fix the function to set the ETitleBar's text so that it correctly usesEttore Perazzoli2000-07-212-1/+6
| | | | | | the EClippedLabel function instead of the GtkLabel one. svn path=/trunk/; revision=4256
* Tried rearranging the casts to try for a more correct computation.Christopher James Lahey2000-07-122-6/+11
| | | | | | | | | 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * e-scroll-frame.c: Tried rearranging the casts to try for a more correct computation. svn path=/trunk/; revision=4107
* Removed some debugging printfs.Christopher James Lahey2000-07-122-3/+6
| | | | | | | | | | 2000-07-11 Christopher James Lahey <clahey@helixcode.com> * e-canvas-vbox.c: Removed some debugging printfs. * e-canvas.c (e_canvas_unrealize): Call parent unrealize method. svn path=/trunk/; revision=4102
* Warning cleanup: `#if 0' an unused function and add a missing publicEttore Perazzoli2000-07-111-2/+8
| | | | | | function prototype. svn path=/trunk/; revision=4060
* Several contacts list bugfixes.Anders Carlsson2000-07-091-6/+17
| | | | svn path=/trunk/; revision=4008
* comment out true but confused warning about non-scrollable widgets untilDan Winship2000-07-092-2/+16
| | | | | | | | | | | | * e-scroll-frame.c (e_scroll_frame_add): comment out true but confused warning about non-scrollable widgets until Chris and/or Federico fix this correctly. (e_scroll_frame_size_allocate): If the available space for the child is less than the width/height of the frame, give the child an allocation of 0 rather than some small negative number cast to unsigned. svn path=/trunk/; revision=3977