comparison src/hotkey/plugin.c @ 1658:5538324eb069

fixed hotkey plugin
author mf0102 <0102@gmx.at>
date Fri, 07 Sep 2007 14:45:34 +0200
parents a9af4f1aede9
children f6f5603a0954
comparison
equal deleted inserted replaced
1657:61f1f017e847 1658:5538324eb069
127 KeyControls toggle_win; 127 KeyControls toggle_win;
128 } ConfigurationControls; 128 } ConfigurationControls;
129 129
130 static GeneralPlugin audacioushotkey = 130 static GeneralPlugin audacioushotkey =
131 { 131 {
132 NULL, 132 .description = "Global Hotkey",
133 NULL, 133 .init = init,
134 "Global Hotkey", 134 .about = about,
135 init, 135 .configure = configure,
136 about, 136 .cleanup = cleanup
137 configure,
138 cleanup
139 }; 137 };
140 138
141 GeneralPlugin *hotkey_gplist[] = { &audacioushotkey, NULL }; 139 GeneralPlugin *hotkey_gplist[] = { &audacioushotkey, NULL };
142 DECLARE_PLUGIN(hotkey, NULL, NULL, NULL, NULL, NULL, hotkey_gplist, NULL, NULL); 140 SIMPLE_GENERAL_PLUGIN(hotkey, hotkey_gplist);
143 141
144 142
145 143
146 /* 144 /*
147 * plugin activated 145 * plugin activated