• Jiří Techet's avatar
    Use global menubar on OS X · ada45952
    Jiří Techet yazdı
    We have to disable quartz accelerator handling because otherwise
    accelerators are performed also from other windows than the main
    Geany editor (e.g. Ctrl+V with find dialog open performs the keybinding
    Ctrl+V and inserts the text to the editor).
    
    OS X applications have an extra menu entry to the left of the File menu -
    an "application menu". This menu usually contains About, Preferences,
    Quit. Many users, however, may be used to Geany from other platforms
    and expect Preferences to be under the Edit menu so leave them there.
    Quit and About are rarely used and the application menu is the place where
    they are supposed to be - move these entries from other Geany menus there
    and hide them in the affected menus (the quit entry is inserted automatically,
    we just need to hide it from File).
    
    Also tell OS X the Help menu is dedicated to help (we get search in
    menu entries by name for free thanks to this).
    
    The global menu should refresh automatically based on user actions.
    Unfortunately this is not the case when gtk_menu_reorder_child()
    is used because it does not emit any signals so the gtk-mac-integration
    library doesn't see this call. Refresh the menu manually after calling
    this function.
    ada45952
Adı
Son kayıt (commit)
Son güncelleme
data Loading commit data...
doc Loading commit data...
icons Loading commit data...
m4 Loading commit data...
plugins Loading commit data...
po Loading commit data...
scintilla Loading commit data...
scripts Loading commit data...
src Loading commit data...
tagmanager Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COMMITTERS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-0-17 Loading commit data...
ChangeLog.pre-1-22 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.I18N Loading commit data...
README.Packagers Loading commit data...
THANKS Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
geany.desktop.in Loading commit data...
geany.exe.manifest Loading commit data...
geany.gladep Loading commit data...
geany.nsi Loading commit data...
geany.pc.in Loading commit data...
geany.spec.in Loading commit data...
geany_private.rc Loading commit data...
makefile.win32 Loading commit data...
waf Loading commit data...
win32-config.h Loading commit data...
wscript Loading commit data...