Revision: 523 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=523&view=rev Author: frlan Date: 2009-03-02 22:12:12 +0000 (Mon, 02 Mar 2009)
Log Message: ----------- GeanySendMail: Added toolttip to toolbar entry
Modified Paths: -------------- trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/src/geanysendmail.c =================================================================== --- trunk/geanysendmail/src/geanysendmail.c 2009-03-02 21:05:33 UTC (rev 522) +++ trunk/geanysendmail/src/geanysendmail.c 2009-03-02 22:12:12 UTC (rev 523) @@ -235,6 +235,9 @@ mailbutton = GTK_WIDGET(gtk_tool_button_new_from_stock(GEANYSENDMAIL_STOCK_MAIL)); plugin_add_toolbar_item(geany_plugin, GTK_TOOL_ITEM(mailbutton)); ui_add_document_sensitive(mailbutton); +#if GTK_CHECK_VERSION(2, 12, 0) + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(mailbutton), _("Send by mail")); +#endif g_signal_connect (G_OBJECT(mailbutton), "clicked", G_CALLBACK(send_as_attachment), NULL); gtk_widget_show_all (mailbutton); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org