# HG changeset patch # User Mark Doliner # Date 1133641732 0 # Node ID b3385115815ca5072330c7da6e9586750b068476 # Parent 1d4a057726258c523c96d741a267ab98a4719aa2 [gaim-migrate @ 14613] 3 seconds seemed a bit too short for the typing timeout. Let's do the beta thing tomorrow committer: Tailor Script diff -r 1d4a05772625 -r b3385115815c src/gtkstatusbox.c --- a/src/gtkstatusbox.c Sat Dec 03 20:24:17 2005 +0000 +++ b/src/gtkstatusbox.c Sat Dec 03 20:28:52 2005 +0000 @@ -38,6 +38,8 @@ #include "gtkstatusbox.h" #include "gtkutils.h" +#define TYPING_TIMEOUT 4000 + static void imhtml_changed_cb(GtkTextBuffer *buffer, void *data); static void remove_typing_cb(GtkGaimStatusBox *box); @@ -464,7 +466,7 @@ return FALSE; gtk_gaim_status_box_pulse_typing(box); g_source_remove(box->typing); - box->typing = g_timeout_add(3000, (GSourceFunc)remove_typing_cb, box); + box->typing = g_timeout_add(TYPING_TIMEOUT, (GSourceFunc)remove_typing_cb, box); return FALSE; } @@ -1044,7 +1046,7 @@ { gtk_widget_show_all(status_box->vbox); if (GTK_WIDGET_IS_SENSITIVE(GTK_WIDGET(status_box))) { - status_box->typing = g_timeout_add(3000, (GSourceFunc)remove_typing_cb, status_box); + status_box->typing = g_timeout_add(TYPING_TIMEOUT, (GSourceFunc)remove_typing_cb, status_box); } else { gtk_widget_hide(status_box->toolbar); gtk_widget_hide(status_box->hsep); @@ -1071,7 +1073,7 @@ gtk_gaim_status_box_pulse_typing(box); g_source_remove(box->typing); } - box->typing = g_timeout_add(3000, (GSourceFunc)remove_typing_cb, box); + box->typing = g_timeout_add(TYPING_TIMEOUT, (GSourceFunc)remove_typing_cb, box); gtk_widget_show(box->hsep); gtk_widget_show(box->toolbar); } diff -r 1d4a05772625 -r b3385115815c src/savedstatuses.c --- a/src/savedstatuses.c Sat Dec 03 20:24:17 2005 +0000 +++ b/src/savedstatuses.c Sat Dec 03 20:28:52 2005 +0000 @@ -178,7 +178,7 @@ /* * Gaim 1.5.0 and earlier require a name to be set, so we * do this little hack to maintain backward compatability - * in the status.xml file. Eventually this should be used + * in the status.xml file. Eventually this should be removed * and we should determine if a status is transient by * whether the "name" attribute is set to something or if * it does not exist at all.