[anjuta] message-view: Fix some problems with tabs in grip



commit dbe0d7ff86b71440bd08e42ac95855b1cab9103b
Author: Johannes Schmid <jhs gnome org>
Date:   Tue Jun 9 11:30:17 2009 +0200

    message-view: Fix some problems with tabs in grip
---
 plugins/message-view/plugin.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/message-view/plugin.c b/plugins/message-view/plugin.c
index f4d2ba3..fd244a8 100644
--- a/plugins/message-view/plugin.c
+++ b/plugins/message-view/plugin.c
@@ -322,16 +322,16 @@ ianjuta_msgman_add_view (IAnjutaMessageManager *plugin,
 	if (ANJUTA_PLUGIN_MESSAGE_VIEW (plugin)->widget_shown == FALSE)
 	{
 		GtkWidget* label = gtk_label_new (_("Messages"));
-		GtkImage* image = gtk_image_new_from_stock ("message-manager-plugin-icon",
+		GtkWidget* image = gtk_image_new_from_stock ("message-manager-plugin-icon",
 		                                            GTK_ICON_SIZE_MENU);
-		GtkWidget* hbox = anjuta_msgman_get_hbox (msgman);
+		GtkWidget* hbox = anjuta_msgman_get_hbox (ANJUTA_MSGMAN(msgman));
 		gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
 		gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
 		gtk_widget_show_all (hbox);
 		
 		anjuta_shell_add_widget_custom (shell, msgman,
 							 "AnjutaMessageView", _("Messages"),
-							 hbox,
+							 "message-manager-plugin-icon", hbox,
 							 ANJUTA_SHELL_PLACEMENT_BOTTOM, NULL);
 		ANJUTA_PLUGIN_MESSAGE_VIEW (plugin)->widget_shown = TRUE;
 	}



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