+2007-05-08 Murray Cumming <murrayc@murrayc.com>
+
+ * src/maemo/modest-address-book.c:
+ (modest_address_book_check_names):
+ * src/maemo/modest-msg-view-window.c:
+ (modest_msg_view_window_clipboard_owner_change):
+ * src/modest-init.c: (modest_init_init_ui):
+ * src/modest-mail-operation.c: (modest_mail_operation_send_mail),
+ (update_folders_cb), (modest_mail_operation_update_account):
+ * src/modest-ui-actions.c: (modest_ui_actions_on_msg_link_hover),
+ (modest_ui_actions_on_msg_attachment_clicked),
+ (modest_ui_actions_on_msg_recpt_activated):
+ * src/widgets/modest-header-view.c: (drag_data_get_cb):
+ * src/widgets/modest-msg-view.c: (modest_msg_view_search),
+ (modest_msg_view_search_next):
+ * src/widgets/modest-recpt-editor.c:
+ (modest_recpt_editor_on_button_release_event),
+ (modest_recpt_editor_on_key_press_event): Commented-out unnecessary calls to
+ g_message(). At this point we should only be seeing interesting errors on
+ stdout. Debugging messages could be #ifdefed-out if they are still useful.
+
2007-05-07 Murray Cumming <murrayc@murrayc.com>
(modest_wizard_dialog_force_title_update):
recipients = modest_recpt_editor_get_recipients (recpt_editor);
last_length = g_utf8_strlen (recipients, -1);
- g_message ("LENGTH %d", last_length);
+ /* g_message ("LENGTH %d", last_length); */
modest_text_utils_get_addresses_indexes (recipients, &start_indexes, &end_indexes);
if (start_indexes == NULL) {
gtk_text_buffer_get_iter_at_offset (buffer, &end_iter, end_pos);
gtk_text_buffer_select_range (buffer, &start_iter, &end_iter);
+/*
g_message ("RANGE %d - %d", start_pos, end_pos);
g_message ("ADDRESS %s", address);
+*/
if (!modest_text_utils_validate_recipient (address)) {
if (strstr (address, "@") == NULL) {
/* here goes searching in addressbook */
new_length = g_utf8_strlen (recipients, -1);
offset_delta = offset_delta + new_length - last_length;
last_length = new_length;
- g_message ("LENGTH %d", last_length);
+ /* g_message ("LENGTH %d", last_length); */
}
} else {
/* this address is not valid, select it and return control to user showing banner */
parent_priv = MODEST_WINDOW_GET_PRIVATE (window);
selection = gtk_clipboard_wait_for_text (clipboard);
- g_message ("SELECTION %s", selection);
+ /* g_message ("SELECTION %s", selection); */
is_address = ((selection != NULL) && (modest_text_utils_validate_recipient (selection)));
g_free (selection);
/* Set application name */
g_set_application_name (modest_platform_get_app_name());
- g_message (modest_platform_get_app_name());
+ /* g_message (modest_platform_get_app_name()); */
init_stock_icons ();
return TRUE;
g_printerr ("modest: error adding msg to send queue: %s\n",
err->message);
g_error_free (err);
- } else
- g_message ("modest: message added to send queue");
+ } else {
+ /* g_message ("modest: message added to send queue"); */
+ }
}
/* Notify the queue */
self = MODEST_MAIL_OPERATION (user_data);
priv = MODEST_MAIL_OPERATION_GET_PRIVATE (self);
- g_message (__FUNCTION__);
+ /* g_message (__FUNCTION__); */
if (*err) {
priv->error = g_error_copy (*err);
/* Get subscribed folders & refresh them */
folders = TNY_LIST (tny_simple_list_new ());
- g_message ("tny_folder_store_get_folders_async");
+ /* g_message ("tny_folder_store_get_folders_async"); */
tny_folder_store_get_folders_async (TNY_FOLDER_STORE (store_account),
folders, update_folders_cb, NULL, update_folders_status_cb, self);
modest_ui_actions_on_msg_link_hover (ModestMsgView *msgview, const gchar* link,
ModestWindow *win)
{
- g_message ("%s %s", __FUNCTION__, link);
+ /* g_message ("%s %s", __FUNCTION__, link); */
}
modest_ui_actions_on_msg_attachment_clicked (ModestMsgView *msgview, TnyMimePart *mime_part,
ModestWindow *win)
{
- g_message (__FUNCTION__);
+ /* g_message (__FUNCTION__); */
}
const gchar *address,
ModestWindow *win)
{
- g_message ("%s %s", __FUNCTION__, address);
+ /* g_message ("%s %s", __FUNCTION__, address); */
}
void
break;
}
default:
- g_message ("default");
+ g_message ("%s: default switch case.", __FUNCTION__);
}
gtk_tree_path_free (source_row);
search,
FALSE, TRUE, TRUE);
y_offset = tmp_vadj->value;
- g_message ("VALUE %f", y_offset);
+ /* g_message ("VALUE %f", y_offset); */
gtk_layout_set_vadjustment (GTK_LAYOUT (priv->gtkhtml), vadj);
g_object_unref (vadj);
priv = MODEST_MSG_VIEW_GET_PRIVATE (self);
result = gtk_html_engine_search_next (GTK_HTML (priv->gtkhtml));
+/*
{
GtkAdjustment *adj;
adj = gtk_container_get_focus_vadjustment (GTK_CONTAINER (priv->gtkhtml));
g_message ("ADJ value %f", adj->value);
}
+*/
return result;
}
buffer = modest_recpt_editor_get_buffer (recpt_editor);
mark = gtk_text_buffer_get_insert (buffer);
gtk_text_buffer_get_iter_at_mark (buffer, &location, mark);
- g_message ("RELEASE OFFSET %d", gtk_text_iter_get_offset (&location));
+ /* g_message ("RELEASE OFFSET %d", gtk_text_iter_get_offset (&location)); */
gtk_text_buffer_get_selection_bounds (buffer, &start, &end);
gboolean cursor_ready = FALSE;
while (!cursor_ready) {
if (iter_previous_char (&location) == '\n') {
- g_message ("INTRO FOUND");
+ /* g_message ("INTRO FOUND"); */
gtk_text_iter_backward_char (&location);
} else {
cursor_ready = TRUE;
if (tag != NULL) {
GtkTextIter iter_in_tag;
iter_in_tag = location;
- g_message ("DELETE PREV SELECTION");
+ /* g_message ("DELETE PREV SELECTION"); */
gtk_text_iter_backward_char (&iter_in_tag);
select_tag_of_iter (&iter_in_tag, tag);
gtk_text_buffer_delete_selection (buffer, TRUE, TRUE);