Mercurial > pidgin
view libgaim/plugins/perl/common/Debug.xs @ 15294:e5c75076c6d1
[gaim-migrate @ 18085]
GTK+ adds an accelerator key for buttons on it's own, but it's better
if we specify one ourselves (even if it's the same as the one that
GTK+ uses) so that translators know that they should add the _ to the
string in their translations if there are two buttons that start with
the same letter.
Is my reasoning sound?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 08 Jan 2007 04:04:16 +0000 |
parents | ee79c2c1b5ac |
children |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Debug PACKAGE = Gaim::Debug PREFIX = gaim_debug_ PROTOTYPES: ENABLE void gaim_debug(level, category, string) Gaim::DebugLevel level const char *category const char *string CODE: gaim_debug(level, category, "%s", string); void gaim_debug_misc(category, string) const char *category const char *string CODE: gaim_debug_misc(category, "%s", string); void gaim_debug_info(category, string) const char *category const char *string CODE: gaim_debug_info(category, "%s", string); void gaim_debug_warning(category, string) const char *category const char *string CODE: gaim_debug_warning(category, "%s", string); void gaim_debug_error(category, string) const char *category const char *string CODE: gaim_debug_error(category, "%s", string); void gaim_debug_fatal(category, string) const char *category const char *string CODE: gaim_debug_fatal(category, "%s", string); void gaim_debug_set_enabled(enabled) gboolean enabled gboolean gaim_debug_is_enabled()