# HG changeset patch # User Etan Reisner # Date 1139272353 0 # Node ID 39e7014cb687fb302d7ee51d2c87fd9ca2b8dc5d # Parent 00f6445c68794427e00862266546ee9436eebf74 [gaim-migrate @ 15504] This removes the toolbar from the tab focus order for the Status window, the same way we remove it for the conversation window. The only problem with this is that there is now no way to reach some of the formatting options without using the mouse. We should probably add imhtml signals for the missing options, or add a focus_toolbar signal. committer: Tailor Script diff -r 00f6445c6879 -r 39e7014cb687 src/gtksavedstatuses.c --- a/src/gtksavedstatuses.c Mon Feb 06 21:24:26 2006 +0000 +++ b/src/gtksavedstatuses.c Tue Feb 07 00:32:33 2006 +0000 @@ -1005,6 +1005,7 @@ GtkWidget *toolbar; GtkWidget *vbox; GtkWidget *win; + GList *focus_chain = NULL; dialog = g_new0(StatusEditor, 1); @@ -1081,6 +1082,8 @@ dialog->message = GTK_IMHTML(text); gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0); gtk_widget_show(frame); + focus_chain = g_list_prepend(focus_chain, dialog->message); + gtk_container_set_focus_chain(GTK_CONTAINER(hbox), focus_chain); if ((saved_status != NULL) && (gaim_savedstatus_get_message(saved_status) != NULL)) gtk_imhtml_append_text(GTK_IMHTML(text),