Mercurial > hg > xemacs-beta
comparison src/menubar-msw.c @ 1913:7473844a83d3
[xemacs-hg @ 2004-02-17 15:20:41 by james]
Check in_display instead of passing fallible in_redisplay parameters.
author | james |
---|---|
date | Tue, 17 Feb 2004 15:20:57 +0000 |
parents | 01c57eb70ae9 |
children | 04bc9d2f42c7 |
comparison
equal
deleted
inserted
replaced
1912:2c839fb06642 | 1913:7473844a83d3 |
---|---|
271 { | 271 { |
272 UNGCPRO; | 272 UNGCPRO; |
273 goto done; | 273 goto done; |
274 } | 274 } |
275 | 275 |
276 if (!gui_item_active_p (gui_item, 0)) | 276 if (!gui_item_active_p (gui_item)) |
277 item_info.fState = MFS_GRAYED; | 277 item_info.fState = MFS_GRAYED; |
278 /* Temptation is to put 'else' right here. Although, the | 278 /* Temptation is to put 'else' right here. Although, the |
279 displayed item won't have an arrow indicating that it is a | 279 displayed item won't have an arrow indicating that it is a |
280 popup. So we go ahead a little bit more and create a popup */ | 280 popup. So we go ahead a little bit more and create a popup */ |
281 submenu = create_empty_popup_menu (); | 281 submenu = create_empty_popup_menu (); |
326 } | 326 } |
327 | 327 |
328 if (!STRINGP (pgui_item->name)) | 328 if (!STRINGP (pgui_item->name)) |
329 pgui_item->name = Feval (pgui_item->name); | 329 pgui_item->name = Feval (pgui_item->name); |
330 | 330 |
331 if (!gui_item_active_p (gui_item, 0)) | 331 if (!gui_item_active_p (gui_item)) |
332 item_info.fState = MFS_GRAYED; | 332 item_info.fState = MFS_GRAYED; |
333 | 333 |
334 style = (NILP (pgui_item->selected) || NILP (Feval (pgui_item->selected)) | 334 style = (NILP (pgui_item->selected) || NILP (Feval (pgui_item->selected)) |
335 ? Qnil : pgui_item->style); | 335 ? Qnil : pgui_item->style); |
336 | 336 |