aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
Commit message (Collapse)AuthorAgeFilesLines
...
* add a11y name for the option menu.Mengjie Yu2005-01-242-0/+11
| | | | | | | | | 2005-01-24 Mengjie Yu <meng-jie.yu@sun.com> * e-search-bar.c: (set_option): add a11y name for the option menu. svn path=/trunk/; revision=28523
* Don't pass in the "fill_color" property for creating the canvas item forRodney Dawes2005-01-222-2/+0
| | | | | | | | | | | | | 2005-01-21 Rodney Dawes <dobey@novell.com> * gal/e-text/e-text.c (_do_tooltip): Don't pass in the "fill_color" property for creating the canvas item for the tooltip * gal/widgets/e-reflow.c (set_empty): Don't pass in the "fill_color" property for creating the EText canvas item Fixes #9413 svn path=/trunk/; revision=28501
* fix a typoHarry Lu2005-01-201-1/+1
| | | | svn path=/trunk/; revision=28461
* ** See bug #64964.Not Zed2005-01-202-1/+14
| | | | | | | | | | | | | 2005-01-20 Not Zed <NotZed@Ximian.com> ** See bug #64964. * e-error.c (e_error_newv): just use add_button, not add_action_widget, for stock+label widgets, since they both show the same, and for some reason set_default_response doesn't work otherwise. svn path=/trunk/; revision=28460
* add a translater note.Harry Lu2005-01-202-0/+6
| | | | | | | | 2005-01-20 Harry Lu <harry.lu@sun.com> * e-search-bar.c: (activate_by_subitems): add a translater note. svn path=/trunk/; revision=28457
* Fix for 46359, enable "Alt+Down Arrow" to show the popup forHarry Lu2005-01-192-12/+42
| | | | | | | | | | | | | | | | | 2005-01-19 Harry Lu <harry.lu@sun.com> Fix for 46359, enable "Alt+Down Arrow" to show the popup for e-combo-cell-editable.c. * e-combo-cell-editable.c: (show_popup): rewrite it to a more generic function. (button_clicked_cb): call the new show_popup function. (entry_key_press_event_cb): show popup if "Alt+Down Arrow". (ecce_grab_focus): new function. (ecce_class_init): add grab_focus handler so that the entry can get focus. svn path=/trunk/; revision=28446
* return the entry of the date edit.Hao Sheng2005-01-183-0/+16
| | | | | | | | | 2005-01-18 Hao Sheng <hao.sheng@sun.com> * misc/e-dateedit.[ch]: (e_date_edit_get_entry): return the entry of the date edit. svn path=/trunk/; revision=28428
* Fix for 62831.Harry Lu2005-01-172-0/+12
| | | | | | | | | | | 2005-01-17 Harry Lu <harry.lu@sun.com> Fix for 62831. * e-search-bar.c: (activate_by_subitems): add an a11y name for the search entry. svn path=/trunk/; revision=28416
* Get the value for the autodelete toggle button (page_changed_cb): Do notChenthill Palanisamy2005-01-122-2/+15
| | | | | | | | | | | | 2005-01-12 Chenthill Palanisamy <pchenthill@novell.com> * e-send-options.c: (e_send_options_get_widgets_data), (e_send_options_fill_widgets_with_data): Get the value for the autodelete toggle button (page_changed_cb): Do not hide the classification label and its combo box here. svn path=/trunk/; revision=28379
* Added code to support global options. Filled the finalize and disposeChenthill Palanisamy2005-01-104-13/+167
| | | | | | | | | | | | | | | | | 2005-01-10 Chenthill Palanisamy <pchenthill@novell.com> * e-send-options.c: (e_send_options_get_widgets_data), (e_send_options_fill_widgets_with_data), (page_changed_cb), (init_widgets), (get_widgets), (setup_widgets), (e_sendoptions_set_global), (e_sendoptions_dialog_run), (e_sendoptions_dialog_finalize), (e_sendoptions_dialog_dispose), (e_sendoptions_dialog_init), (e_sendoptions_dialog_class_init), (e_sendoptions_dialog_get_type): Added code to support global options. Filled the finalize and dispose functions. * e-send-options.glade: Changed a label id. * e-send-options.h: Added the set_global function. svn path=/trunk/; revision=28315
* dist the glade fileJP Rosevear2005-01-062-0/+5
| | | | | | | | 2005-01-06 JP Rosevear <jpr@novell.com> * Makefile.am: dist the glade file svn path=/trunk/; revision=28255
* Commiting the files mentioned below again to HEAD since it was not addedChenthill Palanisamy2005-01-064-0/+1939
| | | | | | | | | 2005-01-06 Chenthill Palanisamy <pchenthill@novell.com> Commiting the files mentioned below again to HEAD since it was not added in head. svn path=/trunk/; revision=28250
* merging send optionsChenthill Palanisamy2005-01-062-0/+12
| | | | | | | | | | | 2005-01-06 Chenthill Palanisamy <pchenthill@novell.com> merging send options * Makefile.am: * e-send-options.[ch]: Widgets for the send options dialog * e-send-options.glade: Contains interface for the dialog svn path=/trunk/; revision=28249
* Modify the changelog's entry date to corret year.Harry Lu2005-01-041-1/+1
| | | | svn path=/trunk/; revision=28229
* new internal function to popup the menu. (impl_button_press_event): callHarry Lu2005-01-043-4/+61
| | | | | | | | | | | | | | 2004-01-04 Harry Lu <harry.lu@sun.com> * misc/e-combo-button.c: (e_combo_button_popup): new internal function to popup the menu. (impl_button_press_event): call the new function. (e_combo_button_class_init): init a11y. (e_combo_button_get_label): new function to return label. (e_combo_button_popup_menu): new function to popup menu. * misc/e-combo-button.h: add function declarations. svn path=/trunk/; revision=28227
* translate strings based on translation-domain, if supplied.Not Zed2004-12-222-9/+29
| | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * e-error.c (ee_load, e_error_newv): translate strings based on translation-domain, if supplied. svn path=/trunk/; revision=28179
* Fixes #29309JP Rosevear2004-12-222-3/+18
| | | | | | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> Fixes #29309 * e-table-header-item.h: add field chooser dialog data member * e-table-header-item.c: remove weak pointer ref (ethi_popup_field_chooser): if we already have a dialog, just present it, otherwise create a new one and listen for its destruction svn path=/trunk/; revision=28169
* Use gtk_paint_foo instead of the deprecated gtk_draw_foo functionsRodney Dawes2004-12-153-99/+46
| | | | | | | | | | | | | | | | 2004-12-14 Rodney Dawes <dobey@novell.com> * e-calendar-item.c (e_calendar_item_draw): Use gtk_paint_foo instead of the deprecated gtk_draw_foo functions (e_calendar_item_get_day_style): Use colors from the theme for the background and foreground of various items * test-calendar.c (main): Don't set a callback for getting the day style, we want the test app to use the widget defaults (get_day_style): Remove all this duplicated code as we want to use the widget default colors for day fg/bg svn path=/trunk/; revision=28126
* test progJP Rosevear2004-11-2619-696/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * test-info-label.c: test prog * e-url-entry.c: get image directly from icon factory * e-combo-button.c: ditto; convert to G_DEFINE_TYPE * e-activity-handler.c: convert to G_DEFINE_TYPE * e-task-widget.c: ditto * e-task-bar.c: ditto * e-multi-config-dialog.c: ditto * e-dropdown-button.c: ditto * e-cell-renderer-combo.c: ditto * e-cell-date-edit.c: ditto * e-calendar.c: ditto * e-calendar-item.c: ditto * Makefile.am: don't build the title bar, build an info label test program svn path=/trunk/; revision=27999
* check whether header_canvas and table_canvas is NULL.Li Yuan2004-11-241-3/+5
| | | | | | | | | 2004-11-24 Li Yuan <li.yuan@sun.com> * e-table.c: (e_table_get_cell_geometry): check whether header_canvas and table_canvas is NULL. svn path=/trunk/; revision=27980
* Convert to G_DEFINE_TYPEJP Rosevear2004-11-122-12/+16
| | | | | | | | 2004-11-12 JP Rosevear <jpr@novell.com> * menus/gal-view-menus.c: Convert to G_DEFINE_TYPE svn path=/trunk/; revision=27904
* convert to G_DEFINE_TYPEJP Rosevear2004-11-122-12/+10
| | | | | | | | 2004-11-12 JP Rosevear <jpr@novell.com> * e-timezone-dialog/e-timezone-dialog.c: convert to G_DEFINE_TYPE svn path=/trunk/; revision=27903
* if canvas has a focused item but the etable does not have a cursor row,Li Yuan2004-11-041-0/+4
| | | | | | | | | | 2004-11-04 Li Yuan <li.yuan@sun.com> * gal/e-table/e-table.c: (table_canvas_focus_event_cb): if canvas has a focused item but the etable does not have a cursor row, just focus the first item. svn path=/trunk/; revision=27828
* Fix up changelogs to have the correct info.JP Rosevear2004-11-022-86/+91
| | | | svn path=/trunk/; revision=27778
* Add a name for timezone combox. Make accessibility name and descriptionLi Yuan2004-11-016-1/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-28 Li Yuan <li.yuan@sun.com> * e-timezone-dialog/e-timezone-dialog.glade: Add a name for timezone combox. * misc/e-calendar.c: (e_calendar_init), (e_calendar_new): Make accessibility name and description translatable. Add a atk name for the two buttons so that they can be UI grabbed by GOK. * misc/e-dateedit.c: (e_date_edit_new), (create_children): Add a name for atk object. Make accessibility name and description translatable. Add name and description for the date_entry, date_button and time_combo. (e_date_edit_show_date_popup), (hide_date_popup): Grab and ungrab keyboard. add_relation(): New function to add labelled_by relation for entry and combobox. * misc/e-map.c: (e_map_new): Add a name for world map widget. Make accessibility name and description translatable. Set the atk role to image. * misc/e-multi-config-dialog.c: (e_multi_config_dialog_add_page): Add an atk name for the page. svn path=/trunk/; revision=27776
* use E_WIDGET instead of GNOME_FULLJP Rosevear2004-10-282-8/+12
| | | | | | | | 2004-10-27 JP Rosevear <jpr@novell.com> * Makefile.am: use E_WIDGET instead of GNOME_FULL svn path=/trunk/; revision=27745
* return FALSE so we don't kill the focus event chainJP Rosevear2004-10-201-3/+3
| | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * e-table.c (table_canvas_focus_event_cb): return FALSE so we don't kill the focus event chain svn path=/trunk/; revision=27625
* fix e-source-option-menu includeJP Rosevear2004-10-152-1/+5
| | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * e-pilot-settings.c: fix e-source-option-menu include svn path=/trunk/; revision=27585
* don't build source selector or source option menu or test programs anyJP Rosevear2004-10-149-1825/+7
| | | | | | | | | 2004-10-13 JP Rosevear <jpr@novell.com> * Makefile.am: don't build source selector or source option menu or test programs any more svn path=/trunk/; revision=27570
* implement popup_menu so that popup menu can be shown with Shift+F10.Harry Lu2004-10-082-0/+24
| | | | | | | | | | 2004-10-08 Harry Lu <harry.lu@sun.com> * e-source-selector.c: (e_source_selector_popup_menu), (class_init): implement popup_menu so that popup menu can be shown with Shift+F10. svn path=/trunk/; revision=27506
* Fixes #66164JP Rosevear2004-10-062-2/+14
| | | | | | | | | | | 2004-10-06 JP Rosevear <jpr@novell.com> Fixes #66164 * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): replicate fix to e-cell-combo.c by NotZed svn path=/trunk/; revision=27475
* added boolean object boxed.Not Zed2004-10-064-21/+38
| | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * e-util-marshal.list: added boolean object boxed. * e-source-selector.c (class_init): add new 'popup event' signal, to replace fill_popup_menu. (selector_button_press_event): emit a POPUP_EVENT rather than a FILL_POPUP_MENU. svn path=/trunk/; revision=27465
* Add the label back for previewing the timezone name, and set the labelRodney Dawes2004-09-143-10/+66
| | | | | | | | | | | | | | 2004-09-13 Rodney Dawes <dobey@novell.com> * e-timezone-dialog/e-timezone-dialog.c (get_widgets): (on_map_motion, on_map_leave, e_timezone_dialog_set_timezone): * e-timezone-dialog/e-timezone-dialog.glade: Add the label back for previewing the timezone name, and set the label appropriately Fixes #64800 svn path=/trunk/; revision=27258
* Point at "config-prefs" instead of "config" for the help sectionRodney Dawes2004-09-142-1/+6
| | | | | | | | | 2004-09-13 Rodney Dawes <dobey@novell.com> * e-multi-config-dialog.c (impl_response): Point at "config-prefs" instead of "config" for the help section svn path=/trunk/; revision=27254
* Bugzilla #63731Suresh Chandrasekharan2004-08-311-2/+32
| | | | | | | | | | | | | | | | 2004-08-29 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Bugzilla #63731 * gal/e-text/e-text.c (insert_preedit_text): For multilple ETexts sharing the same GnomeCanvas im_context, prevent updating all childern in case preedit for one changed. (e_text_event): Don't disconnect the signal to a EText if it is out of focus and still having preedit. Save it and disconnect it when another EText comes into focus. svn path=/trunk/; revision=27085
* Rollback for fix #63731Suresh Chandrasekharan2004-08-262-17/+24
| | | | | | | 2004-08-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Rollback for fix #63731 svn path=/trunk/; revision=27028
* Bugzilla #63731Suresh Chandrasekharan2004-08-262-24/+17
| | | | | | | | | | | | | | | | | | | | | 2004-08-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Bugzilla #63731 * gal/e-text/e-text.h: Remove unneeded text->im_context_signals_registered. * gal/e-text/e-text.c (e_text_init): Removed text->im_context_signals_registered (e_text_event): Remove text->im_context signals handler connect/disconnect from here. (e_text_set_property): Added them here, now they will be invoked only @ text->im_context creation time, or re-set or at e_text_dispose. Also focus_out events does not affect the signals as they used to. svn path=/trunk/; revision=27024
* [ probable fix for the remaining portion of #45931 ]Chris Toshok2004-08-251-3/+8
| | | | | | | | | | | | 2004-08-23 Chris Toshok <toshok@ximian.com> [ probable fix for the remaining portion of #45931 ] * gal/e-text/e-entry.c (e_entry_show_popup): only return early if we're trying to pop up the view while the entry is unfocused. if we're trying to pop it down, carry on as normal. svn path=/trunk/; revision=27009
* Connect to the "changed" signal instead of "activate"Rodney Dawes2004-08-172-1/+8
| | | | | | | | | | | 2004-08-17 Rodney Dawes <dobey@novell.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Connect to the "changed" signal instead of "activate" Fixes #62970 svn path=/trunk/; revision=26956
* Really dist the pilot sources this timeJP Rosevear2004-08-132-0/+10
| | | | | | | | 2004-08-03 JP Rosevear <jpr@novell.com> * Makefile.am: Really dist the pilot sources this time svn path=/trunk/; revision=26902
* include scrollbar offset in vertical calculation. don't ask me i just workNot Zed2004-08-121-4/+6
| | | | | | | | | | 2004-08-09 Not Zed <NotZed@Ximian.com> * e-cell-combo.c (e_cell_combo_get_popup_pos): include scrollbar offset in vertical calculation. don't ask me i just work here. see #61932. svn path=/trunk/; revision=26873
* nuke, unnecessary. (e_entry_start_completion): set item_chosen to FALSE.Chris Toshok2004-08-061-20/+6
| | | | | | | | | | | | 2004-08-04 Chris Toshok <toshok@ximian.com> * gal/e-text/e-entry.c (e_entry_refresh_popup): nuke, unnecessary. (e_entry_start_completion): set item_chosen to FALSE. (added_cb): nuke, unnecessary. (full_cb): only show the popup if the user hasn't chosen an entry. (activate_cb): set item_chosen to TRUE. svn path=/trunk/; revision=26832
* do not set position, it's already done in .glade, call set_transient_forRadek Doulik2004-08-044-17/+17
| | | | | | | | | | | | | | | | | | | | | | | 2004-08-02 Radek Doulik <rodo@ximian.com> * e-table-config.c (e_table_config_construct): do not set position, it's already done in .glade, call set_transient_for always (passing NULL is valid as well) * e-table-config.glade: * e-table-config-no-group.glade: center window on parent, don't let it resize and most importan make it dialog window so that set_transient_for works against define views dialog Fixes #61936 2004-08-02 Radek Doulik <rodo@ximian.com> * gal-define-views-dialog.c: save collection on exit Fixes #61936 svn path=/trunk/; revision=26819
* accessor (e_pilot_settings_set_source): ditto (build_ui): show the sourceJP Rosevear2004-08-034-0/+293
| | | | | | | | | | | | | 2004-08-01 JP Rosevear <jpr@novell.com> * e-pilot-settings.c (e_pilot_settings_get_source): accessor (e_pilot_settings_set_source): ditto (build_ui): show the source option menu (e_pilot_settings_new): use above * e-pilot-settings.h: add prototypes svn path=/trunk/; revision=26797
* use ctrl-shift-q to clear search barJP Rosevear2004-07-262-1/+6
| | | | | | | | | 2004-07-26 JP Rosevear <jpr@novell.com> * e-search-bar.c (setup_bonobo_menus): use ctrl-shift-q to clear search bar svn path=/trunk/; revision=26734
* watch for selection changes and set Delete button sensitivity according toRadek Doulik2004-07-241-0/+21
| | | | | | | | | | | | 2004-07-23 Radek Doulik <rodo@ximian.com> * gal-define-views-dialog.c: watch for selection changes and set Delete button sensitivity according to view collection item built-in flag Fixes #57914 svn path=/trunk/; revision=26717
* include config.h. See #61395.Not Zed2004-07-222-0/+8
| | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * e-error.c: include config.h. See #61395. svn path=/trunk/; revision=26696
* remove protoJP Rosevear2004-07-213-41/+24
| | | | | | | | | | | | | | | 2004-07-20 JP Rosevear <jpr@novell.com> * e-source-selector.h: remove proto * e-source-selector.c (selection_func): don't force the item to be checked (cell_toggled_callback): allow the cell to be untoggled even if its primary (init): set the pixbuf renderable (e_source_selector_set_toggle_selection): no longer necessary svn path=/trunk/; revision=26682
* remove debug spew and fix the display when pango_layout_line_x_to_indexChris Toshok2004-07-162-10/+11
| | | | | | | | | | | 2004-07-16 Chris Toshok <toshok@ximian.com> * e-clipped-label.c (e_clipped_label_recalc_chars_displayed): remove debug spew and fix the display when pango_layout_line_x_to_index returns FALSE (before we were drawing both the ellipses and the text). svn path=/trunk/; revision=26660
* s/GB-2312/GB2312/ - fixes bug #61385.Jeffrey Stedfast2004-07-132-1/+5
| | | | | | | | 2004-07-12 Jeffrey Stedfast <fejj@novell.com> * e-charset-picker.c: s/GB-2312/GB2312/ - fixes bug #61385. svn path=/trunk/; revision=26641
* added e_table_model_pre_change because we call e_table_model_row_insertedRadek Doulik2004-07-131-0/+2
| | | | | | | | | | | 2004-07-07 Radek Doulik <rodo@ximian.com> * e-table-sorted-variable.c (etsv_add): added e_table_model_pre_change because we call e_table_model_row_inserted later. It fixes freeze/unfreeze for ETableItem assert warning which I run into when fixing #56271 svn path=/trunk/; revision=26632
* fixed the ChangeLogJeffrey Stedfast2004-07-011-1/+1
| | | | svn path=/trunk/; revision=26556
* Fix alignment of the icon to be 0x0Rodney Dawes2004-06-252-0/+7
| | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * e-error.c (e_error_newv): Fix alignment of the icon to be 0x0 Fixes #60493 svn path=/trunk/; revision=26503
* Add a call to e_source_selector_set_select_new here so that we can selectRodney Dawes2004-06-253-1/+34
| | | | | | | | | | | | | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c (create_component_view): * gui/tasks-component.c (create_component_view): Add a call to e_source_selector_set_select_new here so that we can select new sources when we create them 2004-06-24 Rodney Dawes <dobey@novell.com> * e-source-selector.[ch]: Add new "select_new" property to private structure of the ESourceSelector (rebuild_cb): Add code to select the new source, and cause the selection_changed signal to get emitted, if we select new sources (init): Don't select new sources by default (e_source_selector_set_select_new): Add function to set whether or not we want to select new sources when we add them svn path=/trunk/; revision=26498
* Fix some spacing and border width properties on the dialog's widgets toRodney Dawes2004-06-233-0/+52
| | | | | | | | | | | | | | | | | | | 2004-06-22 Rodney Dawes <dobey@novell.com> * e-table-config.c (do_fields_config_dialog, e_table_config_new): Fix some spacing and border width properties on the dialog's widgets to make the dialog compliant with the HIG 2004-06-22 Christopher James Lahey <clahey@ximian.com> * e-table-model.[ch]: Added e_table_model_freeze and e_table_model_thaw * e-table-config.c (setup_fields): Use e_table_model_freeze and e_table_model_thaw Fixes #54785 svn path=/trunk/; revision=26460
* Add preconditions. Make sure garbage or NULL data doesn't get used.Hans Petter Jansson2004-06-232-5/+22
| | | | | | | | | 2004-06-22 Hans Petter Jansson <hpj@ximian.com> * misc/e-source-selector.c (e_source_selector_peek_primary_selection): Add preconditions. Make sure garbage or NULL data doesn't get used. svn path=/trunk/; revision=26454
* clone view before saving it to avoid problems with setting current_view_idRadek Doulik2004-06-211-0/+2
| | | | | | | | | | | | 2004-06-21 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_save): clone view before saving it to avoid problems with setting current_view_id Fixes #57354 svn path=/trunk/; revision=26437
* fix a path leak and maek the code more structured.Not Zed2004-06-163-7/+33
| | | | | | | | | | | | 2004-06-16 Not Zed <NotZed@Ximian.com> * e-source-selector.c (cell_toggled_callback): fix a path leak and maek the code more structured. (e_source_selector_set_toggle_selection): set the mode on whether you can toggle the currnet selection or not. (cell_toggled_callback): implement set_toggle_selection behaviour. svn path=/trunk/; revision=26361
* prepend label " " before the ETableRadek Doulik2004-06-152-14/+57
| | | | | | | | | | | | | 2004-06-14 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.glade: prepend label " " before the ETable * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_set_instance): select first row (gal_view_instance_save_as_dialog_init): show the etable svn path=/trunk/; revision=26338
* (pixbuf_cell_data_func): fix the appearance a little.Larry Ewing2004-06-122-2/+4
| | | | svn path=/trunk/; revision=26316
* (pixbuf_cell_data_func): clean up warnings. (double bad larry).Larry Ewing2004-06-122-4/+2
| | | | svn path=/trunk/; revision=26315
* (pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).Larry Ewing2004-06-122-1/+2
| | | | svn path=/trunk/; revision=26314
* make the source selector use a colock block instead of setting theLarry Ewing2004-06-122-14/+50
| | | | | | | | | | 2004-06-11 Larry Ewing <lewing@ximian.com> * misc/e-source-selector.c: make the source selector use a colock block instead of setting the foreground to indicate the source color. svn path=/trunk/; revision=26313
* set dialog window position, glade doesn't do that for us anymore as theRadek Doulik2004-06-114-4/+158
| | | | | | | | | | | | | | | | | | 2004-06-11 Radek Doulik <rodo@ximian.com> * e-table-config.c (e_table_config_construct): set dialog window position, glade doesn't do that for us anymore as the window is first hidden, extended and later shown * e-table-config-no-group.glade: as below * e-table-config.glade: set visibility to false, it will keep the dialog hidden until we call gtk_widget_show and thus no resizing is visible while we are extending the dialog content Fixes #57825 svn path=/trunk/; revision=26311
* hardcode the border size. it is hardcoded in e-text as well. Even usingRadek Doulik2004-06-111-5/+7
| | | | | | | | | | | | | | | 2004-06-11 Radek Doulik <rodo@ximian.com> * gal/e-text/e-entry.c (canvas_size_request): hardcode the border size. it is hardcoded in e-text as well. Even using style values in e-text will not help as style values might differ between EText and EEntry. I think it will be best to rewrite EEntry for evo 2.1 so that it derives from GtkEntry and only adds the auto completion feature Fixes part of #42864 svn path=/trunk/; revision=26309
* HIGified, updated as suggested in #46236Radek Doulik2004-06-112-244/+224
| | | | | | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.glade: HIGified, updated as suggested in #46236 * gal-view-instance-save-as-dialog.c (gvisad_setup_radio_buttons): removed notebook with help text switching (gal_view_instance_save_as_dialog_init): set dialog title Fixes #46236 svn path=/trunk/; revision=26292
* added castRadek Doulik2004-06-114-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c (idle_do_action): added cast * gal/a11y/e-table/gal-a11y-e-cell-tree.c (gal_a11y_e_cell_tree_new): added cast * gal/a11y/e-table/gal-a11y-e-cell.c: added #include <gtk/gtkwindow.h> * gal/e-text/e-text.c (_get_position): removed unused variable * gal/e-text/e-completion.c: #if 0'ed e_completion_sort * tests/test-text.c (create_entry): removed unused variables added #include "gal/widgets/e-canvas-utils.h" added #include "gal/e-text/e-text-model.h" (create_text): removed unused variables (create_ro_text): ditto * tests/test-table-1.c (create_table): added cast * tests/test-completion.c (main): added cast * gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): return NULL if check fails added #include <string.h> for strlen (et_get_text_after_offset): fixed typo defalut --> default (et_get_text_at_offset): ditto (et_get_character_extents): removed unused variables (et_set_selection): ditto (_et_command_cb): added default: label to quiet compiler * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c (gal_a11y_e_table_click_to_add_factory_create_accessible): return NULL if check fails * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c (idle_do_action): fixed wrong cast (idle_do_action): removed unused variables (etcta_ref_child): return NULL if check fails (gal_a11y_e_table_click_to_add_new): ditto (gal_a11y_e_table_click_to_add_new): removed unused variable * gal/a11y/e-table/gal-a11y-e-table-item-factory.c (gal_a11y_e_table_item_factory_create_accessible): return NULL if fails (gal_a11y_e_table_item_factory_create_accessible): added cast (gal_a11y_e_table_item_factory_create_accessible): removed unused variable * gal/a11y/e-table/gal-a11y-e-table-item.c (eti_dispose): removed unused variable (eti_get_parent): ditto (eti_get_n_children): ditto (eti_ref_child): ditto (eti_get_index_in_parent): ditto (eti_ref_accessible_at_point): return value (NULL) (cell_destroyed): removed unused variable (cell_destroyed): ditto (table_add_row_selection): ditto added #inclued <string.h> for memset, memmove (eti_rows_inserted): removed unused variable (eti_rows_deleted): ditto (eti_header_structure_changed): ditto * gal/a11y/e-table/gal-a11y-e-cell-popup.c (gal_a11y_e_cell_popup_class_init): removed unused variable added #include "gal-a11y-e-cell-registry.h" (popup_cell_action): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-toggle.c (toggle_cell_action): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-tree.c: added #include "gal-a11y-e-cell-registry.h" (gal_a11y_e_cell_tree_new): add cast (gal_a11y_e_cell_tree_new): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-text.c: added #include <string.h> (ect_remove_selection): removed unused variable (ect_copy_text): added cast (ect_delete_text): ditto (ect_paste_text): ditto (ect_init): ditto * gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): added cast (eti_grab_focus): ditto (eti_grab_focus): return TRUE (grab was successful) added #include <atk/atkstateset.h> * gal/a11y/e-table/gal-a11y-e-tree.c: added #include "gal-a11y-e-table-item.h" (gal_a11y_e_tree_new): removed unused variable * gal/e-text/e-text.c (_do_tooltip): removed unused variable (e_text_event): added cast (primary_clear_cb): removed unused variable (_get_position): ditto (_get_position): ditto #if 0'ed unused prototypes * gal/e-text/e-text-model.c (e_text_model_real_insert_length): removed unused variables * gal/e-text/e-completion.c (e_completion_sort): #if'0 ed, as it's not used anywhere * gal/widgets/e-reflow.c (items_inserted): remove unused variables * gal/widgets/e-categories.c (e_categories_get_property): remove unused variable * gal/widgets/e-categories-master-list-dialog.c (dialog_destroyed): added cast * gal/widgets/e-categories-master-list-combo.c (ecmlc_ecml_changed): remove unused variable * gal/widgets/color-palette.c: include string.h for memset prototype svn path=/trunk/; revision=26289
* fixes for compiler warningsRadek Doulik2004-06-109-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * e-cell-text.c (layout_with_preedit): removed unused variable * e-tree.c (e_tree_get_item): added cast added #include <atk/atkregistry.h> * e-table-one.c (one_finalize): removed unused variable * e-table-item.c: added #include "gal/a11y/e-table/gal-a11y-e-table-item.h" for gal_a11y_e_table_item_factory_get_type prototype * e-table-header-utils.c (e_table_header_draw_button): removed unused variable * e-table-config.c (get_source_model_col_index): removed unused variable * e-table-click-to-add.c (finish_editing): added cast (etcta_event): ditto * e-cell-toggle.c: added #include "gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have gal_a11y_e_cell_registry_add_cell_type prototype * e-cell-text.c (layout_with_preedit): removed unused variable (build_layout): ditto (ect_event): ditto (e_cell_text_commit_cb): ditto * e-cell-popup.c: added #include "gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have gal_a11y_e_cell_registry_add_cell_type prototype svn path=/trunk/; revision=26284
* remove defunct Revert button and replace OK/Cancel buttons with a CloseJon Oberheide2004-06-102-43/+2
| | | | | | | | | | 2004-06-08 Jon Oberheide <jon@focalhost.com> * gal-define-views-dialog.c (gal_define_views_dialog_init), gal-define-views.glade: remove defunct Revert button and replace OK/Cancel buttons with a Close button. Fixes bug #48131. svn path=/trunk/; revision=26279
* add new api for setting the whole selection in one go. See #59546.Not Zed2004-06-102-0/+16
| | | | | | | | | | 2004-06-10 Not Zed <NotZed@Ximian.com> * e-tree-selection-model.c (e_tree_selection_model_select_paths): add new api for setting the whole selection in one go. See #59546. svn path=/trunk/; revision=26277
* process only if len > 0Radek Doulik2004-06-091-30/+33
| | | | | | | | | | 2004-06-09 Radek Doulik <rodo@ximian.com> * gal/e-text/e-text.c (capitalize): process only if len > 0 Fixes #51078 svn path=/trunk/; revision=26270
* (ensure_nonzero_step_increments): set step increments always to 16Radek Doulik2004-06-091-2/+2
| | | | svn path=/trunk/; revision=26269
* new helper function to set step_increments (allocate_callback): callRadek Doulik2004-06-091-0/+20
| | | | | | | | | | | | | 2004-06-09 Radek Doulik <rodo@ximian.com> * e-table-field-chooser.c (ensure_nonzero_step_increments): new helper function to set step_increments (allocate_callback): call ensure_nonzero_step_increments (resize): ditto Fixes #48275 svn path=/trunk/; revision=26268
* Add HIG border width for dialog window.William Jon McCann2004-06-042-0/+6
| | | | | | | | 2004-06-03 William Jon McCann <mccann@jhu.edu> * e-error.c (e_error_newv): Add HIG border width for dialog window. svn path=/trunk/; revision=26205
* Link test-error against libeutil.Christian Neumair2004-06-022-2/+7
| | | | | | | | 2004-06-01 Christian Neumair <chris@gnome-de.org> * Makefile.am (test_error_LDADD): Link test-error against libeutil. svn path=/trunk/; revision=26147
* Don't propagate the expose to the label widget, the parent expose handlerAnders Carlsson2004-06-022-5/+5
| | | | | | | | | 2004-06-01 Anders Carlsson <andersca@gnome.org> * e-expander.c (e_expander_expose): Don't propagate the expose to the label widget, the parent expose handler does that. svn path=/trunk/; revision=26144
* Use the constructed title string.Anders Carlsson2004-05-312-1/+5
| | | | | | | | 2004-05-28 Anders Carlsson <andersca@gnome.org> * e-error.c (e_error_newv): Use the constructed title string. svn path=/trunk/; revision=26132
* Require e-error-toolRodney Dawes2004-05-282-0/+5
| | | | | | | | | | | | 2004-05-27 Rodney Dawes <dobey@novell.com> * e-util/Makefile.am (dist-hook): Require e-error-tool 2004-05-27 Rodney Dawes <dobey@novell.com> * */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist" svn path=/trunk/; revision=26114
* ugh, too drunk to remember to commit this last nightNot Zed2004-05-222-1/+3
| | | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_default_parent): uh, fix the sense of the if-we-dont-have-it test. svn path=/trunk/; revision=26039
* set a default error parent fallback. (e_error_newv): if parent is null,Not Zed2004-05-213-0/+39
| | | | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_default_parent): set a default error parent fallback. (e_error_newv): if parent is null, see if we have a default still alive, and use that. warn if not. svn path=/trunk/; revision=26031
* Use the activate signal, instead of changed, for the combo boxRodney Dawes2004-05-212-1/+21
| | | | | | | | | | | | | | | 2004-05-20 Rodney Dawes <dobey@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Use the activate signal, instead of changed, for the combo box (on_map_motion): Set the text in the combo's entry when we mouse over one of the points on the map, as a preview for the timezone (on_map_leave): Reset the combo's entry to the timezone we started with when we leave the map Fixes #57122 svn path=/trunk/; revision=26020
* only unref the mask if there is oneJP Rosevear2004-05-212-1/+7
| | | | | | | | | 2004-05-20 JP Rosevear <jpr@novell.com> * e-task-widget.c (e_task_widget_construct): only unref the mask if there is one svn path=/trunk/; revision=26016
* don't dist the error .h fileJP Rosevear2004-05-202-1/+4
| | | | | | | | 2004-05-19 JP Rosevear <jpr@novell.com> * Makefile.am: don't dist the error .h file svn path=/trunk/; revision=25979
* load the <help> tag if present. (ee_response): handle the help responseNot Zed2004-05-182-13/+45
| | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * e-error.c (ee_load): load the <help> tag if present. (ee_response): handle the help response and swallow the signal. (e_error_newv): setup help button if we have a help uri. svn path=/trunk/; revision=25945
* Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon()Jeffrey Stedfast2004-05-183-2/+11
| | | | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * e-url-entry.c (init): Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon() call. * e-combo-button.c (create_empty_image_widget): Don't hard-code the size of the icon in pixels, instead use the appropriate E_ICON_SIZE_ enum. svn path=/trunk/; revision=25930
* Add bug numberJP Rosevear2004-05-171-0/+2
| | | | svn path=/trunk/; revision=25922
* bitmap_unref the mask, don't object_unref itJP Rosevear2004-05-172-1/+6
| | | | | | | | | 2004-05-17 JP Rosevear <jpr@novell.com> * e-task-widget.c (e_task_widget_construct): bitmap_unref the mask, don't object_unref it svn path=/trunk/; revision=25921
* added fixme for stock+label case, which doesn't work.Michael Zucci2004-05-121-0/+2
| | | | svn path=/trunk/; revision=25875
* duh, use the right node pointer for title and secondary text.Not Zed2004-05-122-3/+6
| | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * e-error.c (ee_load): duh, use the right node pointer for title and secondary text. svn path=/trunk/; revision=25873
* make the Because cases the same.Not Zed2004-05-126-84/+76
| | | | | | | | | | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * e-system-errors.xml: make the Because cases the same. * e-system-errors.xml.h: add for translators. * e-error.c (ee_load): just use _() to do i18n rather than the nasty lang stuff. (find_node): no longer needed. * Makefile.am (%.xml.h): setup the build rules for the i18n file for the errors. * e-system-errors.xml.in: Removed, renamed to .xml and removed the _ stuff. svn path=/trunk/; revision=25871
* Fixes #48129Jon Oberheide2004-05-101-0/+1
| | | | | | | | | | | 2004-05-10 Jon Oberheide <jon@focalhost.com> Fixes #48129 * gal-view-new-dialog.c (gal_view_new_dialog_init): set dialog title svn path=/trunk/; revision=25837
* Fixes #51626Bruce Tao2004-05-103-4/+73
| | | | | | | | | | | | | | | | | | | | 2004-04-22 Bruce Tao <bruce.tao@sun.com> Fixes #51626 * e-table-click-to-add.c: (etcta_event): Add an entry for focus_in event, do the same thing as button_press event. * e-table-item.c: (eti_event): Mask the Ctrl+Tab processing routine. * e-table.c: (table_canvas_focus_event_cb), (canvas_vbox_event), (click_to_add_event), (e_table_setup_table): Enable you to navigate between click_to_add and the existing tasks by pressing Ctrl+Tab. However, if there is no existing task, you can still jump out of click_to_add by this way. svn path=/trunk/; revision=25831
* Build fixes.Xan Lopez2004-05-052-4/+13
| | | | | | Build fixes. svn path=/trunk/; revision=25790
* Don't necessarily set row to 0 if the root node has the cursor (otherwiseJeffrey Stedfast2004-05-051-5/+3
| | | | | | | | | | | | 2004-05-04 Jeffrey Stedfast <fejj@ximian.com> * e-tree.c (e_tree_find_next): Don't necessarily set row to 0 if the root node has the cursor (otherwise message_list_select() first unread will actually select the second unread if the first unread is the first in the list). Fixes a bug that's been pissing me off for years. svn path=/trunk/; revision=25789
* revert last patch. (eti_attach_cell_views): add some code to reset dragsNot Zed2004-05-041-2/+12
| | | | | | | | | | | | 2004-05-04 Not Zed <NotZed@Ximian.com> * e-table-item.c (eti_event): revert last patch. (eti_attach_cell_views): add some code to reset drags and other things as if the model changed, so we don't keep trying to run things we shouldn't be on the view which might be changing. This may break other things but should fix 57222 and related. svn path=/trunk/; revision=25779
* if motion column is beyond our known columns, just ignore it and don'tNot Zed2004-05-041-2/+3
| | | | | | | | | | 2004-05-04 Not Zed <NotZed@Ximian.com> * e-table-item.c (eti_event): if motion column is beyond our known columns, just ignore it and don't generate a LEAVE_NOTIFY. uh, seems to work, and fixes #57222. svn path=/trunk/; revision=25778
* updateDan Winship2004-05-031-3/+4
| | | | svn path=/trunk/; revision=25751
* blah, need to do entity decoding. #57918.Not Zed2004-05-032-1/+28
| | | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * e-error.c (ee_build_label): blah, need to do entity decoding. #57918. svn path=/trunk/; revision=25741
* Changed the int param specs to take a min value of -1 and also defautl toJeffrey Stedfast2004-04-301-5/+5
| | | | | | | | | | | 2004-04-30 Jeffrey Stedfast <fejj@ximian.com> * e-cell-text.c (e_cell_text_class_init): Changed the int param specs to take a min value of -1 and also defautl to -1 (-1 means off and they should all default to the same value that they default to in the init() function). Needed to fix bug #57304. svn path=/trunk/; revision=25713
* pass the correct data when weak unreffingJP Rosevear2004-04-302-1/+6
| | | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * e-activity-handler.c (impl_dispose): pass the correct data when weak unreffing svn path=/trunk/; revision=25691
* make the label selectable. (e_error_newv): if we have stock and label set,Not Zed2004-04-292-5/+19
| | | | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_newv): make the label selectable. (e_error_newv): if we have stock and label set, then use a stock button with an override label. svn path=/trunk/; revision=25677
* Update the categories dialog to be more HIG compliantRodney Dawes2004-04-291-3/+10
| | | | | | | | | | 2004-04-28 Rodney Dawes <dobey@ximian.com> * gal/widgets/e-categories.c (e_categories_construct): * gal/widgets/gal-categories.glade: Update the categories dialog to be more HIG compliant svn path=/trunk/; revision=25674
* holder for system errors.Not Zed2004-04-286-12/+141
| | | | | | | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> * e-system-errors.xml.in: holder for system errors. * test-error.c: helper to show an error message/test it. * e-error.[ch]: Api for disk-based, hig-compliant error messages and query boxes. svn path=/trunk/; revision=25650
* Don't destroy item until after we know which column it is in; the sortHans Petter Jansson2004-04-281-8/+11
| | | | | | | | | | | 2004-04-27 Hans Petter Jansson <hpj@ximian.com> * gal/widgets/e-reflow.c (item_removed): Don't destroy item until after we know which column it is in; the sort comparison function might need it. Also set the newly vacant memory location at the end of the array to NULL. Fixes a crash in evo. svn path=/trunk/; revision=25646
* #include <e-util/e-icon-factory.h>Jeffrey Stedfast2004-04-201-0/+2
| | | | svn path=/trunk/; revision=25533
* Updated to sue E_ICON_SIZE enums.Jeffrey Stedfast2004-04-202-2/+6
| | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-info-label.c (e_info_label_new): Updated to sue E_ICON_SIZE enums. svn path=/trunk/; revision=25532
* Update to use EIconFactory to get the filename for the component iconsRodney Dawes2004-04-194-49/+40
| | | | | | | | | | | | | | | 2004-04-19 Rodney Dawes <dobey@ximian.com> * e-info-label.c (e_info_label_new): Update to use EIconFactory to get the filename for the component icons using the icon theme 2004-04-19 Michael Terry <mike@mterry.name> * e-combo-buddon.c: * e-url-entry.c: Update these to use EIconFactory and GtkImages directly instead of GdkPixmaps svn path=/trunk/; revision=25513
* Work in progress, HIG'ing and de-coupling of errors.Michael Zucci2004-04-162-0/+590
| | | | svn path=/trunk/; revision=25493
* Set the border widths on the dialog's vbox and action area to beRodney Dawes2004-04-156-142/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Rodney Dawes <dobey@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_construct): Set the border widths on the dialog's vbox and action area to be HIG-complaint Get rid of the timezone preview widget in here Point the internal 'table' to the right widget (on_map_motion): Get rid of the extra-hacky code to set the preview widget's label to the timezone, now that that widget is gone (on_map_leave): Update the comment to not reference the preview widget that is now gone Get rid of the code to set the preview widget's label to empty string * e-timezone-dialog/e-timezone-dialog.glade: Update for HIG-compliance 2004-04-09 Rodney Dawes <dobey@ximian.com> * e-charset-picker.c: Include gtkhbox.h in here to avoid the warnings (activate_other): (e_charset_picker_dialog): Make these dialogs be more HIG-compliant * e-filter-bar.c (do_advanced): (menubar_activated): Make these dialogs be more HIG-compliant svn path=/trunk/; revision=25468
* ugh, fix some last minute changes which broke shit.Not Zed2004-04-082-18/+19
| | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * e-info-label.c (e_info_label_set_info): ugh, fix some last minute changes which broke shit. svn path=/trunk/; revision=25370
* A widget to show component info for the current component/view.Not Zed2004-04-084-0/+235
| | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * e-info-label.[ch]: A widget to show component info for the current component/view. svn path=/trunk/; revision=25368
* Updated for changes to e-config-page.c (init): Removed the OK and ApplyJeffrey Stedfast2004-04-084-204/+24
| | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * e-multi-config-dialog.c: Updated for changes to e-config-page.c (init): Removed the OK and Apply buttons. * e-config-page.c (e_config_page_apply): Removed. (e_config_page_is_applied): Removed. (e_config_page_changed): Removed. svn path=/trunk/; revision=25363
* don't issue the display view signal a second time, connect_view does thisJP Rosevear2004-04-061-1/+0
| | | | | | | | | | 2004-04-05 JP Rosevear <jpr@ximian.com> * gal-view-instance.c (gal_view_instance_set_current_view_id): don't issue the display view signal a second time, connect_view does this for us svn path=/trunk/; revision=25324
* Make the button initially insensitive. Connect to the entry's "changed"Dan Winship2004-04-032-6/+30
| | | | | | | | | | | * e-url-entry.c (init): Make the button initially insensitive. Connect to the entry's "changed" signal. (entry_changed_cb): sensitize the button iff the entry is non-empty (button_clicked_cb): simplify a bit by using gtk_entry_get_text rather than gtk_editable_get_chars. svn path=/trunk/; revision=25300
* [ fixes bug #51897 ]Chris Toshok2004-04-021-11/+19
| | | | | | | | | | | | | | 2004-04-01 Chris Toshok <toshok@ximian.com> [ fixes bug #51897 ] * gal/e-text/e-text.c (insert_preedit_text): only reset the layout attrs if there is some preedit text to insert. also, try getting text->layout's attributes before creating a new list. this will keep us from overwriting existing attributes and wiping out the underlining for objects. svn path=/trunk/; revision=25294
* Create a new class for "Western European, New" to fix a translation issue.Jeffrey Stedfast2004-04-022-2/+9
| | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_new): Create a new class for "Western European, New" to fix a translation issue. svn path=/trunk/; revision=25293
* start the rule editor with the right label.Not Zed2004-03-312-1/+6
| | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): start the rule editor with the right label. svn path=/trunk/; revision=25258
* We don't need this really (class_init): We don't need to have our ownRodney Dawes2004-03-272-2/+13
| | | | | | | | | | | | | | | | | | | | 2004-03-26 Rodney Dawes <dobey@ximian.com> * e-shell-settings-dialog.c (impl_realize): We don't need this really (class_init): We don't need to have our own realize impl for setting the default window size of the dialog, especially since we are setting the size before we actually get realized, anyway (init): Set the dialog size here, and don't set the border width of the dialog 2004-03-26 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (init): Remove the dialog separator Set the border widths of the dialog's vbox and action area to be more HIG-compliant Set the border width of the dialog's child to 12 for HIG-compliance svn path=/trunk/; revision=25197
* comment fix from trent.Michael Zucci2004-03-161-2/+2
| | | | svn path=/trunk/; revision=25087
* change arg name (e_calendar_item_init): ditto (e_calendar_item_get_arg):JP Rosevear2004-03-163-14/+78
| | | | | | | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_class_init): change arg name (e_calendar_item_init): ditto (e_calendar_item_get_arg): ditto (e_calendar_item_set_arg): ditto (e_calendar_item_preserve_day_selection): set the selection day to the given selection (e_calendar_item_set_first_month): use above to preserve selected day of week * e-calendar-item.h: change field name svn path=/trunk/; revision=25071
* move function about setup_bonobo_menus which requires it so its notTrent Lloyd2004-03-132-11/+16
| | | | | | | | | 2004-03-13 Trent Lloyd <lathiat@sixlabs.org> * e-search-bar.c (remove_bonobo_menus): move function about setup_bonobo_menus which requires it so its not implicitly defined svn path=/trunk/; revision=25055
* enlarge the text box to accomodate the time info in different locales.Kidd Wang2004-03-122-2/+5
| | | | | | | * e-dateedit.c: (create_children): enlarge the text box to accomodate the time info in different locales. svn path=/trunk/; revision=25041
* fixed ChangeLogJeffrey Stedfast2004-03-121-1/+1
| | | | svn path=/trunk/; revision=25033
* Fix for bug #55267.Jeffrey Stedfast2004-03-122-2/+2
| | | | | | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55267. * e-filter-bar.c (set_property): Use efb->setquery properly (set to TRUE before calling set_item_id and FLASE afterwards). Also setquery to TRUE before emitting the "search-activated" signal so that we don't run the callback for the signal we are emitting. svn path=/trunk/; revision=25032
* Use efb->setquery properly (set to TRUE before calling set_item_id andJeffrey Stedfast2004-03-123-9/+29
| | | | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (set_property): Use efb->setquery properly (set to TRUE before calling set_item_id and FLASE afterwards). Also setquery to TRUE before emitting the "search-activated" signal so that we don't run the callback for the signal we are emitting. svn path=/trunk/; revision=25031
* Make the acces key Alt+O work.Harry Lu2004-03-101-1/+1
| | | | | | Patch by hao.sheng@sun.com svn path=/trunk/; revision=25004
* Emit the "search-activated" signal. Fixes bug #55054.Jeffrey Stedfast2004-03-032-0/+9
| | | | | | | | | 2004-03-02 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (set_property): Emit the "search-activated" signal. Fixes bug #55054. svn path=/trunk/; revision=24934
* Create the arrows in these widgets as GTK_SHADOW_NONE, since the defaultRodney Dawes2004-02-274-3/+13
| | | | | | | | | | | | | | 2004-02-26 Rodney Dawes <dobey@ximian.com> * e-cell-renderer-combo.c (ecrc_get_size): * e-dateedit.c (create_children): * e-dropdown-button.c (e_dropdown_button_construct): Create the arrows in these widgets as GTK_SHADOW_NONE, since the default arrow type in GTK+ 2.x is flat triangle arrows, and shadow types are generally ignored for arrows anyway, and so we don't look ugly with themes that handle shadow types on arrows correctly svn path=/trunk/; revision=24900
* don't reference uninitialized memoryJP Rosevear2004-02-272-4/+8
| | | | | | | | | 2004-02-26 JP Rosevear <jpr@ximian.com> * e-timezone-dialog/e-timezone-dialog.c (e_timezone_dialog_dispose): don't reference uninitialized memory svn path=/trunk/; revision=24892
* remove the right thingChristian Neumair2004-02-271-1/+1
| | | | | | | | 2004-02-26 Christian Neumair <chris@gnome-de.org> * e-search-bar.c (remove_bonobo_menus): remove the right thing svn path=/trunk/; revision=24889
* Before Update the bonobo ui component, remove it first.Bill Zhu2004-02-262-0/+8
| | | | | | | | | | | 2004-02-26 Bill Zhu <bill.zhu@sun.com> * e-search-bar.c (setup_bonobo_menus): Before Update the bonobo ui component, remove it first. Fixes #54788 svn path=/trunk/; revision=24881
* reset motion_row/motion_col if the model changes. See bug #54757.Not Zed2004-02-261-0/+2
| | | | | | | | | 2004-02-26 Not Zed <NotZed@Ximian.com> * e-table-item.c (eti_table_model_pre_change): reset motion_row/motion_col if the model changes. See bug #54757. svn path=/trunk/; revision=24878
* Change the shadow type for the arrows here, so that themes that do handleRodney Dawes2004-02-134-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-12 Rodney Dawes <dobey@ximian.com> * gal/widgets/gal-combo-box.c (gal_combo_box_init): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x 2004-02-12 Rodney Dawes <dobey@ximian.com> * e-cell-popup.c (ecp_draw): * e-cell-spin-button.c (ecsb_draw): * e-table-header-utils.c (e_table_header_draw_button): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x 2004-02-12 Rodney Dawes <dobey@ximian.com> * e-vscrolled-bar.c (e_vscrolled_bar_init): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x svn path=/trunk/; revision=24720
* Change the filename and section that we pass to gnome_help_display_desktopRodney Dawes2004-02-122-2/+8
| | | | | | | | | | 2004-02-11 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (impl_response): Change the filename and section that we pass to gnome_help_display_desktop so that the help browser displays the documentation correctly svn path=/trunk/; revision=24708
* Add a Help button (impl_response): Handle the Help button and open theRodney Dawes2004-02-112-0/+20
| | | | | | | | | | | 2004-02-10 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (init): Add a Help button (impl_response): Handle the Help button and open the documentation Fixes #30681 svn path=/trunk/; revision=24694
* Don't show the task label by defaultRodney Dawes2004-02-062-1/+4
| | | | | | | | 2004-02-05 Rodney Dawes <dobey@ximian.com> * e-task-bar.c: Don't show the task label by default svn path=/trunk/; revision=24636
* Moved here from shell/, since they are now used only by the components,Dan Winship2004-02-048-4/+1165
| | | | | | | | | | | | | | | * e-activity-handler.c: * e-activity-handler.h: * e-task-bar.c: * e-task-bar.h: * e-task-widget.c: * e-task-widget.h: Moved here from shell/, since they are now used only by the components, not the shell itself. * Makefile.am (widgetsinclude_HEADERS, libemiscwidgets_la_SOURCES): add new files svn path=/trunk/; revision=24586
* it's possible to get to this function without the EText ever beingChris Toshok2004-02-031-0/+7
| | | | | | | | | | | 2004-02-03 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.c (e_text_command): it's possible to get to this function without the EText ever being realized. Since we create the layout in realize(), let's just create it here too. Fixes crash bug 46165 (aka "The Bug with a million dups"). svn path=/trunk/; revision=24579
* set image_buf/image_buf_size here instead of in all callers. also emit theChris Toshok2004-02-032-16/+32
| | | | | | | | | | | | | | | | 2004-02-02 Chris Toshok <toshok@ximian.com> * e-image-chooser.c (set_image_from_data): set image_buf/image_buf_size here instead of in all callers. also emit the "changed" signal here. (image_drag_data_received_cb): remove the copying to image_buf and emitting of "changed" from here. (e_image_chooser_set_from_file): only g_free (data) here if set_image_from_data failed. (e_image_chooser_set_image_data): copy the image data we're passed before calling set_image_data. free it if rv == FALSE. svn path=/trunk/; revision=24577
* add an alignment around the image. This might not be enough. hrm.Chris Toshok2004-01-313-23/+83
| | | | | | | | | | | | | 2004-01-30 Chris Toshok <toshok@ximian.com> * e-image-chooser.c (e_image_chooser_init): add an alignment around the image. This might not be enough. hrm. (set_image_from_data): handle the case where there's no image (image_height == image_width == 0). (e_image_chooser_get_image_data): new function. (e_image_chooser_set_image_data): new function. svn path=/trunk/; revision=24552
* abstract out the drag and droppable image widget from the contact listChris Toshok2004-01-314-0/+554
| | | | | | | | | | | | | 2004-01-30 Chris Toshok <toshok@ximian.com> * e-image-chooser.[ch]: abstract out the drag and droppable image widget from the contact list editor and stick it here. There's some code for a "Browse..." button here but it's not enabled. * Makefile.am (widgetsinclude_HEADERS): add e-image-chooser.h. (libemiscwidgets_la_SOURCES): add e-image-chooser.c svn path=/trunk/; revision=24549
* Only save the search-bar state OR the filter-bar state - decided based onJeffrey Stedfast2004-01-312-51/+45
| | | | | | | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (get_property): Only save the search-bar state OR the filter-bar state - decided based on what the search is. If the search is an advanced search, then save the filter-bar state, otherwise save the search-bar state. (set_property): Only need to restore the first state we find (filter-bar vs search-bar). If we are restoring filter-bar state, set efb->setquery to TRUE and then set the item_id to E_FILTERBAR_ADVANCED_ID. svn path=/trunk/; revision=24542
* Same.Jeffrey Stedfast2004-01-293-3/+12
| | | | | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_get_property): Same. * e-filter-bar.c (get_property): Use g_value_set_string_take_ownership() instead of g_value_take_string() since we need snaps to work with glib-2.0 earlier than 2.3.x. svn path=/trunk/; revision=24507
* Added a new property "state" which is READ-WRITE so that we canJeffrey Stedfast2004-01-294-19/+204
| | | | | | | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c: Added a new property "state" which is READ-WRITE so that we can save/restore state in the mailer code if we want to. Sort of a work-in-progress toward fixing bug #53195. (class_init): Ported to use the GObject property stuff instead of the deprecated GtkArg stuff. (get_property): Ported from impl_get_arg(). (set_property): New object::set_property implementation to set the query state. svn path=/trunk/; revision=24502
* Use button->time for the mouse click event, so that the popup stays up onRodney Dawes2004-01-281-1/+1
| | | | | | | | | | | 2004-01-27 Rodney Dawes <dobey@ximian.com> * gal/e-text/e-text.c (popup_targets_received): Use button->time for the mouse click event, so that the popup stays up on button release Fixes #47548 svn path=/trunk/; revision=24483
* fix double free of the button event.Chris Toshok2004-01-281-1/+0
| | | | | | | | | 2004-01-27 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.c (popup_targets_received): fix double free of the button event. svn path=/trunk/; revision=24481
* print strikeout/underlineRadek Doulik2004-01-271-1/+30
| | | | | | | | | | 2004-01-27 Radek Doulik <rodo@ximian.com> * e-cell-text.c (ect_print): print strikeout/underline Fixes #32240 svn path=/trunk/; revision=24466
* if the source is primary, don't allow it to be un-selectedJP Rosevear2004-01-242-11/+19
| | | | | | | | | 2004-01-24 JP Rosevear <jpr@ximian.com> * e-source-selector.c (cell_toggled_callback): if the source is primary, don't allow it to be un-selected svn path=/trunk/; revision=24397
* Be even more exactly like the GtkButton painting stuffRodney Dawes2004-01-212-9/+12
| | | | | | | | | | | 2004-01-20 Rodney Dawes <dobey@ximian.com> * e-combo-button.c (paint): Be even more exactly like the GtkButton painting stuff Fixes #52988 svn path=/trunk/; revision=24343
* set a primary selection if there is one before the rebuildJP Rosevear2004-01-212-6/+27
| | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (rebuild_model): set a primary selection if there is one before the rebuild (e_source_selector_set_primary_selection): block the signals when clearing the tree selection to make the op atomic; emit the selection_changed signal if a hidden selection is not currently selectecd svn path=/trunk/; revision=24342
* provide parent iter in/out arg (test_collapse_row_callback): use privJP Rosevear2004-01-212-16/+57
| | | | | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (find_source_iter): provide parent iter in/out arg (test_collapse_row_callback): use priv shortcut (e_source_selector_select_source): pass parent iter (e_source_selector_unselect_source): ditto (e_source_selector_peek_primary_selection): return the right thing if the primary selection is currently hidden (e_source_selector_set_primary_selection): set the primary selection properly if the source node is currently hidden svn path=/trunk/; revision=24337
* util routine to clear the row reference to the saved primary selectionJP Rosevear2004-01-212-43/+101
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (clear_saved_primary_selection): util routine to clear the row reference to the saved primary selection (find_source_iter): unref the model data retrieved (rebuild_existing_cb): ditto (toggle_cell_data_func): ditto (text_cell_data_func): ditto (selection_func): ditto; clear the saved primary selection if something else is selected (cell_toggled_callback): ditto (test_collapse_row_callback): clear the toggled_last flag (row_expanded_callback): once we've restored the saved primary selection, clear it (selector_button_press_event): unref the model data (impl_dispose): use clear_saved_primary_selection (init): the store column holds object not pointer type (e_source_selector_peek_primary_selection): unref the model da svn path=/trunk/; revision=24334
* check if the collapsing node has its child selected, if so take a rowJP Rosevear2004-01-212-1/+75
| | | | | | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * e-source-selector.c (test_collapse_row_callback): check if the collapsing node has its child selected, if so take a row reference to remember the selection (row_expanded_callback): check if the expanding node has the saved primary selection under it and re-select if so (init): listen for signals (impl_dispose): free the primary selection svn path=/trunk/; revision=24329
* create the data structure for rebuilding the model (free_rebuild_data):JP Rosevear2004-01-202-22/+202
| | | | | | | | | | | | | | | | | | | | | 2004-01-19 JP Rosevear <jpr@ximian.com> * e-source-selector.c (create_rebuild_data): create the data structure for rebuilding the model (free_rebuild_data): free it (rebuild_existing_cb): check for the sources that are still existing or deleted (rebuild_model): do incremental updates (selection_func): if the last thing we did was toggle, we don't actually want to highlight and if the source is not checked, check it (cell_toggled_callback): indicate that a toggle just occurred (init): initial toggled last to false (e_source_selector_set_primary_selection): set some preconditions Fixes #51787 svn path=/trunk/; revision=24312
* Fix remaining usages of GTK_*EXPANDER* definesRodney Dawes2004-01-153-19/+23
| | | | | | | | 2004-01-14 Rodney Dawes <dobey@ximian.com> * e-expander.[ch]: Fix remaining usages of GTK_*EXPANDER* defines svn path=/trunk/; revision=24226
* Implemented #127527: the attachment bar is packed inside an EExpanderERDI Gergo2004-01-114-1/+1447
| | | | | | | | | 2003-12-02 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: Implemented #127527: the attachment bar is packed inside an EExpander svn path=/trunk/; revision=24146
* free event (e_text_do_popup): copy the event so we have good dataJP Rosevear2004-01-071-1/+2
| | | | | | | | | | | 2004-01-06 JP Rosevear <jpr@ximian.com> * gal/e-text/e-text.c (popup_targets_received): free event (e_text_do_popup): copy the event so we have good data Fixes #51956 svn path=/trunk/; revision=24071
* Fix for bug #46349Rodney Dawes2003-12-232-35/+74
| | | | | | | | | | | 2003-12-22 Rodney Dawes <dobey@ximian.com> Fix for bug #46349 * e-combo-button.c: Use the appropriate style painting for a button widget, since we are a button svn path=/trunk/; revision=24002
* call gdk_window_focus() so that keyboard works correctly.Harry Lu2003-12-182-1/+6
| | | | | | | | | 2003-12-18 Harry Lu <harry.lu@sun.com> * e-cell-date-edit.c: (e_cell_date_edit_do_popup): call gdk_window_focus() so that keyboard works correctly. svn path=/trunk/; revision=23975
* Fixed bug 51917, add atk support for ClickToAddYuedong Du2003-12-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-16 Yuedong Du <yuedong.du@sun.com> Fixed bug 51917, add atk support for ClickToAdd * gal/a11y/e-table/Makefile.am: add files. * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c: (gal_a11y_e_table_click_to_add_factory_get_accessible_type), (gal_a11y_e_table_click_to_add_factory_create_accessible), (gal_a11y_e_table_click_to_add_factory_class_init), (gal_a11y_e_table_click_to_add_factory_init), (gal_a11y_e_table_click_to_add_factory_get_type): factory for ClickToAdd * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h: ditto * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (etcta_get_n_actions), (etcta_get_description), (etcta_action_get_name), (idle_do_action), (etcta_do_action), (atk_action_interface_init): a "click" action interface. (etcta_get_name), (etcta_get_n_children), (etcta_ref_child): create accessible according to which child is available. Either rect or row. (etcta_class_init), (etcta_init), (gal_a11y_e_table_click_to_add_get_type), (etcta_event): listen to canvas event, emit children-changed signal when it found rect/row was changed. (gal_a11y_e_table_click_to_add_new): * gal/a11y/e-table/gal-a11y-e-table-click-to-add.h: * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: (gal_a11y_e_table_item_factory_create_accessible): * gal/a11y/e-table/gal-a11y-e-table.c: (init_child_item), (et_get_n_children), (et_ref_child): change the trick way to create a11y object for a table item. Because ClickToAdd is also a table item, previous way do not work for clicktoadd. * gal/e-table/e-table-click-to-add.c: (etcta_class_init): atk_register the new a11y factory. svn path=/trunk/; revision=23956
* Use e_source_equal() instead of comparing pointers. This allows user toHans Petter Jansson2003-12-172-8/+24
| | | | | | | | | | | | | | 2003-12-16 Hans Petter Jansson <hpj@ximian.com> * misc/e-source-option-menu.c (select_source_foreach_menu_item): Use e_source_equal() instead of comparing pointers. This allows user to pass in a source that was obtained from somewhere else. Set the matching internal source as "selected" instead of the one passed in. (select_source): Emit signal only if we found a match. Don't ref/unref anything, since the selected source will always be from our internal list. svn path=/trunk/; revision=23954
* NULL out priv->instance when we unref it. Bug #51713.Not Zed2003-12-102-1/+8
| | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * menus/gal-view-menus.c (remove_instance): NULL out priv->instance when we unref it. Bug #51713. svn path=/trunk/; revision=23895
* Fixed #50844Andrew Wu2003-12-082-2/+5
| | | | | | | | | | | 2003-12-08 Andrew Wu <yang.wu@sun.com> Fixed #50844 * gal/a11y/e-table/gal-a11y-e-cell-popup.c: * gal/a11y/e-table/gal-a11y-e-cell-popup.h: a11y impl. for e-cell-popup. svn path=/trunk/; revision=23670
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-072-1/+4
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * */Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23658
* Fix for bugzilla bug #51624 and #51627.Harry Lu2003-12-054-13/+52
| | | | | | | | | | | | | | | | | | | | | | | | 2003-12-04 Harry Lu <harry.lu@sun.com> Fix for bugzilla bug #51624 and #51627. * e-calendar-item.c: (e_calendar_item_selection_add_days): set the date to the first day of the month so that user can use keyboard's arrow key to select a date. (e_calendar_item_set_selection_if_emission): only set selection_changed if emission is TRUE. * e-calendar.c: (e_calendar_init): add back the "clicked" handler so that user can use keyboard to click the button. (e_calendar_start_auto_move): no need to move since it is already handled by the clicked handler (e_calendar_on_prev_clicked), (e_calendar_on_next_clicked): move the month here. * e-dateedit.c: (e_date_edit_show_date_popup): use gdk_window_focus instead of gdk_keyboard_grab so that the focus won't lost if user click the button with keyboard. (hide_date_popup): no need to call gdk_keyboard_ungrab. svn path=/trunk/; revision=23642
* (init): Set the mode on the text cellEttore Perazzoli2003-12-032-0/+8
| | | | | | | | renderer to GTK_CELL_RENDERER_MODE_ACTIVATABLE so clicking on the text doesn't change the status of the checkbox. [Many thanks to Jonathan Blandford for telling me how to do this!] svn path=/trunk/; revision=23588
* Fixed Bug 51252, 51254, 51255. add some code deal with key press event.Andrew Wu2003-12-023-7/+66
| | | | | | | | | | | | | | 2003-11-23 Andrew Wu <yang.wu@sun.com> Fixed Bug 51252, 51254, 51255. * gal/e-table/e-table-header-item.c: (ethi_event):add some code deal with key press event. * gal/e-table/e-table-header-item.h add a member "selected_col" for keyboard navigation. * gal/e-table/e-table.c (e_table_setup_header):make header can focus. svn path=/trunk/; revision=23572
* Fixes #51139Bolian Yin2003-12-021-2/+2
| | | | | | | | | | | | | 2003-12-02 Bolian Yin <bolian.yin@sun.com> Fixes #51139 * gal/a11y/gal-a11y-e-table-item: (gal_a11y_e_table_item_ref_selection) (gal_a11y_e_table_item_unref_selection): new functions. * gal/e-table/e-table-item.c : change the place of emitting ""selection_model_removed" signal. svn path=/trunk/; revision=23571
* a11y implementations for ECellText. new functions to support correspondingTim Wo2003-12-022-0/+195
| | | | | | | | | | | | | | | | | | | | 2003-12-02 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_text), (ect_get_character_at_offset), (ect_get_caret_offset), (ect_get_character_count), (ect_get_n_selections), (ect_get_selection), (ect_add_selection), (ect_remove_selection), (ect_set_selection), (ect_set_caret_offset), (ect_set_text_contents), (ect_insert_text), (ect_copy_text), (ect_delete_text), (ect_cut_text), (ect_paste_text), (ect_class_init): a11y implementations for ECellText. * gal/e-table/e-cell-text.c: (e_cell_text_set_selection), (e_cell_text_get_selection), (e_cell_text_copy_clipboard), (e_cell_text_paste_clipboard), (e_cell_text_delete_selection): new functions to support corresponding atk operations. * gal/e-table/e-cell-text.h: some APIs added to support atk operations. svn path=/trunk/; revision=23568
* list the signal args properlJP Rosevear2003-12-022-1/+5
| | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * e-source-selector.c (class_init): list the signal args properl svn path=/trunk/; revision=23542
* Added test-source-option-menu executableÉRDI Gergo2003-12-011-1/+2
| | | | svn path=/trunk/; revision=23518
* canned the _clicked handlers as those make it impossible to move just oneERDI Gergo2003-12-012-22/+5
| | | | | | | | | 2003-11-30 ERDI Gergo <cactus@cactus.rulez.org> * e-calendar.c: canned the _clicked handlers as those make it impossible to move just one month at a time svn path=/trunk/; revision=23517
* Add NONE:POINTER.Ettore Perazzoli2003-12-014-8/+51
| | | | | | | | | | | | | * e-util-marshal.list: Add NONE:POINTER. * test-source-option-menu.c (source_selected_callback): New callback to test the "source_selected" signal. (on_idle_create_widget): Connect. * e-source-option-menu.c: Add "source_selected" signal. (select_source): Assume source != NULL and emit "source_selected". svn path=/trunk/; revision=23512
* New test.Ettore Perazzoli2003-12-015-1/+444
| | | | | | | | | * test-source-option-menu.c: New test. * e-source-option-menu.h: New. * e-source-option-menu.c: New. svn path=/trunk/; revision=23511
* renamespace and move to here build new filesMike Kestner2003-11-186-10/+1444
| | | | | | | | | | | | | | 2003-11-17 Mike Kestner <mkestner@ximian.com> * gal/widgets/gtk-combo* : renamespace and move to * gal/widgets/gal-combo* : here * gal/widgets/Makefile.am : build new files 2003-11-17 Mike Kestner <mkestner@ximian.com> * e-table-config.c : use new gal_combo_* namespace. svn path=/trunk/; revision=23402
* allow new lable with mnemonic (e_search_bar_construct): alter lable name.Charles Zhang2003-11-172-3/+8
| | | | | | | | | 2003-11-17 Charles Zhang <charles.zhang@sun.com> * e-search-bar.c(add_button): allow new lable with mnemonic (e_search_bar_construct): alter lable name. [50810] svn path=/trunk/; revision=23385
* use find_source_iter and get the selection from the right spotJP Rosevear2003-11-172-25/+66
| | | | | | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * e-source-selector.c (e_source_selector_set_primary_selection): use find_source_iter and get the selection from the right spot (find_source_iter): util function to find the iter given the source (e_source_selector_select_source): signal that the model changed (e_source_selector_unselect_source): ditto svn path=/trunk/; revision=23372
* make source selector flags/libsJP Rosevear2003-11-153-6/+11
| | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * configure.in: make source selector flags/libs svn path=/trunk/; revision=23366
* Fix for 50800 connect "e_cell_combo_list_button_press" to gtklist.Andrew Wu2003-11-141-3/+21
| | | | | | | | | | | | | 2003-11-14 Andrew Wu <yang.wu@sun.com> Fix for 50800 * gal/e-table/e-cell-combo.c (e_cell_combo_init): connect "e_cell_combo_list_button_press" to gtklist. (e_cell_combo_list_button_press): deal with the "click" event. (e_cell_combo_selection_changed): delete the action to selection changed. svn path=/trunk/; revision=23350
* Fix for 50681 send a event to the right cell to pop up something.Andrew Wu2003-11-141-0/+6
| | | | | | | | | 2003-11-12 Andrew Wu <yang.wu@sun.com> Fix for 50681 * gal/e-table/e-table-item.c (eti_event): send a event to the right cell to pop up something. svn path=/trunk/; revision=23349
* remove a declaration of a deleted func.Bolian Yin2003-11-132-2/+4
| | | | | | | | 2003-11-13 Bolian Yin <bolian.yin@sun.com> * e-calendar-item.c: remove a declaration of a deleted func. svn path=/trunk/; revision=23310
* a canvas item does not inherit from gtkwidgetJP Rosevear2003-11-132-19/+8
| | | | | | | | | 2003-11-12 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_class_init): a canvas item does not inherit from gtkwidget svn path=/trunk/; revision=23298
* new files (gal-a11y-e-cell-tree.c/h) added adding 2 new functions to addTim Wo2003-11-122-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-03 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/Makefile.am: new files (gal-a11y-e-cell-tree.c/h) added * gal/a11y/e-table/gal-a11y-e-cell.h: adding 2 new functions to add or remove atk states * gal/a11y/e-table/gal-a11y-e-cell.c (eti_dispose): unref the state_set (eti_ref_state_set): new function (eti_class_init): create and initialize the state_set (eti_init): override the "ref_state_set" function in AtkObjectClass with "eti_ref_state_set" (gal_a11y_e_cell_add_state): adding a return value (gal_a11y_e_cell_remove_state): new function * gal/e-table/e-cell-tree.c: (e_cell_tree_class_init): register GalA11yECellText as the a11y implementation for ECellText. (e_cell_tree_view_get_subcell_view): new function to retrieve the cell_view of subcell in ECellTree * gal/e-table/e-cell-tree.h: adding 1 new function to retrieve the cell_view of subcell in ECellTree * gal/a11y/e-table/gal-a11y-e-cell-tree.c: new file. A11y implementation for ECellTree * gal/a11y/e-table/gal-a11y-e-cell-tree.h: new file. A11y implementation for ECellTree svn path=/trunk/; revision=23296
* Fixes #50538Bolian Yin2003-11-113-40/+61
| | | | | | | | | | | | 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes #50538 * e-calendar-item: make e_calendar_item_normalize_date public func. add "selection_preview_changed" signal. move some definition of constants to .h svn path=/trunk/; revision=23284
* Fixes # 50480Bolian Yin2003-11-112-0/+30
| | | | | | | | | | 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes # 50480 * e-table-item: add two signals: "selection_model_removed" and "selection_model_added" svn path=/trunk/; revision=23281
* (e_source_selector_new): Expand all theEttore Perazzoli2003-11-112-0/+7
| | | | | | nodes. svn path=/trunk/; revision=23276
* don't include toplevel libicalJP Rosevear2003-11-082-1/+4
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * e-timezone-dialog/Makefile.am: don't include toplevel libical svn path=/trunk/; revision=23228
* make sure the marshal stuff is in the sources and remove the built filesJP Rosevear2003-11-072-2/+10
| | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * Makefile.am: make sure the marshal stuff is in the sources and remove the built files when disting svn path=/trunk/; revision=23218
* Shush.JP Rosevear2003-11-071-0/+1
| | | | svn path=/trunk/; revision=23214
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-072-1/+5
| | | | svn path=/trunk/; revision=23206
* disable apply button when initial dialog. disable apply button afterCharles Zhang2003-11-032-0/+6
| | | | | | | | | | | 2003-10-13 Charles Zhang <charles.zhang@sun.com> * e-table-config.c (e_table_config_new): disable apply button when initial dialog. * e-table-header-item.c (apply_changes): disable apply button after applying changes. svn path=/trunk/; revision=23168
* new function to deal with grabing table cell focusTim Wo2003-11-031-0/+4
| | | | | | | | | | | | 2003-10-30 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): new function to deal with grabing table cell focus (eti_atk_component_iface_init): Override "grab_focus" virtual function with eti_grab_focus of AtkComponent interface. (#50131) * gal/e-table/e-cell-text.c: (e_cell_text_class_init): register GalA11yECellText as the a11y implementation for ECellText. svn path=/trunk/; revision=23166
* shared object looks for wrong mo file"Suresh Chandrasekharan2003-11-034-4/+4
| | | | | | | | | 2003-10-28 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * Fix for "50258 libgal: shared object looks for wrong mo file" svn path=/trunk/; revision=23163
* fill_popup_menu signal has 2 arguments.Rodrigo Moya2003-10-292-1/+6
| | | | | | | | | 2003-10-28 Rodrigo Moya <rodrigo@ximian.com> * e-source-selector.c (class_init): fill_popup_menu signal has 2 arguments. svn path=/trunk/; revision=23109
* added "fill_popup_menu" signal, to allow the addition of new items to theRodrigo Moya2003-10-293-1/+42
| | | | | | | | | | | | | 2003-10-28 Rodrigo Moya <rodrigo@ximian.com> * e-source-selector.[ch]: added "fill_popup_menu" signal, to allow the addition of new items to the popup menu. (class_init): create new signal. (init): connect to "button_press_event" for the tree view. (selector_button_press_event): callback for "button_press_event". (e_source_selector_selection_shown): use g_return_val_if_fail. svn path=/trunk/; revision=23106
* add new file for toggle cell a11y object. new a11y object toggle cellYuedong Du2003-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-26 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/Makefile.am: add new file for toggle cell a11y object. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: new a11y object toggle cell (gal_a11y_e_cell_toggle_get_type), (gal_a11y_e_cell_toggle_class_init), (toggle_cell_action), the implementation of toggle cell action. (gal_a11y_e_cell_toggle_new): * gal/a11y/e-table/gal-a11y-e-cell-toggle.h: ditto * gal/a11y/e-table/gal-a11y-e-cell.c: (_gal_a11y_e_cell_get_action_info), (_gal_a11y_e_cell_destroy_action_info), (gal_a11y_e_cell_add_action), (gal_a11y_e_cell_remove_action), (gal_a11y_e_cell_remove_action_by_name), (gal_a11y_e_cell_action_get_n_actions), (gal_a11y_e_cell_action_get_name), (gal_a11y_e_cell_action_get_description), (gal_a11y_e_cell_action_set_description), (gal_a11y_e_cell_action_get_keybinding), (idle_do_action), (gal_a11y_e_cell_action_do_action), (gal_a11y_e_cell_atk_action_interface_init), (gal_a11y_e_cell_type_add_action_interface), (gal_a11y_e_cell_add_state): helper functions for add a action, stealed from gailcell.c * gal/a11y/e-table/gal-a11y-e-cell.h: * gal/e-table/e-cell-toggle.c: (e_cell_toggle_class_init): register toggle's a11y object. svn path=/trunk/; revision=23095
* Fix for "50065 chinese locales Input method hangs after a task entry andSuresh Chandrasekharan2003-10-281-0/+3
| | | | | | | | | | * Fix for "50065 chinese locales Input method hangs after a task entry and new folder creation" * gal/e-table/e-cell-text.c: (ect_event) Added check to return if preedit_length == 0 and E_CELL_PREEDIT flag is set. svn path=/trunk/; revision=23093
* Allocate colors using gdk_colormap_alloc_color().Hans Petter Jansson2003-10-241-1/+4
| | | | | | | | | 2003-10-23 Hans Petter Jansson <hpj@ximian.com> * e-table-item.c (eti_get_cell_background_color): Allocate colors using gdk_colormap_alloc_color(). svn path=/trunk/; revision=23053
* Remove these (unused since 1.2)Dan Winship2003-10-223-268/+4
| | | | | | * e-bonobo-widget.[ch]: Remove these (unused since 1.2) svn path=/trunk/; revision=22978
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-225-0/+957
| | | | svn path=/trunk/; revision=22964
* Support for preedit in e-text widgets.Suresh Chandrasekharan2003-10-157-60/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-14 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * Support for preedit in e-text widgets. * gal/gal/e-text/e-text.c: Added e_text_preedit_changed_cb and insert_preedit_text. * Modified the following functions. (e_text_draw) Calls insert_preedit_text also cursor pos @ the end of text->selection_start + text->preedit_len (e_text_event) Added hooks for preedit_cb (e_text_init) Inits text->preedit_len (e_text_retrieve_surrounding_cb) Removed printf (e_text_delete_surrounding_cb) Correct params for gtk_editable_delete_text to make it work. * gal/gal/e-text/e-text.h: Added preedit_len in struct _EText 2003-09-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * Fix for "44222 task summary entry widget not i18ned". The following files are changed. * gal/gal/e-table/e-cell-text.c: Lots of changes for i18n selection/input support. Added these functions for input method support. (e_cell_text_preedit_changed_cb) (e_cell_text_commit_cb) (e_cell_text_retrieve_surrounding_cb) (e_cell_text_delete_surrounding_cb) (layout_with_preedit) This function inserts the preedit string with the right attribs to the layout text. (build_attr_list) Creates the PangoAttrList with bold/stikeout/underline as applicable for the current ECellText. The following functions are modified. (ect_stop_editing): disconnect signal handlers when editing stops (ect_draw): Changes for including the preedit only to the currently selected row/col. Also display the cursor at the end of preedit text. (ect_event): Connects the IM callbacks to the key press event. Disconnect when not in editing mode. Also a special flag to see when Enter key pressed in preedit mode, the text is committed only not a new row is created. This woks in conjunction with the changes made in the eti_event in e-table-item.c file and e-cell.h. (ect_height): Changes due to parameters changing for generate_layout (ect_enter_edit): Initialization of im_context for a cell text and assoociated flags. (ect_max_width): Changes due to parameters changing for generate_layout. (ect_max_width_by_row): Changes due to parameters changing for generate_layout. (ect_show_tooltip): Changes due to parameters changing for generate_layout. (e_cell_text_construct): check whether paramters are NULL. (get_position_from_xy): Changes due to parameters changing for generate_layout. (_insert): Set the selection_start as the minimum of strlen(edit->text) and selection_start. Used to correct the preedit_string length which may have added to the selection_start. (e_cell_text_view_command): When inserting, if in the preedit mode do not delete the selection. (_selection_get): Set utf8 data instead of string data. (_selection_received): Take in UTF8_ATOM inaddition to GDK_SELECTION_TYPE_STRING. (e_cell_text_view_get_selection): Make utf8 data when acting as a selection source. * gal/e-table/e-cell-text.h : Included <gtk/gtkmenu.h> * gal/e-table/e-cell.h: Added enum E_CELL_PREEDIT to ECellFlags * gal/e-table/e-table-item.c: (eti_event) Changes for not committing the edited text as a seperate row in preedit mode. * gal/e-table/e-table.c: (table_canvas_focus_event_cb) To have proper im_context focus for the ecanvas holding the e-table. svn path=/trunk/; revision=22882
* add new files. set the right role. new file.Yuedong Du2003-10-113-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-11 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/Makefile.am: add new files. * gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_construct): set the right role. * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: new file. (gal_a11y_e_table_item_factory_get_accessible_type), (gal_a11y_e_table_item_factory_create_accessible), (gal_a11y_e_table_item_factory_class_init), (gal_a11y_e_table_item_factory_init), (gal_a11y_e_table_item_factory_get_type): factory for the table item a11y object. in create_accessible, we judge the type of widget then set correct role. * gal/a11y/e-table/gal-a11y-e-table-item-factory.h: ditto. * gal/a11y/e-table/gal-a11y-e-tree-factory.c: new file. (gal_a11y_e_tree_factory_get_accessible_type), (gal_a11y_e_tree_factory_create_accessible), (gal_a11y_e_tree_factory_class_init), (gal_a11y_e_tree_factory_init), (gal_a11y_e_tree_factory_get_type): factory for a11y object of etree. Mostly copyed from gal-a11y-e-table-factory.c. * gal/a11y/e-table/gal-a11y-e-tree-factory.h: ditto * gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item), (et_ref_accessible_at_point), (et_get_n_children), (et_ref_child), (et_class_init), (et_atk_component_iface_init), (et_init), (gal_a11y_e_tree_get_type), (gal_a11y_e_tree_new):a11y object for etree object, mostly copied from gal-a11y-e-table.c. init_child_item set correct role for the table item. * gal/a11y/e-table/gal-a11y-e-tree.h: ditto. * gal/e-table/e-table-item.c: (eti_class_init): register factory for table item a11y object. * gal/e-table/e-tree.c: (e_tree_get_item), (e_tree_class_init): add new access fuction to get the table item of etree. * gal/e-table/e-tree.h: ditto svn path=/trunk/; revision=22867
* process GTK_RESPONSE_DELETE_EVENT signal correctly. the same as aboveCharles Zhang2003-10-101-2/+3
| | | | | | | | | | | 2003-09-28 Charles Zhang <charles.zhang@sun.com> * e-table-config.c (do_sort_and_group_config_dialog): process GTK_RESPONSE_DELETE_EVENT signal correctly. * e-table-config.c (do_fields_config_dialog): the same as above [#48815] svn path=/trunk/; revision=22852
* INCLUDE path fixes for changes made to libical build.Jeffrey Stedfast2003-10-103-13/+26
| | | | | | | | | | | 2003-10-09 Jeffrey Stedfast <fejj@ximian.com> * e-timezone-dialog/Makefile.am: INCLUDE path fixes for changes made to libical build. * e-timezone-dialog.h: #include <libical/ical.h> svn path=/trunk/; revision=22841
* new, treeview renderer for combo cells new, GtkCellEditable for comboMike Kestner2003-10-016-0/+738
| | | | | | | | | | 2003-09-30 Mike Kestner <mkestner@ximian.com> * e-cell-renderer-combo.* : new, treeview renderer for combo cells * e-combo-cell-editable.* : new, GtkCellEditable for combo cells * Makefile.am : build the new files svn path=/trunk/; revision=22773
* Fixes #1245. ECalendar should be usable with the keyboardBolian Yin2003-09-226-53/+362
| | | | | | | | | | | | | | | | | | | | | | | | 2003-09-19 Bolian Yin <bolian.yin@sun.com> Fixes #1245. ECalendar should be usable with the keyboard *misc/e-calendar-item.c (e_calendar_item_focus): new func, focus handler. (e_calendar_item_key_press_event): new func, key press event handler (e_calendar_item_selection_add_days, e_calendar_item_stop_selecting): helpers. (e_calendar_item_ensure_days_visible, e_calendar_item_set_selection_if_emission): add the flag to control if we should emit e-calendar signals. (e_calendar_item_class_init): register focus handler. (e_calendar_item_event): add code for GDK_FOCUS_CHANGE and GDK_KEY_PRESS. *misc/e-calendar.c (e_calendar_focus): new func, focus handler (e_calendar_button_has_focus): new func, if prev/next button has focus. (e_calendar_on_next_clicked, e_calendar_on_prev_clicked): click signal handler for prev/next buttons. (e_calendar_set_focusable): set if the e-calendar is focusable *misc/e-dateedit.c (e_date_edit_show_date_popup, hide_date_popup): grab/ungrab gdk keyboard. svn path=/trunk/; revision=22632
* GalA11yETextFactory should inherit from AtkObjectFactory not AtkObject.Tim Wo2003-09-121-0/+8
| | | | | | | | | | | | | 2003-09-08 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text-factory.h: GalA11yETextFactory should inherit from AtkObjectFactory not AtkObject. (#47097). * gal/a11y/e-text/gal-a11y-e-text.c (et_class_init): Set value for "component_parent_iface". (#47097) * gal/e-text/e-text.c (e_text_class_init): Added registration code for GalA11yETextFactory. (#47097) svn path=/trunk/; revision=22551
* new method to get the source model column for a specified available_modelMike Kestner2003-09-121-4/+14
| | | | | | | | | | | 2003-09-11 Mike Kestner <mkestner@ximian.com> * e-table-config.c (get_source_model_col_index): new method to get the source model column for a specified available_model idx. (create_global_store): save the source model index in a new col. (config_button_add): use the new index lookup function [48153]. svn path=/trunk/; revision=22536
* move scnt and gcnt initialization outside the for loop [43156].Mike Kestner2003-09-121-2/+2
| | | | | | | | | 2003-09-11 Mike Kestner <mkestner@ximian.com> * e-table-sort-info.c (e_table_sort_info_load_from_node): move scnt and gcnt initialization outside the for loop [43156]. svn path=/trunk/; revision=22532
* add e-table atk support to libgal a11y add atk registration forGilbert Fang2003-09-051-0/+8
| | | | | | | | | | 2003-09-05 Gilbert Fang <gilbert.fang@sun.com> * gal/a11y/Makefile.am: add e-table atk support to libgal a11y * gal/e-table/e-table.c: (e_table_class_init): add atk registration for GalA11yETable (#47780) svn path=/trunk/; revision=22466
* Fixes #15638.Hans Petter Jansson2003-08-282-3/+22
| | | | | | | | | | | 2003-08-27 Hans Petter Jansson <hpj@ximian.com> Fixes #15638. * misc/e-dateedit.c (rebuild_time_popup): Make 12-hour time format not be zero-padded. Right-align time labels so digits line up. svn path=/trunk/; revision=22394
* add dependency on a11y/widgets. a11y init. (e_calendar_item_bounds): newBolian Yin2003-08-273-1/+28
| | | | | | | | | | 2003-08-27 Bolian Yin <bolian.yin@sun.com> * misc/Makefile.am: add dependency on a11y/widgets. * misc/e-calendar-item.c (e_calendar_item_class_init): a11y init. (e_calendar_item_bounds): new func, impl the bounds virtual func. svn path=/trunk/; revision=22386
* ** For bug #47874.Harry Lu2003-08-263-0/+11
| | | | | | | | | | | | | 2003-08-25 Harry Lu <harry.lu@sun.com> ** For bug #47874. * e-table-specification.c (e_table_specification_load_from_file): check whether file exists before call xmlParseFile(). * e-table-state.c (e_table_state_load_from_file): ditto. * e-tree-table-adapter.c (open_file): ditto. svn path=/trunk/; revision=22358
* add an expander_style param (ect_draw): pass expander_style toMike Kestner2003-08-201-9/+56
| | | | | | | | | | | | 2003-08-19 Mike Kestner <mkestner@ximian.com> * e-cell-tree.c (draw_expander): add an expander_style param (ect_draw): pass expander_style to draw_expander (animate_expander): new timeout handler for expander animation (ect_event): on !retro clicks, draw a "semi" expander and start an animation handler to finish the animation. svn path=/trunk/; revision=22288
* extracted from ect_draw (draw_expander): new gtktreeview-like expanderMike Kestner2003-08-164-86/+207
| | | | | | | | | | | | | | | | | | 2003-08-15 Mike Kestner <mkestner@ximian.com> * e-cell-tree.c (draw_retro_expander): extracted from ect_draw (draw_expander): new gtktreeview-like expander drawing (ect_draw): draw lines and expanders based on retro_look style prop (adjust_event_position): extracted method from ect_event (event_in_expander): new checks for motion/clicks in expander (ect_event): handle prelight for new expanders * e-table-item.c (eti_init): init new motion col/row (eti_event): synthesize leave_notify events for cells and propogate existing motion events to the cells. * e-tree.c (e_tree_class_init): add retro_look and expander_size style props. svn path=/trunk/; revision=22251
* filter S-F10 key binding, and show popup menu. (popup_menu_placement_cb):Maxx Cao2003-08-131-4/+48
| | | | | | | | | | | 2003-08-10 Maxx Cao <maxx.cao@sun.com> * gal/e-text/e-text.c (e_text_event): filter S-F10 key binding, and show popup menu. (popup_menu_placement_cb): function added to adjust popup menu position.+ (popup_targets_received): show popup menu in different ways, according to whether it's invoked by mouse click or key binding. svn path=/trunk/; revision=22204
* actually chose the right color to+ composite over when caching the pixmap.Larry Ewing2003-08-131-23/+6
| | | | | | | 2003-08-12 Larry Ewing <lewing@ximian.com> * e-cell-toggle.c (check_cache): actually chose the right color to+ composite over when caching the pixmap. svn path=/trunk/; revision=22200
* map model_column to available model row by ignoring disabled columns.Mike Kestner2003-07-291-2/+7
| | | | | | | | | 2003-07-28 Mike Kestner <mkestner@ximian.com> * e-table-config (setup_fields): map model_column to available model row by ignoring disabled columns. svn path=/trunk/; revision=21993
* use EVO_MARSHAL_RULEDan Winship2003-07-242-12/+3
| | | | | | * Makefile.am: use EVO_MARSHAL_RULE svn path=/trunk/; revision=21916
* Remove this, since it claims to be deprecated, and nothing is actuallyDan Winship2003-07-234-443/+5
| | | | | | | | | * e-messagebox.c: Remove this, since it claims to be deprecated, and nothing is actually using it any more. * Makefile.am: Remove e-messagebox.[ch] svn path=/trunk/; revision=21900
* add missing e_text_copy_clipboard() prototypeDan Winship2003-07-231-0/+1
| | | | | | | * gal/e-text/e-text.h: add missing e_text_copy_clipboard() prototype svn path=/trunk/; revision=21899
* Create the pixbuf from empty.xpm rather than just callingDan Winship2003-07-232-1/+8
| | | | | | | | * e-combo-button.c (create_empty_pixmap_widget): Create the pixbuf from empty.xpm rather than just calling gdk_pixbuf_new(), which doesn't actually initialize the pixel data. svn path=/trunk/; revision=21898
* Added a handler for GtkWidget::mnemonic_activate().Federico Mena Quintero2003-07-143-0/+37
| | | | | | | | | | | 2003-07-11 Federico Mena Quintero <federico@ximian.com> * e-dateedit.c (e_date_edit_mnemonic_activate): Added a handler for GtkWidget::mnemonic_activate(). * e-url-entry.c (mnemonic_activate): Likewise. svn path=/trunk/; revision=21804
* Chain to the parent handler. Fixes #45236.Federico Mena Quintero2003-07-102-0/+6
| | | | | | | | 2003-07-09 Federico Mena Quintero <federico@ximian.com> * e-url-entry.c (destroy): Chain to the parent handler. Fixes #45236. svn path=/trunk/; revision=21782
* make sure we don't unref the sorter more than once.Chris Toshok2003-07-051-1/+4
| | | | | | | | | 2003-07-04 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_dispose): make sure we don't unref the sorter more than once. svn path=/trunk/; revision=21741
* unref the sorterDan Winship2003-07-011-1/+3
| | | | | | * gal/widgets/e-reflow.c (e_reflow_dispose): unref the sorter svn path=/trunk/; revision=21707
* Initialize some missing fields. Fixes "no handler with id" warnings at evoDan Winship2003-07-012-10/+7
| | | | | | | | | | | | * e-tree.c (e_tree_init): Initialize some missing fields. Fixes "no handler with id" warnings at evo shutdown (ETreePriv): remove unused table_rows_{inserted,deleted}_id (et_disconnect_from_etta): remove refs to them * e-table.c (e_table_drag_source_unset): free site->target_list if it's set. svn path=/trunk/; revision=21705
* Implement. (ect_print): Use same font heuristics as evo calendar, pick aHans Petter Jansson2003-06-241-2/+25
| | | | | | | | | | 2003-06-22 Hans Petter Jansson <hpj@ximian.com> * e-cell-text.c (get_font_for_size): Implement. (ect_print): Use same font heuristics as evo calendar, pick a font that fits. Correct baseline calculation. svn path=/trunk/; revision=21519
* fix string duplication and refcounting problems.Larry Ewing2003-06-242-5/+7
| | | | | | | | | | | | | | 2003-06-23 Larry Ewing <lewing@ximian.com> * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): fix string duplication and refcounting problems. 2003-06-20 Larry Ewing <lewing@ximian.com> * gal-view-etable.c (config_changed): unref after g_object_get adds a ref. svn path=/trunk/; revision=21516
* (set_menu): Translate the text. [#45112]Ettore Perazzoli2003-06-232-1/+5
| | | | svn path=/trunk/; revision=21506
* set iso-2022-cn string to SimplifiedJeffrey Stedfast2003-06-201-1/+1
| | | | svn path=/trunk/; revision=21485
* Fix for #45082: GB18030 BIG5HKSCS and EUC-TW charsets not supported inSuresh Chandrasekharan2003-06-202-29/+30
| | | | | | | | | | | | | | | | | | | | 2003-06-18 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * e-charset-picker.c: Fix for #45082: GB18030 BIG5HKSCS and EUC-TW charsets not supported in evolution mail 2003-06-17 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Don't use the charset class in the menu label if it is 'Unknown'. (e_charset_picker_bonobo_ui_populate): For user-defined charsets, just use the name of the charset rather than "Unknown". (add_charset): Don't escape _'s anymore, this seems to not be needed int gtk2. (add_other_charset): g_strdup() the charset name. Fixes bug #43917. svn path=/trunk/; revision=21484
* remove extra ref, the count starts at one.Larry Ewing2003-06-193-3/+3
| | | | | | | | | | | | | | | 2003-06-19 Larry Ewing <lewing@ximian.com> * e-table-specification.c (e_table_specification_load_from_node): remove extra ref, the count starts at one. * e-table-utils.c (e_table_spec_to_full_header): add_column adds a reference, so drop the intial reference. * e-table.c (et_real_construct):remove extra ref, count starts at one. svn path=/trunk/; revision=21479
* accept event arg to be NULL.Bolian Yin2003-06-191-8/+14
| | | | | | | | 2003-06-19 Bolian Yin <bolian.yin@sun.com> * e-gui-utils.c (e_popup_menu): accept event arg to be NULL. svn path=/trunk/; revision=21472
* don't do the CURSOR_FIRST checks if cursor is NULL [43523]Mike Kestner2003-06-142-3/+3
| | | | | | | | | | | | | | 2003-06-13 Mike Kestner <mkestner@ximian.com> * e-tree.c (et_search_search): don't do the CURSOR_FIRST checks if cursor is NULL [43523] 2003-06-13 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_get_cell_background_color): update to an alt row color more consistent with gtktreeview. [44610] svn path=/trunk/; revision=21440
* missed the changelog entry last time.Larry Ewing2003-06-131-1/+2
| | | | svn path=/trunk/; revision=21432
* i2003-06-13 Larry Ewing <lewing@ximian.com>Larry Ewing2003-06-131-0/+5
| | | | | | * gal/widgets/e-canvas.c (e_canvas_dispose): unref the im_context. svn path=/trunk/; revision=21430
* Put the ChangeLog.pre-1-4 in the Makefiles.Ettore Perazzoli2003-06-132-1/+6
| | | | svn path=/trunk/; revision=21426
* guard against NULL strings don't add disabled column titles to the store.Mike Kestner2003-06-124-23/+9
| | | | | | | | | | | | | | 2003-06-12 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (generate_layout): guard against NULL strings * e-table-config.c (create_global_store): don't add disabled column titles to the store. [44258] * e-tree-table-adapter.c (e_t_t_a_node_set_expanded): don't warn if we're trying to collapse a node that's not visible. * e-tree.c (et_connect_to_etta): don't connect to row_inserted and row_deleted. [43893] svn path=/trunk/; revision=21424
* take ownership of the duplicate string.Larry Ewing2003-06-122-1/+5
| | | | | | | | | 2003-06-11 Larry Ewing <lewing@ximian.com> * e-search-bar.c (impl_get_property): take ownership of the duplicate string. svn path=/trunk/; revision=21417
* Roll over ChangeLogs.Ettore Perazzoli2003-06-104-2409/+2409
| | | | svn path=/trunk/; revision=21387
* Fixes #43775JP Rosevear2003-05-313-7/+43
| | | | | | | | | | | | | | | | | | | | | | 2003-05-29 JP Rosevear <jpr@ximian.com> Fixes #43775 * e-calendar-item.c (layout_set_day_text): calculate the day character correctly (e_calendar_item_draw_month): use it * e-dateedit.c (rebuild_time_popup): use e_utf8_strftime (e_date_edit_update_date_entry): ditto (e_date_edit_update_time_entry): ditto * e-calendar-item.c (layout_set_day_text): calculate the day character correctly (e_calendar_item_draw_month): use e_utf8_strftime and above (e_calendar_item_show_popup_menu): use e_utf8_strftime (e_calendar_item_recalc_sizes): use layout_set_day_text svn path=/trunk/; revision=21352
* bump libtool version for api addition new, utf8 in/outMike Kestner2003-05-291-26/+9
| | | | | | | | | | | | | | | 2003-05-28 Mike Kestner <mkestner@ximian.com> * configure.in : bump libtool version for api addition * gal/util/e-util.c (e_utf8_strftime): new, utf8 in/out (e_utf8_strftime_fix_am_pm): new, utf8 in/out 2003-05-28 Mike Kestner <mkestner@ximian.com> * e-cell-date.c (ecd_get_text): use e_utf8_strftime_fix_am_pm and remove locale to utf8 conversion at end. [43485] svn path=/trunk/; revision=21343
* to really fix 42952 use e_table_item_get_cell_geometry. Also a coupleEttore Perazzoli2003-05-221-4/+9
| | | | | | | | | | 2003-05-20 Ettore Perazzoli <ettore@ximian.com> * e-tree.c (tree_canvas_size_allocate): to really fix 42952 use e_table_item_get_cell_geometry. Also a couple valgrind and g_warning fixes related to this change from Mike. svn path=/trunk/; revision=21303
* Added HIG-appropriate spacing/ padding to the main hbox into which theAnna Marie Dirks2003-05-202-3/+9
| | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * e-multi-config-dialog.c (init): Added HIG-appropriate spacing/ padding to the main hbox into which the icons and page widgets are packed. svn path=/trunk/; revision=21265
* revert a broken CLEAN_FILES change. [42478]Mike Kestner2003-05-201-3/+2
| | | | | | | | | | | | | | 2003-05-19 Mike Kestner <mkestner@ximian.com> * Makefile.am : revert a broken CLEAN_FILES change. [42478] 2003-05-19 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (build_layout): don't call any line breaking or justification code if the width <= 0 since it's pointless and apparently pango likes to crash when you do. [43199] svn path=/trunk/; revision=21260
* HIG-ified the spacing, padding, alignment of this dialog. Fixes bug #41148Anna Marie Dirks2003-05-192-256/+287
| | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * e-timezone-dialog/e-timezone-dialog.glade: HIG-ified the spacing, padding, alignment of this dialog. Fixes bug #41148 svn path=/trunk/; revision=21253
* port to GtkDialog.Larry Ewing2003-05-192-35/+75
| | | | | | | | 2003-05-19 Larry Ewing <lewing@ximian.com> * e-charset-picker.c: port to GtkDialog. svn path=/trunk/; revision=21244
* block the signal that got us here until we're done to stop an infiniteMike Kestner2003-05-174-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-16 Mike Kestner <mkestner@ximian.com> * gal-view-collection.c (view_changed): block the signal that got us here until we're done to stop an infinite recursion. Fixes 43153. 2003-05-16 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (invisible_finalize): kill (ect_stop_editing): destroy the invisible, not weak_unref (e_cell_text_view_get_invisible): don't weak_ref the invisible since we own its ref. 2003-05-16 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_event): fix a couple timer checks * e-tree-table-adapter.c (update_node): Traverse POST order so that the parent nodes are at the head of the prepended list. Don't restore expanded state to nodes that aren't in the tree any longer. Hopefully fixes #42856. svn path=/trunk/; revision=21229
* Added appropriate padding/spacing to the categories list dialog. Fixes theAnna Marie Dirks2003-05-171-155/+153
| | | | | | | | | | | | | | | 2003-05-16 Anna Marie Dirks <anna@ximian.com> * gal/widgets/e-categories.c: Added appropriate padding/spacing to the categories list dialog. Fixes the rest of #41217. * gal/widgets/e-categories-master-list-dialog.glade: HIG-ified this dialog. * gal/widgets/gal-categories.glade: HIG-ified this dialog (in terms of spacing/padding). Fixes most of bug #41217 svn path=/trunk/; revision=21228