doc/gtkrc-2.0

Mon, 08 Jun 2009 02:24:49 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Mon, 08 Jun 2009 02:24:49 +0000
changeset 27314
402d25ce01da
parent 23421
452a5398cc3c
child 29909
3b74346e22d5
permissions
-rw-r--r--

Use the JID for adding a chat/buddy because the name is for descriptive
purpose only, and using it will not fill in the Add Chat dialog correctly.
Because the JID is not visible, the user will not know what to actually put
there instead.

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

mercurial