comparison console/gntblist.c @ 14042:143474e2b1cb

[gaim-migrate @ 16648] Do not give focus to new windows. Instead, set the urgent-hint for them. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 05 Aug 2006 17:04:47 +0000
parents 27182f83b79b
children c5bfede33622
comparison
equal deleted inserted replaced
14041:27182f83b79b 14042:143474e2b1cb
677 677
678 gnt_box_add_widget(GNT_BOX(box), gnt_label_new(str->str)); 678 gnt_box_add_widget(GNT_BOX(box), gnt_label_new(str->str));
679 679
680 gnt_widget_set_position(box, x, y); 680 gnt_widget_set_position(box, x, y);
681 GNT_WIDGET_UNSET_FLAGS(box, GNT_WIDGET_CAN_TAKE_FOCUS); 681 GNT_WIDGET_UNSET_FLAGS(box, GNT_WIDGET_CAN_TAKE_FOCUS);
682 GNT_WIDGET_SET_FLAGS(box, GNT_WIDGET_TRANSIENT);
682 gnt_widget_draw(box); 683 gnt_widget_draw(box);
683 684
684 g_free(title); 685 g_free(title);
685 g_string_free(str, TRUE); 686 g_string_free(str, TRUE);
686 ggblist->tooltip = box; 687 ggblist->tooltip = box;