Mercurial > pidgin
comparison src/ui.h @ 8317:6f549c1d0829
[gaim-migrate @ 9041]
Because I won't be able to work on this until late this week at the earliest,
here's GtkIMHtmlToolbar. It's a composite widget that attaches to an editable
gtkimhtml and controls all the formatting with ease. All one has to do to get
a formattable, editable, gtkimhtml now is to replace a gtktextview with a
gtkimhtml (you can even leave all the other calls that control it as gtkimhtml
descends from gtktextview) throw one of these toolbars in there and
gtk_imhtml_toolbar_attach it to the gtkimhtml. That's what I did in the New
Away Message dialog. This would also be nice in gtkrequest.c and gtkpounce.c.
Of course, this isn't done and there's a ton of hacky commented out old code in
there. Things like keyboard shortcut preferences don't currently work and
there's a lot of things I want to move around yet. However, if anyone feels
inspired to work on it before I get back to it feel free. Maybe you can IM me
beforehand or something.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 23 Feb 2004 21:18:27 +0000 |
parents | 4eb4b2a6c604 |
children | a2c5537a814b |
comparison
equal
deleted
inserted
replaced
8316:cf84056fed27 | 8317:6f549c1d0829 |
---|---|
134 extern void cancel_fgcolor(GtkWidget *widget, GaimConversation *c); | 134 extern void cancel_fgcolor(GtkWidget *widget, GaimConversation *c); |
135 extern void cancel_bgcolor(GtkWidget *widget, GaimConversation *c); | 135 extern void cancel_bgcolor(GtkWidget *widget, GaimConversation *c); |
136 extern void create_away_mess(GtkWidget *, void *); | 136 extern void create_away_mess(GtkWidget *, void *); |
137 extern void dialog_link_show(GaimConversation *); | 137 extern void dialog_link_show(GaimConversation *); |
138 extern void dialog_link_destroy(GaimConversation *); | 138 extern void dialog_link_destroy(GaimConversation *); |
139 extern void show_smiley_dialog(GaimConversation *, GtkWidget *); | |
140 extern void close_smiley_dialog(GtkWidget *widget, GaimConversation *c); | |
141 extern void set_smiley_array(GtkWidget *widget, int smiley_type); | 139 extern void set_smiley_array(GtkWidget *widget, int smiley_type); |
142 extern void insert_smiley_text(GtkWidget *widget, GaimConversation *c); | |
143 extern void show_font_dialog(GaimConversation *c, GtkWidget *font); | 140 extern void show_font_dialog(GaimConversation *c, GtkWidget *font); |
144 extern void cancel_font(GtkWidget *widget, GaimConversation *c); | 141 extern void cancel_font(GtkWidget *widget, GaimConversation *c); |
145 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); | 142 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); |
146 extern void destroy_fontsel(GtkWidget *w, gpointer d); | 143 extern void destroy_fontsel(GtkWidget *w, gpointer d); |
147 | 144 |