SF.net SVN: geany-plugins:[2098] trunk/geany-plugins/geanysendmail
frlan at users.sourceforge.net
frlan at xxxxx
Tue Jun 21 17:04:07 UTC 2011
Revision: 2098
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2098&view=rev
Author: frlan
Date: 2011-06-21 17:04:06 +0000 (Tue, 21 Jun 2011)
Log Message:
-----------
GeanySendMail: Deprecate ui_widget_set_tooltip_text() in favor of gtk_widget_set_tooltip_text().
Modified Paths:
--------------
trunk/geany-plugins/geanysendmail/ChangeLog
trunk/geany-plugins/geanysendmail/src/geanysendmail.c
Modified: trunk/geany-plugins/geanysendmail/ChangeLog
===================================================================
--- trunk/geany-plugins/geanysendmail/ChangeLog 2011-06-19 22:59:17 UTC (rev 2097)
+++ trunk/geany-plugins/geanysendmail/ChangeLog 2011-06-21 17:04:06 UTC (rev 2098)
@@ -1,6 +1,12 @@
+2011-06-21 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * Deprecate ui_widget_set_tooltip_text() in favor of
+ gtk_widget_set_tooltip_text().
+
+
2010-11-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
- * Apply a patch by Nick to make usage of new dialogs_show_input()
+ * Apply a patch by Nick to make usage of new dialogs_show_input()
function from plugin APIv199.
Modified: trunk/geany-plugins/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geany-plugins/geanysendmail/src/geanysendmail.c 2011-06-19 22:59:17 UTC (rev 2097)
+++ trunk/geany-plugins/geanysendmail/src/geanysendmail.c 2011-06-21 17:04:06 UTC (rev 2098)
@@ -321,7 +321,7 @@
gtk_misc_set_alignment(GTK_MISC(label2), 0, 0.5);
pref_widgets.checkbox_icon_to_toolbar = gtk_check_button_new_with_label(_("Show toolbar icon"));
- ui_widget_set_tooltip_text(pref_widgets.checkbox_icon_to_toolbar,
+ gtk_widget_set_tooltip_text(pref_widgets.checkbox_icon_to_toolbar,
_("Shows a icon in the toolbar to send file more easy."));
gtk_button_set_focus_on_click(GTK_BUTTON(pref_widgets.checkbox_icon_to_toolbar), FALSE);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_icon_to_toolbar), icon_in_toolbar);
@@ -349,7 +349,6 @@
/* Called by Geany to initialize the plugin */
void plugin_init(GeanyData G_GNUC_UNUSED *data)
{
- GtkTooltips *tooltips = NULL;
GKeyFile *config = g_key_file_new();
gchar *kb_label = _("Send file by mail");
GtkWidget *menu_mail = NULL;
@@ -369,8 +368,6 @@
g_key_file_free(config);
- tooltips = gtk_tooltips_new();
-
add_stock_item();
if (icon_in_toolbar == TRUE)
{
@@ -380,7 +377,7 @@
/* Build up menu entry */
menu_mail = gtk_menu_item_new_with_mnemonic(_("_Mail document"));
gtk_container_add(GTK_CONTAINER(geany->main_widgets->tools_menu), menu_mail);
- ui_widget_set_tooltip_text(menu_mail,
+ gtk_widget_set_tooltip_text(menu_mail,
_("Sends the opened file as unzipped attachment by any mailer from your $PATH"));
g_signal_connect(G_OBJECT(menu_mail), "activate", G_CALLBACK(send_as_attachment), NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list