From: <aa...@us...> - 2011-08-21 13:42:38
|
Revision: 888 http://gpredict.svn.sourceforge.net/gpredict/?rev=888&view=rev Author: aa1vs Date: 2011-08-21 13:42:32 +0000 (Sun, 21 Aug 2011) Log Message: ----------- Eliminates use of deprecated tooltips code. Modified Paths: -------------- trunk/ChangeLog trunk/src/gtk-sat-tree.c Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-08-21 13:40:23 UTC (rev 887) +++ trunk/ChangeLog 2011-08-21 13:42:32 UTC (rev 888) @@ -4,7 +4,11 @@ * src/tle-update.c Eliminates memory leak and cut and paste error and removes whitespace around tle before importing. + * ChangeLog + * src/gtk-sat-tree.c + Eliminates use of deprecated tooltips code. + 2011-08-20 Charles Suprin <hamaa1vs at gmail.com> * ChangeLog Modified: trunk/src/gtk-sat-tree.c =================================================================== --- trunk/src/gtk-sat-tree.c 2011-08-21 13:40:23 UTC (rev 887) +++ trunk/src/gtk-sat-tree.c 2011-08-21 13:42:32 UTC (rev 888) @@ -265,17 +265,13 @@ /* expand and collabse buttons */ expbut = gtk_button_new_with_label (_("Expand")); - tips = gtk_tooltips_new (); - gtk_tooltips_set_tip (tips, expbut, - _("Expand all nodes in the tree to make it searchable"), - NULL); + gtk_widget_set_tooltip_text (expbut, + _("Expand all nodes in the tree to make it searchable")); g_signal_connect (expbut, "clicked", G_CALLBACK (expand_cb), sat_tree); colbut = gtk_button_new_with_label (_("Collapse")); - tips = gtk_tooltips_new (); - gtk_tooltips_set_tip (tips, colbut, - _("Collapse all nodes in the tree"), - NULL); + gtk_widget_set_tooltip_text (colbut, + _("Collapse all nodes in the tree")); g_signal_connect (colbut, "clicked", G_CALLBACK (collapse_cb), sat_tree); hbox = gtk_hbutton_box_new (); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |