Mercurial > pidgin
annotate doc/gtkrc-2.0 @ 21245:f0ec79698fb7
Document the addition of the PURPLE_REQUEST_UI_HINT_* defines.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 14 Oct 2007 20:55:36 +0000 |
parents | 5538a3645b63 |
children | d2a5d298de66 |
rev | line source |
---|---|
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
1 # When turned on, this option causes gtk to select the contents of an entry field when it becomes focused. |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
2 gtk-entry-select-on-focus = 1 |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
3 |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
4 # Sets the font used by gtk |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
5 gtk-font-name = "Verdana 9" |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
6 |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
7 # Controls the keybindings that gtk uses for text entry/editing/etc |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
8 # The "emacs" theme turns on things like: |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
9 # ctrl-a == move to beginning of line, ctrl-e == move to end of line, etc. |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
10 gtk-key-theme-name = "Emacs" |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
11 |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
12 # The following section allows you to change the style of the conversation |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
13 # window widgets, log viewer widget, and request and notify window widgets. |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
14 style "imhtml-fix" |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
15 { |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
16 font_name = "Sans 10" |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
17 } |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
18 # Set the widget style for the conversation entry box |
16198
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
19 widget "*pidgin_conv_entry" style "imhtml-fix" |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
20 # Set the widget style for the conversation |
16198
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
21 widget "*pidgin_conv_imhtml" style "imhtml-fix" |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
22 |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
23 # Set the widget style for the log viewer |
16198
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
24 widget "*pidgin_log_imhtml" style "imhtml-fix" |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
25 |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
26 # Set the widget style for IMHtml input widgets in request dialogs |
16198
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
27 widget "*pidgin_request_imhtml" style "imhtml-fix" |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
28 # Set the widget style for IMHtml widgets in notify dialogs |
16198
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
29 widget "*pidgin_notify_imhtml" style "imhtml-fix" |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
30 |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
31 # The following lets you customize the color of hyperlinks |
16198
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
32 # and also the text cursors. The link color thing is Pidgin specific |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
33 # but the rest work for any Gtk2 program. You can search the Gtk2 |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
34 # docs for other style properties. |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
35 style "my-style-name" { |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
36 GtkIMHtml::hyperlink-color = "#000080" |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
37 GtkWidget::cursor-color = "#0000FF" |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
38 GtkWidget::secondary-cursor-color = "#00FF00" #for mixed ltr and rtl |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
39 } |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
40 widget_class "*" style "my-style-name" |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
41 |
18177
5538a3645b63
Since we re-did the buddy list drawing stuff this entry matters a lot less, so
Etan Reisner <pidgin@unreliablesource.net>
parents:
16198
diff
changeset
|
42 # This sets the expander size on a treeview to 0, which has the result |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
43 # of reducing the indent for items in the tree. This can be applied to the |
18177
5538a3645b63
Since we re-did the buddy list drawing stuff this entry matters a lot less, so
Etan Reisner <pidgin@unreliablesource.net>
parents:
16198
diff
changeset
|
44 # Pidgin buddy list to reduce the width of group and contact rows. |
5538a3645b63
Since we re-did the buddy list drawing stuff this entry matters a lot less, so
Etan Reisner <pidgin@unreliablesource.net>
parents:
16198
diff
changeset
|
45 # With the recent (~2.0.0) buddy list changes this isn't particularly |
5538a3645b63
Since we re-did the buddy list drawing stuff this entry matters a lot less, so
Etan Reisner <pidgin@unreliablesource.net>
parents:
16198
diff
changeset
|
46 # important anymore. |
5538a3645b63
Since we re-did the buddy list drawing stuff this entry matters a lot less, so
Etan Reisner <pidgin@unreliablesource.net>
parents:
16198
diff
changeset
|
47 #style "my-narrow-tree" |
5538a3645b63
Since we re-did the buddy list drawing stuff this entry matters a lot less, so
Etan Reisner <pidgin@unreliablesource.net>
parents:
16198
diff
changeset
|
48 #{ |
5538a3645b63
Since we re-did the buddy list drawing stuff this entry matters a lot less, so
Etan Reisner <pidgin@unreliablesource.net>
parents:
16198
diff
changeset
|
49 # GtkTreeView::expander_size = 0 |
5538a3645b63
Since we re-did the buddy list drawing stuff this entry matters a lot less, so
Etan Reisner <pidgin@unreliablesource.net>
parents:
16198
diff
changeset
|
50 #} |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
51 # And apply the style to the buddy list: |
18177
5538a3645b63
Since we re-did the buddy list drawing stuff this entry matters a lot less, so
Etan Reisner <pidgin@unreliablesource.net>
parents:
16198
diff
changeset
|
52 #widget "*pidgin_blist_treeview" style "my-narrow-tree" |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
53 |
16198
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
54 # In Pidgin, you can set custom keybindings in your theme. |
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
55 # Here is an example to follow: |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
56 |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
57 binding "my-bindings" |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
58 { |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
59 # enter inserts a newline |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
60 bind "Return" { "insert-at-cursor" ("\n") } |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
61 # ctrl-s sends message |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
62 bind "<ctrl>s" { "message_send" () } |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
63 # shift-f1 toggles bold |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
64 bind "<shft>F1" { "format_toggle" (1) } |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
65 # alt-f2 toggles italic |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
66 bind "<alt>F2" { "format_toggle" (2) } |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
67 # Ctrl-alt-shift-f3 toggles underline |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
68 bind "<ctrl><alt><shift>F3" { "format_toggle" (4) } |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
69 } |
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
70 |
16198
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
71 widget "*pidgin_conv_entry" binding "my-bindings" |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
72 |
16198
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
73 # This lets you edit your Pidgin key bindings from within Pidgin, |
88a93f78b489
I don't like the pidginfoo_bar widget names that resulted from the sed.
Richard Laager <rlaager@wiktel.com>
parents:
12390
diff
changeset
|
74 # by hovering over a menu item and hitting a key combo. |
12390
dca3779701a7
[gaim-migrate @ 14697]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
75 gtk-can-change-accels = 1 |