Mercurial > pidgin
comparison doc/gtkrc-2.0 @ 12390:dca3779701a7
[gaim-migrate @ 14697]
Let's put the example gtkrc-2.0 in here too.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Thu, 08 Dec 2005 02:59:44 +0000 |
parents | |
children | 88a93f78b489 |
comparison
equal
deleted
inserted
replaced
12389:e024601d45c7 | 12390:dca3779701a7 |
---|---|
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 | |
3 | |
4 # Sets the font used by gtk | |
5 gtk-font-name = "Verdana 9" | |
6 | |
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" | |
11 | |
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. | |
14 # These only work in Gaim 0.78 or higher. | |
15 style "imhtml-fix" | |
16 { | |
17 font_name = "Sans 10" | |
18 } | |
19 # Set the widget style for the conversation entry box | |
20 widget "*gaim_gtkconv_entry" style "imhtml-fix" | |
21 # Set the widget style for the conversation | |
22 widget "*gaim_gtkconv_imhtml" style "imhtml-fix" | |
23 | |
24 # Set the widget style for the log viewer | |
25 widget "*gaim_gtklog_imhtml" style "imhtml-fix" | |
26 | |
27 # Set the widget style for IMHtml input widgets in request dialogs | |
28 widget "*gaim_gtkrequest_imhtml" style "imhtml-fix" | |
29 # Set the widget style for IMHtml widgets in notify dialogs | |
30 widget "*gaim_gtknotify_imhtml" style "imhtml-fix" | |
31 | |
32 # Uncommenting the line below sets all IMHtml widgets in Gaim to the same style | |
33 # and will work in Gaim versions prior to 0.78 | |
34 #widget_class "*.GtkScrolledWindow.GtkIMHtml" style "imhtml-fix" | |
35 | |
36 # The following lets you customize the color of hyperlinks | |
37 # and also the text cursors. The link color thing is Gaim specific | |
38 # but the rest work for any Gtk2 program. You can search the Gtk2 | |
39 # docs for other style properties. | |
40 style "my-style-name" { | |
41 GtkIMHtml::hyperlink-color = "#000080" | |
42 GtkWidget::cursor-color = "#0000FF" | |
43 GtkWidget::secondary-cursor-color = "#00FF00" #for mixed ltr and rtl | |
44 } | |
45 widget_class "*" style "my-style-name" | |
46 | |
47 # This style sets the expander size on a treeview to 0, which has the result | |
48 # of reducing the indent for items in the tree. This can be applied to the | |
49 # Gaim buddy list to reduce it's width. | |
50 # This only works in Gaim 0.79 and higher | |
51 style "my-narrow-tree" | |
52 { | |
53 GtkTreeView::expander_size = 0 | |
54 } | |
55 | |
56 # And apply the style to the buddy list: | |
57 widget "*gaim_gtkblist_treeview" style "my-narrow-tree" | |
58 | |
59 # In Gaim 2.0.0 and later, you can set custom keybindings in your theme. Here | |
60 # is an example to follow | |
61 | |
62 binding "my-bindings" | |
63 { | |
64 # enter inserts a newline | |
65 bind "Return" { "insert-at-cursor" ("\n") } | |
66 # ctrl-s sends message | |
67 bind "<ctrl>s" { "message_send" () } | |
68 # shift-f1 toggles bold | |
69 bind "<shft>F1" { "format_toggle" (1) } | |
70 # alt-f2 toggles italic | |
71 bind "<alt>F2" { "format_toggle" (2) } | |
72 # Ctrl-alt-shift-f3 toggles underline | |
73 bind "<ctrl><alt><shift>F3" { "format_toggle" (4) } | |
74 } | |
75 | |
76 widget "*gaim_gtkconv_entry" binding "my-bindings" | |
77 | |
78 #to let you edit your gaim key bindings | |
79 gtk-can-change-accels = 1 |