talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 08ec3ee0dfc522d43d585a1e83f10322a821d4f7
parent d5eabdd653f26bb912e24e79c7a5ff28686380f8
Author: Colin Leroy <colin@colino.net>
Date:   Tue, 27 Nov 2012 10:14:10 +0000

2012-11-27 [colin]	3.9.0cvs23

	* src/gtk/manage_window.c
		Stop spamming logs with focus events.

Diffstat:
MChangeLog | 5+++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/gtk/manage_window.c | 16++++++++--------
4 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2012-11-27 [colin] 3.9.0cvs23 + + * src/gtk/manage_window.c + Stop spamming logs with focus events. + 2012-11-27 [colin] 3.9.0cvs22 * src/mainwindow.c diff --git a/PATCHSETS b/PATCHSETS @@ -4520,3 +4520,4 @@ ( cvs diff -u -r 1.18.2.37 -r 1.18.2.38 src/jpilot.c; cvs diff -u -r 1.115.2.262 -r 1.115.2.263 src/main.c; cvs diff -u -r 1.274.2.355 -r 1.274.2.356 src/mainwindow.c; cvs diff -u -r 1.75.2.79 -r 1.75.2.80 src/matcher.c; cvs diff -u -r 1.204.2.212 -r 1.204.2.213 src/prefs_common.c; cvs diff -u -r 1.103.2.141 -r 1.103.2.142 src/prefs_common.h; cvs diff -u -r 1.150.2.131 -r 1.150.2.132 src/procmsg.c; cvs diff -u -r 1.13.2.51 -r 1.13.2.52 src/common/socket.c; cvs diff -u -r 1.13.2.27 -r 1.13.2.28 src/common/socket.h; cvs diff -u -r 1.9.2.57 -r 1.9.2.58 src/common/ssl.c; cvs diff -u -r 1.4.2.46 -r 1.4.2.47 src/common/ssl_certificate.c; cvs diff -u -r 1.1.4.20 -r 1.1.4.21 src/common/ssl_certificate.h; cvs diff -u -r 1.1.4.125 -r 1.1.4.126 src/etpan/imap-thread.c; cvs diff -u -r 1.1.2.22 -r 1.1.2.23 src/etpan/nntp-thread.c; ) > 3.9.0cvs20.patchset ( cvs diff -u -r 1.1.2.13 -r 1.1.2.14 doc/man/claws-mail.1; cvs diff -u -r 1.115.2.263 -r 1.115.2.264 src/main.c; cvs diff -u -r 1.17.2.65 -r 1.17.2.66 src/send_message.c; cvs diff -u -r 1.1.4.12 -r 1.1.4.13 src/send_message.h; ) > 3.9.0cvs21.patchset ( cvs diff -u -r 1.274.2.356 -r 1.274.2.357 src/mainwindow.c; cvs diff -u -r 1.204.2.213 -r 1.204.2.214 src/prefs_common.c; cvs diff -u -r 1.103.2.142 -r 1.103.2.143 src/prefs_common.h; ) > 3.9.0cvs22.patchset +( cvs diff -u -r 1.1.4.12 -r 1.1.4.13 src/gtk/manage_window.c; ) > 3.9.0cvs23.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=9 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=22 +EXTRA_VERSION=23 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/gtk/manage_window.c b/src/gtk/manage_window.c @@ -34,8 +34,8 @@ gint manage_window_focus_in(GtkWidget *widget, GdkEventFocus *event, return FALSE; title = gtk_window_get_title(GTK_WINDOW(widget)); - debug_print("Focus in event: window: %p - %s\n", widget, - title ? title : "no title"); + /* debug_print("Focus in event: window: %p - %s\n", widget, + title ? title : "no title"); */ focus_window = widget; @@ -51,8 +51,8 @@ gint manage_window_focus_out(GtkWidget *widget, GdkEventFocus *event, return FALSE; title = gtk_window_get_title(GTK_WINDOW(widget)); - debug_print("Focus out event: window: %p - %s\n", widget, - title ? title : "no title"); + /* debug_print("Focus out event: window: %p - %s\n", widget, + title ? title : "no title"); */ if (focus_window == widget) focus_window = NULL; @@ -63,8 +63,8 @@ gint manage_window_focus_out(GtkWidget *widget, GdkEventFocus *event, gint manage_window_unmap(GtkWidget *widget, GdkEventAny *event, gpointer data) { const gchar *title = gtk_window_get_title(GTK_WINDOW(widget)); - debug_print("Unmap event: window: %p - %s\n", widget, - title ? title : "no title"); + /* debug_print("Unmap event: window: %p - %s\n", widget, + title ? title : "no title"); */ if (focus_window == widget) focus_window = NULL; @@ -75,8 +75,8 @@ gint manage_window_unmap(GtkWidget *widget, GdkEventAny *event, gpointer data) void manage_window_destroy(GtkWidget *widget, gpointer data) { const gchar *title = gtk_window_get_title(GTK_WINDOW(widget)); - debug_print("Destroy event: window: %p - %s\n", widget, - title ? title : "no title"); + /* debug_print("Destroy event: window: %p - %s\n", widget, + title ? title : "no title"); */ if (focus_window == widget)