Mercurial > audlegacy-plugins
annotate src/modplug/gui/support.h @ 3030:c442f8407dcb
Show playlist popup information reliably (Debian bug #460802)
author | John Lindgren <john.lindgren@tds.net> |
---|---|
date | Fri, 10 Apr 2009 01:46:08 -0400 |
parents | 4b53cd5812e2 |
children |
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 |
2271
4b53cd5812e2
Re-added 48kHz support to the GUI
Christian Birchinger <joker@netswarm.net>
parents:
1781
diff
changeset
|
5 #ifdef HAVE_CONFIG_H |
4b53cd5812e2
Re-added 48kHz support to the GUI
Christian Birchinger <joker@netswarm.net>
parents:
1781
diff
changeset
|
6 # include <config.h> |
4b53cd5812e2
Re-added 48kHz support to the GUI
Christian Birchinger <joker@netswarm.net>
parents:
1781
diff
changeset
|
7 #endif |
0
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 #include <gtk/gtk.h> |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
10 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
11 /* |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
12 * Standard gettext macros. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
13 */ |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
14 #ifdef ENABLE_NLS |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
15 # include <libintl.h> |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
16 # undef _ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
17 # define _(String) dgettext (PACKAGE, String) |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
18 # 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
|
19 # ifdef gettext_noop |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
20 # define N_(String) gettext_noop (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
21 # else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
22 # define N_(String) (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
23 # endif |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
24 #else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
25 # define textdomain(String) (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
26 # define gettext(String) (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
27 # define dgettext(Domain,Message) (Message) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
28 # define dcgettext(Domain,Message,Type) (Message) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
29 # define bindtextdomain(Domain,Directory) (Domain) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
30 # define _(String) (String) |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
31 # define Q_(String) g_strip_context ((String), (String)) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
32 # define N_(String) (String) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
33 #endif |
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 |
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 * Public Functions. |
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 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
40 /* |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
41 * 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
|
42 * 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
|
43 * 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
|
44 * you want returned. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
45 */ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
46 GtkWidget* lookup_widget (GtkWidget *widget, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
47 const gchar *widget_name); |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
48 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
49 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
50 /* 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
|
51 void add_pixmap_directory (const gchar *directory); |
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 |
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 * Private Functions. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
56 */ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
57 |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
58 /* 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
|
59 GtkWidget* create_pixmap (GtkWidget *widget, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
60 const gchar *filename); |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
61 |
1603
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
62 /* 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
|
63 GdkPixbuf* create_pixbuf (const gchar *filename); |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
64 |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
65 /* 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
|
66 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
|
67 const gchar *action_name, |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
68 const gchar *description); |
3ba928b31aac
Made the GUI dialogs (fileinfo & config) bit neater.
Matti Hamalainen <ccr@tnsp.org>
parents:
12
diff
changeset
|
69 |