2008-01-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #339813
* addressbook/gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date):
Setting new option 'e_date_edit_set_twodigit_year_can_future' to FALSE.
* widgets/misc/e-dateedit.h: (e_date_edit_get_twodigit_year_can_future),
(e_date_edit_set_twodigit_year_can_future):
Added new option for component.
* widgets/misc/e-dateedit.c: (e_date_edit_get_twodigit_year_can_future),
(e_date_edit_set_twodigit_year_can_future),
(struct _EDateEditPrivate::twodigit_year_can_future),
(e_date_edit_init), (e_date_edit_parse_date):
Implementing new option for component.
* widgets/misc/e-dateedit.c: (on_date_entry_focus_out):
Always repaint value on focus out.
* widgets/misc/e-dateedit.c: (e_date_edit_update_date_entry):
Forced to always show 4-digit year.
Note: Be sure you updated EDS too (revision 8343 and above)
svn path=/trunk/; revision=34774
2008-01-04 Milan Crha <mcrha@redhat.com>
* Part of bug #504480
* e-task-widget.c: (e_task_widget_construct):
Possible leak fix.
* e-task-widget.c: (e_task_widget_update_image):
Function prototype changed and using parameter stock now.
svn path=/trunk/; revision=34759
2008-01-04 Matthew Barnes <mbarnes@redhat.com>
** Fix for bug #504480
* e-task-bar.c: (e_task_bar_init): Increases the height
of the ETaskBar to eliminate the constant resizing.
svn path=/trunk/; revision=34758
2007-12-14 Milan Crha <mcrha@redhat.com>
** Fix for bug #211353
* message-list.etspec:
* message-list.h:
* message-list.c: Added new column to show labels.
* filtertypes.xml:
* vfoldertypes.xml:
Code for label filters/search folders has been changed.
* mail-config.glade:
* em-folder-view.c: (emfv_set_label), (emfv_unset_label),
(emfv_popup_label_clear), (emfv_popup_label_set),
(emfv_popup_labels_get_state_for_tag), (emfv_popup):
Labels popup submenu is now shown with checkboxes so one can set
more than one label to the message and unset only one label from
message. There has been added new function, because of this.
* mail-config.h:
* mail-config.c: New "interface" functions to work with labels.
* em-mailer-prefs.h:
* em-mailer-prefs.c: Editing labels in tree.
* em-folder-browser.c:
Labels in show menu reflect changes in preferences.
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
* filter-label.c: Use global label's setup, not its own copy.
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
* e-popup.h:
* e-popup.c: (ep_build_tree):
Toggles can be in inconsistent state now, and can also contain
an image, which is a pointer to GtkImage widget.
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
* e-search-bar.c: (e_search_bar_get_viewitem_id):
Return -1 if no viewmenu is setup yet.
svn path=/trunk/; revision=34715
2007-12-04 David Turner <cillian64@googlemail.com>
** Fix for bug #458824
* e-table-config.glade: Added mnemonics to the "Group" dialog
svn path=/trunk/; revision=34642
2007-12-03 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #392747
* e-util/e-utils.c (e_get_month_name), (e_get_weekday_name):
New functions cache localized month and weekday names (respectively)
for easier retrieval than resorting to strftime().
* a11y/widgets/ea-calendar-item.c (ea_calendar_item_get_column_label):
Get the column label via e_get_weekday_name().
* calendar/gui/weekday-picker.c (get_day_text):
Convert the day_index to GDateWeekday and call e_get_weekday_name().
* widgets/misc/e-calendar-item.h (struct _ECalendarItem):
* widgets/misc/e-calendar-item.c (e_calendar_item_init),
(e_calendar_item_draw):
Lose the local weekday name cache and just call e_get_weekday_name().
svn path=/trunk/; revision=34627
2007-12-01 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #495123
* composer/e-msg-composer.c:
* composer/e-msg-composer-hdrs.h:
* composer/e-msg-composer-hdrs.c:
Move signature handling to e-msg-composer-hdrs.c.
Use an ESignatureComboBox.
* composer/e-composer-from-header.h:
* composer/e-composer-from-header.c:
Clean up the GtkHBox hack. The signature combo is now packed
directly into the GtkTable.
* composer/e-composer-name-header.c:
* composer/e-composer-text-header.c:
Code cleanup.
* widgets/misc/Makefile.am:
Add e-signature-combo-box.[ch].
* widget/misc/e-account-combo-box.c (account_combo_box_refresh_cb):
Make sure the EAccount isn't lost while swapping models.
* widget/misc/e-signature-combo-box.c:
* widget/misc/e-signature-combo-box.h:
New widget renders an ESignatureList as a combo box. Also listens
for changes to the ESignatureList and updates itself accordingly.
svn path=/trunk/; revision=34620
2007-11-27 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #495123
* composer/Makefile.am:
Add a bunch of files for managing composer headers.
* composer/e-msg-composer.c (build_message), (from_changed_cb),
(set_editor_signature), (e_msg_composer_set_body),
(e_msg_composer_get_preferred_account):
* plugins/exchange-operations/exchange-mail-send-options.c
(append_to_header):
Use e_msg_composer_hdrs_get_from_account() to obtain the EAccount.
* composer/e-msg-composer-hdrs.c:
* composer/e-msg-composer-hdrs.h:
Massive refactoring to use new EComposerHeader classes.
* composer/e-composer-header.c:
* composer/e-composer-header.h:
* composer/e-composer-from-header.c:
* composer/e-composer-from-header.h:
* composer/e-composer-name-header.c:
* composer/e-composer-name-header.h:
* composer/e-composer-post-header.c:
* composer/e-composer-post-header.h:
* composer/e-composer-text-header.c:
* composer/e-composer-text-header.h:
New GObject classes manage different types of composer headers.
See bug #495123 for a more detailed description of each class.
* mail/mail-session.c (mail_session_init):
Pass the CamelSession to the EAccountComboBox class (ugly hack).
* widgets/misc/Makefile.am:
Add e-account-combo-box.[ch].
* widgets/misc/e-account-combo-box.c:
* widgets/misc/e-account-combo-box.h:
New widget renders an EAccountList as a combo box. Also listens
for changes to the EAccountList and updates itself accordingly.
svn path=/trunk/; revision=34600
2007-11-05 Milan Crha <mcrha@redhat.com>
** Fix for bug #255051
* e-cell-combo.c: (e_cell_combo_key_press):
* e-cell-text.c: (ect_event):
Pass Escape event to parent, if there is no action to do with it.
* e-table-click-to-add.c: (etcta_event): Drop changes when pressed
Escape and go back to default line with text "Click to add...".
svn path=/trunk/; revision=34507
2007-11-05 Milan Crha <mcrha@redhat.com>
** Fix for bug #341085
* calendar/gui/e-day-view.c: (e_day_view_reshape_day_event):
Use 'x_offset' instead of changing event size when has icons.
* widgets/text/e-text.c: (get_bounds), (e_text_draw): Use 'x_offset' and
'y_offset' only for text drawing, not for changing bounds of EText.
svn path=/trunk/; revision=34504
2007-11-05 Milan Crha <mcrha@redhat.com>
** Fix for bug #351932
* widgets/misc/e-dateedit.h: (e_date_edit_have_time):
* widgets/misc/e-dateedit.c: (e_date_edit_have_time): Extend API to be able
to check if time is set independently of date part.
* calendar/gui/dialogs/task-page.c: (check_start_before_end), (times_updated),
(start_date_changed_cb), (due_date_changed_cb), (init_widgets):
Ensure due date is not before start date.
svn path=/trunk/; revision=34500
2007-11-02 Damien Carbery <damien.carbery@sun.com>
** Fixes bug #492058
* shell/e-shell-window.c:
* shell/e-shell.c:
* widgets/table/e-table-header-item.h:
* widgets/table/e-table-header-item.c:
* calendar/gui/e-itip-control.c:
Name the anonymous unions to build with the Sun Studio compiler.
svn path=/trunk/; revision=34485
2007-10-31 Michael Monreal <mmonreal@svn.gnome.org>
** Fix for bug #483785
* e-url-entry.c: (init):
Use go-jump icon instead of stock_connect-to-url
to get rid of deprecated icons from gnome-icon-theme.
svn path=/trunk/; revision=34463
2007-10-26 Tobias Mueller <tobiasmue@svn.gnome.org>
** Workaround for bug #395272
* e-search-bar.c:
Minor code cleanups and value checking
svn path=/trunk/; revision=34437
2007-10-02 Matthew Barnes <mbarnes@redhat.com>
* widgets/table/e-table-extras.c (pixbuf_hash_free):
Remove an unused function left behind by my previous commit.
svn path=/trunk/; revision=34345
2007-08-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #309166
* text/e-text.c (_get_updated_position): Modified the way movement
of cursor is handled across grapheme clusters.
* text/e-text.c (_get_position): Uses the new function for forward
and backward movement of characters (simple or grapheme clusters).
Patch by Mayank Jain.
svn path=/trunk/; revision=34083
2007-08-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #303877.
* e-cell-text.c: (update_im_cursor_locations): New function.
Set the cursor location to IMContext for candidate window.
(e_cell_text_get_cursor_locations): New function.
Get the current cursor locations in root canvas.
(e_cell_text_preedit_changed_cb): set the preedit cursor position to
preedit_pos.
(layout_with_preedit): call update_im_cursor_locations in the tail.
Patch by Hiroyuki Ikezone.
svn path=/trunk/; revision=34082
2007-08-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #303878
* widgets/text/e-text.h: preedit_pos: new value.
* widgets/text/e-text.c: (e_text_get_cursor_locations):
New function. Get the cursor locations.
(update_im_cursor_position): New function.
Set the cursor location to IMContext.
(insert_preedit_text): Call update_im_cursor_position when draw
preedit text.
(e_text_preedit_changed_cb): Set the preedit cursor position to
preedit_pos.
Patch by Hiroyuki Ikezoe and makuchaku.
svn path=/trunk/; revision=34081