Wed, 13 Jun 2007 02:28:38 +0000
Do not update the blist TreeStore if a node is currently being edited. Then, when the node is finished editing, force a refresh. Fixes #397 in which aliasing gets rudely cut off anytime the buddy list changes
| 12390 | 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 | style "imhtml-fix" | |
| 15 | { | |
| 16 | font_name = "Sans 10" | |
| 17 | } | |
| 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 | 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 | 22 | |
| 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 | 25 | |
| 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 | 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 | 30 | |
| 31 | # The following lets you customize the color of hyperlinks | |
|
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
|
32 | # and also the text cursors. The link color thing is Pidgin specific |
| 12390 | 33 | # but the rest work for any Gtk2 program. You can search the Gtk2 |
| 34 | # docs for other style properties. | |
| 35 | style "my-style-name" { | |
| 36 | GtkIMHtml::hyperlink-color = "#000080" | |
| 37 | GtkWidget::cursor-color = "#0000FF" | |
| 38 | GtkWidget::secondary-cursor-color = "#00FF00" #for mixed ltr and rtl | |
| 39 | } | |
| 40 | widget_class "*" style "my-style-name" | |
| 41 | ||
| 42 | # This style sets the expander size on a treeview to 0, which has the result | |
| 43 | # of reducing the indent for items in the tree. This can be applied to the | |
|
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
|
44 | # Pidgin buddy list to reduce it's width. |
| 12390 | 45 | style "my-narrow-tree" |
| 46 | { | |
| 47 | GtkTreeView::expander_size = 0 | |
| 48 | } | |
| 49 | ||
| 50 | # And apply the style to the buddy list: | |
|
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
|
51 | widget "*pidgin_blist_treeview" style "my-narrow-tree" |
| 12390 | 52 | |
|
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
|
53 | # 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
|
54 | # Here is an example to follow: |
| 12390 | 55 | |
| 56 | binding "my-bindings" | |
| 57 | { | |
| 58 | # enter inserts a newline | |
| 59 | bind "Return" { "insert-at-cursor" ("\n") } | |
| 60 | # ctrl-s sends message | |
| 61 | bind "<ctrl>s" { "message_send" () } | |
| 62 | # shift-f1 toggles bold | |
| 63 | bind "<shft>F1" { "format_toggle" (1) } | |
| 64 | # alt-f2 toggles italic | |
| 65 | bind "<alt>F2" { "format_toggle" (2) } | |
| 66 | # Ctrl-alt-shift-f3 toggles underline | |
| 67 | bind "<ctrl><alt><shift>F3" { "format_toggle" (4) } | |
| 68 | } | |
| 69 | ||
|
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
|
70 | widget "*pidgin_conv_entry" binding "my-bindings" |
| 12390 | 71 | |
|
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
|
72 | # 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
|
73 | # by hovering over a menu item and hitting a key combo. |
| 12390 | 74 | gtk-can-change-accels = 1 |