|
[vinagre] Added vinagre_plugin_get_icon_name(): msg#08220svn-commits-list
commit 311336a75f7467d770a9664b1f80c14b0177f510 Author: Jonh Wendell <jwendell@xxxxxxxxx> Date: Fri Jul 31 20:22:56 2009 -0300 Added vinagre_plugin_get_icon_name() vinagre/vinagre-plugin.c | 13 +++++++++++++ vinagre/vinagre-plugin.h | 2 +- 2 files changed, 14 insertions(+), 1 deletions(-) --- diff --git a/vinagre/vinagre-plugin.c b/vinagre/vinagre-plugin.c index fc62d06..eb23e30 100644 --- a/vinagre/vinagre-plugin.c +++ b/vinagre/vinagre-plugin.c @@ -571,4 +571,17 @@ vinagre_plugin_get_icon (VinagrePlugin *plugin, gint size) NULL); } +const gchar * +vinagre_plugin_get_icon_name (VinagrePlugin *plugin) +{ + VinagrePluginInfo *info; + + g_return_val_if_fail (VINAGRE_IS_PLUGIN (plugin), NULL); + + info = g_object_get_data (G_OBJECT (plugin), "info"); + g_return_val_if_fail (info != NULL, NULL); + + return vinagre_plugin_info_get_icon_name (info); +} + /* vim: set ts=8: */ diff --git a/vinagre/vinagre-plugin.h b/vinagre/vinagre-plugin.h index 49fa05f..def7300 100644 --- a/vinagre/vinagre-plugin.h +++ b/vinagre/vinagre-plugin.h @@ -145,7 +145,7 @@ GtkFileFilter *vinagre_plugin_get_file_filter (VinagrePlugin *plugin); GdkPixbuf *vinagre_plugin_get_icon (VinagrePlugin *plugin, gint size); - +const gchar *vinagre_plugin_get_icon_name (VinagrePlugin *plugin); /** * VINAGRE_PLUGIN_REGISTER_TYPE_WITH_CODE(PluginName, plugin_name, CODE): * _______________________________________________ SVN-commits-list mailing list (read only) http://mail.gnome.org/mailman/listinfo/svn-commits-list Want to limit the commits to a few modules? Go to above URL, log in to edit your options and select the modules ('topics') you want.
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |