From af7463e2bceca40359c6c1556c3da8e2557fb444 Mon Sep 17 00:00:00 2001 From: TingPing Date: Fri, 30 May 2014 08:21:25 -0400 Subject: osx: Use key theme shipped with gtk --- osx/gtkrc | 87 +----------------------------------------------------- osx/hexchat.bundle | 3 ++ 2 files changed, 4 insertions(+), 86 deletions(-) (limited to 'osx') diff --git a/osx/gtkrc b/osx/gtkrc index 9579fcc3..025fff65 100644 --- a/osx/gtkrc +++ b/osx/gtkrc @@ -26,6 +26,7 @@ gtk-toolbar-icon-size = large-toolbar gtk-auto-mnemonics = 1 gtk-error-bell = 0 gtk-show-input-method-menu = 0 +gtk-key-theme-name="Mac" style "default" { xthickness = 1 @@ -431,89 +432,3 @@ widget_class "*..*..*" style "toolbar-combo-box" widget "*MainToolbar*.GtkComboBox.*" style "toolbar-combo-box" widget "gtk-tooltip*" style "tooltip" - -binding "gtk-mac-expand-collapse-cursor-row" -{ - unbind "Left" - unbind "Right" - bind "Left" { "expand-collapse-cursor-row" (0, 0, 0) } - bind "Right" { "expand-collapse-cursor-row" (0, 1, 0) } -} - -binding "gtk-osx-editable" -{ - bind "a" { - "move-cursor" (buffer-ends, -1, 0) - "move-cursor" (buffer-ends, 1, 1) - } - - unbind "a" - - bind "c" { "copy-clipboard" () } - bind "x" { "cut-clipboard" () } - bind "v" { "paste-clipboard" () } - - unbind "c" - unbind "x" - unbind "v" - - bind "Left" { "move-cursor" (display-line-ends, -1, 0) } - bind "KP_Left" { "move-cursor" (display-line-ends, -1, 0) } - bind "Left" { "move-cursor" (display-line-ends, -1, 1) } - bind "KP_Left" { "move-cursor" (display-line-ends, -1, 1) } - - bind "Right" { "move-cursor" (display-line-ends, 1, 0) } - bind "KP_Right" { "move-cursor" (display-line-ends, 1, 0) } - bind "Right" { "move-cursor" (display-line-ends, 1, 1) } - bind "KP_Right" { "move-cursor" (display-line-ends, 1, 1) } - - unbind "Left" - unbind "KP_Left" - unbind "Left" - unbind "KP_Left" - unbind "Right" - unbind "KP_Right" - unbind "Right" - unbind "KP_Right" - - bind "Right" { "move-cursor" (words, 1, 0) } - bind "KP_Right" { "move-cursor" (words, 1, 0) } - bind "Left" { "move-cursor" (words, -1, 0) } - bind "KP_Left" { "move-cursor" (words, -1, 0) } - bind "Right" { "move-cursor" (words, 1, 1) } - bind "KP_Right" { "move-cursor" (words, 1, 1) } - bind "Left" { "move-cursor" (words, -1, 1) } - bind "KP_Left" { "move-cursor" (words, -1, 1) } - - bind "delete" { "delete-from-cursor" (word-ends, 1) } - bind "KP_delete" { "delete-from-cursor" (word-ends, 1) } - bind "backspace" { "delete-from-cursor" (word-ends, -1) } - - bind "Down" { "move-cursor" (buffer-ends, 1, 0) } - bind "Down" { "move-cursor" (buffer-ends, 1, 1) } - bind "KP_Down" { "move-cursor" (buffer-ends, 1, 0) } - bind "KP_Down" { "move-cursor" (buffer-ends, 1, 1) } - - bind "Up" { "move-cursor" (buffer-ends, -1, 0) } - bind "Up" { "move-cursor" (buffer-ends, -1, 1) } - bind "KP_Up" { "move-cursor" (buffer-ends, -1, 0) } - bind "KP_Up" { "move-cursor" (buffer-ends, -1, 1) } - - unbind "Down" - unbind "KP_Down" - unbind "Down" - unbind "KP_Down" - unbind "Up" - unbind "KP_Up" - unbind "Up" - unbind "KP_Up" -} - -binding "gtk-osx-tree-view" -{ - bind "s" { "start-interactive-search" () } - unbind "s" -} - -class "GtkEntry" binding "gtk-osx-editable" -class "GtkTreeView" binding "gtk-osx-tree-view" diff --git a/osx/hexchat.bundle b/osx/hexchat.bundle index 9490926f..01ef77db 100644 --- a/osx/hexchat.bundle +++ b/osx/hexchat.bundle @@ -58,6 +58,9 @@ ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/ + + ${prefix}/share/themes/Mac/ + ${prefix}/share/locale -- cgit 1.4.1