Mercurial > pidgin.yaz
comparison src/gtkimhtml.c @ 10849:c203cd637f95
[gaim-migrate @ 12521]
sf patch #1185449, from Richard Laager
"As the comment in gtkconv.c says, saving a duplicate copy
of the entire conversation is completely bogus. Saving a
copy of a conversation is a UI thing (if the UI is only showing
the last five messages, for example, that's all the user
would expect to be saved). Therefore, there's no problem
having the UI save its own buffer. The GTK+ UI is already
doing this with the imhtml object. This patch removes the
history from GaimConversation and uses the buffer in the
imhtml object when saving a conversation.
It also adds <html>, <head>, <title>, and <body> tags to
the file to make it a bit more valid.
This patch is extremely likely to break plugins because it
changes the size of the GaimConversation struct. As such,
if this is committed, I recommend the developers recompile
non-default plugins. This broke Gaim-Encryption for me,
hence the warning."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 19 Apr 2005 04:21:39 +0000 |
parents | d1f7821c09f4 |
children | 62b5117114d2 |
comparison
equal
deleted
inserted
replaced
10848:98de05966d6d | 10849:c203cd637f95 |
---|---|
530 * el program go boom. | 530 * el program go boom. |
531 * | 531 * |
532 * It's supposed to be fixed in gtk2.2. You can view the bug report at | 532 * It's supposed to be fixed in gtk2.2. You can view the bug report at |
533 * http://bugzilla.gnome.org/show_bug.cgi?id=107939 | 533 * http://bugzilla.gnome.org/show_bug.cgi?id=107939 |
534 */ | 534 */ |
535 | 535 static gboolean |
536 gboolean gtk_key_pressed_cb(GtkIMHtml *imhtml, GdkEventKey *event, gpointer data) | 536 gtk_key_pressed_cb(GtkIMHtml *imhtml, GdkEventKey *event, gpointer data) |
537 { | 537 { |
538 if (event->state & GDK_CONTROL_MASK) { | 538 if (event->state & GDK_CONTROL_MASK) { |
539 switch (event->keyval) { | 539 switch (event->keyval) { |
540 case 'a': | 540 case 'a': |
541 case GDK_Home: | 541 case GDK_Home: |