aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Emit the "search-activated" signal. Fixes bug #55054.Jeffrey Stedfast2004-03-031-0/+5
| | | | | | | | | 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-271-0/+10
| | | | | | | | | | | | | | 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
* Before Update the bonobo ui component, remove it first.Bill Zhu2004-02-261-0/+7
| | | | | | | | | | | 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 filename and section that we pass to gnome_help_display_desktopRodney Dawes2004-02-121-0/+6
| | | | | | | | | | 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-111-0/+7
| | | | | | | | | | | 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-061-0/+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-041-0/+13
| | | | | | | | | | | | | | | * 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-031-0/+12
| | | | | | | | | | | | | | | | 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-311-0/+11
| | | | | | | | | | | | | 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-311-0/+9
| | | | | | | | | | | | | 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-311-0/+16
| | | | | | | | | | | | | | | 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-291-0/+9
| | | | | | | | | | | | | 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-291-0/+11
| | | | | | | | | | | | | | | 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-241-0/+5
| | | | | | | | | 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-211-0/+7
| | | | | | | | | | | 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-211-0/+9
| | | | | | | | | | | | | 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-211-0/+12
| | | | | | | | | | | | | | | | 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-211-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 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-211-0/+10
| | | | | | | | | | | | | | 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-201-0/+28
| | | | | | | | | | | | | | | | | | | | | 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-151-0/+4
| | | | | | | | 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-111-0/+8
| | | | | | | | | 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-231-0/+7
| | | | | | | | | | | 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-181-0/+5
| | | | | | | | | 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
* Fix for bugzilla bug #51624 and #51627.Harry Lu2003-12-051-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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-031-0/+7
| | | | | | | | 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-021-0/+4
| | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * e-source-selector.c (class_init): list the signal args properl svn path=/trunk/; revision=23542
* canned the _clicked handlers as those make it impossible to move just oneERDI Gergo2003-12-011-0/+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-011-0/+11
| | | | | | | | | | | | | * 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-011-0/+7
| | | | | | | | | * test-source-option-menu.c: New test. * e-source-option-menu.h: New. * e-source-option-menu.c: New. svn path=/trunk/; revision=23511
* allow new lable with mnemonic (e_search_bar_construct): alter lable name.Charles Zhang2003-11-171-0/+5
| | | | | | | | | 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-171-0/+9
| | | | | | | | | | | | | 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-151-0/+6
| | | | | | | | 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-131-0/+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-131-0/+5
| | | | | | | | | 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-111-0/+8
| | | | | | | | | | | | 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-111-0/+5
| | | | | | nodes. svn path=/trunk/; revision=23276
* make sure the marshal stuff is in the sources and remove the built filesJP Rosevear2003-11-071-0/+5
| | | | | | | | | 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
* fill_popup_menu signal has 2 arguments.Rodrigo Moya2003-10-291-0/+5
| | | | | | | | | 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-291-0/+9
| | | | | | | | | | | | | 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-221-0/+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-221-0/+50
| | | | svn path=/trunk/; revision=22964
* new, treeview renderer for combo cells new, GtkCellEditable for comboMike Kestner2003-10-011-0/+6
| | | | | | | | | | 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
* use EVO_MARSHAL_RULEDan Winship2003-07-241-0/+2
| | | | | | * 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-231-0/+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-231-0/+6
| | | | | | | | * 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-141-0/+7
| | | | | | | | | | | 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-101-0/+4
| | | | | | | | 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
* (set_menu): Translate the text. [#45112]Ettore Perazzoli2003-06-231-0/+4
| | | | svn path=/trunk/; revision=21506
* Fix for #45082: GB18030 BIG5HKSCS and EUC-TW charsets not supported inSuresh Chandrasekharan2003-06-201-0/+16
| | | | | | | | | | | | | | | | | | | | 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
* missed the changelog entry last time.Larry Ewing2003-06-131-1/+2
| | | | svn path=/trunk/; revision=21432
* take ownership of the duplicate string.Larry Ewing2003-06-121-0/+4
| | | | | | | | | 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-101-1903/+0
| | | | svn path=/trunk/; revision=21387
* Fixes #43775JP Rosevear2003-05-311-0/+18
| | | | | | | | | | | | | | | | | | | | | | 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-201-0/+6
| | | | | | | | | | 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-191-0/+4
| | | | | | | | 2003-05-19 Larry Ewing <lewing@ximian.com> * e-charset-picker.c: port to GtkDialog. svn path=/trunk/; revision=21244
* guard against multiple destroysJP Rosevear2003-05-151-0/+4
| | | | | | | | | | | | 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-141-0/+6
| | | | | | | | [#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-121-0/+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-101-0/+7
| | | | svn path=/trunk/; revision=21139
* trash e_utf8_gtk function (e_search_bar_get_text): dittoJP Rosevear2003-05-081-0/+5
| | | | | | | | | | 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-301-0/+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
* (remove_bonobo_menus): Only do the actual removeEttore Perazzoli2003-04-161-0/+6
| | | | | | | 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-161-0/+14
| | | | | | | | | | | | | | | | | | 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-121-0/+2
| | | | | | | | | | | 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-121-0/+5
| | | | | | | | | 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-091-0/+4
| | | | | | | | | | 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
* e_cell_percent_get_type returns GType, not GtkType.Chris Toshok2003-04-071-0/+8
| | | | | | | | | | | | 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-031-0/+6
| | | | | | | | | | 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
* Nuke GdkFont and use Pango's font measuring for everything.Hans Petter Jansson2003-04-021-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 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-311-0/+5
| | | | | | | | | 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-291-0/+5
| | | | | | | | | 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-251-0/+7
| | | | | | | | | * 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
* Updated to use GtkDialog instead of GnomeDialog. Also fixed bug #39550Jeffrey Stedfast2003-03-201-0/+5
| | | | | | | | | 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-121-0/+7
| | | | | | | | | | | 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-071-0/+4
| | | | svn path=/trunk/; revision=20201
* Use G_GNUC_FUNCTION instead of __FUNCTION__.Ettore Perazzoli2003-03-071-0/+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
* guard this so we don't try to free priv multiple times.Chris Toshok2003-02-281-0/+5
| | | | | | | | | 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 g_signal_handlers_disconnect_by_func sinceDan Winship2003-02-251-0/+7
| | | | | | | | | * 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-251-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-211-0/+6
| | | | | | | libraries, so they can be portably linked into the (shared library) components. (Part 1 of N.) svn path=/trunk/; revision=19971
* Define MAP_DIR in terms of $(imagesdir). (widgetsincludedir): Define inDan Winship2003-02-061-0/+5
| | | | | | | * Makefile.am (INCLUDES): Define MAP_DIR in terms of $(imagesdir). (widgetsincludedir): Define in terms of $(privincludedir) svn path=/trunk/; revision=19772
* Use Pango to draw. (e_calendar_item_class_init): Add font_desc andHans Petter Jansson2003-02-021-0/+15
| | | | | | | | | | | | | | | | | | | 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-021-0/+7
| | | | | | | | | | | 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
* init the layout to NULL.Chris Toshok2003-01-271-0/+5
| | | | | | | | | 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-241-0/+17
| | | | | | | | | | | | | | | | | | | * 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-231-0/+4
| | | | svn path=/trunk/; revision=19568
* (init): Change dialog fromEttore Perazzoli2003-01-151-0/+5
| | | | | | 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-151-0/+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-151-0/+2
| | | | | | | | 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-151-0/+5
| | | | | | e-book-marshal.list. svn path=/trunk/; revision=19443
* Images are now in $(datadir)/evolution/imagesEttore Perazzoli2003-01-091-0/+5
| | | | | | 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-101-0/+6
| | | | | | | | | | 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-101-0/+5
| | | | | | | | | 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
* dispose can be run multiple times too ... bloody gobject crap.Not Zed2002-12-031-0/+5
| | | | | | | | | 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-021-4/+0
| | | | svn path=/trunk/; revision=18983
* Included gtkmessagedialog.h.Rodrigo Moya2002-12-021-0/+4
| | | | | | | | 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-021-0/+6
| | | | | | | | | | 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-261-0/+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
* new function, build pango layout for string.Chris Toshok2002-11-161-0/+9
| | | | | | | | | | | | | 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
* New. (e_clipped_label_destroy): Removed.Ettore Perazzoli2002-11-151-0/+10
| | | | | | | | | | | | * 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-151-0/+9
| | | | | | | | | | 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-121-0/+4
| | | | | | | | 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-121-0/+5
| | | | | | GtkObject throughout. svn path=/trunk/; revision=18706
* Removed. (impl_finalize): New. (class_init): Override GObject::finalize,Ettore Perazzoli2002-11-121-0/+13
| | | | | | | | | | | | | | | * 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-081-0/+4
| | | | | | | | 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-071-0/+10
| | | | | | | | | | | | | | 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
* (impl_expose_event): UseEttore Perazzoli2002-11-041-0/+5
| | | | | | gtk_container_propagate_expose(). svn path=/trunk/; revision=18526
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-021-0/+138
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* Emit a search_activated signal. (e_search_bar_set_item_id): Revert toJeffrey Stedfast2002-10-291-0/+5
| | | | | | | | | 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-241-0/+13
| | | | | | | | | | | | | | | | | 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-241-0/+8
| | | | | | on the entry when adding it in. svn path=/trunk/; revision=18418
* check if the selection fits in the leftover daysJP Rosevear2002-10-161-0/+5
| | | | | | | | | 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-011-0/+16
| | | | | | | | | | | | | | | | | 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
* (create_page_container): Don't set upEttore Perazzoli2002-09-281-0/+5
| | | | | | the description label here. svn path=/trunk/; revision=18243
* Clear search by setting text to "" and search to first search.Not Zed2002-09-241-0/+12
| | | | | | | | | | | | | | | | 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-231-0/+4
| | | | | | * 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-301-0/+5
| | | | | | | | | 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
* If the item is ADVANCED_ID, check the query and efb->setquery to seePeter Williams2002-08-301-0/+6
| | | | | | | | | | 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-241-0/+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-221-0/+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-061-0/+5
| | | | | | | | | 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-241-0/+12
| | | | | | | | | | | | | | * 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-241-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* (setup_standard_verbs): Set the <commands> partEttore Perazzoli2002-07-181-0/+17
| | | | | | | | | | | | | | | | 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-031-0/+11
| | | | | | | | | | | | (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-021-0/+7
| | | | | | | | "search_activated" here. (e_search_bar_set_subitem_id): And not here either. (e_search_bar_set_text): Same. svn path=/trunk/; revision=17346
* (activate_by_subitems): Don't set the entry to beEttore Perazzoli2002-07-021-0/+7
| | | | | | an empty string here. svn path=/trunk/; revision=17345
* (build_items): Put the numbers in front of theEttore Perazzoli2002-06-191-0/+5
| | | | | | rules only if type is zero [i.e. not in the option menu]. svn path=/trunk/; revision=17224
* New helper function. (build_items): g_strdup() the text for all the items.Ettore Perazzoli2002-05-311-0/+12
| | | | | | | | | | | | | | * e-filter-bar.c (dup_item_no_subitems): New helper function. (build_items): g_strdup() the text for all the items. Prepend the user-defined items with an order number. (free_built_items): New function to free the array returned by build_items, freeing the text strings too [since now they are newly allocated instead of just pointing to the exiting ones]. (generate_menu): Call free_built_items() on the built items instead of just g_array_free(). (set_option): Likewise. svn path=/trunk/; revision=17045
* Put the search menu in a SearchPlaceholder.Ettore Perazzoli2002-05-231-0/+3
| | | | | | * evolution.xml: Put the search menu in a SearchPlaceholder. svn path=/trunk/; revision=16979
* New, overrides GtkWidget::draw. (impl_expose_event): New, overridesEttore Perazzoli2002-05-231-0/+5
| | | | | | | * e-combo-button.c (impl_draw): New, overrides GtkWidget::draw. (impl_expose_event): New, overrides GtkWidget::expose_event. svn path=/trunk/; revision=16978
* Prepend the advanced menu with a separator.Ettore Perazzoli2002-05-211-0/+8
| | | | | | | | | | * e-filter-bar.c (build_items): Prepend the advanced menu with a separator. * e-filter-bar.h: Add E_FILTERBAR_SEPARATOR. Rename the "Advanced Search..." menu item into "Advanced...". svn path=/trunk/; revision=16953
* Strip underscores from the menu item labels.Ettore Perazzoli2002-05-211-0/+5
| | | | | | | * e-search-bar.c (activate_by_subitems): Strip underscores from the menu item labels. svn path=/trunk/; revision=16952
* Don't print out the colors here unless debugging is turned on.Christopher James Lahey2002-04-271-0/+5
| | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (fill_in_pixbufs): Don't print out the colors here unless debugging is turned on. svn path=/trunk/; revision=16605
* Updated this to match the changed function name in gal.Christopher James Lahey2002-04-231-0/+5
| | | | | | | | | 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (e_multi_config_dialog_add_page): Updated this to match the changed function name in gal. svn path=/trunk/; revision=16562
* Oops. The previous change made the search bar widgets get packed in theDan Winship2002-04-101-0/+8
| | | | | | | | | | * e-search-bar.c (e_search_bar_construct, add_button): Oops. The previous change made the search bar widgets get packed in the wrong order. So use gtk_box_pack_end instead in add_button and add the two buttons in reverse order. It's all good now. Noticed by Ettore, who I then promptly blamed for it. Sorry Ettore! svn path=/trunk/; revision=16411
* Construct the buttons earlier so that the option-menu-setup code thatDan Winship2002-04-071-0/+6
| | | | | | | | * e-search-bar.c (e_search_bar_construct): Construct the buttons earlier so that the option-menu-setup code that tries to adjust the button sensitivity won't fail and g_warn. svn path=/trunk/; revision=16375
* show a specific page numberJP Rosevear2002-04-071-0/+7
| | | | | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * e-multi-config-dialog.c (e_multi_config_dialog_show_page): show a specific page number * e-multi-config-dialog.h: new proto svn path=/trunk/; revision=16374
* Change the ETable specs so it doesn't sort.Ettore Perazzoli2002-03-301-0/+5
| | | | | | | * e-multi-config-dialog.c: Change the ETable specs so it doesn't sort. svn path=/trunk/; revision=16289
* Add accelerators for "Find Now" and "Clear".Ettore Perazzoli2002-03-211-0/+8
| | | | | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Add accelerators for "Find Now" and "Clear". * e-filter-bar.h: Change search labels as suggested in Anna's redesign [#16246]. * folder-browser.c: Reorder folder_browser_search_menu_items according to #16246. svn path=/trunk/; revision=16219
* Remove all the SearchBar items before setting them up again.Ettore Perazzoli2002-03-211-0/+13
| | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Remove all the SearchBar items before setting them up again. (free_menu_items): New. (impl_destroy): Call it. (set_menu): Call it here too before adding the new items. svn path=/trunk/; revision=16218
* No accelerator for "FindNow". (add_button): Add a one-pixel padding to theEttore Perazzoli2002-03-191-0/+6
| | | | | | | | * e-search-bar.c (update_bonobo_menus): No accelerator for "FindNow". (add_button): Add a one-pixel padding to the button. svn path=/trunk/; revision=16201
* Rename the "Search Now" menu entry to "Find Now". Rename the correspondingEttore Perazzoli2002-03-191-0/+8
| | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Rename the "Search Now" menu entry to "Find Now". Rename the corresponding verb to "ESearchBar:FindNow". (update_sensitivity): Updated accordingly. (setup_standard_verbs): Likewise. svn path=/trunk/; revision=16200
* New halper function to update the sensitivity of the commands.Ettore Perazzoli2002-03-191-0/+9
| | | | | | | | | | | * e-search-bar.c (update_sensitivity): New halper function to update the sensitivity of the commands. (entry_changed_cb): New callback to make the activate_button and the "Find Now" verb sensitive only if the entry has some contents. (activate_by_subitems): Connect the callback here. (setup_standard_verbs): Call update_sensitivity() here. svn path=/trunk/; revision=16199
* Init clear_button to NULL. (add_button): New helper function to add aEttore Perazzoli2002-03-191-0/+14
| | | | | | | | | | | | | | | | * e-search-bar.c (init): Init clear_button to NULL. (add_button): New helper function to add a button to the search bar with the right spacing etc. (clear_search): New helper function. (add_activate_button): Removed. (clear_button_clicked_cb): New. (e_search_bar_construct): Just add the button here using `add_button'. Also add a clear_button. (clear_verb_cb): Rewritten by means of `clear_search()'. * e-search-bar.h (ESearchBar): Add clear_button. svn path=/trunk/; revision=16198
* New, implementation for a new "SearchNow" verb. (setup_standard_verbs):Ettore Perazzoli2002-03-191-0/+7
| | | | | | | | | * e-search-bar.c (search_now_verb_cb): New, implementation for a new "SearchNow" verb. (setup_standard_verbs): Create verb here. (update_bonobo_menus): Add SearchNow menu item. svn path=/trunk/; revision=16197
* [Search bar re-design implementation, Take 2.]Ettore Perazzoli2002-03-191-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (clear_verb_cb): New. (setup_standard_verbs): New. (e_search_bar_set_ui_component): Call it if a new BonoboUIComponent is set. (append_xml_menu_item): New helper function. (update_bonobo_menus): Use it. Also add a "Clear" menu item. (e_search_bar_construct): @menu_items can be NULL now. (e_search_bar_new): Same here. (set_menu): Work with NULL items. * e-filter-bar.c (menubar_activated): Don't handle E_FILTERBAR_RESET_ID anymore. * e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'. * folder-browser.c: Remove E_FILTERBAR_RESET menu entry. * gui/cal-search-bar.c: Removed `search_menu_items'. (cal_search_bar_menu_activated): Removed. (cal_search_bar_class_init): Don't install. (cal_search_bar_construct): No menu items here. * gui/component/addressbook.c (addressbook_menu_activated): Removed. (addressbook_factory_new_control): Don't connect anymore, as this signal has been removed from the ESearchBar. (addressbook_factory_new_control): No more custom menu items here. svn path=/trunk/; revision=16194
* [Start implementing the new Search Bar design.]Ettore Perazzoli2002-03-161-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (init): Init various members to NULL. (set_dropdown): Removed. (add_dropdown): Removed. (set_menu): New. (add_menu_items): New. (set_option): No need to setup the dropdown size here anymore. (verb_cb): Function implementing the search menu verbs. (update_bonobo_menus): New. (e_search_bar_set_ui_component): New. * e-search-bar.h: Remove the dropdown button stuff from struct ESearchBar. Add `uic' and `items' members. * e-filter-bar.c (e_filter_bar_new): Get a @uic arg. * folder-browser-factory.c (control_activate): Set the UI component on the search bar. * gui/tasks-control.c (tasks_control_activate): Call `e_tasks_set_ui_component()' here to give it the BonoboUIComponent. (tasks_control_deactivate): Likewise, call it here to unset the BonoboUIComponent. * gui/e-tasks.c (e_tasks_set_ui_component): New. * gui/calendar-commands.c (calendar_control_activate): Call gnome_calendar_set_ui_component() here. (calendar_control_deactivate): ...And here, with a NULL BonoboUIComponent. * gui/gnome-cal.c (gnome_calendar_set_ui_component): New. * gui/component/addressbook.c (control_activate): Call `e_search_bar_set_ui_component()' to set the BonoboUIComponent for the search bar. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon for the LDAP sources configuration control. svn path=/trunk/; revision=16178
* Set horizontal scroll policy to GTK_POLICY_NEVER here. Don't set usizeChristopher James Lahey2002-03-161-0/+6
| | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (init): Set horizontal scroll policy to GTK_POLICY_NEVER here. Don't set usize here. Changed RGBA_COLOR to RGB_COLOR. Turned on horizontal resize. svn path=/trunk/; revision=16176
* If the charset item doesn't have a class (aka "Unknown"), don't write aJeffrey Stedfast2002-03-141-0/+7
| | | | | | | | | | | 2002-03-13 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (add_charset): If the charset item doesn't have a class (aka "Unknown"), don't write a class name, instead just give the charset name as the menu item label. Fixes bug #14753. svn path=/trunk/; revision=16154
* Added alpha blending here.Christopher James Lahey2002-03-141-0/+4
| | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c: Added alpha blending here. svn path=/trunk/; revision=16151
* Removed Page struct. (e_multi_config_dialog_add_page): Select the initialChristopher James Lahey2002-03-131-0/+6
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c: Removed Page struct. (e_multi_config_dialog_add_page): Select the initial row after appending to the model. svn path=/trunk/; revision=16131
* Use Use e_table_memory_store instead of e_table_memory_callbacks. UseChristopher James Lahey2002-03-131-0/+6
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (init): Use Use e_table_memory_store instead of e_table_memory_callbacks. Use e_cell_vbox to include a pixbuf cell and a text cell. svn path=/trunk/; revision=16130
* Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close):Ettore Perazzoli2002-03-121-0/+8
| | | | | | | | | | * e-multi-config-dialog.c (init): Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close): Renamed from `cancel'. (do_apply): Renamed from `apply'. (do_ok): Renamed from `ok'. svn path=/trunk/; revision=16106
* Rename Page.widget -> Page.page_widget; it is now an EConfigPage insteadEttore Perazzoli2002-03-101-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-multi-config-dialog.c: Rename Page.widget -> Page.page_widget; it is now an EConfigPage instead of just a GtkWidget. Add `num_unapplied' to EMultiConfigDialogPrivate. Derive from GnomeDialog, not GtkWindow. (update_buttons): New function to update the sensitiveness of the buttons according to whether all the settings have been applied or not. (page_new): Likewise. (create_page_container): Renamed from `create_page_widget'. (init): Add Apply/OK/Cancel buttons to the dialog. Init ->num_unapplied to zero. (page_changed_callback): New, callback for the page's "changed" signal. (e_multi_config_dialog_add_page): Connect the callback, update ->num_unapplied, update the buttons by calling `update_buttons'. (ok): New function for handling the OK button. (apply): New function for handling the Apply button. (cancel): New function for handling the Cancel button. (impl_clicked): Implementation for the GnomeDialog's ::clicked signal. (class_init): Install. * test-multi-config-dialog.c (add_pages): Update to use EConfigPages instead of plain GtkWidgets. * e-multi-config-dialog.c, e-multi-config-dialog.h: Derive from GnomeDialog, not GtkWindow. * e-config-page.c: New. * e-config-page.h: New. svn path=/trunk/; revision=16006
* Don't display a header in the table on the left.Ettore Perazzoli2002-03-081-0/+5
| | | | | | | * e-multi-config-dialog.c: Don't display a header in the table on the left. svn path=/trunk/; revision=15975
* New. New.Ettore Perazzoli2002-03-061-0/+8
| | | | | | | | | | * test-multi-config-dialog.c: New. * test-multi-config-dialog.h: New. * e-multi-config-dialog.c: New. * e-multi-config-dialog.h: New. svn path=/trunk/; revision=15932
* preserve behavior - hook search_activated signal to the same function asChris Toshok2002-02-251-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * e-filter-bar.c (init): preserve behavior - hook search_activated signal to the same function as query_changed. * e-search-bar.c (emit_search_activated): new function. (entry_activated_cb): use emit_search_activated instead of emit_query_changed. (subitem_activated_cb): same. (activate_button_clicked_cb): same. (class_init): add the search_activated signal. (idle_activate_hack): rename idle_change_hack to this, and emit_search_activated. (e_search_bar_construct): idle_change_hack -> idle_activate_hack. (e_search_bar_set_subitem_id): emit_search_activated instead of emit_query_changed. (e_search_bar_set_text): same. * e-search-bar.h (struct _ESearchBarClass): add a search_activated signal. svn path=/trunk/; revision=15827
* gtk_widget_show() the icon_pixmap if the specified icon is not NULL.Ettore Perazzoli2002-02-221-0/+12
| | | | | | | * e-combo-button.c (set_icon): gtk_widget_show() the icon_pixmap if the specified icon is not NULL. svn path=/trunk/; revision=15788
* remove briefly used filesJP Rosevear2002-02-091-0/+4
| | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * e-url-button.[hc]: remove briefly used files svn path=/trunk/; revision=15623
* button/entry combo that launchs the gnome url handler on the entry textJP Rosevear2002-02-091-0/+7
| | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * e-url-entry.[hc]: button/entry combo that launchs the gnome url handler on the entry text when the button is clicked * Makefile.am: build new files svn path=/trunk/; revision=15620
* build new filesJP Rosevear2002-02-091-0/+7
| | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * Makefile.am: build new files * e-url-button.[hc]: button widget that when clicked slurps the url of an entry and launchs the gnome url handler on the text svn path=/trunk/; revision=15609
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-281-0/+4
| | | | svn path=/trunk/; revision=15486
* [Implement an Outlook-style "New" dropdown button. It is basicallyEttore Perazzoli2002-01-241-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | done but it needs pretty icons so I am leaving it disabled for now.] * e-combo-button.c: Remove member `separator' from `EComboButtonPrivate'. New members `icon', `label'. (init): There shall be no separator no more. Init `icon' and `label' to %NULL. (e_combo_button_construct): Set no relief. (e_combo_button_new): Don't get a @menu arg anymore. (e_combo_button_construct): Likewise. (e_combo_button_set_icon): New. (e_combo_button_set_label): New. (e_combo_button_set_menu): New. (impl_clicked): New, overriding the "clicked" method for GtkButton. (class_init): Install. (impl_button_release_event): Removed. (class_init): No need to override ::release_event with this anymore. (impl_released): New, override for the GtkButton::released method. (class_init): Install. * e-shell-user-creatable-items-handler.c: New member `id' in struct `Component'. New member `icon' in struct `MenuItem'. (component_free): Free ->id. (component_new): Renamed from `component_new_from_client'. Get an @id arg and set ->id accordingly. (e_shell_user_creatable_items_handler_add_component): New arg @id. Pass it to `component_new'. (e_shell_user_creatable_items_handler_setup_menus): New arg @current_component_id. (e_shell_user_creatable_items_handler_update_menus): New. (set_current_component): New helper function. (get_component_by_id): New helper function. (add_verbs): Renamed from `add_verbs_to_ui_component()'. Get a @shell_view instead of a @ui_component. Set the SHELL_VIEW_KEY on the ui_component of the shell_view to point to the shell_view itself. (ensure_menu_items): Set item->icon to NULL. (free_menu_items): Unref item->icon. (ensure_menu_xml): Set the icon as well. (get_default_action_for_view): New helper function. (find_menu_item_for_verb): New helper function. (shell_view_view_changed_callback): New callback, set up the label on the "New" button depending on the current component. (e_shell_user_creatable_items_handler_attach_menus): New. For now, do not display the toolbar button yet. (execute_verb): New helper function, splitting out code from `verb_fn'. (verb_fn): Use `execute_verb'. (combo_button_activate_default_callback): Callback for the "activate_default" signal on the EComboButton. (setup_toolbar_button): Connect. * evolution-shell-component.c: New member `icon' in `UserCreatableItemType'. (impl__get_userCreatableItemTypes): Put the ->icon in the corba_type as well. (user_creatable_item_type_new): Get a new @icon argument. (evolution_shell_component_add_user_creatable_item): New arg @icon. * Evolution-ShellComponent.idl: New member `icon' in struct `UserCreatableItemType'. * evolution-test-component.c (register_component): Pass a NULL @icon to `evolution_shell_component_add_user_creatable_item()'. * e-shell-view.c (class_init): Add the signal to the class. (e_shell_view_display_uri): Emit "view_changed". (e_shell_view_get_current_component_id): New. * evolution-shell-component-client.c: New member `id' in EvolutionShellComponentClientPrivate. (init): Init to NULL. (impl_destroy): Free. (evolution_shell_component_client_new_for_objref): Removed. (evolution_shell_component_client_construct): New arg @id. Initialize ->id from it. (evolution_shell_component_client_get_id): New. * e-shell-view.h: New signal "view_changed". * evolution-activity-client.c (create_icon_from_pixbuf): Removed. (create_corba_animated_icon_from_pixbuf_array): Removed. (evolution_activity_client_construct): Use `e_new_corba_animated_icon_from_pixbuf_array()' instead. svn path=/trunk/; revision=15438
* Added iso-8859-8 (Hebrew; Visual) to the list of charsets in the menu.Jeffrey Stedfast2002-01-051-0/+5
| | | | | | | | | 2002-01-04 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c: Added iso-8859-8 (Hebrew; Visual) to the list of charsets in the menu. Fixes bug #15655. svn path=/trunk/; revision=15246
* New. New.Ettore Perazzoli2001-12-201-0/+5
| | | | | | | * e-combo-button.c: New. * e-combo-button.h: New. svn path=/trunk/; revision=15191
* merge from headNot Zed2001-12-141-0/+6
| | | | | | | | | | 2001-11-21 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): Mark the dialogue as already up so we dont allow multiple dialogues up. Behaviour fix part of #15745. svn path=/trunk/; revision=15030
* updated to new version from Ximian Setup Tools. Fixes bug #7641.Damon Chaplin2001-11-291-0/+11
| | | | | | | | | | | | | | | 2001-11-28 Damon Chaplin <damon@ximian.com> * e-map.c: updated to new version from Ximian Setup Tools. Fixes bug #7641. 2001-11-27 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE, return the last valid date entered, even if the field is currently empty. Fixes bug #15749. svn path=/trunk/; revision=14817
* set both the date and the time of day in one call, creating only a singleJP Rosevear2001-11-061-0/+8
| | | | | | | | | | | | 2001-11-05 JP Rosevear <jpr@ximian.com> * e-dateedit.c (e_date_edit_set_date_and_time_of_day): set both the date and the time of day in one call, creating only a single changed signal * e-dateedit.h: add proto svn path=/trunk/; revision=14602
* Based on a patch by Damon Chaplin <damon@ximian.com>Christopher James Lahey2001-11-061-0/+10
| | | | | | | | | | | | | | 2001-11-05 Christopher James Lahey <clahey@ximian.com> Based on a patch by Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c: Connect to the button_press signal on the popup and do the grab correctly so that this dialog behaves properly when the user clicks it away. Also, changed all instances of setting of popup_shown field of ECellPopup to call e_cell_popup_set_shown. Fixes Ximian bug #14016. svn path=/trunk/; revision=14594
* Snotty code so we only disconnect to rules we no longer have, etc.12001-11-011-0/+5
| | | | | | | | | 2001-10-31 <NotZed@Ximian.com> * e-filter-bar.c (build_items): Snotty code so we only disconnect to rules we no longer have, etc. svn path=/trunk/; revision=14553
* Ref and connect to rule changed here, also clear out previous ref's.Not Zed2001-11-011-0/+12
| | | | | | | | | | | | | | | | 2001-11-01 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (build_items): Ref and connect to rule changed here, also clear out previous ref's. (generate_menu): No longer connect to rules, or reset rule array. (set_option): Dont reset option rules array. (context_rule_removed): Disconnect changed event on rule. (clear_rules): Fujnction to clear rules from an array. (destroy): Disconnect from context signals, and clear rules arrays. * e-filter-bar.h: Remove hash table for change id's. svn path=/trunk/; revision=14550
* emit signal when time set to none/empty.Damon Chaplin2001-10-311-0/+5
| | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_set_time_of_day): emit signal when time set to none/empty. svn path=/trunk/; revision=14502
* Hook to rule changed events. (destroy): Free change id table/unconnect to02001-10-301-0/+9
| | | | | | | | | | | | | 2001-10-30 <NotZed@Ximian.com> * e-filter-bar.c (generate_menu): Hook to rule changed events. (destroy): Free change id table/unconnect to signals. (init): Setup change id table. (e_filter_bar_new): Hook onto rule removed signal. (context_rule_removed): If rule removed, disconnect from signal handler. (rule_changed): For changed rules, also rebuild menu. Fixed #12233. svn path=/trunk/; revision=14459
* try to parse just a date first, and if that works we assume it is a DATEDamon Chaplin2001-10-301-0/+9
| | | | | | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_set_popup_values): try to parse just a date first, and if that works we assume it is a DATE value, so we clear the time field in the popup. (e_cell_date_edit_on_ok_clicked): if the time field is empty, use a DATE value. Also removed some debug messages. svn path=/trunk/; revision=14455
* Set the item to the option_base on it, so the current item is set. Fix for02001-10-301-0/+5
| | | | | | | | | 2001-10-30 <NotZed@Ximian.com> * e-filter-bar.c (set_option): Set the item to the option_base on it, so the current item is set. Fix for #7081. svn path=/trunk/; revision=14451
* Adapt to the new ECellPopup signature.Christopher James Lahey2001-10-301-0/+5
| | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Adapt to the new ECellPopup signature. svn path=/trunk/; revision=14441
* ref the ECalendarItem and check if it gets destroyed, to try to avoid aDamon Chaplin2001-10-301-0/+9
| | | | | | | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): ref the ECalendarItem and check if it gets destroyed, to try to avoid a free memory write. * e-dateedit.c (e_date_edit_set_time_of_day): allow setting the time to empty by passing hour as -1. svn path=/trunk/; revision=14394
* Don't add the menu item here, do this in the context_changed signalJeffrey Stedfast2001-10-241-0/+13
| | | | | | | | | | | | | | | | | 2001-10-23 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_clicked): Don't add the menu item here, do this in the context_changed signal callback instead. (context_changed): rebuild the search menu. (set_menu): Copy the items into a default_items list so we can regenerate the menu when something changes. Then call generate_menu(). (generate_menu): Do what set_menu() used to do. (e_filter_bar_new): Don't do a rule_context_load() anymore since we don't need to. (destroy): free the default_items list. svn path=/trunk/; revision=13975
* copy the translate field over as well. Should fix an uninitialized memoryDamon Chaplin2001-10-241-0/+5
| | | | | | | | | 2001-10-23 Damon Chaplin <damon@ximian.com> * e-search-bar.c (copy_subitems): copy the translate field over as well. Should fix an uninitialized memory read. svn path=/trunk/; revision=13964
* clear the struct tm fields to keep purify happy.Damon Chaplin2001-10-241-0/+6
| | | | | | | | | | 2001-10-23 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_check_date_changed): (e_date_edit_check_time_changed): clear the struct tm fields to keep purify happy. svn path=/trunk/; revision=13959
* use the new ECellText methods to get the text and set the value.Damon Chaplin2001-10-231-0/+9
| | | | | | | | | | | | | 2001-10-22 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_set_popup_values): (e_cell_date_edit_update_cell): use the new ECellText methods to get the text and set the value. * e-cell-percent.c: new subclass of ECellText to display & edit a percentage value. svn path=/trunk/; revision=13916
* Keep us from reading tmp_tm uninitialized, so purify won't complain.Jon Trowbridge2001-10-211-0/+5
| | | | | | | | | 2001-10-20 Jon Trowbridge <trow@ximian.com> * e-dateedit.c (e_date_edit_check_date_changed): Keep us from reading tmp_tm uninitialized, so purify won't complain. svn path=/trunk/; revision=13831
* Now takes a menu path argument.Jeffrey Stedfast2001-10-101-0/+5
| | | | | | | | | 2001-10-09 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Now takes a menu path argument. svn path=/trunk/; revision=13528
* added BONOBO_GNOME_CFLAGS to make it compile with latest BonoboRodrigo Moya2001-10-041-0/+5
| | | | | | | | | | 2001-10-04 Rodrigo Moya <rodrigo@ximian.com> * misc/Makefile.am: * menus/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile with latest Bonobo svn path=/trunk/; revision=13407
* Call gnome_canvas_world_to_window here. Finishes fixing Ximian bug #2613.Christopher James Lahey2001-10-041-0/+6
| | | | | | | | | | 2001-10-04 Christopher James Lahey <clahey@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Call gnome_canvas_world_to_window here. Finishes fixing Ximian bug #2613. svn path=/trunk/; revision=13405
* grab focus to the date entry or the time entry, depending on which isDamon Chaplin2001-09-271-0/+5
| | | | | | | | | 2001-09-18 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_grab_focus): grab focus to the date entry or the time entry, depending on which is visible. Fixes bug #7237. svn path=/trunk/; revision=13185
* add prototype for e_date_edit_set_editable.Chris Toshok2001-09-171-0/+8
| | | | | | | | | | | | 2001-09-16 Chris Toshok <toshok@ximian.com> * e-dateedit.h: add prototype for e_date_edit_set_editable. * e-dateedit.c (e_date_edit_set_editable): new function, analogous to gtk_entry_set_editable: let's the user select but not edit (or in this case, bring up the calendar view.) svn path=/trunk/; revision=12867
* Don't unref the old dropdown, we don't "own" it.Jeffrey Stedfast2001-09-141-0/+5
| | | | | | | | | 2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (set_dropdown): Don't unref the old dropdown, we don't "own" it. svn path=/trunk/; revision=12805
* unref the old dropdown_menu if there is one.Larry Ewing2001-09-131-0/+5
| | | | | | | | | 2001-09-13 Larry Ewing <lewing@ximian.com> * e-search-bar.c (set_dropdown): unref the old dropdown_menu if there is one. svn path=/trunk/; revision=12796
* No longer need the context in order to clone a FilterRule.Jeffrey Stedfast2001-09-131-0/+6
| | | | | | | | | | 2001-09-12 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (menubar_activated): No longer need the context in order to clone a FilterRule. (option_changed): Same. svn path=/trunk/; revision=12791
* added a default size for the saved search dialog of 600 x 300 such that itAnna Marie Dirks2001-09-071-0/+6
| | | | | | | | | | 2001-09-06 Anna Marie Dirks <anna@ximian.com> * e-filter-bar.c: added a default size for the saved search dialog of 600 x 300 such that it opens at a usable size. this fixes bug #7083. svn path=/trunk/; revision=12661
* added a wee bit of padding around the find now label in response to bugAnna Marie Dirks2001-09-061-0/+5
| | | | | | | | | 001-09-05 Anna Marie Dirks <anna@ximian.com> * e-search-bar.c (add_activate_button): added a wee bit of padding around the find now label in response to bug #7049. svn path=/trunk/; revision=12627
* New prototype here.Ettore Perazzoli2001-08-291-0/+5
| | | | | | | | | 2001-08-27 Ettore Perazzoli <ettore@ximian.com> * e-timezone-dialog/e-timezone-dialog.h (e_timezone_dialog_reparent): New prototype here. svn path=/trunk/; revision=12511
* added e_date_edit_get/set_make_time_insensitive() which makes the timeDamon Chaplin2001-08-171-0/+6
| | | | | | | | | | 2001-08-16 Damon Chaplin <damon@ximian.com> * e-dateedit.c: added e_date_edit_get/set_make_time_insensitive() which makes the time field insensitive rather than hiding it. I'm not sure we're going to actually use this now, though. svn path=/trunk/; revision=12135
* Set the horizontal usize of the entry to 4.Ettore Perazzoli2001-08-171-0/+5
| | | | | | | * e-search-bar.c (activate_by_subitems): Set the horizontal usize of the entry to 4. svn path=/trunk/; revision=12132
* Boost scoring on an exact nickname match. Manually addressify match.Jon Trowbridge2001-08-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-16 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c (match_nickname): Boost scoring on an exact nickname match. Manually addressify match. (match_name): Manually addressify matches. (book_query_score): Remove automatic addressification. * gui/component/addressbook.c (addressbook_query_changed): Minor tweak to avoid a crash if we have a negative subid with id ESB_CATEGORY. This should never happen. (addressbook_menu_activated): Reset the entry/option when we select "Clear". Some changes to reflect renaming in ESearchBar. * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): Cardify after importing destinations. This might fix a problem that Damon is having. 2001-08-16 Jon Trowbridge <trow@ximian.com> * e-filter-bar.c (option_changed): Adjusted for renamed ESearchBar functions. (menubar_activated): Adjusted for renamed ESearchBar functions. * e-search-bar.c: Renames some of the horrible function names: s/option_choice/item_id/, s/suboption_choice/subitem_id/. 2001-08-16 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Changed to reflect my renaming of some of the more hideously-named functions in the ESearchBar API. svn path=/trunk/; revision=12081
* Destroy, do not unref, the popup_window.Federico Mena Quintero2001-08-151-0/+5
| | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_destroy): Destroy, do not unref, the popup_window. svn path=/trunk/; revision=12022
* Correctness fixes for when the entry and submenu must be interchanged.Federico Mena Quintero2001-08-151-0/+5
| | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-search-bar.c (activate_by_subitems): Correctness fixes for when the entry and submenu must be interchanged. svn path=/trunk/; revision=12019
* *Please* add accessor functions instead of just object arguments!Federico Mena Quintero2001-08-151-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> *Please* add accessor functions instead of just object arguments! * e-search-bar.c (e_search_bar_set_option_choice): New function. (e_search_bar_set_suboption_choice): New function. (e_search_bar_set_text): New function. (impl_set_arg): Use the functions above instead of setting things directly. (add_dropdown): If the item is a separator, set it as insensitive. (activate_by_subitems): Handle the translate field in the subitem structure. Also, allow the creation of separators by having NULL text strings in the subitems. (set_option): If the item is a separator, set it as insensitive. (set_option): Do not use the subitem_garbage hack. Do proper memory management instead. (e_search_bar_set_suboption): New function to change the suboption items in a search bar. * e-search-bar.h (ESearchBarSubitem): Added a `translate' field. This API sucks so much it is not funny. (ESearchBar): Removed the subitem_garbage hack. Please do proper memory management. svn path=/trunk/; revision=12014
* Add "Any Category" option for category searches.Jon Trowbridge2001-08-141-0/+5
| | | | | | | | | | | | | | | | 2001-08-14 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c (addressbook_factory_new_control): Add "Any Category" option for category searches. (addressbook_query_changed): Do the right thing on an "Any Category" search. 2001-08-14 Jon Trowbridge <trow@ximian.com> * e-search-bar.c (activate_by_subitems): Oops... initial suboption_choice should be subitems[0].id, not 0. svn path=/trunk/; revision=12013
* Oops, we didn't need to unref all of the widgets, just a few.Jeffrey Stedfast2001-08-111-3/+5
| | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_destroy): Oops, we didn't need to unref all of the widgets, just a few. svn path=/trunk/; revision=11907
* Removed comment about the need to resolve nicknames properly, because weJon Trowbridge2001-08-111-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Removed comment about the need to resolve nicknames properly, because we now do that. 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-filter-bar.h: Set the subitems to NULL in the pre-defined ESearchBarItems. * e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's subitems to NULL. (build_items): Set the ESearchBarItem's subitems to NULL. (e_filter_bar_new): Set the ESearchBarItem's subitems to NULL. * e-search-bar.c: Added support for subitems, so that a search option can key off of another option menu rather than just an entry. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c: Set the ESearchBarItem subitems explicitly to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Where we have ESearchBarItems, set their subitems to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c: Set our ESearchBarItems subitems to NULL. svn path=/trunk/; revision=11904
* Don't forget to unref stuff here too.Jeffrey Stedfast2001-08-101-1/+9
| | | | | | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_destroy): Don't forget to unref stuff here too. * e-filter-bar.c (destroy): Free all the goodies that we allocate at construct time and unref the rule context. (class_init): Override the destroy method. svn path=/trunk/; revision=11871
* Fixes bug #6918Anna Marie Dirks2001-08-101-0/+8
| | | | | | | | | | | 2001-08-09 Anna Marie Dirks <anna@ximian.com> Fixes bug #6918 * e-filter-bar.h: Changed the "Save As.." menu item to "Add to Saved Searches". svn path=/trunk/; revision=11850
* changed the E_FILTERBAR_RESET label from "Show All" to "Clear" toAnna Marie Dirks2001-08-101-0/+6
| | | | | | | | | | 2001-08-09 Anna Marie Dirks <anna@ximian.com> * e-filter-bar.h : changed the E_FILTERBAR_RESET label from "Show All" to "Clear" to alleviate confusion about whether "Show All" means that hidden messages are also shown or not. (See ximian bug #6743) svn path=/trunk/; revision=11833
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-091-1/+10
| | | | | | | | | | | | | 2001-08-09 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_destroy): Chain to the destroy handler in the parent class! * e-clipped-label.c (e_clipped_label_destroy): Likewise. Sigh. * e-dropdown-button.c (impl_destroy): Likewise. Double sigh. svn path=/trunk/; revision=11817
* Re-labeled the "Activate" button "Find Now".Anna Marie Dirks2001-08-091-0/+4
| | | | | | | 2001-08-08 Anna Marie Dirks <anna@ximian.com> * e-search-bar.c: Re-labeled the "Activate" button "Find Now". svn path=/trunk/; revision=11804
* New. New.Ettore Perazzoli2001-08-081-0/+5
| | | | | | | * e-bonobo-widget.c: New. * e-bonobo-widget.h: New. svn path=/trunk/; revision=11768
* [Added an "Activate" button to the search bar.]Ettore Perazzoli2001-08-051-0/+15
| | | | | | | | | | | | | | | * e-search-bar.c (submit_button_clicked_cb): Callback for the "clicked" signal on the activate button. (add_submit): New function to add a "Activate" button on the right of the entry. (e_search_bar_construct): Call it. (add_spacer): Removed. (e_search_bar_construct): Don't call it. (find_id): Remove debugging message. (put_in_spacer_widget): New utility function to create a GtkEventBox with a border width of one and put a widget into it. svn path=/trunk/; revision=11690
* Make the close icon as large as the pin icon so the bar doesn't changeEttore Perazzoli2001-08-051-0/+7
| | | | | | | | | * e-title-bar.c: Make the close icon as large as the pin icon so the bar doesn't change size when it switches between them. (e_title_bar_construct): Add some horizontal padding to the label to make it look nicer. svn path=/trunk/; revision=11688
* Request an update. (e_calendar_item_mark_days): Likewise.Federico Mena Quintero2001-08-041-0/+5
| | | | | | | | | 2001-08-03 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_mark_day): Request an update. (e_calendar_item_mark_days): Likewise. svn path=/trunk/; revision=11643
* don't show the year in the popup submenu for the months, and center theDamon Chaplin2001-07-251-0/+6
| | | | | | | | | | 2001-07-24 Damon Chaplin <damon@ximian.com> * e-calendar-item.c (e_calendar_item_show_popup_menu): don't show the year in the popup submenu for the months, and center the months. Fixes bug #4397. svn path=/trunk/; revision=11365
* When the dialog gets closed, always make sure the entry widget becomesJeffrey Stedfast2001-07-191-0/+3
| | | | | | | | | | | | 2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_destroyed): When the dialog gets closed, always make sure the entry widget becomes sensitive again. (menubar_activated): Don't use FILTER_SOURCE_INCOMING because that's not what we want, we want (I think) NULL (at least with NULL, bug #4490 goes away). svn path=/trunk/; revision=11209
* When the dialog gets closed, always make sure the entry widget becomesJeffrey Stedfast2001-07-191-0/+5
| | | | | | | | | 2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_destroyed): When the dialog gets closed, always make sure the entry widget becomes sensitive again. svn path=/trunk/; revision=11208
* Fixes bug #2901.Federico Mena Quintero2001-07-171-0/+7
| | | | | | | | | | | 2001-07-16 Federico Mena Quintero <federico@ximian.com> Fixes bug #2901. * e-dateedit.c (e_date_edit_parse_date): Use e_time_parse_date(). (e_date_edit_parse_time): Use e_time_parse_time(). svn path=/trunk/; revision=11137
* *** empty log message ***Jacob Berkman2001-07-161-0/+10
| | | | svn path=/trunk/; revision=11126
* added functions to set a callback to get the current time, which is usedDamon Chaplin2001-07-031-0/+8
| | | | | | | | | | | | 2001-07-02 Damon Chaplin <damon@ximian.com> * e-calendar-item.c: * e-cell-date-edit.c: * e-dateedit.c: added functions to set a callback to get the current time, which is used instead of localtime(). We need this as we have to use our own timezones. svn path=/trunk/; revision=10728
* Take a callback function and user_data so that we can add listeners toJeffrey Stedfast2001-07-031-0/+6
| | | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Take a callback function and user_data so that we can add listeners to each of the menu items. svn path=/trunk/; revision=10702
* Updated to build e-charset-picker.cJeffrey Stedfast2001-07-031-0/+8
| | | | | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Updated to build e-charset-picker.c * e-charset-picker.[c,h]: Moved here from gal. (e_charset_picker_bonobo_ui_populate): New function to populate a bonobo-ui with a charset picker menu. svn path=/trunk/; revision=10687
* copied the EMap widget verbatim from Ximian Setup Tools. Hmm. Maybe itDamon Chaplin2001-06-141-0/+8
| | | | | | | | | | | | 2001-06-14 Damon Chaplin <damon@ximian.com> * e-map.[hc]: copied the EMap widget verbatim from Ximian Setup Tools. Hmm. Maybe it should go in gal, but its not a very general widget. * Makefile.am (INCLUDES): defined MAP_DIR for e-map.c. (libemiscwidgets_a_SOURCES): added e-map.[hc]. svn path=/trunk/; revision=10221
* Removed unused variable.Federico Mena Quintero2001-06-011-0/+8
| | | | | | | | | | | | 2001-05-31 Federico Mena Quintero <federico@ximian.com> * e-dropdown-button.c (impl_button_press_event): Removed unused variable. * e-cell-date-edit.c (e_cell_date_edit_rebuild_time_list): Removed unused variable. svn path=/trunk/; revision=10062
* I am sure at least with this:Gediminas Paulauskas2001-05-071-0/+5
| | | | | | | | | 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * misc/e-filter-bar.h: xgettext does not find N_() in #defines. So created fake enum. Also removed spaces before "..." svn path=/trunk/; revision=9690
* UpdateKjartan Maraas2001-04-241-2/+3
| | | | svn path=/trunk/; revision=9541
* Added #include <glib.h> and moved corresponding local headers to the top.Kjartan Maraas2001-04-241-0/+6
| | | | | | | | | | 2001-04-24 Kjartan Maraas <kmaraas@gnome.org> * e-calendar-item.c, e-calendar.c, e-cell-date-edit.c, e-clipped-label.c: Added #include <glib.h> and moved corresponding local headers to the top. svn path=/trunk/; revision=9540
* New function, because it is ridiculous to have to hunt down objectFederico Mena Quintero2001-04-161-0/+9
| | | | | | | | | | | | | 2001-04-15 Federico Mena Quintero <federico@ximian.com> * e-search-bar.c (e_search_bar_get_option_choice): New function, because it is ridiculous to have to hunt down object arguments to fetch values. (e_search_bar_get_text): Likewise. (impl_get_arg): Use the functions above so that we have to maintain only one version of the getters. svn path=/trunk/; revision=9339
* More header fixes. Same. Same. Same here. More header fixes. Same here.Kjartan Maraas2001-04-051-0/+9
| | | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * e-calendar.c: More header fixes. * e-cell-date-edit.c: Same. * e-dateedit.[ch]: Same. * e-title-bar.c: Same here. * e-search-bar.c: More header fixes. * test-calendar.c: Same here. svn path=/trunk/; revision=9178
* Replace #include <gtk/gtk.h> Remove #include <gnome.h> Replace #includeKjartan Maraas2001-03-301-0/+16
| | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-dropdown-button.c: Replace #include <gtk/gtk.h> * e-dropdown-button.h: Remove #include <gnome.h> * e-filter-bar.c: Replace #include <gtk/gtk.h> * e-filter-bar.h: Replace #include <gtk/gtk.h> * e-messagebox.c: Add #includes to count for removed <gnome.h> in e-messagebox.h: * e-messagebox.h: Replace #include <gnome.h> * e-search-bar.c: Replace #include <gnome.h> * e-search-bar.h: Same here * test-calendar.c: Remove #include <gnome.h> * test-dateedit.c: Replace #include <gnome.h> * test-dropdown-button.c: Same here. * test-title-bar.c: Same here. svn path=/trunk/; revision=9018
* Validate the filter rule.Jeffrey Stedfast2001-03-231-0/+4
| | | | | | | | 2001-03-22 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_clicked): Validate the filter rule. svn path=/trunk/; revision=8909
* use gnome_dialog_run() to make the warning dialog modal. Also created aDamon Chaplin2001-03-191-0/+7
| | | | | | | | | | | 2001-03-18 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_show_time_invalid_warning): use gnome_dialog_run() to make the warning dialog modal. Also created a better warning message showing the format expected. Also used e_time_format_time() to format all times. svn path=/trunk/; revision=8823
* If we click on the edit menu, then bring up a rule editor. If the userNot Zed2001-03-151-0/+6
| | | | | | | | | | 2001-03-15 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): If we click on the edit menu, then bring up a rule editor. If the user adds/removes rules though, they are neither saved, nor added to the menu's. sigh. svn path=/trunk/; revision=8730
* pretty much working now.Damon Chaplin2001-03-051-0/+4
| | | | | | | | 2001-03-04 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c: pretty much working now. svn path=/trunk/; revision=8548
* New type of search bar that interacts with filter contexts to save filtersNot Zed2001-03-011-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Not Zed <NotZed@Ximian.com> * e-filter-bar.c: New type of search bar that interacts with filter contexts to save filters etc. Still probably needs a little cleanpu. 2001-02-28 Not Zed <NotZed@Ximian.com> * e-search-bar.c (add_dropdown): Save the dropdown menu in the struct too. Sigh, this is only so we can scan its content later, ick. (e_search_bar_set_menu_sensitive): New function to se tthe sentisitivty of menyu items based on id. (find_id): New function to find the row and widget for a specific id. (add_option): Renamed to set_option. (add_dropdown): Renamed to set_dropdown. (add_dropdown): ?New function to add a single item. (set_dropdown): Call add_dropdown to add each item. (e_search_bar_add_menu): New public function to add a single item. 2001-02-27 Not Zed <NotZed@Ximian.com> * Makefile.am (libemiscwidgets_a_SOURCES): Added filter-bar.[ch]. * e-search-bar.c (class_init): Init virtual functions. (e_search_bar_set_option): (e_search_bar_set_menu): virtualise calling. (e_search_bar_construct): Call virtual functions to setup menus. * e-search-bar.h (struct _ESearchBarClass): Virtualise add_dropdown/add_option, so certain base options can be created. svn path=/trunk/; revision=8436
* new files to implement an ECell for showing and editing dates & times.Damon Chaplin2001-02-261-0/+7
| | | | | | | | | | | 2001-02-25 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.[hc]: new files to implement an ECell for showing and editing dates & times. (Unfinished) * Makefile.am (libemiscwidgets_a_SOURCES): added e-cell-date-edit.[hc] svn path=/trunk/; revision=8388
* Move the event box into the esb->dropdown_holder. Changed so it can beNot Zed2001-02-241-0/+10
| | | | | | | | | | | | | | 2001-02-24 Not Zed <NotZed@Ximian.com> * e-search-bar.c (add_dropdown): Move the event box into the esb->dropdown_holder. Changed so it can be called again on the same esb, to rebuild the menu. (e_search_bar_set_menu): New function to (re)set the menu. (add_option): Setup so it can be re-called to rebuild the option list. (e_search_bar_set_option): New function to build the menu's. svn path=/trunk/; revision=8373
* Ignore test-dropdown-buttonJeffrey Stedfast2001-02-061-0/+4
| | | | | | | | 2001-02-05 Jeffrey Stedfast <fejj@ximian.com> * .cvsignore: Ignore test-dropdown-button svn path=/trunk/; revision=8013
* Make the ESearchBar pretty by using the same border for the dropdownEttore Perazzoli2001-01-281-0/+7
| | | | | | | | button as the option menu, and adding the right amount of empty space on the right, to match the size of a scrollbar. (The latter is just a dirty ugly bad hack, but it's fine for now.) svn path=/trunk/; revision=7876
* Changed the EDropdownButton so that it works more like a standard menuEttore Perazzoli2001-01-281-0/+13
| | | | | | | | bar (i.e. the menu is popped up on button_press instead of button_release). Now it is also based on GtkToggleButton, so it stays pushed down when the menu is on the screen. svn path=/trunk/; revision=7869
* Make the ESearchBar use the new EDropdownButton widget.Ettore Perazzoli2001-01-271-0/+31
| | | | svn path=/trunk/; revision=7855
* Fix the API to EDropdownButton by removing args that don't make muchEttore Perazzoli2001-01-271-0/+7
| | | | | | sense. svn path=/trunk/; revision=7854
* ...And the ChangeLog too.Ettore Perazzoli2001-01-271-0/+4
| | | | svn path=/trunk/; revision=7853
* e_calendar_item_get_date_range() now returns a boolean, which is FALSE ifDamon Chaplin2001-01-251-0/+6
| | | | | | | | | | 2001-01-25 Damon Chaplin <damon@ximian.com> * e-calendar-item.[hc]: e_calendar_item_get_date_range() now returns a boolean, which is FALSE if no dates are currently shown. Plus a couple of minor sanity checks. svn path=/trunk/; revision=7799
* Unset the GTK_CAN_FOCUS flag on the ECalendar. (e_calendar_focus_in):Federico Mena Quintero2001-01-201-0/+10
| | | | | | | | | | | | | | 2001-01-19 Federico Mena Quintero <federico@ximian.com> * e-calendar.c (e_calendar_init): Unset the GTK_CAN_FOCUS flag on the ECalendar. (e_calendar_focus_in): Removed function since it did nothing. (e_calendar_focus_out): Likewise. (e_calendar_key_press): Likewise. (e_calendar_init): Turn off the GTK_CAN_FOCUS flag for both arrow buttons. svn path=/trunk/; revision=7665
* Make zero the minimum number of days that can be specified.Federico Mena Quintero2001-01-191-0/+11
| | | | | | | | | | | | | | | 2001-01-17 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_set_max_days_sel): Make zero the minimum number of days that can be specified. (e_calendar_item_set_arg): We do need an update when the maximum number of selected days is changed. (e_calendar_item_set_max_days_sel): Request an update of the canvas item. (e_calendar_item_button_press): Do not start selecting days if the max_days_selected is less than 1. svn path=/trunk/; revision=7625
* Oops. Delete this. I never meant for this to get commit'd.Jeffrey Stedfast2001-01-181-0/+5
| | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * e-messagebox.c (e_message_box_get_id): Oops. Delete this. I never meant for this to get commit'd. svn path=/trunk/; revision=7587
* Dont remove the function, give it the proper nameJP Rosevear2001-01-171-0/+5
| | | | | | | | | 2001-01-17 JP Rosevear <jpr@ximian.com> * e-messagebox.c (e_message_box_get_id): Dont remove the function, give it the proper name svn path=/trunk/; revision=7580
* Fix the build by removing a stale function definition. Sigh.Ettore Perazzoli2001-01-171-0/+6
| | | | svn path=/trunk/; revision=7578
* Added e-messagebox to the build.Jeffrey Stedfast2001-01-171-0/+7
| | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Added e-messagebox to the build. * e-messagebox.[c,h]: Added a new messagebox window that contains a checkbox for "Don't show me this again." svn path=/trunk/; revision=7566