aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
Commit message (Collapse)AuthorAgeFilesLines
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-225-0/+957
| | | | svn path=/trunk/; revision=22964
* new, treeview renderer for combo cells new, GtkCellEditable for comboMike Kestner2003-10-016-0/+738
| | | | | | | | | | 2003-09-30 Mike Kestner <mkestner@ximian.com> * e-cell-renderer-combo.* : new, treeview renderer for combo cells * e-combo-cell-editable.* : new, GtkCellEditable for combo cells * Makefile.am : build the new files svn path=/trunk/; revision=22773
* Fixes #1245. ECalendar should be usable with the keyboardBolian Yin2003-09-225-53/+342
| | | | | | | | | | | | | | | | | | | | | | | | 2003-09-19 Bolian Yin <bolian.yin@sun.com> Fixes #1245. ECalendar should be usable with the keyboard *misc/e-calendar-item.c (e_calendar_item_focus): new func, focus handler. (e_calendar_item_key_press_event): new func, key press event handler (e_calendar_item_selection_add_days, e_calendar_item_stop_selecting): helpers. (e_calendar_item_ensure_days_visible, e_calendar_item_set_selection_if_emission): add the flag to control if we should emit e-calendar signals. (e_calendar_item_class_init): register focus handler. (e_calendar_item_event): add code for GDK_FOCUS_CHANGE and GDK_KEY_PRESS. *misc/e-calendar.c (e_calendar_focus): new func, focus handler (e_calendar_button_has_focus): new func, if prev/next button has focus. (e_calendar_on_next_clicked, e_calendar_on_prev_clicked): click signal handler for prev/next buttons. (e_calendar_set_focusable): set if the e-calendar is focusable *misc/e-dateedit.c (e_date_edit_show_date_popup, hide_date_popup): grab/ungrab gdk keyboard. svn path=/trunk/; revision=22632
* Fixes #15638.Hans Petter Jansson2003-08-281-3/+15
| | | | | | | | | | | 2003-08-27 Hans Petter Jansson <hpj@ximian.com> Fixes #15638. * misc/e-dateedit.c (rebuild_time_popup): Make 12-hour time format not be zero-padded. Right-align time labels so digits line up. svn path=/trunk/; revision=22394
* add dependency on a11y/widgets. a11y init. (e_calendar_item_bounds): newBolian Yin2003-08-272-1/+23
| | | | | | | | | | 2003-08-27 Bolian Yin <bolian.yin@sun.com> * misc/Makefile.am: add dependency on a11y/widgets. * misc/e-calendar-item.c (e_calendar_item_class_init): a11y init. (e_calendar_item_bounds): new func, impl the bounds virtual func. svn path=/trunk/; revision=22386
* use EVO_MARSHAL_RULEDan Winship2003-07-242-12/+3
| | | | | | * Makefile.am: use EVO_MARSHAL_RULE svn path=/trunk/; revision=21916
* Remove this, since it claims to be deprecated, and nothing is actuallyDan Winship2003-07-234-443/+5
| | | | | | | | | * e-messagebox.c: Remove this, since it claims to be deprecated, and nothing is actually using it any more. * Makefile.am: Remove e-messagebox.[ch] svn path=/trunk/; revision=21900
* Create the pixbuf from empty.xpm rather than just callingDan Winship2003-07-232-1/+8
| | | | | | | | * e-combo-button.c (create_empty_pixmap_widget): Create the pixbuf from empty.xpm rather than just calling gdk_pixbuf_new(), which doesn't actually initialize the pixel data. svn path=/trunk/; revision=21898
* Added a handler for GtkWidget::mnemonic_activate().Federico Mena Quintero2003-07-143-0/+37
| | | | | | | | | | | 2003-07-11 Federico Mena Quintero <federico@ximian.com> * e-dateedit.c (e_date_edit_mnemonic_activate): Added a handler for GtkWidget::mnemonic_activate(). * e-url-entry.c (mnemonic_activate): Likewise. svn path=/trunk/; revision=21804
* Chain to the parent handler. Fixes #45236.Federico Mena Quintero2003-07-102-0/+6
| | | | | | | | 2003-07-09 Federico Mena Quintero <federico@ximian.com> * e-url-entry.c (destroy): Chain to the parent handler. Fixes #45236. svn path=/trunk/; revision=21782
* make sure we don't unref the sorter more than once.Chris Toshok2003-07-051-1/+4
| | | | | | | | | 2003-07-04 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_dispose): make sure we don't unref the sorter more than once. svn path=/trunk/; revision=21741
* unref the sorterDan Winship2003-07-011-1/+3
| | | | | | * gal/widgets/e-reflow.c (e_reflow_dispose): unref the sorter svn path=/trunk/; revision=21707
* (set_menu): Translate the text. [#45112]Ettore Perazzoli2003-06-232-1/+5
| | | | svn path=/trunk/; revision=21506
* set iso-2022-cn string to SimplifiedJeffrey Stedfast2003-06-201-1/+1
| | | | svn path=/trunk/; revision=21485
* Fix for #45082: GB18030 BIG5HKSCS and EUC-TW charsets not supported inSuresh Chandrasekharan2003-06-202-29/+30
| | | | | | | | | | | | | | | | | | | | 2003-06-18 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * e-charset-picker.c: Fix for #45082: GB18030 BIG5HKSCS and EUC-TW charsets not supported in evolution mail 2003-06-17 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Don't use the charset class in the menu label if it is 'Unknown'. (e_charset_picker_bonobo_ui_populate): For user-defined charsets, just use the name of the charset rather than "Unknown". (add_charset): Don't escape _'s anymore, this seems to not be needed int gtk2. (add_other_charset): g_strdup() the charset name. Fixes bug #43917. svn path=/trunk/; revision=21484
* accept event arg to be NULL.Bolian Yin2003-06-191-8/+14
| | | | | | | | 2003-06-19 Bolian Yin <bolian.yin@sun.com> * e-gui-utils.c (e_popup_menu): accept event arg to be NULL. svn path=/trunk/; revision=21472
* missed the changelog entry last time.Larry Ewing2003-06-131-1/+2
| | | | svn path=/trunk/; revision=21432
* i2003-06-13 Larry Ewing <lewing@ximian.com>Larry Ewing2003-06-131-0/+5
| | | | | | * gal/widgets/e-canvas.c (e_canvas_dispose): unref the im_context. svn path=/trunk/; revision=21430
* Put the ChangeLog.pre-1-4 in the Makefiles.Ettore Perazzoli2003-06-131-1/+3
| | | | svn path=/trunk/; revision=21426
* take ownership of the duplicate string.Larry Ewing2003-06-122-1/+5
| | | | | | | | | 2003-06-11 Larry Ewing <lewing@ximian.com> * e-search-bar.c (impl_get_property): take ownership of the duplicate string. svn path=/trunk/; revision=21417
* Roll over ChangeLogs.Ettore Perazzoli2003-06-102-1903/+1903
| | | | svn path=/trunk/; revision=21387
* Fixes #43775JP Rosevear2003-05-313-7/+43
| | | | | | | | | | | | | | | | | | | | | | 2003-05-29 JP Rosevear <jpr@ximian.com> Fixes #43775 * e-calendar-item.c (layout_set_day_text): calculate the day character correctly (e_calendar_item_draw_month): use it * e-dateedit.c (rebuild_time_popup): use e_utf8_strftime (e_date_edit_update_date_entry): ditto (e_date_edit_update_time_entry): ditto * e-calendar-item.c (layout_set_day_text): calculate the day character correctly (e_calendar_item_draw_month): use e_utf8_strftime and above (e_calendar_item_show_popup_menu): use e_utf8_strftime (e_calendar_item_recalc_sizes): use layout_set_day_text svn path=/trunk/; revision=21352
* Added HIG-appropriate spacing/ padding to the main hbox into which theAnna Marie Dirks2003-05-202-3/+9
| | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * e-multi-config-dialog.c (init): Added HIG-appropriate spacing/ padding to the main hbox into which the icons and page widgets are packed. svn path=/trunk/; revision=21265
* port to GtkDialog.Larry Ewing2003-05-192-35/+75
| | | | | | | | 2003-05-19 Larry Ewing <lewing@ximian.com> * e-charset-picker.c: port to GtkDialog. svn path=/trunk/; revision=21244
* Added appropriate padding/spacing to the categories list dialog. Fixes theAnna Marie Dirks2003-05-171-155/+153
| | | | | | | | | | | | | | | 2003-05-16 Anna Marie Dirks <anna@ximian.com> * gal/widgets/e-categories.c: Added appropriate padding/spacing to the categories list dialog. Fixes the rest of #41217. * gal/widgets/e-categories-master-list-dialog.glade: HIG-ified this dialog. * gal/widgets/gal-categories.glade: HIG-ified this dialog (in terms of spacing/padding). Fixes most of bug #41217 svn path=/trunk/; revision=21228
* guard against multiple destroysJP Rosevear2003-05-152-10/+17
| | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * e-combo-button.c (impl_destroy): guard against multiple destroys 2003-05-14 JP Rosevear <jpr@ximian.com> * menus/gal-view-menus.c (gvm_finalize): unref the component svn path=/trunk/; revision=21178
* [#42628] Call emit_search_activated() instead of emit_query_changed().Ettore Perazzoli2003-05-142-1/+7
| | | | | | | | [#42628] * e-search-bar.c (search_now_verb_cb): Call emit_search_activated() instead of emit_query_changed(). svn path=/trunk/; revision=21154
* [ fixes bug #42177 ] remove the CAN_FOCUS flag.Chris Toshok2003-05-122-2/+5
| | | | | | | | | 2003-05-11 Chris Toshok <toshok@ximian.com> [ fixes bug #42177 ] * e-dateedit.c (e_date_edit_init): remove the CAN_FOCUS flag. svn path=/trunk/; revision=21146
* Fix date in ChangeLog.Ettore Perazzoli2003-05-101-1/+1
| | | | svn path=/trunk/; revision=21140
* *** empty log message ***Ettore Perazzoli2003-05-102-0/+8
| | | | svn path=/trunk/; revision=21139
* trash e_utf8_gtk function (e_search_bar_get_text): dittoJP Rosevear2003-05-082-2/+7
| | | | | | | | | | 2003-05-07 JP Rosevear <jpr@ximian.com> * e-search-bar.c (e_search_bar_set_text): trash e_utf8_gtk function (e_search_bar_get_text): ditto svn path=/trunk/; revision=21129
* Remove this so that GtkContainer's destroy method will destroy all of theDan Winship2003-04-302-25/+7
| | | | | | | | | * e-dateedit.c (e_date_edit_forall): Remove this so that GtkContainer's destroy method will destroy all of the internal widgets. (This is how other compound-widgets-that-aren't- meant-to-be-used-as-containers behave.) #41458 svn path=/trunk/; revision=21003
* *misc/e-multi-config-dialog.c : add appropriate padding and spacing to theAnna Dirks2003-04-241-2/+4
| | | | | | | | | 2003-04-22 Anna Dirks <anna@ximian.com> *misc/e-multi-config-dialog.c : add appropriate padding and spacing to the settings dialog. Fixes #41392. svn path=/trunk/; revision=20942
* (remove_bonobo_menus): Only do the actual removeEttore Perazzoli2003-04-162-0/+9
| | | | | | | if the ui component actually has a container; this suppresses a BonoboUI warning at each folder view switch. svn path=/trunk/; revision=20861
* Unref the metrics. (e_calendar_item_draw): Re-use the widget's contextHans Petter Jansson2003-04-163-3/+33
| | | | | | | | | | | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * e-calendar-item.c (e_calendar_item_update): Unref the metrics. (e_calendar_item_draw): Re-use the widget's context instead of creating a new one. Unref the metrics. (e_calendar_item_draw_month): Unref the metrics. Don't create the layout where it might be leaked by an early return. Unref the layout before returning if we're outside the clip area. (e_calendar_item_draw_day_numbers): Unref the metrics. (e_calendar_item_recalc_sizes): Unref the metrics. (e_calendar_item_convert_position_to_day): Unref the metrics. * e-calendar.c (e_calendar_size_allocate): Unref the metrics. svn path=/trunk/; revision=20855
* Change the border width and padding to comply with the HIG. Fixes bugJeffrey Stedfast2003-04-122-1/+3
| | | | | | | | | | | 2003-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (do_advanced): Change the border width and padding to comply with the HIG. Fixes bug #41202. (do_advanced): Changed the button ordering from Cancel/Save/OK to Save/Cancel/OK to comply with the HIG. Fixes bug #41207. svn path=/trunk/; revision=20829
* Change the border width and padding to comply with the HIG. Fixes bugJeffrey Stedfast2003-04-122-1/+8
| | | | | | | | | 2003-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (do_advanced): Change the border width and padding to comply with the HIG. Fixes bug #41202. svn path=/trunk/; revision=20828
* kill an old e_utf8_gtk usageMike Kestner2003-04-092-7/+5
| | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-search-bar.c (set_option): kill an old e_utf8_gtk usage and remove some straggling e-font.h includes. svn path=/trunk/; revision=20769
* remove e-font.[ch], test-e-font, and test-font-loading. killMike Kestner2003-04-092-235/+0
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * gal/widgets/Makefile.am : remove e-font.[ch], test-e-font, and test-font-loading. * gal/widgets/e-unicode.[ch] (e_utf8_from_gtk_string): kill (e_utf8_from_gtk_string_sized): kill (e_utf8_to_gtk_string): kill (e_utf8_to_gtk_string_sized): kill (e_utf8_gtk_menu_item_new_with_label): kill (e_utf8_gtk_clist_set_text): kill (e_utf8_gtk_clist_append): kill * e-categories-master-list-option-menu.c (ecmlom_ecml_changed): don't use e_utf8_to_gtk_string. * e-categories-master-list-combo (ecmlc_ecml_changed): don't use e_utf8_to_gtk_string. 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-cell-text.c : break e-font dependency svn path=/trunk/; revision=20766
* fill_color_gdk is a boxed GdkColor, not a pointer. (ecb_set_property):Chris Toshok2003-04-081-6/+7
| | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> * gal/widgets/e-canvas-background.c (ecb_class_init): fill_color_gdk is a boxed GdkColor, not a pointer. (ecb_set_property): same. (ecb_get_property): same. svn path=/trunk/; revision=20741
* e_cell_percent_get_type returns GType, not GtkType.Chris Toshok2003-04-073-2/+10
| | | | | | | | | | | | 2003-04-06 Chris Toshok <toshok@ximian.com> * e-cell-percent.h: e_cell_percent_get_type returns GType, not GtkType. * e-cell-percent.c (e_cell_percent_new): use g_object_new, not gtk_object_new. svn path=/trunk/; revision=20692
* For example; a selection ending 2003-apr-02 does not fit into theHans Petter Jansson2003-04-032-8/+24
| | | | | | | | | | 2003-04-02 Hans Petter Jansson <hpj@ximian.com> * e-calendar-item.c (e_calendar_item_set_selection): For example; a selection ending 2003-apr-02 does not fit into the remaining shown days after 1969-dec. Stop assuming that it does. svn path=/trunk/; revision=20652
* move to using gtk_im_context.Larry Ewing2003-04-022-85/+11
| | | | | | | | | | 2003-04-01 Larry Ewing <lewing@ximian.com> * gal/widgets/e-canvas.c: move to using gtk_im_context. * gal/widgets/e-canvas.c: add im_context member. svn path=/trunk/; revision=20634
* Nuke GdkFont and use Pango's font measuring for everything.Hans Petter Jansson2003-04-024-130/+160
| | | | | | | | | | | | | | | | | | | | | | | 2003-04-01 Hans Petter Jansson <hpj@ximian.com> * e-calendar-item.c (e_calendar_item_class_init) (e_calendar_item_destroy) (e_calendar_item_get_arg) (e_calendar_item_set_arg) (e_calendar_item_update) (e_calendar_item_draw) (e_calendar_item_draw_month) (e_calendar_item_draw_day_numbers) (e_calendar_item_recalc_sizes) (e_calendar_item_convert_position_to_day): Nuke GdkFont and use Pango's font measuring for everything. * e-calendar-item.h: Ditto. * e-calendar.c (e_calendar_init) (e_calendar_size_allocate): Ditto. svn path=/trunk/; revision=20633
* Handle multiple destroys.Hans Petter Jansson2003-03-312-3/+15
| | | | | | | | | 2003-03-30 Hans Petter Jansson <hpj@ximian.com> * e-calendar-item.c (e_calendar_item_destroy): Handle multiple destroys. svn path=/trunk/; revision=20588
* set the sub item to the default as wellJP Rosevear2003-03-292-0/+18
| | | | | | | | | 2003-03-28 JP Rosevear <jpr@ximian.com> * e-search-bar.c (clear_search): set the sub item to the default as well svn path=/trunk/; revision=20572
* #include gtkarrow.h LikewiseDan Winship2003-03-254-2/+11
| | | | | | | | | * e-calendar.c: #include gtkarrow.h * e-combo-button.c: Likewise * e-charset-picker.c: Update for e_notice move svn path=/trunk/; revision=20499
* Remove e_notice. (Moved to evolution.)Dan Winship2003-03-252-30/+0
| | | | | | | * gal/widgets/e-gui-utils.c: Remove e_notice. (Moved to evolution.) svn path=/trunk/; revision=20496
* [ fixes bug #39856 ] request a full redraw when we're done draggingChris Toshok2003-03-211-0/+1
| | | | | | | | | | 2003-03-21 Chris Toshok <toshok@ximian.com> [ fixes bug #39856 ] * gal/widgets/e-reflow.c (e_reflow_update): request a full redraw when we're done dragging columns. svn path=/trunk/; revision=20450
* Updated to use GtkDialog instead of GnomeDialog. Also fixed bug #39550Jeffrey Stedfast2003-03-203-95/+102
| | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c: Updated to use GtkDialog instead of GnomeDialog. Also fixed bug #39550 while I was at it. svn path=/trunk/; revision=20375
* Use GtkArrow instead of pixmaps Use GtkArrow instead of pixmapsRodney Dawes2003-03-125-84/+11
| | | | | | | | | | | 2003-03-10 Rodney Dawes <dobey@ximian.com> * e-calendar.c: Use GtkArrow instead of pixmaps * e-combo-button.c: Use GtkArrow instead of pixmaps * e-filter-bar.c: gtk_window_set_policy () is deprecated * e-url-entry.c: Load the icon in a pixbuf instead of GdkPixmap svn path=/trunk/; revision=20254
* (destroy): Removed unused variable.Ettore Perazzoli2003-03-072-1/+4
| | | | svn path=/trunk/; revision=20201
* Use G_GNUC_FUNCTION instead of __FUNCTION__.Ettore Perazzoli2003-03-072-2/+5
| | | | | | | | | | * menus/gal-view-menus.c (gal_view_menus_unmerge): Use G_GNUC_FUNCTION instead of __FUNCTION__. * e-dropdown-button.c (menu_deactivate_cb): Removed debugging spew. svn path=/trunk/; revision=20200
* i18n fixDmitry Mastrukov2003-03-051-1/+1
| | | | | | | | | | | | | | | | | | | 2003-03-04 Dmitry Mastrukov <dmitry@taurussoft.org> * gal/widgets/e-unicode.c : i18n fix 2003-03-04 Dmitry Mastrukov <dmitry@taurussoft.org> * e-cell-date.c (ecd_get_text): i18n fix * e-table.c (et_real_construct): i18n fix * e-table-config.c (create_global_store): i18n fix * e-table-utils.c (et_col_spec_to_col): i18n fix 2003-03-04 Mike Kestner <mkestner@ximian.com> * e-tree-selection-model.c : some cursor fixes svn path=/trunk/; revision=20156
* init column_count to column_start + 1. (item_removed): clean up theChris Toshok2003-02-281-7/+11
| | | | | | | | | | | | 2003-02-27 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (reflow_columns): init column_count to column_start + 1. (item_removed): clean up the setting of reflow->reflow_from_column. (items_inserted): same. svn path=/trunk/; revision=20097
* guard this so we don't try to free priv multiple times.Chris Toshok2003-02-282-3/+9
| | | | | | | | | 2003-02-27 Chris Toshok <toshok@ximian.com> * e-url-entry.c (destroy): guard this so we don't try to free priv multiple times. svn path=/trunk/; revision=20089
* use gdk_event_copy and gdk_event_free to dup the event.Mike Kestner2003-02-281-19/+11
| | | | | | | | | 2003-02-27 Mike Kestner <mkestner@ximian.com> * gal/widgets/e-canvas.c (emit_event): use gdk_event_copy and gdk_event_free to dup the event. svn path=/trunk/; revision=20088
* remove the grab_cancelled_check_id if it's still active.Chris Toshok2003-02-271-0/+4
| | | | | | | | | 2003-02-26 Chris Toshok <toshok@ximian.com> * gal/widgets/e-canvas.c (e_canvas_dispose): remove the grab_cancelled_check_id if it's still active. svn path=/trunk/; revision=20083
* Use g_signal_handlers_disconnect_by_func sinceDan Winship2003-02-252-10/+23
| | | | | | | | | * e-map.c (e_map_destroy): Use g_signal_handlers_disconnect_by_func since gtk_signal_disconnect_by_data doesn't seem to work right. (e_map_set_scroll_adjustments): Likewise. svn path=/trunk/; revision=20052
* Same as below.Jeffrey Stedfast2003-02-259-115/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-25 Jeffrey Stedfast <fejj@ximian.com> * e-dateedit.c (on_date_popup_date_selected): Same as below. * e-cell-date-edit.c (e_cell_date_edit_on_ok_clicked): Also updated to use the new GDate API from glib 2.0 * test-calendar.c (on_selection_changed): Fixed to use glib 2.0's GDate API. * e-calendar-item.c (e_calendar_item_get_week_number): Port to glib 2.0's GDate API. (e_calendar_item_set_selection): Same. * e-search-bar.c (append_xml_menu_item): Use g_string_append_printf instead of g_string_sprintfa since the latter is now deprecated. (setup_bonobo_menus): Same. * e-filter-bar.c (do_advanced): Use gtk_window_set_resizable() * e-charset-picker.c: Fixes to make it build cleanly with -DG_DISABLE_DEPRECATED (add_charset): Escape _'s so we don't get underline weirdness due to GtkLabel thinking the _ means to underline the next char. (e_charset_picker_bonobo_ui_populate): Same here. svn path=/trunk/; revision=20048
* Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamicDan Winship2003-02-212-11/+17
| | | | | | | libraries, so they can be portably linked into the (shared library) components. (Part 1 of N.) svn path=/trunk/; revision=19971
* make this actually work: destroy the canvas item, memmove stuff around,Chris Toshok2003-02-171-0/+12
| | | | | | | | | | 2003-02-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (item_removed): make this actually work: destroy the canvas item, memmove stuff around, change reflow->count, etc, etc. svn path=/trunk/; revision=19918
* enable this function to reflow the view from a particular column onward.Chris Toshok2003-02-174-28/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (reflow_columns): enable this function to reflow the view from a particular column onward. This is useful if you have a huge model and the only changes are happening at the end (as is normally the case if you're appending to a large model.) (item_changed): calculate the height of the changed item here, so we aren't doing it as we reflow the model. For now, reflow the entire model. Further optimization can be done here. (item_removed): new function. remove the item and reflow from the column that contained it. (items_inserted): calculate the heights of the new items, and calculate the lowest numbered column containing one of the inserted items. reflow from there. (model_changed): calculate the heights of everything here. (comparison_changed): new function, clear the sorter and reflow. (disconnect_model): disconnect comparison_changed and model_item_removed. (connect_model): connect comparison_changed and model_item_removed. (adjustment_changed): use queue_incarnate here, instead of forcing the reflow model to incarnate as we scroll. Not sure if this is actually the right solution, but it does make the scrollbar more responsive at the cost of redraw speed. * gal/widgets/e-reflow.h (struct _EReflow): add slots for the new signal ids, as well as "reflow_from_column". * gal/widgets/e-reflow-model.c (e_reflow_model_class_init): create the comparison_changed and model_item_removed signals. (e_reflow_model_comparison_changed): new function, emit the comparison_changed signal. (e_reflow_model_item_removed): new function, emit the model_item_removed signal. * gal/widgets/e-reflow-model.h: add comparison_changed and model_item_removed signals. svn path=/trunk/; revision=19917
* replaced deprecated calls (gtk_menu_append -> gtk_menu_shell_append andRadek Doulik2003-02-071-2/+2
| | | | | | | | | | | 2003-02-07 Radek Doulik <rodo@ximian.com> * gal/widgets/e-popup-menu.c (e_popup_menu_create_with_domain): replaced deprecated calls (gtk_menu_append -> gtk_menu_shell_append and gtk_radio_menu_item_group -> gtk_radio_menu_item_get_group) svn path=/trunk/; revision=19841
* (e_auto_kill_popup_menu_on_selection_done): Rename fromEttore Perazzoli2003-02-072-25/+28
| | | | | | | | | e_auto_kill_popup_menu_on_hide(). Connect to "deactivate" instead of destroy. (e_popup_menu): Use e_auto_kill_popup_menu_on_selection_done() instead of e_auto_kill_popup_menu_on_hide(). svn path=/trunk/; revision=19833
* Define MAP_DIR in terms of $(imagesdir). (widgetsincludedir): Define inDan Winship2003-02-062-2/+7
| | | | | | | * Makefile.am (INCLUDES): Define MAP_DIR in terms of $(imagesdir). (widgetsincludedir): Define in terms of $(privincludedir) svn path=/trunk/; revision=19772
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-051-1/+1
| | | | svn path=/trunk/; revision=19736
* Use Pango to draw. (e_calendar_item_class_init): Add font_desc andHans Petter Jansson2003-02-024-17/+106
| | | | | | | | | | | | | | | | | | | 2003-02-02 Hans Petter Jansson <hpj@ximian.com> * e-calendar-item.[ch]: Use Pango to draw. (e_calendar_item_class_init): Add font_desc and week_number_font_desc args. (e_calendar_item_get_arg): Ditto. (e_calendar_item_set_arg): Ditto. (e_calendar_item_draw_month): Use Pango. (e_calendar_item_draw_day_numbers): Ditto. * e-calendar.c: Use Pango to draw. Specify just the size of the small font to use, instead of all aspects of it. (e_calendar_init): Produce the small font description and pass it to the ECalendarItem. svn path=/trunk/; revision=19705
* Don't request combo boxes that are 0 pixels tall. (position_date_popup):Hans Petter Jansson2003-02-022-12/+29
| | | | | | | | | | | 2003-02-01 Hans Petter Jansson <hpj@ximian.com> * e-dateedit.c (create_children): Don't request combo boxes that are 0 pixels tall. (position_date_popup): Make this work when the button doesn't have its own window. svn path=/trunk/; revision=19704
* Just use gtk_widget_destroy as the G_CALLBACK function.Jeffrey Stedfast2003-02-021-14/+5
| | | | | | | | | 2003-02-01 Jeffrey Stedfast <fejj@ximian.com> * gal/widgets/e-gui-utils.c (e_auto_kill_popup_menu_on_hide): Just use gtk_widget_destroy as the G_CALLBACK function. svn path=/trunk/; revision=19703
* gtk_widget_destroy the menu rather than g_object_unref'ing it.Jeffrey Stedfast2003-02-011-1/+1
| | | | | | | | | 2003-01-31 Jeffrey Stedfast <fejj@ximian.com> * gal/widgets/e-gui-utils.c (kill_popup_menu): gtk_widget_destroy the menu rather than g_object_unref'ing it. svn path=/trunk/; revision=19696
* init the layout to NULL.Chris Toshok2003-01-272-0/+6
| | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * e-clipped-label.c (e_clipped_label_new): init the layout to NULL. svn path=/trunk/; revision=19639
* Make the label bold using the new args to e_clipped_label_new().Ettore Perazzoli2003-01-244-32/+48
| | | | | | | | | | | | | | | | | | | * e-title-bar.c (e_title_bar_construct): Make the label bold using the new args to e_clipped_label_new(). * e-clipped-label.c (build_layout): Honor ->font_size and ->layout in the newly created PangoLayout. (e_clipped_label_new): New args font_weight, font_size. (e_clipped_label_size_request): Removed unused variables. (e_clipped_label_expose): Likewise. (e_clipped_label_expose): Likewise. (e_clipped_label_set_text): Likewise. (e_clipped_label_recalc_chars_displayed): Likewise. * e-clipped-label.h (struct _EClippedLabel): Add font_size, layout members. svn path=/trunk/; revision=19591
* (widgetsincludedir): Version using $(BASE_VERSION).Ettore Perazzoli2003-01-232-7/+10
| | | | svn path=/trunk/; revision=19568
* Fix destroy.Ettore Perazzoli2003-01-181-2/+1
| | | | svn path=/trunk/; revision=19505
* (e_notice): Use gtk_dialog_run()Ettore Perazzoli2003-01-181-1/+2
| | | | | | | instead of gtk_widget_show() so we return only after the user acknowledges the error. svn path=/trunk/; revision=19504
* (init): Change dialog fromEttore Perazzoli2003-01-152-1/+6
| | | | | | OK/Apply/Cancel to Apply/Close/OK to be closer to the HIG. svn path=/trunk/; revision=19466
* Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove theEttore Perazzoli2003-01-152-2/+6
| | | | | | | | | | | | | | * e-dialog-utils.c: Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove the BonoboWidget handling stuff (it doesn't really work anyways). * e-shell-view.c: Do not #include "e-bonobo-widget.h". * Makefile.am (widgetsinclude_HEADERS): Ooops, remove e-bonobo-widget.h. (libemiscwidgets_a_SOURCES): Likewise, remove e-bonobo-widget.c. svn path=/trunk/; revision=19460
* (EXTRA_DIST): e-util-marshal.list, notEttore Perazzoli2003-01-152-34/+38
| | | | | | | | e-book-marshal.list. (widgetsinclude_HEADERS): Add e-bonobo-widget.h. (libemiscwidgets_a_SOURCES): Add e-bonobo-widget.c. svn path=/trunk/; revision=19457
* (EXTRA_DIST): e-util-marshal.list, notEttore Perazzoli2003-01-152-1/+6
| | | | | | e-book-marshal.list. svn path=/trunk/; revision=19443
* Images are now in $(datadir)/evolution/imagesEttore Perazzoli2003-01-093-2/+7
| | | | | | instead of $(datadir)/images/evolution. svn path=/trunk/; revision=19294
* Removed the g_assert_not_reached(). If you hit the close button on yourNot Zed2002-12-102-2/+7
| | | | | | | | | | 2002-12-10 Not Zed <NotZed@Ximian.com> * e-multi-config-dialog.c (impl_response): Removed the g_assert_not_reached(). If you hit the close button on your window it would abort, treat same as close. svn path=/trunk/; revision=19083
* rework this to be faster and deal more correctly with the ellipsis.Chris Toshok2002-12-103-70/+105
| | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * e-clipped-label.[ch]: rework this to be faster and deal more correctly with the ellipsis. svn path=/trunk/; revision=19076
* guard against multiple calls.Chris Toshok2002-12-051-4/+4
| | | | | | | | | 2002-12-04 Chris Toshok <toshok@ximian.com> * gal/widgets/e-canvas-background.c (ecb_dispose): guard against multiple calls. svn path=/trunk/; revision=19009
* Don't leak old sort info.Hans Petter Jansson2002-12-041-0/+5
| | | | | | | | | | | | | 2002-12-03 Hans Petter Jansson <hpj@ximian.com> * e-table.c (e_table_get_state_object): Don't leak old sort info. 2002-12-03 Hans Petter Jansson <hpj@ximian.com> * gal/widgets/e-canvas-background.c (ecb_destroy): Don't leak private structure. svn path=/trunk/; revision=18999
* dispose can be run multiple times too ... bloody gobject crap.Not Zed2002-12-032-2/+11
| | | | | | | | | 2002-12-03 Not Zed <NotZed@Ximian.com> * e-search-bar.c (impl_dispose): dispose can be run multiple times too ... bloody gobject crap. svn path=/trunk/; revision=18992
* RevertedRodrigo Moya2002-12-022-5/+0
| | | | svn path=/trunk/; revision=18983
* Included gtkmessagedialog.h.Rodrigo Moya2002-12-022-0/+5
| | | | | | | | 2002-12-02 Rodrigo Moya <rodrigo@ximian.com> * e-cahrset-picker.c: Included gtkmessagedialog.h. svn path=/trunk/; revision=18981
* Add include of gnome-dialog.hNot Zed2002-12-022-25/+10
| | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-charset-picker.c: Add include of gnome-dialog.h * *.[ch]: ran fix.sh script over everything. svn path=/trunk/; revision=18979
* Add include of gnome-dialog.hNot Zed2002-12-0239-217/+226
| | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-charset-picker.c: Add include of gnome-dialog.h * *.[ch]: ran fix.sh script over everything. svn path=/trunk/; revision=18978
* Dont grab_add anymore on the button, gtk_button is changed in gtk2 not toNot Zed2002-11-262-1/+6
| | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * e-combo-button.c (impl_button_press_event): Dont grab_add anymore on the button, gtk_button is changed in gtk2 not to do this anymore. svn path=/trunk/; revision=18921
* column_width = double. (e_reflow_realize): no need to cast to double,Chris Toshok2002-11-191-4/+4
| | | | | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_set_property): column_width = double. (e_reflow_realize): no need to cast to double, column_width is already a double. svn path=/trunk/; revision=18833
* we need to destroy the dialog after we've run it, because run doesn't doNot Zed2002-11-181-0/+1
| | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * gal/widgets/e-gui-utils.c (e_notice): we need to destroy the dialog after we've run it, because run doesn't do it for us like gnome-dialog did. svn path=/trunk/; revision=18816
* convert this to wrap around GtkMessageDialog.Chris Toshok2002-11-171-6/+24
| | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-gui-utils.c (e_notice): convert this to wrap around GtkMessageDialog. * gal/widgets/e-categories-master-list-dialog.c (dialog_response): gnome_dialog_close -> gtk_widget_destroy. svn path=/trunk/; revision=18814
* fix c&p typo.Chris Toshok2002-11-172-186/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_class_init): fix c&p typo. * gal/widgets/e-categories-master-list-dialog.c: switch to GtkDialogism's. * gal/widgets/gal-categories.[ch]: same. * gal/widgets/e-categories-master-list-dialog.glade: libglade-convert. * gal/widgets/e-categories.glade: same. * gal/util/e-text-event-processor.[ch]: subclass this from GObject. * gal/util/e-text-event-processor-emacs-like.[ch]: clean up the gtk cruft a bit. * gal/e-text/e-text.c (_get_tep): remove the _sink call. (e_text_init): same. * gal/e-text/e-text-model.[ch]: subclass this from GObject instead of GtkObject. svn path=/trunk/; revision=18808
* fix c&p typo.Chris Toshok2002-11-171-1/+1
| | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_class_init): fix c&p typo. svn path=/trunk/; revision=18806
* lots of GObject work.Chris Toshok2002-11-1712-486/+508
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/color-group.c: lots of GObject work. * gal/widgets/color-palette.[ch]: same. * gal/widgets/e-canvas-backgruond.[ch]: same. * gal/widgets/e-canvas-vbox.[ch]: same. * gal/widgets/e-canvas.[ch]: same. * e-categories-master-list-array.[ch]: same. * e-categories-master-list-combo.[ch]: same. * e-categories-master-list-dialog-model.[ch]: same. * e-categories-master-list-dialog.[ch]: same. * e-categories-master-list-option-menu.[ch]: same. * e-categories-master-list.[ch]: same. * e-categories.[ch]: same. * e-file-selection.[ch]: same. * e-gui-utils.c: same. * e-hscrollbar.[ch]: same. * e-option-menu.[ch]: same. * e-popup-menu.[ch]: same. * e-printable.[ch]: same. * e-reflow-sorted.[ch]: same. * e-reflow.[ch]: same. * e-scroll-frame.[ch]: same. * e-vscrollbar.[ch]: same. * gtk-combo-box.[ch]: same. * gtk-combo-stack.[ch]: same. * gtk-combo-text.[ch]: same. * test-e-font.c: same. * widget-color-combo.[ch]: same. * widget-pixmap-combo.[ch]: same. svn path=/trunk/; revision=18798
* new function, build pango layout for string.Chris Toshok2002-11-163-53/+84
| | | | | | | | | | | | | 2002-11-15 Chris Toshok <toshok@ximian.com> * e-clipped-label.c (build_layout): new function, build pango layout for string. (e_clipped_label_size_request): pango-ize this, make the size requested dependent on the label. (e_clipped_label_expose): pango-ize this. (e_clipped_label_recalc_chars_displayed): pango-ize this. svn path=/trunk/; revision=18784
* (esma_dispose): g_object_unref() instead of gtk_object_unref().Ettore Perazzoli2002-11-161-1/+1
| | | | | | | (esma_dispose): g_object_unref() instead of gtk_object_unref(). svn path=/trunk/; revision=18779
* deal with EBitArray/ESorter being a GObject now.Chris Toshok2002-11-152-2/+2
| | | | | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * gal/widgets/e-selection-model-array.c: deal with EBitArray/ESorter being a GObject now. * gal/widgets/e-selection-model-simple.c: same. * gal/util/e-bit-array.[ch]: this derives from GObject now. * gal/util/e-sorter.[ch]: same. * gal/util/e-sorter-array.[ch]: same. svn path=/trunk/; revision=18774
* this derives from GObject now.Chris Toshok2002-11-159-296/+312
| | | | | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * gal/widgets/e-selection-model.[ch]: this derives from GObject now. * gal/widgets/e-selection-model-simple.[ch]: same. * gal/widgets/e-selection-model-array.[ch]: same. * gal/widgets/e-reflow-model.[ch]: same. * gal/widgets/e-reflow.c: fix all references to EReflowModel such that it's a GObject, not a GtkObject. svn path=/trunk/; revision=18772
* New. (e_clipped_label_destroy): Removed.Ettore Perazzoli2002-11-153-13/+22
| | | | | | | | | | | | * e-clipped-label.c (e_clipped_label_finalize): New. (e_clipped_label_destroy): Removed. * e-title-bar.c (destroy): Removed. (impl_finalize): New. (class_init): Install GObject::finalize handler instead of GtkObject::destroy handler. svn path=/trunk/; revision=18761
* Changed to use g_object_*() and g_signal_*()Ettore Perazzoli2002-11-152-47/+70
| | | | | | | | | | functions instead of gtk_object_*() and gtk_signal_*(). (destroy): Removed. (dispose): New. (class_init): Install GObject::dispose handler instead of GtkObject::destroy handler. svn path=/trunk/; revision=18753
* port to GObject.Chris Toshok2002-11-123-101/+106
| | | | | | | | 2002-11-11 Chris Toshok <toshok@ximian.com> * e-dateedit.[ch]: port to GObject. svn path=/trunk/; revision=18717
* (init): Use GObject functions instead ofEttore Perazzoli2002-11-122-16/+18
| | | | | | GtkObject throughout. svn path=/trunk/; revision=18706
* Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.Ettore Perazzoli2002-11-126-20/+20
| | | | | | | | | | | | | | | | | | | | | * gal/widgets/color-palette.c: Replace gtk_object_(un)?ref() with g_object_(un)?ref(). * gal/widgets/e-canvas-utils.c: Likewise. * gal/widgets/e-canvas.c: Likewise. * gal/widgets/e-categories-master-list-combo.c: Likewise. * gal/widgets/e-categories-master-list-dialog-model.c: Likewise. * gal/widgets/e-categories-master-list-dialog.c: Likewise. * gal/widgets/e-categories-master-list-option-menu.c: Likewise. * gal/widgets/e-categories.c: Likewise. * gal/widgets/e-gui-utils.c: Likewise. * gal/widgets/e-popup-menu.c: Likewise. * gal/widgets/e-reflow-sorted.c: Likewise. * gal/widgets/e-reflow.c: Likewise. * gal/widgets/e-selection-model.c: Likewise. * gal/widgets/gtk-combo-box.c: Likewise. * gal/widgets/widget-pixmap-combo.c: Likewise. svn path=/trunk/; revision=18705
* Removed. (impl_finalize): New. (class_init): Override GObject::finalize,Ettore Perazzoli2002-11-124-43/+56
| | | | | | | | | | | | | | | * e-multi-config-dialog.c (impl_destroy): Removed. (impl_finalize): New. (class_init): Override GObject::finalize, not GtkObject::destroy. * e-config-page.c (impl_destroy): Removed. (impl_finalize): New. (class_init): Override GObject::finalize, not GtkObject::destroy. * e-multi-config-dialog.c: Converted to a GtkDialog subclass [instead of GnomeDialog]. svn path=/trunk/; revision=18696
* include gnome-dialogJP Rosevear2002-11-082-0/+5
| | | | | | | | 2002-11-07 JP Rosevear <jpr@ximian.com> * e-filter-bar.c: include gnome-dialog svn path=/trunk/; revision=18649
* ignore the generated marshal source.Chris Toshok2002-11-076-132/+182
| | | | | | | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * .cvsignore: ignore the generated marshal source. * Makefile.am: add marshal stuff. * e-util-marshal.list: marshaller list. * e-search-bar.[ch]: gobjectify this. svn path=/trunk/; revision=18627
* remove duplicate g_signal_new for column_width_changed.Chris Toshok2002-11-071-8/+0
| | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_class_init): remove duplicate g_signal_new for column_width_changed. svn path=/trunk/; revision=18621
* (impl_expose_event): UseEttore Perazzoli2002-11-042-1/+6
| | | | | | gtk_container_propagate_expose(). svn path=/trunk/; revision=18526
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-0228-247/+307
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* merging the gal-2 branch back to the trunk.Mike Kestner2002-11-0131-1113/+265
| | | | | | merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471
* Emit a search_activated signal. (e_search_bar_set_item_id): Revert toJeffrey Stedfast2002-10-292-3/+9
| | | | | | | | | 2002-10-28 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (clear_search): Emit a search_activated signal. (e_search_bar_set_item_id): Revert to original implementation. svn path=/trunk/; revision=18464
* If the clear button was pressed, we want the entry to be sensitive (notJeffrey Stedfast2002-10-245-24/+31
| | | | | | | | | | | | | | | | | 2002-10-23 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (option_changed): If the clear button was pressed, we want the entry to be sensitive (not insensitive). * e-search-bar.c (e_search_bar_set_item_id): If the item id is CLEAR_ID, we want to select the first item (0) but still set the esb->item_id to CLEAR_ID. (set_find_now_sensitive): Don't bother getting the GtkEntry text, we don't even use it? (clear_search): Set the item id as E_SEARCHBAR_CLEAR_ID rather than 0 so that it can be checked for. svn path=/trunk/; revision=18421
* (activate_by_subitems): gtk_widget_grab_focus()Ettore Perazzoli2002-10-242-0/+11
| | | | | | on the entry when adding it in. svn path=/trunk/; revision=18418
* Don't include the byte reserved for the nul in the outleft size.Jeffrey Stedfast2002-10-171-17/+25
| | | | | | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * gal/widgets/e-unicode.c (e_utf8_from_gtk_string_sized): Don't include the byte reserved for the nul in the outleft size. (e_utf8_from_iconv_string_sized): Same. (e_utf8_to_iconv_string_sized): Here too, but also make sure we pad the end of the resulting string with enough nul bytes (4) so that even multi-byte charsets are terminated correctly. (e_utf8_to_gtk_string_sized): Again here. svn path=/trunk/; revision=18377
* check if the selection fits in the leftover daysJP Rosevear2002-10-162-4/+28
| | | | | | | | | 2002-10-11 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_ensure_days_visible): check if the selection fits in the leftover days svn path=/trunk/; revision=18368
* [Add a small delay to the switching of pages in the multi-configEttore Perazzoli2002-10-012-10/+56
| | | | | | | | | | | | | | | | | dialog. This makes keyboard navigation slightly nicer, and also happens to fix mysterious bug #28931.] New constant SWITCH_PAGE_INTERVAL. New members set_page_timeout_id and set_page_timeout_page in EMultiConfigDialogPrivate. (init): Initialize new member variables. (table_cursor_change_callback): Set up a timeout instead of switching right away. (set_page_timeout_callback): Timeout function to switch page after a small delay. (impl_destroy): Remove a pending timeout. svn path=/trunk/; revision=18267
* Ooops.Ettore Perazzoli2002-09-281-4/+3
| | | | svn path=/trunk/; revision=18247
* (create_page_container): Don't set upEttore Perazzoli2002-09-282-0/+7
| | | | | | the description label here. svn path=/trunk/; revision=18243
* add the gtk2 keypad entries (resync with gdk).Larry Ewing2002-09-251-10/+34
| | | | | | | | | 2002-09-25 Larry Ewing <lewing@ximian.com> * gal/widgets/e-unicode.c: add the gtk2 keypad entries (resync with gdk). svn path=/trunk/; revision=18212
* Clear search by setting text to "" and search to first search.Not Zed2002-09-243-12/+17
| | | | | | | | | | | | | | | | 2002-09-24 Not Zed <NotZed@Ximian.com> * e-search-bar.c (clear_search): Clear search by setting text to "" and search to first search. * e-filter-bar.c (option_changed): Revert change of 2002-08-29 below, always do advanced search if we have the advanced id. Handle clear elsewhere. (menubar_activated): If we get the advanced menu, set the advanced option menu, and let that handle it, rather than doing it ourselves. For #31060 & #29625. svn path=/trunk/; revision=18191
* Fix some non-ANSI switch statements.Dan Winship2002-09-232-2/+7
| | | | | | * e-filter-bar.c: Fix some non-ANSI switch statements. svn path=/trunk/; revision=18155
* need to make the find now button sensitive when you select something fromChris Toshok2002-08-302-0/+7
| | | | | | | | | 2002-08-29 Chris Toshok <toshok@ximian.com> * e-search-bar.c (subitem_activated_cb): need to make the find now button sensitive when you select something from a submenu. svn path=/trunk/; revision=17931
* kill a return that caused selection ranges to not emit selection_changedMike Kestner2002-08-301-1/+0
| | | | | | | | | | 2002-08-29 Mike Kestner <mkestner@ximian.com> * gal/widgets/e-selection-model-array.c : kill a return that caused selection ranges to not emit selection_changed if the end index only changed by 1. svn path=/trunk/; revision=17930
* If the item is ADVANCED_ID, check the query and efb->setquery to seePeter Williams2002-08-302-1/+14
| | | | | | | | | | 2002-08-29 Peter Williams <peterw@ximian.com> * e-filter-bar.c (option_changed): If the item is ADVANCED_ID, check the query and efb->setquery to see whether we should pop up the advanced dialog or clear an advanced search. Fixes #29625. svn path=/trunk/; revision=17923
* Don't set the item id; clear search isn't in the menu anymore. FixesPeter Williams2002-08-242-1/+5
| | | | | | | | | 2002-08-21 Peter Williams <peterw@ximian.com> * e-search-bar.c (clear_search): Don't set the item id; clear search isn't in the menu anymore. Fixes #29211. svn path=/trunk/; revision=17849
* don't adjust for two digit dates here, the e_time_parse routines do thatJP Rosevear2002-08-222-15/+5
| | | | | | | | | 2002-08-22 JP Rosevear <jpr@ximian.com> * e-dateedit.c (e_date_edit_parse_date): don't adjust for two digit dates here, the e_time_parse routines do that now svn path=/trunk/; revision=17834
* Set the query text into the filter name when saving it, for #10979.Not Zed2002-08-062-2/+13
| | | | | | | | | 2002-08-06 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): Set the query text into the filter name when saving it, for #10979. svn path=/trunk/; revision=17710
* Add missing cast. (e_calendar_item_signal_emission_idle_cb): Likewise.Ettore Perazzoli2002-07-244-4/+14
| | | | | | | | | | | | | | * e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): Add missing cast. (e_calendar_item_signal_emission_idle_cb): Likewise. * e-search-bar.c (init): Don't initialize dropdown_menu here anymore since we got rid of it. * e-search-bar.h (struct _ESearchBar): Removed member dropdown_menu. svn path=/trunk/; revision=17567
* Also perform a search on the query_changed signal, which is what getsPeter Williams2002-07-244-38/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-22 Peter Williams <peterw@ximian.com> * folder-browser.c (folder_browser_gui_init): Also perform a search on the query_changed signal, which is what gets emitted when the Search menu is used. 2002-07-22 Peter Williams <peterw@ximian.com> * e-filter-bar.c (do_advanced): Break out the code for creating the advanced rule editor into a separate function, so that... (menubar_activated): ... can also create an Advanced dialog; needed when the Search menu's advanced button is used. (option_changed): Change this to call the function instead of having all the code to itself. * e-search-bar.h: Add id's for the FIND_NOW and CLEAR actions so that other code (eg, EFilterBar) doesn't get confused by an old id being used when the search-activated signal gets emitted. * e-search-bar.c (clear_search): Set the item_id to CLEAR before emitting the signal. (search_now_verb_cb): Just make this emit query_changed, as the button in the toolbar does. svn path=/trunk/; revision=17550
* Install libversit.a so that people compiling against the addressbook canPeter Williams2002-07-181-21/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so that people compiling against the addressbook can do so successfully. * Makefile.am: create our *Conf.sh files and dist them and install them. * configure.in: Define and subst some variables that the Conf.sh file need. 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/Makefile.am: Install libebook-static.la. Also change --all-static to -all-static, which is the right flag. * backend/pas/Makefile.am: Install the PAS headers in $(includedir)/evolution/pas. Install libpas.a 2002-07-08 Peter Williams <peterw@ximian.com> * cal-util/Makefile.am: Install libcal-util-static.la and fix the -all-static flag to make it install statically. * pcs/Makefile.am: Install libpcs.a and its headers. * pcs/cal-backend-util.h: Same sort of include namespacing fix, but for pcs. * pcs/cal.h: * pcs/query.h: * pcs/cal-factory.h: * pcs/cal-backend.h: * pcs/cal-backend-file.h: Same. 2002-07-17 Peter Williams <peterw@ximian.com> * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're using libtool as our LD, we can reference .la's and libtool will DTRT for us. * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here. 2002-07-03 Peter Williams <peterw@ximian.com> * Makefile.am: Install libeutil, libeconduit, and libedb3util and their headers. 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the new libefilterbar.a. 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical for the generated ical.h (some headers rely on this because they too get installed.) 2002-07-09 Peter Williams <peterw@ximian.com> * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical; some headers that we rely on get installed, so they point to the ical.h that gets generated and installed; consequently we need to be able to find the generated ical.h * misc/Makefile.am: Install libemiscwidgets.a and its headers. However, break EFilterBar into a separate libefilterbar.a because we don't want the installed library to depend on libfilter. svn path=/trunk/; revision=17496
* (setup_standard_verbs): Set the <commands> partEttore Perazzoli2002-07-182-5/+41
| | | | | | | | | | | | | | | | of the XML manually with bonobo_ui_component_set() otherwise the verbs don't get added on the other side for us to be able to do bonobo_ui_component_set_prop(). (setup_bonobo_menus): New, menu setup code taken from update_bonobo_menus(). (remove_bonobo_menus): New; removes the Bonobo menus. (update_bonobo_menus): Rewritten, just call remove_bonobo_menus() first and setup_bonobo_menus() then. (e_search_bar_set_ui_component): Call setup_bonobo_menus() and remove_bonobo_menus() as appropriate instead of just update_bonobo_menus(). svn path=/trunk/; revision=17490
* (update_sensitivity): Removed.Ettore Perazzoli2002-07-032-43/+58
| | | | | | | | | | | | (set_find_now_sensitive): New. (entry_changed_cb): Always make the "Find Now" button and menu item sensitive here. (emit_search_activated): ...And here, always insensitive. (setup_standard_verbs): Always start up insensitive. (activate_button_clicked_cb): Make the entry grab the focus. (clear_button_clicked_cb): Likewise. svn path=/trunk/; revision=17348
* (subitem_activated_cb): Don't emitEttore Perazzoli2002-07-022-3/+7
| | | | | | | | "search_activated" here. (e_search_bar_set_subitem_id): And not here either. (e_search_bar_set_text): Same. svn path=/trunk/; revision=17346
* (activate_by_subitems): Don't set the entry to beEttore Perazzoli2002-07-022-2/+7
| | | | | | an empty string here. svn path=/trunk/; revision=17345
* (build_items): Put the numbers in front of theEttore Perazzoli2002-06-192-1/+6
| | | | | | rules only if type is zero [i.e. not in the option menu]. svn path=/trunk/; revision=17224
* Bumped the version number to 0.19.99.17.Christopher James Lahey2002-06-062-1/+25
| | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.19.99.17. * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h (e_reflow_selection_event_real): Made this function handle GDK_BUTTON_RELEASE. Added a maybe_in_drag variable that the API user can set to 0 to indicate that a drag has occurred. svn path=/trunk/; revision=17122
* New helper function. (build_items): g_strdup() the text for all the items.Ettore Perazzoli2002-05-312-13/+71
| | | | | | | | | | | | | | * e-filter-bar.c (dup_item_no_subitems): New helper function. (build_items): g_strdup() the text for all the items. Prepend the user-defined items with an order number. (free_built_items): New function to free the array returned by build_items, freeing the text strings too [since now they are newly allocated instead of just pointing to the exiting ones]. (generate_menu): Call free_built_items() on the built items instead of just g_array_free(). (set_option): Likewise. svn path=/trunk/; revision=17045
* Put the stuff in /menu/Searchplaceholder/Search instead of /menu/Search.Ettore Perazzoli2002-05-231-3/+11
| | | | | | | * e-search-bar.c (update_bonobo_menus): Put the stuff in /menu/Searchplaceholder/Search instead of /menu/Search. svn path=/trunk/; revision=16980
* Put the search menu in a SearchPlaceholder.Ettore Perazzoli2002-05-231-0/+3
| | | | | | * evolution.xml: Put the search menu in a SearchPlaceholder. svn path=/trunk/; revision=16979
* New, overrides GtkWidget::draw. (impl_expose_event): New, overridesEttore Perazzoli2002-05-232-2/+108
| | | | | | | * e-combo-button.c (impl_draw): New, overrides GtkWidget::draw. (impl_expose_event): New, overrides GtkWidget::expose_event. svn path=/trunk/; revision=16978
* Prepend the advanced menu with a separator.Ettore Perazzoli2002-05-213-6/+15
| | | | | | | | | | * e-filter-bar.c (build_items): Prepend the advanced menu with a separator. * e-filter-bar.h: Add E_FILTERBAR_SEPARATOR. Rename the "Advanced Search..." menu item into "Advanced...". svn path=/trunk/; revision=16953
* Strip underscores from the menu item labels.Ettore Perazzoli2002-05-213-6/+43
| | | | | | | * e-search-bar.c (activate_by_subitems): Strip underscores from the menu item labels. svn path=/trunk/; revision=16952
* If grabbed_item is NULL, cancel the timeout.Christopher James Lahey2002-05-111-0/+8
| | | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (grab_cancelled_check): If grabbed_item is NULL, cancel the timeout. svn path=/trunk/; revision=16760
* Switch from gnome_canvas_item_grab to e_canvas_item_grab.Christopher James Lahey2002-05-102-18/+111
| | | | | | | | | | | | | | | | | | | 2002-05-09 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c: Switch from gnome_canvas_item_grab to e_canvas_item_grab. * gal/widgets/e-canvas.c, gal/widgets/e-canvas.h (e_canvas_item_grab, e_canvas_item_ungrab): Added these functions. From gal/e-table/ChangeLog: 2002-05-09 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Switched from gnome_canvas_item_grab to e_canvas_item_grab. svn path=/trunk/; revision=16738
* Change this directory to include the $(VERSION).Christopher James Lahey2002-05-071-6/+2
| | | | | | | | | | | | | | | | | | | 2002-05-06 Christopher James Lahey <clahey@ximian.com> * gal/widgets/Makefile.am (imagesdir): Change this directory to include the $(VERSION). * gal/widgets/e-reflow.c (set_empty): Don't switch from utf8 to widget encoding, since EText takes utf8. From art/ChangeLog: 2002-05-06 Christopher James Lahey <clahey@ximian.com> * Makefile.am (imagesdir): Change this directory to include the $(VERSION). svn path=/trunk/; revision=16697
* Added this function that lets you specify the translation domain.Christopher James Lahey2002-05-032-40/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_create_with_domain): Added this function that lets you specify the translation domain. From gal/e-table/ChangeLog: 2002-05-02 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (finish_editing): Add horizontal dividers here too. * e-table-config.c (create_global_store): Translate column headers here. * e-table-header-item.c (ethi_header_context_menu): Use e_popup_menu_create_with_domain here. * e-table-header-utils.c (e_table_header_draw_button): Translate from utf8 here before drawing. * e-table-memory-store.c, e-table-memory-store.h (e_table_memory_store_insert_adopt_array): Changed the name of this function from e_table_memory_store_insert_adopt. (e_table_memory_store_insert_adopt): Added this function which takes a ... list. * e-table-utils.c (et_col_spec_to_col): Translate column titles to utf8 here. svn path=/trunk/; revision=16668
* Don't print out the colors here unless debugging is turned on.Christopher James Lahey2002-04-272-1/+8
| | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (fill_in_pixbufs): Don't print out the colors here unless debugging is turned on. svn path=/trunk/; revision=16605
* Include alloca.h here if it's necessary.Christopher James Lahey2002-04-271-0/+4
| | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-unicode.c: Include alloca.h here if it's necessary. svn path=/trunk/; revision=16601
* Initialize these struct members individually instead of as a struct.Christopher James Lahey2002-04-271-1/+4
| | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas-background.c (ecb_init): Initialize these struct members individually instead of as a struct. svn path=/trunk/; revision=16600
* Ansification patch from danw.Christopher James Lahey2002-04-269-20/+21
| | | | | | | | | | | | | | | | | | | | | | | | 2002-04-25 Christopher James Lahey <clahey@ximian.com> * gal/e-paned/e-paned.c, gal/e-text/e-entry.c, gal/util/e-bit-array.c, gal/util/e-sorter-array.c, gal/util/e-sorter.c, gal/util/e-text-event-processor.c, gal/widgets/color-group.c, gal/widgets/color-palette.c, gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas.c, gal/widgets/e-canvas.h, gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-combo.c, gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories.c, gal/widgets/e-reflow-model.c, gal/widgets/e-reflow.c, gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h, gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-stack.c, gal/widgets/widget-color-combo.c, gal/widgets/widget-pixmap-combo.c: Ansification patch from danw. svn path=/trunk/; revision=16589
* Updated this to match the changed function name in gal.Christopher James Lahey2002-04-232-2/+7
| | | | | | | | | 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (e_multi_config_dialog_add_page): Updated this to match the changed function name in gal. svn path=/trunk/; revision=16562
* Bumped version number to 0.19.99.14.Christopher James Lahey2002-04-232-25/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.14. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_copy_1, e_popup_menu_free_1, e_popup_menu_copy, e_popup_menu_free): Added these functions From gal/e-table/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h: Renamed the insert functions in this class to make a bit more sense. From gal/menus/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * gal-view-instance.c, gal-view-instance.h (gal_view_instance_get_popup_menu, gal_view_instance_free_popup_menu): Added these functions. Used to add a current view menu to your popup menus. From gal/shortcut-bar/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-icon-bar.c (e_icon_bar_drag_motion): Removed an unused variable. svn path=/trunk/; revision=16559
* handle toggle and radio items (make_item): the item is now passed in fromJP Rosevear2002-04-181-17/+26
| | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * gal/widgets/e-popup-menu.c (e_popup_menu_create): handle toggle and radio items (make_item): the item is now passed in from above and not returned svn path=/trunk/; revision=16508
* Bumped version number to 0.19.99.11.Christopher James Lahey2002-04-182-6/+51
| | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.11. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h: Changed this to be API compatible with gal 0.19. Added a bunch of pound defines and added API for toggle and radio menu items. * gal/widgets/e-categories.c: Updated this to match the new EPopupMenu. From gal/e-table/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16496
* If there is a grabbed_item, send all events to it.Christopher James Lahey2002-04-181-22/+20
| | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (emit_event): If there is a grabbed_item, send all events to it. svn path=/trunk/; revision=16492
* Oops. The previous change made the search bar widgets get packed in theDan Winship2002-04-102-3/+11
| | | | | | | | | | * e-search-bar.c (e_search_bar_construct, add_button): Oops. The previous change made the search bar widgets get packed in the wrong order. So use gtk_box_pack_end instead in add_button and add the two buttons in reverse order. It's all good now. Noticed by Ettore, who I then promptly blamed for it. Sorry Ettore! svn path=/trunk/; revision=16411
* Construct the buttons earlier so that the option-menu-setup code thatDan Winship2002-04-072-5/+11
| | | | | | | | * e-search-bar.c (e_search_bar_construct): Construct the buttons earlier so that the option-menu-setup code that tries to adjust the button sensitivity won't fail and g_warn. svn path=/trunk/; revision=16375
* show a specific page numberJP Rosevear2002-04-073-0/+23
| | | | | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * e-multi-config-dialog.c (e_multi_config_dialog_show_page): show a specific page number * e-multi-config-dialog.h: new proto svn path=/trunk/; revision=16374
* Change the ETable specs so it doesn't sort.Ettore Perazzoli2002-03-302-1/+5
| | | | | | | * e-multi-config-dialog.c: Change the ETable specs so it doesn't sort. svn path=/trunk/; revision=16289
* Added widgets/e-option-menu.lo.Christopher James Lahey2002-03-263-28/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-25 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added widgets/e-option-menu.lo. * gal/util/e-util.c, gal/util/e-util.h (e_strdupv): Copied this function from glib2. (GET_STRING_ARRAY_FROM_ELLIPSIS, GET_DUPLICATED_STRING_ARRAY_FROM_ELLIPSIS): Added these macros to automate getting a NULL terminated array off of the stack. * gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added e-option-menu.c. (libwidgetsinclude_HEADERS): Added e-option-menu.h. * gal/widgets/e-canvas.c (e_canvas_class_init): Reformatted this function. * gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h (e_glade_xml_connect_widget, e_glade_xml_set_sensitive): Two new functions to automate pulling a widget from a GladeXML and either connecting a signal or setting the sensitivity. * gal/widgets/e-option-menu.c, gal/widgets/e-option-menu.h: New class to simplify the interface to GtkOptionMenu. svn path=/trunk/; revision=16246
* Add accelerators for "Find Now" and "Clear".Ettore Perazzoli2002-03-214-10/+18
| | | | | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Add accelerators for "Find Now" and "Clear". * e-filter-bar.h: Change search labels as suggested in Anna's redesign [#16246]. * folder-browser.c: Reorder folder_browser_search_menu_items according to #16246. svn path=/trunk/; revision=16219
* Remove all the SearchBar items before setting them up again.Ettore Perazzoli2002-03-212-25/+80
| | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Remove all the SearchBar items before setting them up again. (free_menu_items): New. (impl_destroy): Call it. (set_menu): Call it here too before adding the new items. svn path=/trunk/; revision=16218
* No accelerator for "FindNow". (add_button): Add a one-pixel padding to theEttore Perazzoli2002-03-192-2/+8
| | | | | | | | * e-search-bar.c (update_bonobo_menus): No accelerator for "FindNow". (add_button): Add a one-pixel padding to the button. svn path=/trunk/; revision=16201
* Rename the "Search Now" menu entry to "Find Now". Rename the correspondingEttore Perazzoli2002-03-192-4/+12
| | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Rename the "Search Now" menu entry to "Find Now". Rename the corresponding verb to "ESearchBar:FindNow". (update_sensitivity): Updated accordingly. (setup_standard_verbs): Likewise. svn path=/trunk/; revision=16200
* New halper function to update the sensitivity of the commands.Ettore Perazzoli2002-03-192-0/+46
| | | | | | | | | | | * e-search-bar.c (update_sensitivity): New halper function to update the sensitivity of the commands. (entry_changed_cb): New callback to make the activate_button and the "Find Now" verb sensitive only if the entry has some contents. (activate_by_subitems): Connect the callback here. (setup_standard_verbs): Call update_sensitivity() here. svn path=/trunk/; revision=16199
* Init clear_button to NULL. (add_button): New helper function to add aEttore Perazzoli2002-03-193-15/+54
| | | | | | | | | | | | | | | | * e-search-bar.c (init): Init clear_button to NULL. (add_button): New helper function to add a button to the search bar with the right spacing etc. (clear_search): New helper function. (add_activate_button): Removed. (clear_button_clicked_cb): New. (e_search_bar_construct): Just add the button here using `add_button'. Also add a clear_button. (clear_verb_cb): Rewritten by means of `clear_search()'. * e-search-bar.h (ESearchBar): Add clear_button. svn path=/trunk/; revision=16198
* New, implementation for a new "SearchNow" verb. (setup_standard_verbs):Ettore Perazzoli2002-03-192-0/+21
| | | | | | | | | * e-search-bar.c (search_now_verb_cb): New, implementation for a new "SearchNow" verb. (setup_standard_verbs): Create verb here. (update_bonobo_menus): Add SearchNow menu item. svn path=/trunk/; revision=16197
* [Search bar re-design implementation, Take 2.]Ettore Perazzoli2002-03-194-30/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (clear_verb_cb): New. (setup_standard_verbs): New. (e_search_bar_set_ui_component): Call it if a new BonoboUIComponent is set. (append_xml_menu_item): New helper function. (update_bonobo_menus): Use it. Also add a "Clear" menu item. (e_search_bar_construct): @menu_items can be NULL now. (e_search_bar_new): Same here. (set_menu): Work with NULL items. * e-filter-bar.c (menubar_activated): Don't handle E_FILTERBAR_RESET_ID anymore. * e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'. * folder-browser.c: Remove E_FILTERBAR_RESET menu entry. * gui/cal-search-bar.c: Removed `search_menu_items'. (cal_search_bar_menu_activated): Removed. (cal_search_bar_class_init): Don't install. (cal_search_bar_construct): No menu items here. * gui/component/addressbook.c (addressbook_menu_activated): Removed. (addressbook_factory_new_control): Don't connect anymore, as this signal has been removed from the ESearchBar. (addressbook_factory_new_control): No more custom menu items here. svn path=/trunk/; revision=16194
* Allow for per-item closures and also instead of taking a const charJeffrey Stedfast2002-03-162-37/+40
| | | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gal/gal/widgets/e-popup-menu.c: Allow for per-item closures and also instead of taking a const char *pixname, take a GtkWidget *pixmap instead. * gal/widgets/e-categories.c: Update to sync up with changes made to the EPopupMenu Api. svn path=/trunk/; revision=16182
* Check for a style_set signal on all the contained GnomeCanvasItems.Christopher James Lahey2002-03-161-0/+30
| | | | | | | | | | | | | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (e_canvas_style_set): Check for a style_set signal on all the contained GnomeCanvasItems. From gal/e-table/ChangeLog: 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c: Clear the pixmap cache in e_cell_style_set. * e-cell.c, e-cell.h (e_cell_style_set): Added this virtual method. * e-table-item.c, e-table-item.h: Call e_cell_style_set in out style_set signal. svn path=/trunk/; revision=16180
* [Start implementing the new Search Bar design.]Ettore Perazzoli2002-03-165-107/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (init): Init various members to NULL. (set_dropdown): Removed. (add_dropdown): Removed. (set_menu): New. (add_menu_items): New. (set_option): No need to setup the dropdown size here anymore. (verb_cb): Function implementing the search menu verbs. (update_bonobo_menus): New. (e_search_bar_set_ui_component): New. * e-search-bar.h: Remove the dropdown button stuff from struct ESearchBar. Add `uic' and `items' members. * e-filter-bar.c (e_filter_bar_new): Get a @uic arg. * folder-browser-factory.c (control_activate): Set the UI component on the search bar. * gui/tasks-control.c (tasks_control_activate): Call `e_tasks_set_ui_component()' here to give it the BonoboUIComponent. (tasks_control_deactivate): Likewise, call it here to unset the BonoboUIComponent. * gui/e-tasks.c (e_tasks_set_ui_component): New. * gui/calendar-commands.c (calendar_control_activate): Call gnome_calendar_set_ui_component() here. (calendar_control_deactivate): ...And here, with a NULL BonoboUIComponent. * gui/gnome-cal.c (gnome_calendar_set_ui_component): New. * gui/component/addressbook.c (control_activate): Call `e_search_bar_set_ui_component()' to set the BonoboUIComponent for the search bar. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon for the LDAP sources configuration control. svn path=/trunk/; revision=16178
* Set horizontal scroll policy to GTK_POLICY_NEVER here. Don't set usizeChristopher James Lahey2002-03-162-9/+13
| | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (init): Set horizontal scroll policy to GTK_POLICY_NEVER here. Don't set usize here. Changed RGBA_COLOR to RGB_COLOR. Turned on horizontal resize. svn path=/trunk/; revision=16176
* If the charset item doesn't have a class (aka "Unknown"), don't write aJeffrey Stedfast2002-03-142-3/+12
| | | | | | | | | | | 2002-03-13 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (add_charset): If the charset item doesn't have a class (aka "Unknown"), don't write a class name, instead just give the charset name as the menu item label. Fixes bug #14753. svn path=/trunk/; revision=16154
* Added alpha blending here.Christopher James Lahey2002-03-142-2/+73
| | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c: Added alpha blending here. svn path=/trunk/; revision=16151
* Clean up comment.Ettore Perazzoli2002-03-141-3/+1
| | | | svn path=/trunk/; revision=16142
* Removed Page struct. (e_multi_config_dialog_add_page): Select the initialChristopher James Lahey2002-03-132-56/+15
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c: Removed Page struct. (e_multi_config_dialog_add_page): Select the initial row after appending to the model. svn path=/trunk/; revision=16131
* Use Use e_table_memory_store instead of e_table_memory_callbacks. UseChristopher James Lahey2002-03-132-99/+44
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (init): Use Use e_table_memory_store instead of e_table_memory_callbacks. Use e_cell_vbox to include a pixbuf cell and a text cell. svn path=/trunk/; revision=16130
* Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close):Ettore Perazzoli2002-03-122-10/+18
| | | | | | | | | | * e-multi-config-dialog.c (init): Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close): Renamed from `cancel'. (do_apply): Renamed from `apply'. (do_ok): Renamed from `ok'. svn path=/trunk/; revision=16106
* Rename Page.widget -> Page.page_widget; it is now an EConfigPage insteadEttore Perazzoli2002-03-107-17/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-multi-config-dialog.c: Rename Page.widget -> Page.page_widget; it is now an EConfigPage instead of just a GtkWidget. Add `num_unapplied' to EMultiConfigDialogPrivate. Derive from GnomeDialog, not GtkWindow. (update_buttons): New function to update the sensitiveness of the buttons according to whether all the settings have been applied or not. (page_new): Likewise. (create_page_container): Renamed from `create_page_widget'. (init): Add Apply/OK/Cancel buttons to the dialog. Init ->num_unapplied to zero. (page_changed_callback): New, callback for the page's "changed" signal. (e_multi_config_dialog_add_page): Connect the callback, update ->num_unapplied, update the buttons by calling `update_buttons'. (ok): New function for handling the OK button. (apply): New function for handling the Apply button. (cancel): New function for handling the Cancel button. (impl_clicked): Implementation for the GnomeDialog's ::clicked signal. (class_init): Install. * test-multi-config-dialog.c (add_pages): Update to use EConfigPages instead of plain GtkWidgets. * e-multi-config-dialog.c, e-multi-config-dialog.h: Derive from GnomeDialog, not GtkWindow. * e-config-page.c: New. * e-config-page.h: New. svn path=/trunk/; revision=16006
* Bumped version number to 0.19.99.7Chris Toshok2002-03-101-2/+2
| | | | | | | | | | | | | 2002-03-09 Chris Toshok <toshok@ximian.com> * configure.in: Bumped version number to 0.19.99.7 * gal/widgets/e-unicode.c (e_utf8_strstrcasedecomp): we want to return o from here on success, not p, since p is incremented one unicode character past the point where the substring begins. (e_utf8_strstrcase): same. svn path=/trunk/; revision=16000
* Add test-multi-config-dialog.Ettore Perazzoli2002-03-081-1/+2
| | | | svn path=/trunk/; revision=15976
* Don't display a header in the table on the left.Ettore Perazzoli2002-03-082-2/+8
| | | | | | | * e-multi-config-dialog.c: Don't display a header in the table on the left. svn path=/trunk/; revision=15975
* New. New.Ettore Perazzoli2002-03-065-4/+563
| | | | | | | | | | * test-multi-config-dialog.c: New. * test-multi-config-dialog.h: New. * e-multi-config-dialog.c: New. * e-multi-config-dialog.h: New. svn path=/trunk/; revision=15932
* make a right click bring up the popup menu.Larry Ewing2002-02-281-2/+4
| | | | | | | | | 2002-02-27 Larry Ewing <lewing@ximian.com> * misc/e-combo-button.c (impl_button_press_event): make a right click bring up the popup menu. svn path=/trunk/; revision=15858
* preserve behavior - hook search_activated signal to the same function asChris Toshok2002-02-254-23/+63
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * e-filter-bar.c (init): preserve behavior - hook search_activated signal to the same function as query_changed. * e-search-bar.c (emit_search_activated): new function. (entry_activated_cb): use emit_search_activated instead of emit_query_changed. (subitem_activated_cb): same. (activate_button_clicked_cb): same. (class_init): add the search_activated signal. (idle_activate_hack): rename idle_change_hack to this, and emit_search_activated. (e_search_bar_construct): idle_change_hack -> idle_activate_hack. (e_search_bar_set_subitem_id): emit_search_activated instead of emit_query_changed. (e_search_bar_set_text): same. * e-search-bar.h (struct _ESearchBarClass): add a search_activated signal. svn path=/trunk/; revision=15827
* gtk_widget_show() the icon_pixmap if the specified icon is not NULL.Ettore Perazzoli2002-02-222-1/+23
| | | | | | | * e-combo-button.c (set_icon): gtk_widget_show() the icon_pixmap if the specified icon is not NULL. svn path=/trunk/; revision=15788
* New signal for when the width of the column changes.Christopher James Lahey2002-02-132-0/+22
| | | | | | | | | | | | | | | | | | | | | 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h (column_width_changed): New signal for when the width of the column changes. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_NONE__DOUBLE): New marshaller. From gal/menus/ChangeLog: 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gal-view-etable.c (detach_table): Set view->table_state_changed_id to 0. (detach_tree): Set view->tree_state_changed_id to 0. svn path=/trunk/; revision=15705
* remove briefly used filesJP Rosevear2002-02-093-238/+4
| | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * e-url-button.[hc]: remove briefly used files svn path=/trunk/; revision=15623
* oopsJP Rosevear2002-02-092-0/+234
| | | | svn path=/trunk/; revision=15621
* button/entry combo that launchs the gnome url handler on the entry textJP Rosevear2002-02-092-2/+9
| | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * e-url-entry.[hc]: button/entry combo that launchs the gnome url handler on the entry text when the button is clicked * Makefile.am: build new files svn path=/trunk/; revision=15620
* build new filesJP Rosevear2002-02-094-1/+248
| | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * Makefile.am: build new files * e-url-button.[hc]: button widget that when clicked slurps the url of an entry and launchs the gnome url handler on the text svn path=/trunk/; revision=15609
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-282-15/+18
| | | | svn path=/trunk/; revision=15486
* [Implement an Outlook-style "New" dropdown button. It is basicallyEttore Perazzoli2002-01-243-110/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | done but it needs pretty icons so I am leaving it disabled for now.] * e-combo-button.c: Remove member `separator' from `EComboButtonPrivate'. New members `icon', `label'. (init): There shall be no separator no more. Init `icon' and `label' to %NULL. (e_combo_button_construct): Set no relief. (e_combo_button_new): Don't get a @menu arg anymore. (e_combo_button_construct): Likewise. (e_combo_button_set_icon): New. (e_combo_button_set_label): New. (e_combo_button_set_menu): New. (impl_clicked): New, overriding the "clicked" method for GtkButton. (class_init): Install. (impl_button_release_event): Removed. (class_init): No need to override ::release_event with this anymore. (impl_released): New, override for the GtkButton::released method. (class_init): Install. * e-shell-user-creatable-items-handler.c: New member `id' in struct `Component'. New member `icon' in struct `MenuItem'. (component_free): Free ->id. (component_new): Renamed from `component_new_from_client'. Get an @id arg and set ->id accordingly. (e_shell_user_creatable_items_handler_add_component): New arg @id. Pass it to `component_new'. (e_shell_user_creatable_items_handler_setup_menus): New arg @current_component_id. (e_shell_user_creatable_items_handler_update_menus): New. (set_current_component): New helper function. (get_component_by_id): New helper function. (add_verbs): Renamed from `add_verbs_to_ui_component()'. Get a @shell_view instead of a @ui_component. Set the SHELL_VIEW_KEY on the ui_component of the shell_view to point to the shell_view itself. (ensure_menu_items): Set item->icon to NULL. (free_menu_items): Unref item->icon. (ensure_menu_xml): Set the icon as well. (get_default_action_for_view): New helper function. (find_menu_item_for_verb): New helper function. (shell_view_view_changed_callback): New callback, set up the label on the "New" button depending on the current component. (e_shell_user_creatable_items_handler_attach_menus): New. For now, do not display the toolbar button yet. (execute_verb): New helper function, splitting out code from `verb_fn'. (verb_fn): Use `execute_verb'. (combo_button_activate_default_callback): Callback for the "activate_default" signal on the EComboButton. (setup_toolbar_button): Connect. * evolution-shell-component.c: New member `icon' in `UserCreatableItemType'. (impl__get_userCreatableItemTypes): Put the ->icon in the corba_type as well. (user_creatable_item_type_new): Get a new @icon argument. (evolution_shell_component_add_user_creatable_item): New arg @icon. * Evolution-ShellComponent.idl: New member `icon' in struct `UserCreatableItemType'. * evolution-test-component.c (register_component): Pass a NULL @icon to `evolution_shell_component_add_user_creatable_item()'. * e-shell-view.c (class_init): Add the signal to the class. (e_shell_view_display_uri): Emit "view_changed". (e_shell_view_get_current_component_id): New. * evolution-shell-component-client.c: New member `id' in EvolutionShellComponentClientPrivate. (init): Init to NULL. (impl_destroy): Free. (evolution_shell_component_client_new_for_objref): Removed. (evolution_shell_component_client_construct): New arg @id. Initialize ->id from it. (evolution_shell_component_client_get_id): New. * e-shell-view.h: New signal "view_changed". * evolution-activity-client.c (create_icon_from_pixbuf): Removed. (create_corba_animated_icon_from_pixbuf_array): Removed. (evolution_activity_client_construct): Use `e_new_corba_animated_icon_from_pixbuf_array()' instead. svn path=/trunk/; revision=15438
* Added #include <libgnome/gnome-defs.h>.Christopher James Lahey2002-01-173-0/+3
| | | | | | | | | | | | | 2002-01-16 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-entry.h, gal/e-text/e-table-text-model.h, gal/e-text/e-text-model-uri.h, gal/e-text/e-text.h, gal/util/e-i18n.h, gal/widgets/e-canvas-utils.h, gal/widgets/e-gui-utils.h, gal/widgets/e-printable.h, gal/widgets/gtk-combo-stack.h: Added #include <libgnome/gnome-defs.h>. svn path=/trunk/; revision=15340
* translate timezone names, and provide a function to get back to theDamon Chaplin2002-01-121-0/+8
| | | | | | | | | 2002-01-11 Damon Chaplin <damon@ximian.com> * e-timezone-dialog/e-timezone-dialog.[hc]: translate timezone names, and provide a function to get back to the English version. svn path=/trunk/; revision=15303
* changed the location of the Hebrew charset in the menuJeffrey Stedfast2002-01-051-3/+3
| | | | svn path=/trunk/; revision=15247
* Added iso-8859-8 (Hebrew; Visual) to the list of charsets in the menu.Jeffrey Stedfast2002-01-052-0/+8
| | | | | | | | | 2002-01-04 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c: Added iso-8859-8 (Hebrew; Visual) to the list of charsets in the menu. Fixes bug #15655. svn path=/trunk/; revision=15246
* New. New.Ettore Perazzoli2001-12-204-0/+432
| | | | | | | * e-combo-button.c: New. * e-combo-button.h: New. svn path=/trunk/; revision=15191
* Merging changes:Christopher James Lahey2001-12-182-2/+7
| | | | | | | | | | | | | | | | | 2001-12-17 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model-simple.c (e_selection_model_simple_set_row_count): Set esma->selected_row and esma->selected_range_end to -1 here. * gal/widgets/e-selection-model-array.c (e_selection_model_array_confirm_row_count): Set selected_row and selected_range_end to -1 here. (esma_select_single_row): Check that selected_row is within the range of possible rows. This should never happen, but this check will help if it does. svn path=/trunk/; revision=15142
* Merging changes:Christopher James Lahey2001-12-182-0/+546
| | | | | | | | | | | | | | | 2001-11-08 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am: Added e-canvas-background.lo. * gal/widgets/Makefile.am: Added e-canvas-background.c and e-canvas-background.h. * gal/widgets/e-canvas-background.c, gal/widgets/e-canvas-background.h: New class, provides infinite background color or arbitrary rectangle of background color. svn path=/trunk/; revision=15126
* Merging changes:Christopher James Lahey2001-12-171-0/+6
| | | | | | | | | | | | | | | | | 2001-12-11 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (e_canvas_unrealize): Turn off idle handling in the unrealize function instead of the destroy function. From gal/e-table/ChangeLog: 2001-12-11 Christopher James Lahey <clahey@ximian.com> * e-table-item.c: Turn off idle handling in the unrealize function instead of the destroy function. svn path=/trunk/; revision=15102
* merge from headNot Zed2001-12-142-0/+7
| | | | | | | | | | 2001-11-21 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): Mark the dialogue as already up so we dont allow multiple dialogues up. Behaviour fix part of #15745. svn path=/trunk/; revision=15030
* Merging changes:Christopher James Lahey2001-12-056-112/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-04 Christopher James Lahey <clahey@ximian.com> * configure.in (GAL_CURRENT): Bumped version number to 0.18.99.0 and CURRENT to 19. 2001-11-21 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Handle selection_row_changed signal. * gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h: Properly send selection_row_changed signals if changing from a single row selected to a single other row selected or if moving the selection_end by a single row. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Added selection_row_changed signal. (e_selection_model_select_as_key_press): Fixed the case statement here to make MULTIPLE and EXTENDED the same as BROWSE instead of as SINGLE. From gal/e-table/ChangeLog: 2001-11-21 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Handle selection_row_changed signal. Keep track of the old cursor row so that we only redraw two rows when the cursor changes. * e-table.c, e-tree.c: Handle selection_row_changed signal. * e-tree-selection-model.c: Properly send selection_row_changed signals if changing from a single row selected to a single other row selected or if moving the selection_end by a single row. svn path=/trunk/; revision=14870
* Merging changes:Christopher James Lahey2001-12-011-0/+3
| | | | | | | | | | | | | | | | 2001-11-30 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.18.2 and GAL_REVISION to 2. 2001-11-14 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-gui-utils.c (e_container_change_tab_order_callback): Don't do anything if focus_child is NULL. This makes tab when cycling around tab order not skip to the beginning of this tab order group. svn path=/trunk/; revision=14836
* updated to new version from Ximian Setup Tools. Fixes bug #7641.Damon Chaplin2001-11-293-44/+76
| | | | | | | | | | | | | | | 2001-11-28 Damon Chaplin <damon@ximian.com> * e-map.c: updated to new version from Ximian Setup Tools. Fixes bug #7641. 2001-11-27 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE, return the last valid date entered, even if the field is currently empty. Fixes bug #15749. svn path=/trunk/; revision=14817
* Bumped version number to 0.18.1.Christopher James Lahey2001-11-151-1/+8
| | | | | | | | | | | | 2001-11-14 Christopher James Lahey <clahey@ximian.com> * configure.in (GAL_CURRENT): Bumped version number to 0.18.1. * gal/widgets/e-selection-model-array.c (e_selection_model_array_delete_rows): Make sure the cursor row is selected after deleting here. svn path=/trunk/; revision=14711
* 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