Mercurial > pidgin
diff src/util.h @ 12483:54448bd2ccc7
[gaim-migrate @ 14795]
Allow the file transfer window open button to work in environments other than win32 and GNOME. In KDE, we do The Right Thing. Otherwise, we fall back the browser.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 14 Dec 2005 19:06:27 +0000 |
parents | 36a0c8719af3 |
children | 547c199072c8 |
line wrap: on
line diff
--- a/src/util.h Wed Dec 14 18:24:11 2005 +0000 +++ b/src/util.h Wed Dec 14 19:06:27 2005 +0000 @@ -475,18 +475,25 @@ * * @param program The file name of the application. * - * @return True if the program is runable. + * @return TRUE if the program is runable. */ gboolean gaim_program_is_valid(const char *program); /** - * Check if running Gnome. + * Check if running GNOME. * - * @return TRUE if running Gnome, FALSE otherwise. + * @return TRUE if running GNOME, FALSE otherwise. */ gboolean gaim_running_gnome(void); /** + * Check if running KDE. + * + * @return TRUE if running KDE, FALSE otherwise. + */ +gboolean gaim_running_kde(void); + +/** * Returns the IP address from a socket file descriptor. * * @param fd The socket file descriptor.