comparison pidgin/gtkft.c @ 20962:999a91ba653f

Use gtk_window_present() instead of gtk_widget_show() when showing the file transfer dialog. The causes the window to be raised if it's below other stuff. This function is called in two places 1. When the user clicks on Tools-->File Transfers in the buddy list. This is the interaction I'm trying to improve. 2. When a file transfer is added to the dialog. It seems like a good idea to present the window when a file transfer is added to it... but there may be scenarios where this is really really annoying. If anyone thinks of any then feel free to revert this change
author Mark Doliner <mark@kingant.net>
date Tue, 16 Oct 2007 06:54:55 +0000
parents 6bf32c9e15a7
children 2a2496044eef
comparison
equal deleted inserted replaced
20961:4a8366502f01 20962:999a91ba653f
910 pidgin_set_xfer_dialog(tmp); 910 pidgin_set_xfer_dialog(tmp);
911 } 911 }
912 912
913 gtk_widget_show(tmp->window); 913 gtk_widget_show(tmp->window);
914 } else { 914 } else {
915 gtk_widget_show(dialog->window); 915 gtk_window_present(GTK_WINDOW(dialog->window));
916 } 916 }
917 } 917 }
918 918
919 void 919 void
920 pidgin_xfer_dialog_hide(PidginXferDialog *dialog) 920 pidgin_xfer_dialog_hide(PidginXferDialog *dialog)