[claws-mail-cvs-commit] gtkcmclist.c
Colin Leroy <[email protected]> Sat, 03 Oct 2009 19:27:42 +0000
| Newsgroups | gmane.mail.sylpheed.claws.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /srv/cvs/claws-mail/claws/src/gtk
In directory ran:/tmp/cvs-serv17805/src/gtk
Modified Files:
Tag: gtk2
gtkcmclist.c gtkvscrollbutton.c logwindow.c
Log Message:
2009-10-03 [colin] 3.7.2cvs42
* src/mimeview.c
* src/noticeview.c
* src/gtk/gtkcmclist.c
* src/gtk/gtkvscrollbutton.c
* src/gtk/logwindow.c
GTK+ 2.18 fixes:
Fix bug 2008, 'Claws-Mail doesn't refresh after deletion'
Fix bug 2009, 'Incorrect pointer representation with GTK+2.18'
Fix warning at start
Index: logwindow.c
===================================================================
RCS file: /srv/cvs/claws-mail/claws/src/gtk/logwindow.c,v
retrieving revision 1.1.4.35
retrieving revision 1.1.4.36
diff -u -d -r1.1.4.35 -r1.1.4.36
--- logwindow.c 23 Feb 2009 16:55:50 -0000 1.1.4.35
+++ logwindow.c 3 Oct 2009 19:27:40 -0000 1.1.4.36
@@ -147,8 +147,6 @@
logwin->text = text;
logwin->hook_id = hooks_register_hook(get_log_hook(instance), log_window_append, logwin);
- gtk_text_view_scroll_mark_onscreen(GTK_TEXT_VIEW(text), logwin->end_mark);
-
return logwin;
}
Index: gtkcmclist.c
===================================================================
RCS file: /srv/cvs/claws-mail/claws/src/gtk/Attic/gtkcmclist.c,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -u -d -r1.1.2.9 -r1.1.2.10
--- gtkcmclist.c 23 Feb 2009 16:55:49 -0000 1.1.2.9
+++ gtkcmclist.c 3 Oct 2009 19:27:39 -0000 1.1.2.10
@@ -6001,9 +6001,14 @@
i++;
}
- if (!area)
- gdk_window_clear_area (clist->clist_window, 0,
- ROW_TOP_YPIXEL (clist, i), 0, 0);
+ if (!area) {
+ int w, h, y;
+ gdk_drawable_get_size (GDK_DRAWABLE (clist->clist_window), &w, &h);
+ y = ROW_TOP_YPIXEL (clist, i);
+ gdk_window_clear_area (clist->clist_window,
+ 0, y,
+ w, h - y);
+ }
}
static void
Index: gtkvscrollbutton.c
===================================================================
RCS file: /srv/cvs/claws-mail/claws/src/gtk/gtkvscrollbutton.c,v
retrieving revision 1.5.2.17
retrieving revision 1.5.2.18
diff -u -d -r1.5.2.17 -r1.5.2.18
--- gtkvscrollbutton.c 23 Feb 2009 16:55:50 -0000 1.5.2.17
+++ gtkvscrollbutton.c 3 Oct 2009 19:27:40 -0000 1.5.2.18
@@ -161,16 +161,12 @@
gtk_widget_show(scrollbutton->downbutton);
gtk_widget_show(scrollbutton->upbutton);
- g_signal_connect(G_OBJECT(scrollbutton->upbutton), "visibility-notify-event",
- G_CALLBACK(vscroll_visi_notify), NULL);
g_signal_connect(G_OBJECT(scrollbutton->upbutton), "motion-notify-event",
G_CALLBACK(vscroll_visi_notify), NULL);
g_signal_connect(G_OBJECT(scrollbutton->upbutton), "leave-notify-event",
G_CALLBACK(vscroll_leave_notify), NULL);
g_signal_connect(G_OBJECT(scrollbutton->upbutton), "enter-notify-event",
G_CALLBACK(vscroll_enter_notify), NULL);
- g_signal_connect(G_OBJECT(scrollbutton->downbutton), "visibility-notify-event",
- G_CALLBACK(vscroll_visi_notify), NULL);
g_signal_connect(G_OBJECT(scrollbutton->downbutton), "motion-notify-event",
G_CALLBACK(vscroll_visi_notify), NULL);
g_signal_connect(G_OBJECT(scrollbutton->downbutton), "leave-notify-event",