Mercurial > pidgin
comparison finch/libgnt/gntstyle.h @ 21212:b65f1bff6412
Allow binding key-shortcuts to menuitems.
For example, to bind ctrl+m to the 'Options -> Send IM...' menu, you would add:
[buddylist::menu]
c-m = send-im
in ~/.gntrc
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 03 Oct 2007 06:51:26 +0000 |
parents | 44b4e8bd759b |
children | b1fa7765ca4b |
comparison
equal
deleted
inserted
replaced
21210:5a12b881ac39 | 21212:b65f1bff6412 |
---|---|
87 * @param type | 87 * @param type |
88 * @param klass | 88 * @param klass |
89 */ | 89 */ |
90 void gnt_style_read_actions(GType type, GntBindableClass *klass); | 90 void gnt_style_read_actions(GType type, GntBindableClass *klass); |
91 | 91 |
92 /* | |
93 * Read menu-accels from ~/.gntrc | |
94 * | |
95 * @param name The name of the window. | |
96 * @param table The hastable to store the accel information. | |
97 * | |
98 * @return @c TRUE if some accels were read, @c FALSE otherwise. | |
99 */ | |
100 gboolean gnt_style_read_menu_accels(const char *name, GHashTable *table); | |
101 | |
92 void gnt_style_read_workspaces(GntWM *wm); | 102 void gnt_style_read_workspaces(GntWM *wm); |
93 | 103 |
94 /** | 104 /** |
95 * | 105 * |
96 */ | 106 */ |