changeset 13141:39e7014cb687

[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 <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 07 Feb 2006 00:32:33 +0000
parents 00f6445c6879
children 386a4f784cde
files src/gtksavedstatuses.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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),