]> spindle.queued.net Git - midori/commitdiff
Set tooltips on the sidepanel toolbar
authorChristian Dywan <christian@twotoasts.de>
Thu, 23 Oct 2008 22:21:04 +0000 (00:21 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 23 Oct 2008 22:21:04 +0000 (00:21 +0200)
midori/midori-panel.c

index e2413e8709c4cca93a6e40917ff60187861bcb35..1ebdf2498bea2da85b99d5e873486972f14af8b8 100644 (file)
@@ -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);