Mercurial > pidgin.yaz
view doc/gtkrc-2.0 @ 18088:c138916a49b3
I think it's reasonable to search through a haystack that is the
empty string. This gets rid of the following assertion failure
for me:
#0 0x00002b7f5ebdccab in raise () from /lib/libc.so.6
#1 0x00002b7f5ebde660 in abort () from /lib/libc.so.6
#2 0x00002b7f5e046b1b in g_logv () from /usr/lib/libglib-2.0.so.0
#3 0x00002b7f5e046bb3 in g_log () from /usr/lib/libglib-2.0.so.0
#4 0x00002b7f5e326746 in purple_markup_find_tag (needle=0x2b7f5e33fb89 "img",
haystack=0x11fcf6c "", start=0x7fff51043070, end=0x7fff51043068,
attributes=0x7fff51043060) at util.c:1016
#5 0x00002b7f5e2fa9f4 in convert_image_tags (log=0x931a80,
msg=0x11fcf60 "<IMG ID=\"1\">") at log.c:709
#6 0x00002b7f5e2fba15 in html_logger_write (log=0x931a80, type=4097,
from=0x778e00 "lk80z", time=1181547027, message=0x11fcf60 "<IMG ID=\"1\">")
at log.c:1339
#7 0x00002b7f5e2f8fee in purple_log_write (log=0x931a80, type=4097,
from=0x778e00 "lk80z", time=1181547027, message=0x11fcf60 "<IMG ID=\"1\">")
at log.c:155
#8 0x00002b7f5e2eca6c in purple_conversation_write (conv=0x1041500,
who=0xf50ba0 "giantpucepanda", message=0x11ec670 "<IMG ID=\"1\">",
flags=4097, mtime=1181547027) at conversation.c:883
#9 0x0000000000452ca5 in pidgin_conv_write_im (conv=0x1041500, who=0x0,
message=0x11ec670 "<IMG ID=\"1\">", flags=4097, mtime=1181547027)
at gtkconv.c:4827
#10 0x00002b7f5e2ed21e in purple_conv_im_write (im=0x111b170, who=0x0,
message=0x11ec670 "<IMG ID=\"1\">", flags=4097, mtime=1181547027)
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 11 Jun 2007 07:45:19 +0000 |
parents | 88a93f78b489 |
children | 5538a3645b63 |
line wrap: on
line source
# When turned on, this option causes gtk to select the contents of an entry field when it becomes focused. gtk-entry-select-on-focus = 1 # Sets the font used by gtk gtk-font-name = "Verdana 9" # Controls the keybindings that gtk uses for text entry/editing/etc # The "emacs" theme turns on things like: # ctrl-a == move to beginning of line, ctrl-e == move to end of line, etc. gtk-key-theme-name = "Emacs" # The following section allows you to change the style of the conversation # window widgets, log viewer widget, and request and notify window widgets. style "imhtml-fix" { font_name = "Sans 10" } # Set the widget style for the conversation entry box widget "*pidgin_conv_entry" style "imhtml-fix" # Set the widget style for the conversation widget "*pidgin_conv_imhtml" style "imhtml-fix" # Set the widget style for the log viewer widget "*pidgin_log_imhtml" style "imhtml-fix" # Set the widget style for IMHtml input widgets in request dialogs widget "*pidgin_request_imhtml" style "imhtml-fix" # Set the widget style for IMHtml widgets in notify dialogs widget "*pidgin_notify_imhtml" style "imhtml-fix" # The following lets you customize the color of hyperlinks # and also the text cursors. The link color thing is Pidgin specific # but the rest work for any Gtk2 program. You can search the Gtk2 # docs for other style properties. style "my-style-name" { GtkIMHtml::hyperlink-color = "#000080" GtkWidget::cursor-color = "#0000FF" GtkWidget::secondary-cursor-color = "#00FF00" #for mixed ltr and rtl } widget_class "*" style "my-style-name" # This style sets the expander size on a treeview to 0, which has the result # of reducing the indent for items in the tree. This can be applied to the # Pidgin buddy list to reduce it's width. style "my-narrow-tree" { GtkTreeView::expander_size = 0 } # And apply the style to the buddy list: widget "*pidgin_blist_treeview" style "my-narrow-tree" # In Pidgin, you can set custom keybindings in your theme. # Here is an example to follow: binding "my-bindings" { # enter inserts a newline bind "Return" { "insert-at-cursor" ("\n") } # ctrl-s sends message bind "<ctrl>s" { "message_send" () } # shift-f1 toggles bold bind "<shft>F1" { "format_toggle" (1) } # alt-f2 toggles italic bind "<alt>F2" { "format_toggle" (2) } # Ctrl-alt-shift-f3 toggles underline bind "<ctrl><alt><shift>F3" { "format_toggle" (4) } } widget "*pidgin_conv_entry" binding "my-bindings" # This lets you edit your Pidgin key bindings from within Pidgin, # by hovering over a menu item and hitting a key combo. gtk-can-change-accels = 1