comparison doc/gtkrc-2.0 @ 16224:5c68b5fbeb62

merge of '0004c439d3a8b009b8c0a87116e04dd76541bd23' and '3b729242a24fea9e1b63e24dceb4337d439cfa6b'
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 17 Apr 2007 09:47:23 +0000
parents 88a93f78b489
children 5538a3645b63
comparison
equal deleted inserted replaced
16223:0d4a41a50168 16224:5c68b5fbeb62
9 # ctrl-a == move to beginning of line, ctrl-e == move to end of line, etc. 9 # ctrl-a == move to beginning of line, ctrl-e == move to end of line, etc.
10 gtk-key-theme-name = "Emacs" 10 gtk-key-theme-name = "Emacs"
11 11
12 # The following section allows you to change the style of the conversation 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. 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" 14 style "imhtml-fix"
16 { 15 {
17 font_name = "Sans 10" 16 font_name = "Sans 10"
18 } 17 }
19 # Set the widget style for the conversation entry box 18 # Set the widget style for the conversation entry box
20 widget "*gaim_gtkconv_entry" style "imhtml-fix" 19 widget "*pidgin_conv_entry" style "imhtml-fix"
21 # Set the widget style for the conversation 20 # Set the widget style for the conversation
22 widget "*gaim_gtkconv_imhtml" style "imhtml-fix" 21 widget "*pidgin_conv_imhtml" style "imhtml-fix"
23 22
24 # Set the widget style for the log viewer 23 # Set the widget style for the log viewer
25 widget "*gaim_gtklog_imhtml" style "imhtml-fix" 24 widget "*pidgin_log_imhtml" style "imhtml-fix"
26 25
27 # Set the widget style for IMHtml input widgets in request dialogs 26 # Set the widget style for IMHtml input widgets in request dialogs
28 widget "*gaim_gtkrequest_imhtml" style "imhtml-fix" 27 widget "*pidgin_request_imhtml" style "imhtml-fix"
29 # Set the widget style for IMHtml widgets in notify dialogs 28 # Set the widget style for IMHtml widgets in notify dialogs
30 widget "*gaim_gtknotify_imhtml" style "imhtml-fix" 29 widget "*pidgin_notify_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 30
36 # The following lets you customize the color of hyperlinks 31 # The following lets you customize the color of hyperlinks
37 # and also the text cursors. The link color thing is Gaim specific 32 # and also the text cursors. The link color thing is Pidgin specific
38 # but the rest work for any Gtk2 program. You can search the Gtk2 33 # but the rest work for any Gtk2 program. You can search the Gtk2
39 # docs for other style properties. 34 # docs for other style properties.
40 style "my-style-name" { 35 style "my-style-name" {
41 GtkIMHtml::hyperlink-color = "#000080" 36 GtkIMHtml::hyperlink-color = "#000080"
42 GtkWidget::cursor-color = "#0000FF" 37 GtkWidget::cursor-color = "#0000FF"
44 } 39 }
45 widget_class "*" style "my-style-name" 40 widget_class "*" style "my-style-name"
46 41
47 # This style sets the expander size on a treeview to 0, which has the result 42 # 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 43 # of reducing the indent for items in the tree. This can be applied to the
49 # Gaim buddy list to reduce it's width. 44 # Pidgin buddy list to reduce it's width.
50 # This only works in Gaim 0.79 and higher
51 style "my-narrow-tree" 45 style "my-narrow-tree"
52 { 46 {
53 GtkTreeView::expander_size = 0 47 GtkTreeView::expander_size = 0
54 } 48 }
55 49
56 # And apply the style to the buddy list: 50 # And apply the style to the buddy list:
57 widget "*gaim_gtkblist_treeview" style "my-narrow-tree" 51 widget "*pidgin_blist_treeview" style "my-narrow-tree"
58 52
59 # In Gaim 2.0.0 and later, you can set custom keybindings in your theme. Here 53 # In Pidgin, you can set custom keybindings in your theme.
60 # is an example to follow 54 # Here is an example to follow:
61 55
62 binding "my-bindings" 56 binding "my-bindings"
63 { 57 {
64 # enter inserts a newline 58 # enter inserts a newline
65 bind "Return" { "insert-at-cursor" ("\n") } 59 bind "Return" { "insert-at-cursor" ("\n") }
71 bind "<alt>F2" { "format_toggle" (2) } 65 bind "<alt>F2" { "format_toggle" (2) }
72 # Ctrl-alt-shift-f3 toggles underline 66 # Ctrl-alt-shift-f3 toggles underline
73 bind "<ctrl><alt><shift>F3" { "format_toggle" (4) } 67 bind "<ctrl><alt><shift>F3" { "format_toggle" (4) }
74 } 68 }
75 69
76 widget "*gaim_gtkconv_entry" binding "my-bindings" 70 widget "*pidgin_conv_entry" binding "my-bindings"
77 71
78 #to let you edit your gaim key bindings 72 # This lets you edit your Pidgin key bindings from within Pidgin,
73 # by hovering over a menu item and hitting a key combo.
79 gtk-can-change-accels = 1 74 gtk-can-change-accels = 1