From: Christian Dywan Date: Thu, 23 Oct 2008 22:21:04 +0000 (+0200) Subject: Set tooltips on the sidepanel toolbar X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f14c2ff70f3858223834e59a7b434f3ac71bc1d6;p=midori Set tooltips on the sidepanel toolbar --- diff --git a/midori/midori-panel.c b/midori/midori-panel.c index e2413e87..1ebdf249 100644 --- a/midori/midori-panel.c +++ b/midori/midori-panel.c @@ -428,6 +428,7 @@ midori_panel_append_page (MidoriPanel* panel, image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON); gtk_tool_button_set_icon_widget (GTK_TOOL_BUTTON (toolitem), image); gtk_tool_button_set_label (GTK_TOOL_BUTTON (toolitem), label); + gtk_widget_set_tooltip_text (GTK_WIDGET (toolitem), label); g_object_set_data (G_OBJECT (toolitem), "page", child); g_signal_connect (toolitem, "clicked", G_CALLBACK (midori_panel_menu_item_activate_cb), panel);