[Commits] trayicon.c 1.14.2.77 1.14.2.78
colin at claws-mail.org
colin at claws-mail.org
Fri Oct 7 11:08:59 CEST 2011
Update of /home/claws-mail/claws/src/plugins/trayicon
In directory claws-mail:/tmp/cvs-serv23693/src/plugins/trayicon
Modified Files:
Tag: gtk2
trayicon.c
Log Message:
2011-10-07 [colin] 3.7.10cvs19
* AUTHORS
* src/account.c
* src/action.c
* src/addr_compl.c
* src/addressbook.c
* src/alertpanel.c
* src/compose.c
* src/edittags.c
* src/folderview.c
* src/grouplistdialog.c
* src/image_viewer.c
* src/mainwindow.c
* src/mimeview.c
* src/noticeview.c
* src/prefs_filtering_action.c
* src/prefs_folder_column.c
* src/prefs_msg_colors.c
* src/prefs_summary_column.c
* src/prefs_toolbar.c
* src/printing.c
* src/stock_pixmap.c
* src/summaryview.c
* src/textview.c
* src/undo.c
* src/wizard.c
* src/gtk/about.c
* src/gtk/authors.h
* src/gtk/colorlabel.c
* src/gtk/colorsel.c
* src/gtk/gtkcmclist.c
* src/gtk/gtkcmctree.c
* src/gtk/gtkcmoptionmenu.c
* src/gtk/gtksctree.c
* src/gtk/gtkutils.c
* src/gtk/gtkvscrollbutton.c
* src/gtk/inputdialog.c
* src/gtk/logwindow.c
* src/gtk/menu.c
* src/gtk/prefswindow.c
* src/gtk/progressdialog.c
* src/plugins/pgpcore/passphrase.c
* src/plugins/trayicon/trayicon.c
Bug #2371, "Port to GTK+ 3.0": Use accessor functions.
Patch by Hanno Thurow-Meyer, many thanks to him !
Index: trayicon.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/trayicon/trayicon.c,v
retrieving revision 1.14.2.77
retrieving revision 1.14.2.78
diff -u -d -r1.14.2.77 -r1.14.2.78
--- trayicon.c 11 Apr 2011 06:37:32 -0000 1.14.2.77
+++ trayicon.c 7 Oct 2011 09:08:57 -0000 1.14.2.78
@@ -284,7 +284,8 @@
switch (event->button) {
case 1:
if (gtkut_widget_get_visible(GTK_WIDGET(mainwin->window))) {
- if ((gdk_window_get_state(GTK_WIDGET(mainwin->window)->window)&GDK_WINDOW_STATE_ICONIFIED)
+ if ((gdk_window_get_state(gtk_widget_get_window(
+ GTK_WIDGET(mainwin->window)))&GDK_WINDOW_STATE_ICONIFIED)
|| mainwindow_is_obscured()) {
gtk_window_deiconify(GTK_WINDOW(mainwin->window));
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(mainwin->window), FALSE);
More information about the Commits
mailing list