[Commits] claws.def 1.1.2.4 1.1.2.5 notification_core.c 1.1.2.29 1.1.2.30 notification_plugin.c 1.1.2.42 1.1.2.43 notification_trayicon.c 1.1.2.36 1.1.2.37

colin at claws-mail.org colin at claws-mail.org
Sat Oct 22 19:11:09 CEST 2011


Update of /home/claws-mail/plugins/notification/src
In directory claws-mail:/tmp/cvs-serv1073/src

Modified Files:
      Tag: gtk2
	claws.def notification_core.c notification_plugin.c 
	notification_trayicon.c 
Log Message:
2011-10-22 [colin]	0.28cvs2

	* src/claws.def
	* src/notification_core.c
	* src/notification_plugin.c
	* src/notification_trayicon.c
		Update following Claws 3.7.10.41

Index: notification_trayicon.c
===================================================================
RCS file: /home/claws-mail/plugins/notification/src/Attic/notification_trayicon.c,v
retrieving revision 1.1.2.36
retrieving revision 1.1.2.37
diff -u -d -r1.1.2.36 -r1.1.2.37
--- notification_trayicon.c	8 Jun 2011 09:15:59 -0000	1.1.2.36
+++ notification_trayicon.c	22 Oct 2011 17:11:07 -0000	1.1.2.37
@@ -302,7 +302,7 @@
       MainWindow *mainwin = mainwindow_get_mainwindow();
 
       *close_allowed = FALSE;
-      if(mainwin && gtkut_widget_get_visible(GTK_WIDGET(mainwin->window)))
+      if(mainwin && gtk_widget_get_visible(GTK_WIDGET(mainwin->window)))
 	main_window_hide(mainwin);
     }
   }
@@ -318,7 +318,7 @@
     return FALSE;
 
   if(notify_config.trayicon_hide_when_iconified &&
-     mainwin && gtkut_widget_get_visible(GTK_WIDGET(mainwin->window))
+     mainwin && gtk_widget_get_visible(GTK_WIDGET(mainwin->window))
      && !gtk_window_get_skip_taskbar_hint(GTK_WINDOW(mainwin->window))) {
     gtk_window_set_skip_taskbar_hint(GTK_WINDOW(mainwin->window), TRUE);
   }

Index: notification_core.c
===================================================================
RCS file: /home/claws-mail/plugins/notification/src/Attic/notification_core.c,v
retrieving revision 1.1.2.29
retrieving revision 1.1.2.30
diff -u -d -r1.1.2.29 -r1.1.2.30
--- notification_core.c	14 Nov 2010 20:37:57 -0000	1.1.2.29
+++ notification_core.c	22 Oct 2011 17:11:07 -0000	1.1.2.30
@@ -80,7 +80,7 @@
   if((mainwin = mainwindow_get_mainwindow()) == NULL)
     return;
 
-  if(gtkut_widget_get_visible(GTK_WIDGET(mainwin->window))) {
+  if(gtk_widget_get_visible(GTK_WIDGET(mainwin->window))) {
     if((gdk_window_get_state(GTK_WIDGET(mainwin->window)->window)&GDK_WINDOW_STATE_ICONIFIED)
        || mainwindow_is_obscured()) {
       notification_show_mainwindow(mainwin);

Index: claws.def
===================================================================
RCS file: /home/claws-mail/plugins/notification/src/Attic/claws.def,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- claws.def	4 May 2010 09:08:39 -0000	1.1.2.4
+++ claws.def	22 Oct 2011 17:11:07 -0000	1.1.2.5
@@ -28,7 +28,6 @@
 gtkut_convert_int_to_gdk_color
 gtkut_stock_button_set_create
 gtkut_window_new
-gtkut_widget_get_visible
 inc_all_account_mail_cb
 main_set_show_at_startup
 mainwindow_get_mainwindow

Index: notification_plugin.c
===================================================================
RCS file: /home/claws-mail/plugins/notification/src/Attic/notification_plugin.c,v
retrieving revision 1.1.2.42
retrieving revision 1.1.2.43
diff -u -d -r1.1.2.42 -r1.1.2.43
--- notification_plugin.c	14 Nov 2010 20:37:57 -0000	1.1.2.42
+++ notification_plugin.c	22 Oct 2011 17:11:07 -0000	1.1.2.43
@@ -214,7 +214,7 @@
   bind_textdomain_codeset(TEXTDOMAIN, "UTF-8");
 
   /* Version check */
-  if(!check_plugin_version(MAKE_NUMERIC_VERSION(3,7,5,38),
+  if(!check_plugin_version(MAKE_NUMERIC_VERSION(3,7,10,41),
 			   VERSION_NUMERIC, _("Notification"), error))
     return -1;
 
@@ -342,7 +342,7 @@
     MainWindow *mainwin = mainwindow_get_mainwindow();
 
 		g_idle_add(trayicon_startup_idle,NULL);
-    if(mainwin && gtkut_widget_get_visible(GTK_WIDGET(mainwin->window)))
+    if(mainwin && gtk_widget_get_visible(GTK_WIDGET(mainwin->window)))
       main_window_hide(mainwin);
     main_set_show_at_startup(FALSE);
   }



More information about the Commits mailing list