Re: has anyone had a chance to look at my nm-applet patch?



On Thu, 2007-11-01 at 23:17 +1300, Simon Geard wrote:
> On Wed, 2007-10-31 at 10:59 -0400, Katelin Ganzer wrote:
> > On 10/31/07, Simon Geard <delgarde ihug co nz> wrote:
> > > Good idea, but it doesn't compile on my system, unable to find the
> > > function gtk_widget_set_tooltip_markup(). I think that's something new
> > > to gtk+ 2.12? I'm running 2.10.14...
> > 
> > Oh. How do I make it work with gtk 2.10? It seems that all of the
> > tooltip APIs are from 2.12?
> 
> No idea, sorry - I'm not a gtk+ coder. I understand a lot of work was
> done on providing good tooltip APIs in 2.12 - I assume the same effect
> could be done on previous versions, but might not be quite so easy.

It's not anywhere near as elegant - see
http://library.gnome.org/devel/gtk/2.10/GtkTooltips.html for the older
API.

btw, looking at the patch, the markup_encode function is unnecessary,
just use g_markup_escape_text():
http://library.gnome.org/devel/glib/stable/glib-Simple-XML-Subset-Parser.html#id2955983

Ed



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]