24
24
25
25
#include <mate-panel-applet.h>
26
26
27
- #define ACCESSX_APPLET "ax-applet"
28
- #define ACCESSX_BASE_ICON "ax-base"
29
- #define ACCESSX_ACCEPT_BASE "ax-accept"
30
- #define ACCESSX_REJECT_BASE "ax-reject"
31
- #define MOUSEKEYS_BASE_ICON "ax-mouse-base"
32
- #define MOUSEKEYS_BUTTON_LEFT "ax-button-left"
33
- #define MOUSEKEYS_BUTTON_MIDDLE "ax-button-middle"
34
- #define MOUSEKEYS_BUTTON_RIGHT "ax-button-right"
35
- #define MOUSEKEYS_DOT_LEFT "ax-dot-left"
36
- #define MOUSEKEYS_DOT_MIDDLE "ax-dot-middle"
37
- #define MOUSEKEYS_DOT_RIGHT "ax-dot-right"
38
- #define SHIFT_KEY_ICON "ax-shift-key"
39
- #define CONTROL_KEY_ICON "ax-control-key"
40
- #define ALT_KEY_ICON "ax-alt-key"
41
- #define META_KEY_ICON "ax-meta-key"
42
- #define SUPER_KEY_ICON "ax-super-key"
43
- #define HYPER_KEY_ICON "ax-hyper-key"
44
- #define ALTGRAPH_KEY_ICON "ax-altgraph-key"
45
- #define SLOWKEYS_IDLE_ICON "ax-sk-idle"
46
- #define SLOWKEYS_PENDING_ICON "ax-sk-pending"
47
- #define SLOWKEYS_ACCEPT_ICON "ax-sk-accept"
48
- #define SLOWKEYS_REJECT_ICON "ax-sk-reject"
49
- #define BOUNCEKEYS_ICON "ax-bouncekeys"
50
-
51
- #define STATUS_APPLET_ICON_SIZE GTK_ICON_SIZE_LARGE_TOOLBAR
27
+ #define ACCESSX_APPLET "preferences-desktop-accessibility"
28
+
29
+ #define ACCESSX_BASE_ICON "mate-ax-key-none"
30
+ #define ACCESSX_BASE_ICON_BASE "mate-ax-key-base"
31
+ #define ACCESSX_BASE_ICON_INVERSE "mate-ax-key-inverse"
32
+ #define ACCESSX_ACCEPT_BASE "mate-ax-key-yes"
33
+ #define ACCESSX_REJECT_BASE "mate-ax-key-no"
34
+
35
+ #define MOUSEKEYS_BASE_ICON "mate-mousekeys-base"
36
+ #define MOUSEKEYS_BUTTON_LEFT "mate-mousekeys-pressed-left"
37
+ #define MOUSEKEYS_BUTTON_MIDDLE "mate-mousekeys-pressed-middle"
38
+ #define MOUSEKEYS_BUTTON_RIGHT "mate-mousekeys-pressed-right"
39
+ #define MOUSEKEYS_DOT_LEFT "mate-mousekeys-default-left"
40
+ #define MOUSEKEYS_DOT_MIDDLE "mate-mousekeys-default-middle"
41
+ #define MOUSEKEYS_DOT_RIGHT "mate-mousekeys-default-right"
42
+
43
+ #define SHIFT_KEY_ICON "mate-sticky-shift-none"
44
+ #define SHIFT_KEY_ICON_LATCHED "mate-sticky-shift-latched"
45
+ #define SHIFT_KEY_ICON_LOCKED "mate-sticky-shift-locked"
46
+
47
+ #define CONTROL_KEY_ICON "mate-sticky-ctrl-none"
48
+ #define CONTROL_KEY_ICON_LATCHED "mate-sticky-ctrl-latched"
49
+ #define CONTROL_KEY_ICON_LOCKED "mate-sticky-ctrl-locked"
50
+
51
+ #define ALT_KEY_ICON "mate-sticky-alt-none"
52
+ #define ALT_KEY_ICON_LATCHED "mate-sticky-alt-latched"
53
+ #define ALT_KEY_ICON_LOCKED "mate-sticky-alt-locked"
54
+
55
+ #define META_KEY_ICON "mate-sticky-meta-none"
56
+ #define META_KEY_ICON_LATCHED "mate-sticky-meta-latched"
57
+ #define META_KEY_ICON_LOCKED "mate-sticky-meta-locked"
58
+
59
+ #define HYPER_KEY_ICON "mate-sticky-hyper-none"
60
+ #define HYPER_KEY_ICON_LATCHED "mate-sticky-hyper-latched"
61
+ #define HYPER_KEY_ICON_LOCKED "mate-sticky-hyper-locked"
62
+
63
+ #define SUPER_KEY_ICON "mate-sticky-super-none"
64
+ #define SUPER_KEY_ICON_LATCHED "mate-sticky-super-latched"
65
+ #define SUPER_KEY_ICON_LOCKED "mate-sticky-super-locked"
66
+
67
+ #define ALTGRAPH_KEY_ICON "mate-sticky-alt-none"
68
+ #define ALTGRAPH_KEY_ICON_LATCHED "mate-sticky-alt-latched"
69
+ #define ALTGRAPH_KEY_ICON_LOCKED "mate-sticky-alt-locked"
70
+
71
+ #define SLOWKEYS_IDLE_ICON "mate-ax-slowkeys"
72
+ #define SLOWKEYS_PENDING_ICON "mate-ax-slowkeys-pending"
73
+ #define SLOWKEYS_ACCEPT_ICON "mate-ax-slowkeys-yes"
74
+ #define SLOWKEYS_REJECT_ICON "mate-ax-slowkeys-no"
75
+
76
+ #define BOUNCEKEYS_ICON "mate-ax-bouncekeys"
52
77
53
78
typedef enum {
54
79
ACCESSX_STATUS_ERROR_NONE = 0 ,
@@ -73,7 +98,7 @@ typedef struct {
73
98
GtkWidget * alt_graph_indicator ;
74
99
MatePanelAppletOrient orient ;
75
100
GtkIconFactory * icon_factory ;
76
- gboolean initialized ;
101
+ gboolean initialized ;
77
102
XkbDescRec * xkb ;
78
103
Display * xkb_display ;
79
104
AccessxStatusErrorType error_type ;
0 commit comments