From: Andy S. <And...@co...> - 2010-08-17 03:25:14
|
diffing dir... Mon Aug 16 23:24:15 EDT 2010 Andy Stewart <laz...@gm...> * Add function statusIconSetName Ignore-this: a41103b6ca70cd65f760933db721c50a { hunk ./gtk/Graphics/UI/Gtk/Display/StatusIcon.chs 5 --- Author : Andrea Vezzosi +-- Author : Andrea Vezzosi, Andy Stewart hunk ./gtk/Graphics/UI/Gtk/Display/StatusIcon.chs 10 +-- Copyright (C) 2010 Andy Stewart hunk ./gtk/Graphics/UI/Gtk/Display/StatusIcon.chs 97 +#if GTK_CHECK_VERSION(2,20,0) + statusIconSetName, +#endif hunk ./gtk/Graphics/UI/Gtk/Display/StatusIcon.chs 461 +#if GTK_CHECK_VERSION(2,20,0) +-- | Sets the name of this tray icon. This should be a string identifying this icon. It is may be used +-- for sorting the icons in the tray and will not be shown to the user. +statusIconSetName :: StatusIconClass self => self -> String -> IO () +statusIconSetName self name = + withUTFString name $ \ namePtr -> [_$_] + {#call gtk_status_icon_set_name #} + (toStatusIcon self) + namePtr +#endif } |