Mercurial > projects > package-update-indicator
annotate pui-types.h.in @ 58:9cbb0f8a66c4
Add setting to disable preferences widgets
This just makes the widgets in the preferences application insensitive,
settings can still be changed by directly editing the configuration file.
author | Guido Berhoerster <guido+pui@berhoerster.name> |
---|---|
date | Tue, 06 Sep 2022 19:11:21 +0200 |
parents | adba37525ee5 |
children |
rev | line source |
---|---|
10
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
1 /*** BEGIN file-header ***/ |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
2 #ifndef PUI_TYPES_H |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
3 #define PUI_TYPES_H |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
4 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
5 #include <glib-object.h> |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
6 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
7 G_BEGIN_DECLS |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
8 /*** END file-header ***/ |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
9 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
10 /*** BEGIN file-production ***/ |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
11 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
12 /* enumerations from "@filename@" */ |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
13 /*** END file-production ***/ |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
14 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
15 /*** BEGIN value-header ***/ |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
16 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
17 #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
18 GType @enum_name@_get_type(void) G_GNUC_CONST; |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
19 /*** END value-header ***/ |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
20 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
21 /*** BEGIN file-tail ***/ |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
22 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
23 gchar * pui_types_enum_to_string(GType, gint); |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
24 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
25 G_END_DECLS |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
26 |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
27 #endif /* !PUI_TYPES_H */ |
adba37525ee5
Notify about required session or system restarts
Guido Berhoerster <guido+pui@berhoerster.name>
parents:
diff
changeset
|
28 /*** END file-tail ***/ |