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