Mercurial > pidgin
comparison finch/libgnt/gntmenuitem.c @ 18440:be10fc22d649
Allow trigger keys for menuitems.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 06 Jul 2007 01:20:20 +0000 |
parents | 1cedd520cd18 |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
18439:ec80e921818c | 18440:be10fc22d649 |
---|---|
102 if (item->submenu) | 102 if (item->submenu) |
103 gnt_widget_destroy(GNT_WIDGET(item->submenu)); | 103 gnt_widget_destroy(GNT_WIDGET(item->submenu)); |
104 item->submenu = menu; | 104 item->submenu = menu; |
105 } | 105 } |
106 | 106 |
107 void gnt_menuitem_set_trigger(GntMenuItem *item, char trigger) | |
108 { | |
109 item->priv.trigger = trigger; | |
110 } | |
111 | |
112 char gnt_menuitem_get_trigger(GntMenuItem *item) | |
113 { | |
114 return item->priv.trigger; | |
115 } | |
116 |