Mercurial > audlegacy-plugins
annotate src/modplug/gui/support.h @ 1872:50f1c5a40a7d
adplug -> new buildsys.
Untested, please test!
author | Jonathan Schleifer <js@h3c.de> |
---|---|
date | Tue, 25 Sep 2007 18:03:21 +0200 |
parents | 499656950801 |
children | 4b53cd5812e2 |
rev | line source |
---|---|
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1 /* |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
2 * DO NOT EDIT THIS FILE - it is generated by Glade. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
3 */ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
4 |
1781 | 5 #include <config.h> |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
6 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
7 #include <gtk/gtk.h> |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
8 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
9 /* |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
10 * Standard gettext macros. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
11 */ |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
12 #ifdef ENABLE_NLS |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
13 # include <libintl.h> |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
14 # undef _ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
15 # define _(String) dgettext (PACKAGE, String) |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
16 # define Q_(String) g_strip_context ((String), gettext (String)) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
17 # ifdef gettext_noop |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
18 # define N_(String) gettext_noop (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
19 # else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
20 # define N_(String) (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
21 # endif |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
22 #else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
23 # define textdomain(String) (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
24 # define gettext(String) (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
25 # define dgettext(Domain,Message) (Message) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
26 # define dcgettext(Domain,Message,Type) (Message) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
27 # define bindtextdomain(Domain,Directory) (Domain) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
28 # define _(String) (String) |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
29 # define Q_(String) g_strip_context ((String), (String)) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
30 # define N_(String) (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
31 #endif |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
32 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
33 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
34 /* |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
35 * Public Functions. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
36 */ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
37 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
38 /* |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
39 * This function returns a widget in a component created by Glade. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
40 * Call it with the toplevel widget in the component (i.e. a window/dialog), |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
41 * or alternatively any widget in the component, and the name of the widget |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
42 * you want returned. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
43 */ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
44 GtkWidget* lookup_widget (GtkWidget *widget, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
45 const gchar *widget_name); |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
46 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
47 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
48 /* Use this function to set the directory containing installed pixmaps. */ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
49 void add_pixmap_directory (const gchar *directory); |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
50 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
51 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
52 /* |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
53 * Private Functions. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
54 */ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
55 |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
56 /* This is used to create the pixmaps used in the interface. */ |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
57 GtkWidget* create_pixmap (GtkWidget *widget, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
58 const gchar *filename); |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
59 |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
60 /* This is used to create the pixbufs used in the interface. */ |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
61 GdkPixbuf* create_pixbuf (const gchar *filename); |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
62 |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
63 /* This is used to set ATK action descriptions. */ |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
64 void glade_set_atk_action_description (AtkAction *action, |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
65 const gchar *action_name, |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
66 const gchar *description); |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
67 |