Mercurial > hg > octave-lyh
diff configure.ac @ 17121:47b504503a3f
disable global paste action when clipboard is empty
* main_window.cc(constructor): initialize class variable for the clipboard,
(construct_edit_menu): don't set shortcut for paste action here, add new
menu for clearing the clipboard, connect the clipboard's change signal to
the new slot clipboard_has_changed,
(clipboard_has_changed): new slot enabling or disabling the paste and
clear clipboard action when clipboard has changed
(clear_clipboard): new slot for the clear clipboard action
* main_window.h: new slots clipboard-has_changed and clear_clipboard,
new class variable _clipboard, new action _clear_clipboard
author | Torsten <ttl@justmail.de> |
---|---|
date | Wed, 31 Jul 2013 21:25:04 +0200 |
parents | bb713af2e1d9 |
children | 36fd98b9ce48 |