Mercurial > audlegacy-plugins
comparison src/sid/xs_glade.h @ 735:6c3c7b841382 trunk
[svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
author | nenolod |
---|---|
date | Tue, 27 Feb 2007 01:40:23 -0800 |
parents | 3da1b8942b8b |
children | 05b9abd78a87 |
comparison
equal
deleted
inserted
replaced
734:ff62f5530a36 | 735:6c3c7b841382 |
---|---|
5 #ifdef HAVE_CONFIG_H | 5 #ifdef HAVE_CONFIG_H |
6 # include <config.h> | 6 # include <config.h> |
7 #endif | 7 #endif |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | |
11 /* | |
12 * Standard gettext macros. | |
13 */ | |
14 #ifdef ENABLE_NLS | |
15 # include <libintl.h> | |
16 # undef _ | |
17 # define _(String) dgettext (PACKAGE, String) | |
18 # define Q_(String) g_strip_context ((String), gettext (String)) | |
19 # ifdef gettext_noop | |
20 # define N_(String) gettext_noop (String) | |
21 # else | |
22 # define N_(String) (String) | |
23 # endif | |
24 #else | |
25 # define textdomain(String) (String) | |
26 # define gettext(String) (String) | |
27 # define dgettext(Domain,Message) (Message) | |
28 # define dcgettext(Domain,Message,Type) (Message) | |
29 # define bindtextdomain(Domain,Directory) (Domain) | |
30 # define _(String) (String) | |
31 # define Q_(String) g_strip_context ((String), (String)) | |
32 # define N_(String) (String) | |
33 #endif | |
34 | |
10 | 35 |
11 /* | 36 /* |
12 * Public Functions. | 37 * Public Functions. |
13 */ | 38 */ |
14 | 39 |
19 * you want returned. | 44 * you want returned. |
20 */ | 45 */ |
21 GtkWidget* lookup_widget (GtkWidget *widget, | 46 GtkWidget* lookup_widget (GtkWidget *widget, |
22 const gchar *widget_name); | 47 const gchar *widget_name); |
23 | 48 |
24 /* get_widget() is deprecated. Use lookup_widget instead. */ | |
25 #define get_widget lookup_widget | |
26 | 49 |
27 /* Use this function to set the directory containing installed pixmaps. */ | 50 /* Use this function to set the directory containing installed pixmaps. */ |
28 void add_pixmap_directory (const gchar *directory); | 51 void add_pixmap_directory (const gchar *directory); |
29 | 52 |
30 | 53 |
31 /* | 54 /* |
32 * Private Functions. | 55 * Private Functions. |
33 */ | 56 */ |
34 | 57 |
35 /* This is used to create the pixmaps in the interface. */ | 58 /* This is used to create the pixmaps used in the interface. */ |
36 GtkWidget* create_pixmap (GtkWidget *widget, | 59 GtkWidget* create_pixmap (GtkWidget *widget, |
37 const gchar *filename); | 60 const gchar *filename); |
38 | 61 |
62 /* This is used to create the pixbufs used in the interface. */ | |
63 GdkPixbuf* create_pixbuf (const gchar *filename); | |
64 | |
65 /* This is used to set ATK action descriptions. */ | |
66 void glade_set_atk_action_description (AtkAction *action, | |
67 const gchar *action_name, | |
68 const gchar *description); | |
69 |