Mercurial > pidgin
diff libpurple/theme-manager.h @ 27203:d629a42c8340
Allow drag-and-drop of all sorts of themes.
Patch from Justin "ffdragon6" Rodriguez. Closes #8085.
committer: Paul Aurich <paul@darkrain42.org>
| author | Justin Rodriguez <ffdragon@soc.pidgin.im> |
|---|---|
| date | Sun, 28 Jun 2009 06:28:46 +0000 |
| parents | b1c8ffbd48f9 |
| children |
line wrap: on
line diff
--- a/libpurple/theme-manager.h Sun Jun 28 06:26:48 2009 +0000 +++ b/libpurple/theme-manager.h Sun Jun 28 06:28:46 2009 +0000 @@ -127,5 +127,13 @@ */ void purple_theme_manager_for_each_theme(PTFunc func); +/** + * Loads a theme of the given type without adding it to the manager + * + * @param theme_dir the directory of the theme to load + * @param type the type of theme to load + */ +PurpleTheme *purple_theme_manager_load_theme(const gchar *theme_dir, const gchar *type); + G_END_DECLS #endif /* PURPLE_THEME_MANAGER_H */
