forked from 0x2620/pandora
main menu: listen to clipboard events
This commit is contained in:
parent
8c5f173b21
commit
0f441fc0fa
1 changed files with 6 additions and 0 deletions
|
@ -670,6 +670,12 @@ pandora.ui.mainMenu = function() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Ox.Clipboard.bindEvent(function(data, event) {
|
||||||
|
if (Ox.contains(['add', 'copy'], event)) {
|
||||||
|
that.highlightMenu('editMenu');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
Ox.Fullscreen.bind('change', function(state) {
|
Ox.Fullscreen.bind('change', function(state) {
|
||||||
that.setItemTitle('togglefullscreen', Ox._((state ? 'Exit' : 'Enter') + ' Fullscreen'));
|
that.setItemTitle('togglefullscreen', Ox._((state ? 'Exit' : 'Enter') + ' Fullscreen'));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue