aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
Commit message (Collapse)AuthorAgeFilesLines
* fix e-source-option-menu includeJP Rosevear2004-10-152-1/+5
| | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * e-pilot-settings.c: fix e-source-option-menu include svn path=/trunk/; revision=27585
* don't build source selector or source option menu or test programs anyJP Rosevear2004-10-149-1825/+7
| | | | | | | | | 2004-10-13 JP Rosevear <jpr@novell.com> * Makefile.am: don't build source selector or source option menu or test programs any more svn path=/trunk/; revision=27570
* implement popup_menu so that popup menu can be shown with Shift+F10.Harry Lu2004-10-082-0/+24
| | | | | | | | | | 2004-10-08 Harry Lu <harry.lu@sun.com> * e-source-selector.c: (e_source_selector_popup_menu), (class_init): implement popup_menu so that popup menu can be shown with Shift+F10. svn path=/trunk/; revision=27506
* Fixes #66164JP Rosevear2004-10-062-2/+14
| | | | | | | | | | | 2004-10-06 JP Rosevear <jpr@novell.com> Fixes #66164 * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): replicate fix to e-cell-combo.c by NotZed svn path=/trunk/; revision=27475
* added boolean object boxed.Not Zed2004-10-064-21/+38
| | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * e-util-marshal.list: added boolean object boxed. * e-source-selector.c (class_init): add new 'popup event' signal, to replace fill_popup_menu. (selector_button_press_event): emit a POPUP_EVENT rather than a FILL_POPUP_MENU. svn path=/trunk/; revision=27465
* Point at "config-prefs" instead of "config" for the help sectionRodney Dawes2004-09-142-1/+6
| | | | | | | | | 2004-09-13 Rodney Dawes <dobey@novell.com> * e-multi-config-dialog.c (impl_response): Point at "config-prefs" instead of "config" for the help section svn path=/trunk/; revision=27254
* Really dist the pilot sources this timeJP Rosevear2004-08-132-0/+10
| | | | | | | | 2004-08-03 JP Rosevear <jpr@novell.com> * Makefile.am: Really dist the pilot sources this time svn path=/trunk/; revision=26902
* accessor (e_pilot_settings_set_source): ditto (build_ui): show the sourceJP Rosevear2004-08-034-0/+293
| | | | | | | | | | | | | 2004-08-01 JP Rosevear <jpr@novell.com> * e-pilot-settings.c (e_pilot_settings_get_source): accessor (e_pilot_settings_set_source): ditto (build_ui): show the source option menu (e_pilot_settings_new): use above * e-pilot-settings.h: add prototypes svn path=/trunk/; revision=26797
* use ctrl-shift-q to clear search barJP Rosevear2004-07-262-1/+6
| | | | | | | | | 2004-07-26 JP Rosevear <jpr@novell.com> * e-search-bar.c (setup_bonobo_menus): use ctrl-shift-q to clear search bar svn path=/trunk/; revision=26734
* include config.h. See #61395.Not Zed2004-07-222-0/+8
| | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * e-error.c: include config.h. See #61395. svn path=/trunk/; revision=26696
* remove protoJP Rosevear2004-07-213-41/+24
| | | | | | | | | | | | | | | 2004-07-20 JP Rosevear <jpr@novell.com> * e-source-selector.h: remove proto * e-source-selector.c (selection_func): don't force the item to be checked (cell_toggled_callback): allow the cell to be untoggled even if its primary (init): set the pixbuf renderable (e_source_selector_set_toggle_selection): no longer necessary svn path=/trunk/; revision=26682
* remove debug spew and fix the display when pango_layout_line_x_to_indexChris Toshok2004-07-162-10/+11
| | | | | | | | | | | 2004-07-16 Chris Toshok <toshok@ximian.com> * e-clipped-label.c (e_clipped_label_recalc_chars_displayed): remove debug spew and fix the display when pango_layout_line_x_to_index returns FALSE (before we were drawing both the ellipses and the text). svn path=/trunk/; revision=26660
* s/GB-2312/GB2312/ - fixes bug #61385.Jeffrey Stedfast2004-07-132-1/+5
| | | | | | | | 2004-07-12 Jeffrey Stedfast <fejj@novell.com> * e-charset-picker.c: s/GB-2312/GB2312/ - fixes bug #61385. svn path=/trunk/; revision=26641
* fixed the ChangeLogJeffrey Stedfast2004-07-011-1/+1
| | | | svn path=/trunk/; revision=26556
* Fix alignment of the icon to be 0x0Rodney Dawes2004-06-252-0/+7
| | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * e-error.c (e_error_newv): Fix alignment of the icon to be 0x0 Fixes #60493 svn path=/trunk/; revision=26503
* Add a call to e_source_selector_set_select_new here so that we can selectRodney Dawes2004-06-253-1/+34
| | | | | | | | | | | | | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c (create_component_view): * gui/tasks-component.c (create_component_view): Add a call to e_source_selector_set_select_new here so that we can select new sources when we create them 2004-06-24 Rodney Dawes <dobey@novell.com> * e-source-selector.[ch]: Add new "select_new" property to private structure of the ESourceSelector (rebuild_cb): Add code to select the new source, and cause the selection_changed signal to get emitted, if we select new sources (init): Don't select new sources by default (e_source_selector_set_select_new): Add function to set whether or not we want to select new sources when we add them svn path=/trunk/; revision=26498
* Add preconditions. Make sure garbage or NULL data doesn't get used.Hans Petter Jansson2004-06-231-5/+17
| | | | | | | | | 2004-06-22 Hans Petter Jansson <hpj@ximian.com> * misc/e-source-selector.c (e_source_selector_peek_primary_selection): Add preconditions. Make sure garbage or NULL data doesn't get used. svn path=/trunk/; revision=26454
* fix a path leak and maek the code more structured.Not Zed2004-06-163-7/+33
| | | | | | | | | | | | 2004-06-16 Not Zed <NotZed@Ximian.com> * e-source-selector.c (cell_toggled_callback): fix a path leak and maek the code more structured. (e_source_selector_set_toggle_selection): set the mode on whether you can toggle the currnet selection or not. (cell_toggled_callback): implement set_toggle_selection behaviour. svn path=/trunk/; revision=26361
* (pixbuf_cell_data_func): fix the appearance a little.Larry Ewing2004-06-121-2/+3
| | | | svn path=/trunk/; revision=26316
* (pixbuf_cell_data_func): clean up warnings. (double bad larry).Larry Ewing2004-06-121-4/+1
| | | | svn path=/trunk/; revision=26315
* (pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).Larry Ewing2004-06-121-1/+1
| | | | svn path=/trunk/; revision=26314
* make the source selector use a colock block instead of setting theLarry Ewing2004-06-121-14/+44
| | | | | | | | | | 2004-06-11 Larry Ewing <lewing@ximian.com> * misc/e-source-selector.c: make the source selector use a colock block instead of setting the foreground to indicate the source color. svn path=/trunk/; revision=26313
* added castRadek Doulik2004-06-111-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c (idle_do_action): added cast * gal/a11y/e-table/gal-a11y-e-cell-tree.c (gal_a11y_e_cell_tree_new): added cast * gal/a11y/e-table/gal-a11y-e-cell.c: added #include <gtk/gtkwindow.h> * gal/e-text/e-text.c (_get_position): removed unused variable * gal/e-text/e-completion.c: #if 0'ed e_completion_sort * tests/test-text.c (create_entry): removed unused variables added #include "gal/widgets/e-canvas-utils.h" added #include "gal/e-text/e-text-model.h" (create_text): removed unused variables (create_ro_text): ditto * tests/test-table-1.c (create_table): added cast * tests/test-completion.c (main): added cast * gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): return NULL if check fails added #include <string.h> for strlen (et_get_text_after_offset): fixed typo defalut --> default (et_get_text_at_offset): ditto (et_get_character_extents): removed unused variables (et_set_selection): ditto (_et_command_cb): added default: label to quiet compiler * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c (gal_a11y_e_table_click_to_add_factory_create_accessible): return NULL if check fails * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c (idle_do_action): fixed wrong cast (idle_do_action): removed unused variables (etcta_ref_child): return NULL if check fails (gal_a11y_e_table_click_to_add_new): ditto (gal_a11y_e_table_click_to_add_new): removed unused variable * gal/a11y/e-table/gal-a11y-e-table-item-factory.c (gal_a11y_e_table_item_factory_create_accessible): return NULL if fails (gal_a11y_e_table_item_factory_create_accessible): added cast (gal_a11y_e_table_item_factory_create_accessible): removed unused variable * gal/a11y/e-table/gal-a11y-e-table-item.c (eti_dispose): removed unused variable (eti_get_parent): ditto (eti_get_n_children): ditto (eti_ref_child): ditto (eti_get_index_in_parent): ditto (eti_ref_accessible_at_point): return value (NULL) (cell_destroyed): removed unused variable (cell_destroyed): ditto (table_add_row_selection): ditto added #inclued <string.h> for memset, memmove (eti_rows_inserted): removed unused variable (eti_rows_deleted): ditto (eti_header_structure_changed): ditto * gal/a11y/e-table/gal-a11y-e-cell-popup.c (gal_a11y_e_cell_popup_class_init): removed unused variable added #include "gal-a11y-e-cell-registry.h" (popup_cell_action): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-toggle.c (toggle_cell_action): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-tree.c: added #include "gal-a11y-e-cell-registry.h" (gal_a11y_e_cell_tree_new): add cast (gal_a11y_e_cell_tree_new): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-text.c: added #include <string.h> (ect_remove_selection): removed unused variable (ect_copy_text): added cast (ect_delete_text): ditto (ect_paste_text): ditto (ect_init): ditto * gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): added cast (eti_grab_focus): ditto (eti_grab_focus): return TRUE (grab was successful) added #include <atk/atkstateset.h> * gal/a11y/e-table/gal-a11y-e-tree.c: added #include "gal-a11y-e-table-item.h" (gal_a11y_e_tree_new): removed unused variable * gal/e-text/e-text.c (_do_tooltip): removed unused variable (e_text_event): added cast (primary_clear_cb): removed unused variable (_get_position): ditto (_get_position): ditto #if 0'ed unused prototypes * gal/e-text/e-text-model.c (e_text_model_real_insert_length): removed unused variables * gal/e-text/e-completion.c (e_completion_sort): #if'0 ed, as it's not used anywhere * gal/widgets/e-reflow.c (items_inserted): remove unused variables * gal/widgets/e-categories.c (e_categories_get_property): remove unused variable * gal/widgets/e-categories-master-list-dialog.c (dialog_destroyed): added cast * gal/widgets/e-categories-master-list-combo.c (ecmlc_ecml_changed): remove unused variable * gal/widgets/color-palette.c: include string.h for memset prototype svn path=/trunk/; revision=26289
* Add HIG border width for dialog window.William Jon McCann2004-06-042-0/+6
| | | | | | | | 2004-06-03 William Jon McCann <mccann@jhu.edu> * e-error.c (e_error_newv): Add HIG border width for dialog window. svn path=/trunk/; revision=26205
* Link test-error against libeutil.Christian Neumair2004-06-022-2/+7
| | | | | | | | 2004-06-01 Christian Neumair <chris@gnome-de.org> * Makefile.am (test_error_LDADD): Link test-error against libeutil. svn path=/trunk/; revision=26147
* Don't propagate the expose to the label widget, the parent expose handlerAnders Carlsson2004-06-022-5/+5
| | | | | | | | | 2004-06-01 Anders Carlsson <andersca@gnome.org> * e-expander.c (e_expander_expose): Don't propagate the expose to the label widget, the parent expose handler does that. svn path=/trunk/; revision=26144
* Use the constructed title string.Anders Carlsson2004-05-312-1/+5
| | | | | | | | 2004-05-28 Anders Carlsson <andersca@gnome.org> * e-error.c (e_error_newv): Use the constructed title string. svn path=/trunk/; revision=26132
* Require e-error-toolRodney Dawes2004-05-282-0/+5
| | | | | | | | | | | | 2004-05-27 Rodney Dawes <dobey@novell.com> * e-util/Makefile.am (dist-hook): Require e-error-tool 2004-05-27 Rodney Dawes <dobey@novell.com> * */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist" svn path=/trunk/; revision=26114
* ugh, too drunk to remember to commit this last nightNot Zed2004-05-222-1/+3
| | | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_default_parent): uh, fix the sense of the if-we-dont-have-it test. svn path=/trunk/; revision=26039
* set a default error parent fallback. (e_error_newv): if parent is null,Not Zed2004-05-213-0/+39
| | | | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_default_parent): set a default error parent fallback. (e_error_newv): if parent is null, see if we have a default still alive, and use that. warn if not. svn path=/trunk/; revision=26031
* only unref the mask if there is oneJP Rosevear2004-05-212-1/+7
| | | | | | | | | 2004-05-20 JP Rosevear <jpr@novell.com> * e-task-widget.c (e_task_widget_construct): only unref the mask if there is one svn path=/trunk/; revision=26016
* don't dist the error .h fileJP Rosevear2004-05-202-1/+4
| | | | | | | | 2004-05-19 JP Rosevear <jpr@novell.com> * Makefile.am: don't dist the error .h file svn path=/trunk/; revision=25979
* load the <help> tag if present. (ee_response): handle the help responseNot Zed2004-05-182-13/+45
| | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * e-error.c (ee_load): load the <help> tag if present. (ee_response): handle the help response and swallow the signal. (e_error_newv): setup help button if we have a help uri. svn path=/trunk/; revision=25945
* Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon()Jeffrey Stedfast2004-05-183-2/+11
| | | | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * e-url-entry.c (init): Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon() call. * e-combo-button.c (create_empty_image_widget): Don't hard-code the size of the icon in pixels, instead use the appropriate E_ICON_SIZE_ enum. svn path=/trunk/; revision=25930
* Add bug numberJP Rosevear2004-05-171-0/+2
| | | | svn path=/trunk/; revision=25922
* bitmap_unref the mask, don't object_unref itJP Rosevear2004-05-172-1/+6
| | | | | | | | | 2004-05-17 JP Rosevear <jpr@novell.com> * e-task-widget.c (e_task_widget_construct): bitmap_unref the mask, don't object_unref it svn path=/trunk/; revision=25921
* added fixme for stock+label case, which doesn't work.Michael Zucci2004-05-121-0/+2
| | | | svn path=/trunk/; revision=25875
* duh, use the right node pointer for title and secondary text.Not Zed2004-05-122-3/+6
| | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * e-error.c (ee_load): duh, use the right node pointer for title and secondary text. svn path=/trunk/; revision=25873
* make the Because cases the same.Not Zed2004-05-126-84/+76
| | | | | | | | | | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * e-system-errors.xml: make the Because cases the same. * e-system-errors.xml.h: add for translators. * e-error.c (ee_load): just use _() to do i18n rather than the nasty lang stuff. (find_node): no longer needed. * Makefile.am (%.xml.h): setup the build rules for the i18n file for the errors. * e-system-errors.xml.in: Removed, renamed to .xml and removed the _ stuff. svn path=/trunk/; revision=25871
* Build fixes.Xan Lopez2004-05-052-4/+13
| | | | | | Build fixes. svn path=/trunk/; revision=25790
* updateDan Winship2004-05-031-3/+4
| | | | svn path=/trunk/; revision=25751
* blah, need to do entity decoding. #57918.Not Zed2004-05-032-1/+28
| | | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * e-error.c (ee_build_label): blah, need to do entity decoding. #57918. svn path=/trunk/; revision=25741
* pass the correct data when weak unreffingJP Rosevear2004-04-302-1/+6
| | | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * e-activity-handler.c (impl_dispose): pass the correct data when weak unreffing svn path=/trunk/; revision=25691
* make the label selectable. (e_error_newv): if we have stock and label set,Not Zed2004-04-292-5/+19
| | | | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_newv): make the label selectable. (e_error_newv): if we have stock and label set, then use a stock button with an override label. svn path=/trunk/; revision=25677
* Update the categories dialog to be more HIG compliantRodney Dawes2004-04-291-3/+10
| | | | | | | | | | 2004-04-28 Rodney Dawes <dobey@ximian.com> * gal/widgets/e-categories.c (e_categories_construct): * gal/widgets/gal-categories.glade: Update the categories dialog to be more HIG compliant svn path=/trunk/; revision=25674
* holder for system errors.Not Zed2004-04-286-12/+141
| | | | | | | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> * e-system-errors.xml.in: holder for system errors. * test-error.c: helper to show an error message/test it. * e-error.[ch]: Api for disk-based, hig-compliant error messages and query boxes. svn path=/trunk/; revision=25650
* Don't destroy item until after we know which column it is in; the sortHans Petter Jansson2004-04-281-8/+11
| | | | | | | | | | | 2004-04-27 Hans Petter Jansson <hpj@ximian.com> * gal/widgets/e-reflow.c (item_removed): Don't destroy item until after we know which column it is in; the sort comparison function might need it. Also set the newly vacant memory location at the end of the array to NULL. Fixes a crash in evo. svn path=/trunk/; revision=25646
* #include <e-util/e-icon-factory.h>Jeffrey Stedfast2004-04-201-0/+2
| | | | svn path=/trunk/; revision=25533
* Updated to sue E_ICON_SIZE enums.Jeffrey Stedfast2004-04-202-2/+6
| | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-info-label.c (e_info_label_new): Updated to sue E_ICON_SIZE enums. svn path=/trunk/; revision=25532
* Update to use EIconFactory to get the filename for the component iconsRodney Dawes2004-04-194-49/+40
| | | | | | | | | | | | | | | 2004-04-19 Rodney Dawes <dobey@ximian.com> * e-info-label.c (e_info_label_new): Update to use EIconFactory to get the filename for the component icons using the icon theme 2004-04-19 Michael Terry <mike@mterry.name> * e-combo-buddon.c: * e-url-entry.c: Update these to use EIconFactory and GtkImages directly instead of GdkPixmaps svn path=/trunk/; revision=25513
* Work in progress, HIG'ing and de-coupling of errors.Michael Zucci2004-04-162-0/+590
| | | | svn path=/trunk/; revision=25493
* Set the border widths on the dialog's vbox and action area to beRodney Dawes2004-04-153-12/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Rodney Dawes <dobey@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Set the border widths on the dialog's vbox and action area to be HIG-complaint Get rid of the timezone preview widget in here Point the internal 'table' to the right widget (on_map_motion): Get rid of the extra-hacky code to set the preview widget's label to the timezone, now that that widget is gone (on_map_leave): Update the comment to not reference the preview widget that is now gone Get rid of the code to set the preview widget's label to empty string * e-timezone-dialog/e-timezone-dialog.glade: Update for HIG-compliance 2004-04-09 Rodney Dawes <dobey@ximian.com> * e-charset-picker.c: Include gtkhbox.h in here to avoid the warnings (activate_other): (e_charset_picker_dialog): Make these dialogs be more HIG-compliant * e-filter-bar.c (do_advanced): (menubar_activated): Make these dialogs be more HIG-compliant svn path=/trunk/; revision=25468
* ugh, fix some last minute changes which broke shit.Not Zed2004-04-082-18/+19
| | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * e-info-label.c (e_info_label_set_info): ugh, fix some last minute changes which broke shit. svn path=/trunk/; revision=25370
* A widget to show component info for the current component/view.Not Zed2004-04-084-0/+235
| | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * e-info-label.[ch]: A widget to show component info for the current component/view. svn path=/trunk/; revision=25368
* Updated for changes to e-config-page.c (init): Removed the OK and ApplyJeffrey Stedfast2004-04-084-204/+24
| | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * e-multi-config-dialog.c: Updated for changes to e-config-page.c (init): Removed the OK and Apply buttons. * e-config-page.c (e_config_page_apply): Removed. (e_config_page_is_applied): Removed. (e_config_page_changed): Removed. svn path=/trunk/; revision=25363
* Make the button initially insensitive. Connect to the entry's "changed"Dan Winship2004-04-032-6/+30
| | | | | | | | | | | * e-url-entry.c (init): Make the button initially insensitive. Connect to the entry's "changed" signal. (entry_changed_cb): sensitize the button iff the entry is non-empty (button_clicked_cb): simplify a bit by using gtk_entry_get_text rather than gtk_editable_get_chars. svn path=/trunk/; revision=25300
* Create a new class for "Western European, New" to fix a translation issue.Jeffrey Stedfast2004-04-022-2/+9
| | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_new): Create a new class for "Western European, New" to fix a translation issue. svn path=/trunk/; revision=25293
* start the rule editor with the right label.Not Zed2004-03-312-1/+6
| | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): start the rule editor with the right label. svn path=/trunk/; revision=25258
* We don't need this really (class_init): We don't need to have our ownRodney Dawes2004-03-272-2/+13
| | | | | | | | | | | | | | | | | | | | 2004-03-26 Rodney Dawes <dobey@ximian.com> * e-shell-settings-dialog.c (impl_realize): We don't need this really (class_init): We don't need to have our own realize impl for setting the default window size of the dialog, especially since we are setting the size before we actually get realized, anyway (init): Set the dialog size here, and don't set the border width of the dialog 2004-03-26 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (init): Remove the dialog separator Set the border widths of the dialog's vbox and action area to be more HIG-compliant Set the border width of the dialog's child to 12 for HIG-compliance svn path=/trunk/; revision=25197
* comment fix from trent.Michael Zucci2004-03-161-2/+2
| | | | svn path=/trunk/; revision=25087
* change arg name (e_calendar_item_init): ditto (e_calendar_item_get_arg):JP Rosevear2004-03-163-14/+78
| | | | | | | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_class_init): change arg name (e_calendar_item_init): ditto (e_calendar_item_get_arg): ditto (e_calendar_item_set_arg): ditto (e_calendar_item_preserve_day_selection): set the selection day to the given selection (e_calendar_item_set_first_month): use above to preserve selected day of week * e-calendar-item.h: change field name svn path=/trunk/; revision=25071
* move function about setup_bonobo_menus which requires it so its notTrent Lloyd2004-03-132-11/+16
| | | | | | | | | 2004-03-13 Trent Lloyd <lathiat@sixlabs.org> * e-search-bar.c (remove_bonobo_menus): move function about setup_bonobo_menus which requires it so its not implicitly defined svn path=/trunk/; revision=25055
* enlarge the text box to accomodate the time info in different locales.Kidd Wang2004-03-122-2/+5
| | | | | | | * e-dateedit.c: (create_children): enlarge the text box to accomodate the time info in different locales. svn path=/trunk/; revision=25041
* fixed ChangeLogJeffrey Stedfast2004-03-121-1/+1
| | | | svn path=/trunk/; revision=25033
* Fix for bug #55267.Jeffrey Stedfast2004-03-122-2/+2
| | | | | | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55267. * e-filter-bar.c (set_property): Use efb->setquery properly (set to TRUE before calling set_item_id and FLASE afterwards). Also setquery to TRUE before emitting the "search-activated" signal so that we don't run the callback for the signal we are emitting. svn path=/trunk/; revision=25032
* Use efb->setquery properly (set to TRUE before calling set_item_id andJeffrey Stedfast2004-03-123-9/+29
| | | | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (set_property): Use efb->setquery properly (set to TRUE before calling set_item_id and FLASE afterwards). Also setquery to TRUE before emitting the "search-activated" signal so that we don't run the callback for the signal we are emitting. svn path=/trunk/; revision=25031
* Emit the "search-activated" signal. Fixes bug #55054.Jeffrey Stedfast2004-03-032-0/+9
| | | | | | | | | 2004-03-02 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (set_property): Emit the "search-activated" signal. Fixes bug #55054. svn path=/trunk/; revision=24934
* Create the arrows in these widgets as GTK_SHADOW_NONE, since the defaultRodney Dawes2004-02-274-3/+13
| | | | | | | | | | | | | | 2004-02-26 Rodney Dawes <dobey@ximian.com> * e-cell-renderer-combo.c (ecrc_get_size): * e-dateedit.c (create_children): * e-dropdown-button.c (e_dropdown_button_construct): Create the arrows in these widgets as GTK_SHADOW_NONE, since the default arrow type in GTK+ 2.x is flat triangle arrows, and shadow types are generally ignored for arrows anyway, and so we don't look ugly with themes that handle shadow types on arrows correctly svn path=/trunk/; revision=24900
* remove the right thingChristian Neumair2004-02-271-1/+1
| | | | | | | | 2004-02-26 Christian Neumair <chris@gnome-de.org> * e-search-bar.c (remove_bonobo_menus): remove the right thing svn path=/trunk/; revision=24889
* Before Update the bonobo ui component, remove it first.Bill Zhu2004-02-262-0/+8
| | | | | | | | | | | 2004-02-26 Bill Zhu <bill.zhu@sun.com> * e-search-bar.c (setup_bonobo_menus): Before Update the bonobo ui component, remove it first. Fixes #54788 svn path=/trunk/; revision=24881
* Change the shadow type for the arrows here, so that themes that do handleRodney Dawes2004-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-12 Rodney Dawes <dobey@ximian.com> * gal/widgets/gal-combo-box.c (gal_combo_box_init): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x 2004-02-12 Rodney Dawes <dobey@ximian.com> * e-cell-popup.c (ecp_draw): * e-cell-spin-button.c (ecsb_draw): * e-table-header-utils.c (e_table_header_draw_button): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x 2004-02-12 Rodney Dawes <dobey@ximian.com> * e-vscrolled-bar.c (e_vscrolled_bar_init): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x svn path=/trunk/; revision=24720
* Change the filename and section that we pass to gnome_help_display_desktopRodney Dawes2004-02-122-2/+8
| | | | | | | | | | 2004-02-11 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (impl_response): Change the filename and section that we pass to gnome_help_display_desktop so that the help browser displays the documentation correctly svn path=/trunk/; revision=24708
* Add a Help button (impl_response): Handle the Help button and open theRodney Dawes2004-02-112-0/+20
| | | | | | | | | | | 2004-02-10 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (init): Add a Help button (impl_response): Handle the Help button and open the documentation Fixes #30681 svn path=/trunk/; revision=24694
* Don't show the task label by defaultRodney Dawes2004-02-062-1/+4
| | | | | | | | 2004-02-05 Rodney Dawes <dobey@ximian.com> * e-task-bar.c: Don't show the task label by default svn path=/trunk/; revision=24636
* Moved here from shell/, since they are now used only by the components,Dan Winship2004-02-048-4/+1165
| | | | | | | | | | | | | | | * e-activity-handler.c: * e-activity-handler.h: * e-task-bar.c: * e-task-bar.h: * e-task-widget.c: * e-task-widget.h: Moved here from shell/, since they are now used only by the components, not the shell itself. * Makefile.am (widgetsinclude_HEADERS, libemiscwidgets_la_SOURCES): add new files svn path=/trunk/; revision=24586
* set image_buf/image_buf_size here instead of in all callers. also emit theChris Toshok2004-02-032-16/+32
| | | | | | | | | | | | | | | | 2004-02-02 Chris Toshok <toshok@ximian.com> * e-image-chooser.c (set_image_from_data): set image_buf/image_buf_size here instead of in all callers. also emit the "changed" signal here. (image_drag_data_received_cb): remove the copying to image_buf and emitting of "changed" from here. (e_image_chooser_set_from_file): only g_free (data) here if set_image_from_data failed. (e_image_chooser_set_image_data): copy the image data we're passed before calling set_image_data. free it if rv == FALSE. svn path=/trunk/; revision=24577
* add an alignment around the image. This might not be enough. hrm.Chris Toshok2004-01-313-23/+83
| | | | | | | | | | | | | 2004-01-30 Chris Toshok <toshok@ximian.com> * e-image-chooser.c (e_image_chooser_init): add an alignment around the image. This might not be enough. hrm. (set_image_from_data): handle the case where there's no image (image_height == image_width == 0). (e_image_chooser_get_image_data): new function. (e_image_chooser_set_image_data): new function. svn path=/trunk/; revision=24552
* abstract out the drag and droppable image widget from the contact listChris Toshok2004-01-314-0/+554
| | | | | | | | | | | | | 2004-01-30 Chris Toshok <toshok@ximian.com> * e-image-chooser.[ch]: abstract out the drag and droppable image widget from the contact list editor and stick it here. There's some code for a "Browse..." button here but it's not enabled. * Makefile.am (widgetsinclude_HEADERS): add e-image-chooser.h. (libemiscwidgets_la_SOURCES): add e-image-chooser.c svn path=/trunk/; revision=24549
* Only save the search-bar state OR the filter-bar state - decided based onJeffrey Stedfast2004-01-312-51/+45
| | | | | | | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (get_property): Only save the search-bar state OR the filter-bar state - decided based on what the search is. If the search is an advanced search, then save the filter-bar state, otherwise save the search-bar state. (set_property): Only need to restore the first state we find (filter-bar vs search-bar). If we are restoring filter-bar state, set efb->setquery to TRUE and then set the item_id to E_FILTERBAR_ADVANCED_ID. svn path=/trunk/; revision=24542
* Same.Jeffrey Stedfast2004-01-293-3/+12
| | | | | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_get_property): Same. * e-filter-bar.c (get_property): Use g_value_set_string_take_ownership() instead of g_value_take_string() since we need snaps to work with glib-2.0 earlier than 2.3.x. svn path=/trunk/; revision=24507
* Added a new property "state" which is READ-WRITE so that we canJeffrey Stedfast2004-01-294-19/+204
| | | | | | | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c: Added a new property "state" which is READ-WRITE so that we can save/restore state in the mailer code if we want to. Sort of a work-in-progress toward fixing bug #53195. (class_init): Ported to use the GObject property stuff instead of the deprecated GtkArg stuff. (get_property): Ported from impl_get_arg(). (set_property): New object::set_property implementation to set the query state. svn path=/trunk/; revision=24502
* if the source is primary, don't allow it to be un-selectedJP Rosevear2004-01-242-11/+19
| | | | | | | | | 2004-01-24 JP Rosevear <jpr@ximian.com> * e-source-selector.c (cell_toggled_callback): if the source is primary, don't allow it to be un-selected svn path=/trunk/; revision=24397
* Be even more exactly like the GtkButton painting stuffRodney Dawes2004-01-212-9/+12
| | | | | | | | | | | 2004-01-20 Rodney Dawes <dobey@ximian.com> * e-combo-button.c (paint): Be even more exactly like the GtkButton painting stuff Fixes #52988 svn path=/trunk/; revision=24343
* set a primary selection if there is one before the rebuildJP Rosevear2004-01-212-6/+27
| | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (rebuild_model): set a primary selection if there is one before the rebuild (e_source_selector_set_primary_selection): block the signals when clearing the tree selection to make the op atomic; emit the selection_changed signal if a hidden selection is not currently selectecd svn path=/trunk/; revision=24342
* provide parent iter in/out arg (test_collapse_row_callback): use privJP Rosevear2004-01-212-16/+57
| | | | | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (find_source_iter): provide parent iter in/out arg (test_collapse_row_callback): use priv shortcut (e_source_selector_select_source): pass parent iter (e_source_selector_unselect_source): ditto (e_source_selector_peek_primary_selection): return the right thing if the primary selection is currently hidden (e_source_selector_set_primary_selection): set the primary selection properly if the source node is currently hidden svn path=/trunk/; revision=24337
* util routine to clear the row reference to the saved primary selectionJP Rosevear2004-01-212-43/+101
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (clear_saved_primary_selection): util routine to clear the row reference to the saved primary selection (find_source_iter): unref the model data retrieved (rebuild_existing_cb): ditto (toggle_cell_data_func): ditto (text_cell_data_func): ditto (selection_func): ditto; clear the saved primary selection if something else is selected (cell_toggled_callback): ditto (test_collapse_row_callback): clear the toggled_last flag (row_expanded_callback): once we've restored the saved primary selection, clear it (selector_button_press_event): unref the model data (impl_dispose): use clear_saved_primary_selection (init): the store column holds object not pointer type (e_source_selector_peek_primary_selection): unref the model da svn path=/trunk/; revision=24334
* check if the collapsing node has its child selected, if so take a rowJP Rosevear2004-01-212-1/+75
| | | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (test_collapse_row_callback): check if the collapsing node has its child selected, if so take a row reference to remember the selection (row_expanded_callback): check if the expanding node has the saved primary selection under it and re-select if so (init): listen for signals (impl_dispose): free the primary selection svn path=/trunk/; revision=24329
* create the data structure for rebuilding the model (free_rebuild_data):JP Rosevear2004-01-202-22/+202
| | | | | | | | | | | | | | | | | | | | | 2004-01-19 JP Rosevear <jpr@ximian.com> * e-source-selector.c (create_rebuild_data): create the data structure for rebuilding the model (free_rebuild_data): free it (rebuild_existing_cb): check for the sources that are still existing or deleted (rebuild_model): do incremental updates (selection_func): if the last thing we did was toggle, we don't actually want to highlight and if the source is not checked, check it (cell_toggled_callback): indicate that a toggle just occurred (init): initial toggled last to false (e_source_selector_set_primary_selection): set some preconditions Fixes #51787 svn path=/trunk/; revision=24312
* Fix remaining usages of GTK_*EXPANDER* definesRodney Dawes2004-01-153-19/+23
| | | | | | | | 2004-01-14 Rodney Dawes <dobey@ximian.com> * e-expander.[ch]: Fix remaining usages of GTK_*EXPANDER* defines svn path=/trunk/; revision=24226
* Implemented #127527: the attachment bar is packed inside an EExpanderERDI Gergo2004-01-114-1/+1447
| | | | | | | | | 2003-12-02 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: Implemented #127527: the attachment bar is packed inside an EExpander svn path=/trunk/; revision=24146
* Fix for bug #46349Rodney Dawes2003-12-232-35/+74
| | | | | | | | | | | 2003-12-22 Rodney Dawes <dobey@ximian.com> Fix for bug #46349 * e-combo-button.c: Use the appropriate style painting for a button widget, since we are a button svn path=/trunk/; revision=24002
* call gdk_window_focus() so that keyboard works correctly.Harry Lu2003-12-182-1/+6
| | | | | | | | | 2003-12-18 Harry Lu <harry.lu@sun.com> * e-cell-date-edit.c: (e_cell_date_edit_do_popup): call gdk_window_focus() so that keyboard works correctly. svn path=/trunk/; revision=23975
* Use e_source_equal() instead of comparing pointers. This allows user toHans Petter Jansson2003-12-171-8/+14
| | | | | | | | | | | | | | 2003-12-16 Hans Petter Jansson <hpj@ximian.com> * misc/e-source-option-menu.c (select_source_foreach_menu_item): Use e_source_equal() instead of comparing pointers. This allows user to pass in a source that was obtained from somewhere else. Set the matching internal source as "selected" instead of the one passed in. (select_source): Emit signal only if we found a match. Don't ref/unref anything, since the selected source will always be from our internal list. svn path=/trunk/; revision=23954
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-071-1/+0
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * */Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23658
* Fix for bugzilla bug #51624 and #51627.Harry Lu2003-12-054-13/+52
| | | | | | | | | | | | | | | | | | | | | | | | 2003-12-04 Harry Lu <harry.lu@sun.com> Fix for bugzilla bug #51624 and #51627. * e-calendar-item.c: (e_calendar_item_selection_add_days): set the date to the first day of the month so that user can use keyboard's arrow key to select a date. (e_calendar_item_set_selection_if_emission): only set selection_changed if emission is TRUE. * e-calendar.c: (e_calendar_init): add back the "clicked" handler so that user can use keyboard to click the button. (e_calendar_start_auto_move): no need to move since it is already handled by the clicked handler (e_calendar_on_prev_clicked), (e_calendar_on_next_clicked): move the month here. * e-dateedit.c: (e_date_edit_show_date_popup): use gdk_window_focus instead of gdk_keyboard_grab so that the focus won't lost if user click the button with keyboard. (hide_date_popup): no need to call gdk_keyboard_ungrab. svn path=/trunk/; revision=23642
* (init): Set the mode on the text cellEttore Perazzoli2003-12-032-0/+8
| | | | | | | | renderer to GTK_CELL_RENDERER_MODE_ACTIVATABLE so clicking on the text doesn't change the status of the checkbox. [Many thanks to Jonathan Blandford for telling me how to do this!] svn path=/trunk/; revision=23588
* list the signal args properlJP Rosevear2003-12-022-1/+5
| | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * e-source-selector.c (class_init): list the signal args properl svn path=/trunk/; revision=23542
* Added test-source-option-menu executableÉRDI Gergo2003-12-011-1/+2
| | | | svn path=/trunk/; revision=23518
* canned the _clicked handlers as those make it impossible to move just oneERDI Gergo2003-12-012-22/+5
| | | | | | | | | 2003-11-30 ERDI Gergo <cactus@cactus.rulez.org> * e-calendar.c: canned the _clicked handlers as those make it impossible to move just one month at a time svn path=/trunk/; revision=23517
* Add NONE:POINTER.Ettore Perazzoli2003-12-014-8/+51
| | | | | | | | | | | | | * e-util-marshal.list: Add NONE:POINTER. * test-source-option-menu.c (source_selected_callback): New callback to test the "source_selected" signal. (on_idle_create_widget): Connect. * e-source-option-menu.c: Add "source_selected" signal. (select_source): Assume source != NULL and emit "source_selected". svn path=/trunk/; revision=23512
* New test.Ettore Perazzoli2003-12-015-1/+444
| | | | | | | | | * test-source-option-menu.c: New test. * e-source-option-menu.h: New. * e-source-option-menu.c: New. svn path=/trunk/; revision=23511
* renamespace and move to here build new filesMike Kestner2003-11-184-0/+1434
| | | | | | | | | | | | | | 2003-11-17 Mike Kestner <mkestner@ximian.com> * gal/widgets/gtk-combo* : renamespace and move to * gal/widgets/gal-combo* : here * gal/widgets/Makefile.am : build new files 2003-11-17 Mike Kestner <mkestner@ximian.com> * e-table-config.c : use new gal_combo_* namespace. svn path=/trunk/; revision=23402
* allow new lable with mnemonic (e_search_bar_construct): alter lable name.Charles Zhang2003-11-172-3/+8
| | | | | | | | | 2003-11-17 Charles Zhang <charles.zhang@sun.com> * e-search-bar.c(add_button): allow new lable with mnemonic (e_search_bar_construct): alter lable name. [50810] svn path=/trunk/; revision=23385
* use find_source_iter and get the selection from the right spotJP Rosevear2003-11-172-25/+66
| | | | | | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * e-source-selector.c (e_source_selector_set_primary_selection): use find_source_iter and get the selection from the right spot (find_source_iter): util function to find the iter given the source (e_source_selector_select_source): signal that the model changed (e_source_selector_unselect_source): ditto svn path=/trunk/; revision=23372
* make source selector flags/libsJP Rosevear2003-11-153-6/+11
| | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * configure.in: make source selector flags/libs svn path=/trunk/; revision=23366
* remove a declaration of a deleted func.Bolian Yin2003-11-132-2/+4
| | | | | | | | 2003-11-13 Bolian Yin <bolian.yin@sun.com> * e-calendar-item.c: remove a declaration of a deleted func. svn path=/trunk/; revision=23310
* a canvas item does not inherit from gtkwidgetJP Rosevear2003-11-132-19/+8
| | | | | | | | | 2003-11-12 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_class_init): a canvas item does not inherit from gtkwidget svn path=/trunk/; revision=23298
* Fixes #50538Bolian Yin2003-11-113-40/+61
| | | | | | | | | | | | 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes #50538 * e-calendar-item: make e_calendar_item_normalize_date public func. add "selection_preview_changed" signal. move some definition of constants to .h svn path=/trunk/; revision=23284
* (e_source_selector_new): Expand all theEttore Perazzoli2003-11-112-0/+7
| | | | | | nodes. svn path=/trunk/; revision=23276
* make sure the marshal stuff is in the sources and remove the built filesJP Rosevear2003-11-072-2/+10
| | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * Makefile.am: make sure the marshal stuff is in the sources and remove the built files when disting svn path=/trunk/; revision=23218
* Shush.JP Rosevear2003-11-071-0/+1
| | | | svn path=/trunk/; revision=23214
* fill_popup_menu signal has 2 arguments.Rodrigo Moya2003-10-292-1/+6
| | | | | | | | | 2003-10-28 Rodrigo Moya <rodrigo@ximian.com> * e-source-selector.c (class_init): fill_popup_menu signal has 2 arguments. svn path=/trunk/; revision=23109
* added "fill_popup_menu" signal, to allow the addition of new items to theRodrigo Moya2003-10-293-1/+42
| | | | | | | | | | | | | 2003-10-28 Rodrigo Moya <rodrigo@ximian.com> * e-source-selector.[ch]: added "fill_popup_menu" signal, to allow the addition of new items to the popup menu. (class_init): create new signal. (init): connect to "button_press_event" for the tree view. (selector_button_press_event): callback for "button_press_event". (e_source_selector_selection_shown): use g_return_val_if_fail. svn path=/trunk/; revision=23106
* Remove these (unused since 1.2)Dan Winship2003-10-223-268/+4
| | | | | | * e-bonobo-widget.[ch]: Remove these (unused since 1.2) svn path=/trunk/; revision=22978
* 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