diff options
| author | Eli Zaretskii | 2014-02-04 18:13:51 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2014-02-04 18:13:51 +0200 |
| commit | e139a33cd97a0e12405cae760ca5e436d9dcbc74 (patch) | |
| tree | e744130600582bf8005e7aad818c55a662a18428 /src/ChangeLog | |
| parent | 40d2f2e4bb6b4e0b373180ae12836f6b335dc0bb (diff) | |
| download | emacs-e139a33cd97a0e12405cae760ca5e436d9dcbc74.tar.gz emacs-e139a33cd97a0e12405cae760ca5e436d9dcbc74.zip | |
Fix bug #16636 with simple dialogs on MS-Windows.
src/w32menu.c (w32_popup_dialog): Don't condition the whole function
on HAVE_DIALOGS. If the dialog is "simple", pop up a message box
to show it; otherwise return 'unsupported--w32-dialog' to signal
to the caller that emulation with menus is necessary. This
resurrects code inadvertently deleted by the 2013-10-08 commit.
(syms_of_w32menu): DEFSYM Qunsupported__w32_dialog.
src/w32term.h (w32_popup_dialog): Prototype is no longer conditioned
by HAVE_DIALOGS.
src/menu.c (Fx_popup_dialog): Don't condition the call to
w32_popup_dialog on HAVE_DIALOGS. If w32_popup_dialog returns a
special symbol 'unsupported--w32-dialog', emulate the dialog with
a menu by calling x-popup-menu.
src/menu.h (Qunsupported__w32_dialog): New extern variable.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 746bdffad22..5bba143826f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,23 @@ | |||
| 1 | 2014-02-04 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32menu.c (w32_popup_dialog): Don't condition the whole function | ||
| 4 | on HAVE_DIALOGS. If the dialog is "simple", pop up a message box | ||
| 5 | to show it; otherwise return 'unsupported--w32-dialog' to signal | ||
| 6 | to the caller that emulation with menus is necessary. This | ||
| 7 | resurrects code inadvertently deleted by the 2013-10-08 commit. | ||
| 8 | (Bug#16636) | ||
| 9 | (syms_of_w32menu): DEFSYM Qunsupported__w32_dialog. | ||
| 10 | |||
| 11 | * w32term.h (w32_popup_dialog): Prototype is no longer conditioned | ||
| 12 | by HAVE_DIALOGS. | ||
| 13 | |||
| 14 | * menu.c (Fx_popup_dialog): Don't condition the call to | ||
| 15 | w32_popup_dialog on HAVE_DIALOGS. If w32_popup_dialog returns a | ||
| 16 | special symbol 'unsupported--w32-dialog', emulate the dialog with | ||
| 17 | a menu by calling x-popup-menu. | ||
| 18 | |||
| 19 | * menu.h (Qunsupported__w32_dialog): New extern variable. | ||
| 20 | |||
| 1 | 2014-02-04 Michael Albinus <michael.albinus@gmx.de> | 21 | 2014-02-04 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 22 | ||
| 3 | * keyboard.c (kbd_buffer_get_event): Read file notification events | 23 | * keyboard.c (kbd_buffer_get_event): Read file notification events |