anjuta r4401 - in branches/gnome-2-24: . plugins/message-view



Author: sgranjoux
Date: Sun Nov 23 21:57:05 2008
New Revision: 4401
URL: http://svn.gnome.org/viewvc/anjuta?rev=4401&view=rev

Log:
	* plugins/message-view/plugin.c:
	Fix 560939 - Duplicated message panes


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/plugins/message-view/plugin.c

Modified: branches/gnome-2-24/plugins/message-view/plugin.c
==============================================================================
--- branches/gnome-2-24/plugins/message-view/plugin.c	(original)
+++ branches/gnome-2-24/plugins/message-view/plugin.c	Sun Nov 23 21:57:05 2008
@@ -301,7 +301,7 @@
 	MessageView* message_view;
 	AnjutaShell* shell = ANJUTA_PLUGIN(plugin)->shell;
 	GtkWidget *msgman = ANJUTA_PLUGIN_MESSAGE_VIEW (plugin)->msgman;
-	if (g_list_length (anjuta_msgman_get_all_views(ANJUTA_MSGMAN(msgman))) == 0)
+	if (ANJUTA_PLUGIN_MESSAGE_VIEW (plugin)->widget_shown == FALSE)
 	{
 		anjuta_shell_add_widget (shell, msgman,
 							 "AnjutaMessageView", _("Messages"),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]