| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | (Fx_popup_menu): Initialize selection. | Andreas Schwab | 2006-11-19 | 1 | -1/+1 |
| | | |||||
| * | (popup_activated): Define outside HAVE_MENUS. | Chong Yidong | 2006-11-12 | 1 | -8/+7 |
| | | |||||
| * | (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | Chong Yidong | 2006-11-06 | 1 | -10/+15 |
| | | | | | Return nil if building without menus. | ||||
| * | Add a comment. | Chong Yidong | 2006-11-05 | 1 | -0/+3 |
| | | |||||
| * | (Fmenu_or_popup_active_p): New function. | Eli Zaretskii | 2006-11-05 | 1 | -0/+10 |
| | | | | | (syms_of_xmenu): Defsubr it. | ||||
| * | * xmenu.c (Fmenu_bar_open): Declare variable before BLOCK_INPUT to | Chong Yidong | 2006-11-04 | 1 | -1/+3 |
| | | | | | avoid gcc 2.95 error. | ||||
| * | (syms_of_xmenu): Use Ffset rather than Fdefalias, since | Stefan Monnier | 2006-10-10 | 1 | -2/+1 |
| | | | | | Fdefalias is not declared in any *.h file. | ||||
| * | * xterm.c (x_initialize): Don't install Xt event timer here. | Chong Yidong | 2006-09-13 | 1 | -0/+9 |
| | | | | | | | | | | | | (x_timeout_atimer_activated_flag): New var. (x_activate_timeout_atimer): New function to install Xt timer. (x_send_scroll_bar_event, x_process_timeouts): Use it. * xmenu.c (x_menu_set_in_use, popup_activate_callback) (create_and_show_popup_menu, create_and_show_dialog): Use it. * xterm.h (x_activate_timeout_atimer): prototype. | ||||
| * | (Vmenu_updating_frame): Don't define here. | Richard M. Stallman | 2006-09-09 | 1 | -7/+2 |
| | | | | | (syms_of_xmenu): Don't DEFVAR it here. | ||||
| * | * xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for | Jan Djärv | 2006-06-01 | 1 | -0/+2 |
| | | | | | menu-bar-open. | ||||
| * | * xmenu.c (Fmenu_bar_open, syms_of_xmenu): Change menu-bar-start to | Jan Djärv | 2006-06-01 | 1 | -3/+3 |
| | | | | | menu-bar-open. | ||||
| * | (Fmenu_bar_start): Return a value. | Andreas Schwab | 2006-05-30 | 1 | -0/+2 |
| | | |||||
| * | (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT. | Jan Djärv | 2006-05-29 | 1 | -0/+113 |
| | | |||||
| * | (restore_menu_items): Return a value. | Andreas Schwab | 2006-05-01 | 1 | -0/+1 |
| | | |||||
| * | Comment changes. | Richard M. Stallman | 2006-04-18 | 1 | -0/+6 |
| | | |||||
| * | (restore_menu_items, save_menu_items): New fns. | Richard M. Stallman | 2006-04-18 | 1 | -8/+52 |
| | | | | | | | | | (set_frame_menubar): Use save_menu_items. Save updated vector in the frame before unwinding it. Don't use unuse_menu_items. Don't use discard_menu_items. (digest_single_submenu): Abort if an item is not in a pane. (init_menu_items): Put the error check at the top. | ||||
| * | (digest_single_submenu): When pane_string is empty, do initialize save_wv. | Richard M. Stallman | 2006-02-19 | 1 | -1/+4 |
| | | |||||
| * | Update years in copyright notice; nfc. | Thien-Thi Nguyen | 2006-02-06 | 1 | -1/+1 |
| | | |||||
| * | (xmenu_show): Call inhibit_garbage_collection. | Richard M. Stallman | 2005-12-22 | 1 | -0/+5 |
| | | |||||
| * | (Fx_popup_menu): Set Vmenu_updating_frame to f if | Juri Linkov | 2005-12-20 | 1 | -1/+4 |
| | | | | | position is non-nil, else set it to nil. | ||||
| * | * xmenu.c (menubar_selection_callback): Do nothing if the callback | Jan Djärv | 2005-12-12 | 1 | -2/+11 |
| | | | | | is for an unselected radio menu item. | ||||
| * | Update years in copyright notice; nfc. | Thien-Thi Nguyen | 2005-08-07 | 1 | -2/+2 |
| | | |||||
| * | Update FSF's address. | Lute Kamstra | 2005-07-04 | 1 | -2/+2 |
| | | |||||
| * | * composite.c (compose_chars_in_text): | Kim F. Storm | 2005-06-08 | 1 | -1/+1 |
| | | | | | | | | | | | | * eval.c (do_autoload): * macmenu.c (set_frame_menubar): * process.c (read_process_output, exec_sentinel): * xmenu.c (set_frame_menubar): * xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar): * w32menu.c (set_frame_menubar): Use record_unwind_save_match_data. Rename restore_match_data to restore_search_regs. | ||||
| * | (popup_get_selection): Undo previous change. | Richard M. Stallman | 2005-06-06 | 1 | -4/+0 |
| | | |||||
| * | (popup_get_selection): Click not in menu deactivates menu. | Richard M. Stallman | 2005-06-04 | 1 | -0/+4 |
| | | |||||
| * | (Fx_popup_dialog): Add a third boolean argument to | Nick Roberts | 2005-05-24 | 1 | -17/+29 |
| | | | | | | select frame title ("Question"/"Information"). (xdialog_show): Use it. | ||||
| * | Don't include signal.h. | Richard M. Stallman | 2005-05-10 | 1 | -0/+2 |
| | | |||||
| * | (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | Luc Teirlinck | 2005-05-05 | 1 | -2/+13 |
| | | |||||
| * | (Fx_popup_menu): Doc fix. | Luc Teirlinck | 2005-05-02 | 1 | -3/+6 |
| | | |||||
| * | [not HAVE_X_TOOLKIT] (xmenu_show): | Richard M. Stallman | 2005-05-01 | 1 | -2/+5 |
| | | | | | If user cancels the menu, quit unless FOR_CLICK. | ||||
| * | (Fx_popup_menu): Initialize error_name to NULL. | Thien-Thi Nguyen | 2005-04-18 | 1 | -1/+1 |
| | | |||||
| * | Remove eol whitespace; nfc. | Thien-Thi Nguyen | 2005-04-18 | 1 | -4/+4 |
| | | |||||
| * | * xmenu.c (create_and_show_popup_menu): Just remove menu and return | Jan Djärv | 2005-03-24 | 1 | -5/+8 |
| | | | | | | if it failed to pop up (Gnome "show pointer on ctrl" option makes menus fail to pop up). | ||||
| * | (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. | Stefan Monnier | 2005-03-17 | 1 | -0/+2 |
| | | |||||
| * | (ENCODE_MENU_STRING): Explicitly use string_make_unibyte. | Stefan Monnier | 2005-03-12 | 1 | -24/+19 |
| | | | | | | (list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR. (digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING. | ||||
| * | Forgot to remove debug code. | Jan Djärv | 2005-02-03 | 1 | -2/+0 |
| | | |||||
| * | * xmenu.c (menubar_selection_callback): Force out GTK buffered | Jan Djärv | 2005-02-03 | 1 | -3/+16 |
| | | | | | | | events so the menu event comes after them. This is to prevent sit-for from exiting on buffered events directly after a menu selection, lisp code for Help => About Emacs uses sit-for. | ||||
| * | * xmenu.c (create_and_show_popup_menu): Pass zero as button to | Jan Djärv | 2005-01-07 | 1 | -5/+9 |
| | | | | | gtk_menu_popup if not for_click, so callbacks for the menu are called. | ||||
| * | (popup_get_selection): Remove parameter down_on_keypress. | Jan Djärv | 2004-12-27 | 1 | -8/+4 |
| | | | | | | (create_and_show_popup_menu, create_and_show_dialog): Remove parameter down_on_keypress to popup_get_selection. | ||||
| * | * xmenu.c (popup_get_selection): Only pop down dialogs | Jan Djärv | 2004-12-27 | 1 | -12/+3 |
| | | | | | on C-g and Escape. | ||||
| * | Indentation fix. | Richard M. Stallman | 2004-12-27 | 1 | -1/+1 |
| | | |||||
| * | * xmenu.c (popup_get_selection): Pop down on C-g. | Jan Djärv | 2004-12-27 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | (set_frame_menubar): Install translations for Lucid/Motif/Lesstif that pops down menu on C-g. (xdialog_show): If dialog popped down and no button in the dialog was pushed, call Fsignal to quit. (xmenu_show): In no toolkit version, if menu returns NO_SELECT call Fsignal to quit. * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g. * gtkutil.c (xg_initialize): Install bindings for C-g so that dialogs and menus pop down. | ||||
| * | * xmenu.c (Fx_popup_menu): Correct documentation about position. | Jan Djärv | 2004-12-07 | 1 | -29/+19 |
| | | | | | | | (xmenu_show): Do not call XTranslateCoordinates. Adjust position if not given by a mouse click to correspond with x-popup-menu documentation. | ||||
| * | * xmenu.c (x_menu_in_use): Removed. | Jan Djärv | 2004-11-16 | 1 | -8/+1 |
| | | | | | | | | | | (x_menu_set_in_use): Also set popup_activated_flag. * xfns.c (Fx_file_dialog): Call popup_activated instead of x_menu_in_use. Call x_menu_set_in_use in Motif version also. * xterm.h: (x_menu_in_use): Removed. | ||||
| * | Removed fprintf | Jan Djärv | 2004-11-14 | 1 | -1/+0 |
| | | |||||
| * | * xmenu.c (pop_down_menu): Remove global variable current_menu, | Jan Djärv | 2004-11-14 | 1 | -31/+24 |
| | | | | | | | | extract pointer from arg with XSAVE_VALUE. (create_and_show_popup_menu, create_and_show_dialog, xmenu_show): Construct arg to record_unwind_protect with make_save_value. | ||||
| * | * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use. | Jan Djärv | 2004-11-13 | 1 | -1/+18 |
| | | | | | | | | | | Record unwind with clean_up_file_dialog. * xterm.h: Declare x_menu_in_use, x_menu_set_in_use, x_menu_wait_for_event. * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions. | ||||
| * | * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type | Jan Djärv | 2004-11-13 | 1 | -80/+105 |
| | | | | | | | | | | | | | | Lisp_Object. (popup_get_selection): Move unwind protect ... (create_and_show_popup_menu, create_and_show_dialog): ... to here. Move destroy of widget to pop_down_menu. (popup_widget_loop): Move unwind protect ... (create_and_show_popup_menu, create_and_show_dialog): ... to here. Move destroy of widget to pop_down_menu. (pop_down_menu): BLOCK_INPUT and destroy widget/window. (xmenu_show): record unwind pop_down_menu. Move XMenuDestroy, x_mouse_leave and grabbed = 0 to pop_down_menu. | ||||
| * | (pop_down_menu): Return nil. | Kim F. Storm | 2004-11-12 | 1 | -3/+5 |
| | | |||||