Mercurial > vim
comparison src/gui_kde_x11.cc @ 75:388f285bda1b
updated for version 7.0031
author | vimboss |
---|---|
date | Wed, 05 Jan 2005 22:16:17 +0000 |
parents | af1bcb9a13c0 |
children | 014ba200db86 |
comparison
equal
deleted
inserted
replaced
74:1154524da1cd | 75:388f285bda1b |
---|---|
1208 void | 1208 void |
1209 gui_mch_menu_grey(vimmenu_T * menu, int grey)//{{{ | 1209 gui_mch_menu_grey(vimmenu_T * menu, int grey)//{{{ |
1210 { | 1210 { |
1211 if (!menu || !menu->parent || !menu->parent->widget) | 1211 if (!menu || !menu->parent || !menu->parent->widget) |
1212 return; | 1212 return; |
1213 menu->parent->widget->setItemEnabled((int)menu, !grey); | 1213 menu->parent->widget->setItemEnabled((long)menu, !grey); |
1214 gui_mch_update(); | 1214 gui_mch_update(); |
1215 }//}}} | 1215 }//}}} |
1216 | 1216 |
1217 /* | 1217 /* |
1218 * Make menu item hidden or not hidden. | 1218 * Make menu item hidden or not hidden. |