+2011-10-31 [pawel] 3.7.10cvs64
+
+ * src/summaryview.c
+ * src/gtk/gtkutils.c
+ Fix bug #2303 'Next unread message enables message view'
+ Don't show previously hidden message view in main window
+ when user reads messages in external window
+
2011-10-31 [paul] 3.7.10cvs63
* src/prefs_template.c
( cvs diff -u -r 1.382.2.589 -r 1.382.2.590 src/compose.c; ) > 3.7.10cvs61.patchset
( cvs diff -u -r 1.382.2.590 -r 1.382.2.591 src/compose.c; ) > 3.7.10cvs62.patchset
( cvs diff -u -r 1.12.2.78 -r 1.12.2.79 src/prefs_template.c; ) > 3.7.10cvs63.patchset
+( cvs diff -u -r 1.395.2.434 -r 1.395.2.435 src/summaryview.c; cvs diff -u -r 1.5.2.100 -r 1.5.2.101 src/gtk/gtkutils.c; ) > 3.7.10cvs64.patchset
MICRO_VERSION=10
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=63
+EXTRA_VERSION=64
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
{
GtkTextBuffer *buffer;
GtkTextIter iter;
+ GtkTextMark *mark;
cm_return_if_fail(text != NULL);
gtk_text_buffer_get_iter_at_offset(buffer, &iter, pos);
gtk_text_buffer_place_cursor(buffer, &iter);
- gtk_text_view_scroll_to_iter(text, &iter, 0.0, FALSE, 0.0, 0.0);
+ mark = gtk_text_buffer_create_mark(buffer, NULL, &iter, TRUE);
+ gtk_text_view_scroll_to_mark(text, mark, 0.0, FALSE, 0.0, 0.0);
}
gboolean gtkut_text_view_search_string(GtkTextView *text, const gchar *str,
gint val;
START_TIMING("");
if (!new_window) {
- if (summaryview->displayed == row)
+ if (summaryview->displayed == row &&
+ messageview_is_visible(summaryview->messageview))
return;
else if (summaryview->messageview)
summaryview->messageview->filtered = FALSE;
msgview = summaryview->messageview;
summaryview->last_displayed = summaryview->displayed;
summaryview->displayed = row;
- if (!messageview_is_visible(msgview)) {
+ if (!messageview_is_visible(msgview) &&
+ gtk_window_is_active(GTK_WINDOW(summaryview->mainwin->window))) {
main_window_toggle_message_view(summaryview->mainwin);
GTK_EVENTS_FLUSH();
}