SF.net SVN: geany-plugins:[676] trunk/geanysendmail

frlan at users.sourceforge.net frlan at xxxxx
Wed May 27 22:12:01 UTC 2009


Revision: 676
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=676&view=rev
Author:   frlan
Date:     2009-05-27 22:12:01 +0000 (Wed, 27 May 2009)

Log Message:
-----------
GeanySendMail: Make usage of Geany's ui_widget_set_tooltip_text() function

Modified Paths:
--------------
    trunk/geanysendmail/ChangeLog
    trunk/geanysendmail/src/geanysendmail.c

Modified: trunk/geanysendmail/ChangeLog
===================================================================
--- trunk/geanysendmail/ChangeLog	2009-05-27 21:51:23 UTC (rev 675)
+++ trunk/geanysendmail/ChangeLog	2009-05-27 22:12:01 UTC (rev 676)
@@ -1,3 +1,8 @@
+2009-05-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Make usage of Geany's ui_widget_set_tooltip_text() function.
+
+
 2009-04-24  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
 
  * Applied a patch by Timothy Boronczyk which allows aborting when inserting

Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c	2009-05-27 21:51:23 UTC (rev 675)
+++ trunk/geanysendmail/src/geanysendmail.c	2009-05-27 22:12:01 UTC (rev 676)
@@ -352,10 +352,8 @@
 	gtk_misc_set_alignment(GTK_MISC(label2), 0, 0.5);
 
 	pref_widgets.checkbox_icon_to_toolbar = gtk_check_button_new_with_label(_("Showing icon in toolbar"));
-	gtk_tooltips_set_tip(tooltip, pref_widgets.checkbox_icon_to_toolbar,
-			     _
-			     ("Shows a icon in the toolbar to send file more easy."),
-			     NULL);
+	ui_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);
 	gtk_widget_show(pref_widgets.checkbox_icon_to_toolbar);
@@ -415,8 +413,8 @@
 	/* 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);
-	gtk_tooltips_set_tip(tooltips, menu_mail,
-			     _("Sends the opened file as unzipped attachment by any mailer from your $PATH"), NULL);
+	ui_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);
 
 	/* setup keybindings */


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