Mercurial > pidgin
comparison src/gtkimhtml.c @ 8788:262f81346c0a
[gaim-migrate @ 9550]
Disable the insert image button on the create away message dialog.
I also made the toolbar grab which format options it should support
when it is attached to the imhtml. So you can set if the imhtml
should support smileys, images, background colors, etc and THEN
attach the toolbar and the buttons will still be correctly grayed out.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 24 Apr 2004 01:43:11 +0000 |
parents | f3d063680a45 |
children | d7b5fbc451da |
comparison
equal
deleted
inserted
replaced
8787:163199223fb9 | 8788:262f81346c0a |
---|---|
3094 imhtml->format_functions = buttons; | 3094 imhtml->format_functions = buttons; |
3095 g_signal_emit(object, signals[BUTTONS_UPDATE], 0, buttons); | 3095 g_signal_emit(object, signals[BUTTONS_UPDATE], 0, buttons); |
3096 g_object_unref(object); | 3096 g_object_unref(object); |
3097 } | 3097 } |
3098 | 3098 |
3099 GtkIMHtmlButtons gtk_imhtml_get_format_functions(GtkIMHtml *imhtml) | |
3100 { | |
3101 return imhtml->format_functions; | |
3102 } | |
3099 | 3103 |
3100 void gtk_imhtml_get_current_format(GtkIMHtml *imhtml, gboolean *bold, | 3104 void gtk_imhtml_get_current_format(GtkIMHtml *imhtml, gboolean *bold, |
3101 gboolean *italic, gboolean *underline) | 3105 gboolean *italic, gboolean *underline) |
3102 { | 3106 { |
3103 if (imhtml->edit.bold) | 3107 if (imhtml->edit.bold) |