| | 1 | {{{ |
| | 2 | # When turned on, this option causes gtk to select the contents of an entry field when it becomes focused. |
| | 3 | gtk-entry-select-on-focus = 1 |
| | 4 | |
| | 5 | # Sets the font used by gtk |
| | 6 | gtk-font-name = "Verdana 9" |
| | 7 | |
| | 8 | # Controls the keybindings that gtk uses for text entry/editing/etc |
| | 9 | # The "emacs" theme turns on things like: |
| | 10 | # ctrl-a == move to beginning of line, ctrl-e == move to end of line, etc. |
| | 11 | gtk-key-theme-name = "Emacs" |
| | 12 | |
| | 13 | # The following section allows you to change the style of the conversation |
| | 14 | # window widgets, log viewer widget, and request and notify window widgets. |
| | 15 | style "imhtml-fix" |
| | 16 | { |
| | 17 | font_name = "Sans 10" |
| | 18 | } |
| | 19 | # Set the widget style for the conversation entry box |
| | 20 | widget "*pidgin_conv_entry" style "imhtml-fix" |
| | 21 | # Set the widget style for the conversation |
| | 22 | widget "*pidgin_conv_imhtml" style "imhtml-fix" |
| | 23 | |
| | 24 | # Set the widget style for the log viewer |
| | 25 | widget "*pidgin_log_imhtml" style "imhtml-fix" |
| | 26 | |
| | 27 | # Set the widget style for IMHtml input widgets in request dialogs |
| | 28 | widget "*pidgin_request_imhtml" style "imhtml-fix" |
| | 29 | # Set the widget style for IMHtml widgets in notify dialogs |
| | 30 | widget "*pidgin_notify_imhtml" style "imhtml-fix" |
| | 31 | |
| | 32 | # It is safe to remove any undesired settings from the following |
| | 33 | style "my-style-name" { |
| | 34 | # Change the color of hyperlinks. |
| | 35 | GtkIMHtml::hyperlink-color = "#000080" |
| | 36 | # Change the color of the nick in highlighted messages, e.g. messages containing your nick |
| | 37 | GtkIMHtml::highlight-name-color = "#AF7F00" |
| | 38 | # Change the color of the nick in received message |
| | 39 | GtkIMHtml::receive-name-color = "#cc0000" |
| | 40 | # Change the color of the nick in sent message |
| | 41 | GtkIMHtml::send-name-color = "#204a87" |
| | 42 | # Change the color of the nick in action messages, e.g. "/me likes pidgin" |
| | 43 | GtkIMHtml::action-name-color = "#062585" |
| | 44 | # Change the font of the typing notification in conversation history. |
| | 45 | GtkIMHtml::typing-notification-font = "italic light 8.0" |
| | 46 | # Change the color of the typing notification |
| | 47 | GtkIMHtml::typing-notification-color = "#ff0000" |
| | 48 | # Disable the typing notification |
| | 49 | GtkIMHtml::typing-notification-enable = 0 |
| | 50 | |
| | 51 | # The following settings will change the behaviour in all GTK+ applications |
| | 52 | # Change the cursor color |
| | 53 | GtkWidget::cursor-color = "#0000FF" |
| | 54 | GtkWidget::secondary-cursor-color = "#00FF00" #for mixed ltr and rtl |
| | 55 | } |
| | 56 | widget_class "*" style "my-style-name" |
| | 57 | |
| | 58 | # This sets the expander size on a treeview to 0, which has the result |
| | 59 | # of reducing the indent for items in the tree. This can be applied to the |
| | 60 | # Pidgin buddy list to reduce the width of group and contact rows. |
| | 61 | # With the recent (~2.0.0) buddy list changes this isn't particularly |
| | 62 | # important anymore. |
| | 63 | #style "my-narrow-tree" |
| | 64 | #{ |
| | 65 | # GtkTreeView::expander_size = 0 |
| | 66 | #} |
| | 67 | # And apply the style to the buddy list: |
| | 68 | #widget "*pidgin_blist_treeview" style "my-narrow-tree" |
| | 69 | |
| | 70 | # In Pidgin, you can set custom keybindings in your theme. |
| | 71 | # Here is an example to follow: |
| | 72 | |
| | 73 | binding "my-bindings" |
| | 74 | { |
| | 75 | # enter inserts a newline |
| | 76 | bind "Return" { "insert-at-cursor" ("\n") } |
| | 77 | # ctrl-s sends message |
| | 78 | bind "<ctrl>s" { "message_send" () } |
| | 79 | # shift-f1 toggles bold |
| | 80 | bind "<shft>F1" { "format_toggle" (1) } |
| | 81 | # alt-f2 toggles italic |
| | 82 | bind "<alt>F2" { "format_toggle" (2) } |
| | 83 | # Ctrl-alt-shift-f3 toggles underline |
| | 84 | bind "<ctrl><alt><shift>F3" { "format_toggle" (4) } |
| | 85 | } |
| | 86 | |
| | 87 | widget "*pidgin_conv_entry" binding "my-bindings" |
| | 88 | |
| | 89 | # This lets you edit your Pidgin key bindings from within Pidgin, |
| | 90 | # by hovering over a menu item and hitting a key combo. |
| | 91 | gtk-can-change-accels = 1 |
| | 92 | }}} |