GNOME Bugzilla – Bug 670201
import dialog improvements
Last modified: 2012-02-16 13:09:55 UTC
As part of my work on bug #652669 I did some improvements on the import dialog.
Created attachment 207745 [details] [review] remove useless include
Created attachment 207746 [details] [review] factor out display_import_dialog()
Created attachment 207747 [details] [review] Pass EmpathyConnectionManagers to the import widget The widget doesn't have to prepare EmpathyConnectionManagers itself any more and so can populate its treeview right away. By doing so it will request a more decent size and so the dialog will actually display the accounts which can be imported without forcing user to resize it.
Created attachment 207748 [details] [review] import-dialog: expand and fill the import widget
Created attachment 207749 [details] [review] import-dialog: set a verb on the 'Ok' button
Review of attachment 207745 [details] [review]: Sure, why not.
Review of attachment 207746 [details] [review]: ::: src/empathy-accounts-dialog.c @@ +2024,3 @@ + EmpathyAccountsDialog *dialog) +{ + I guess this doesn't leak import_dialog any more than it used to…
Review of attachment 207747 [details] [review]: This looks fine and I approve of this kind of improvement
Review of attachment 207748 [details] [review]: Looks fine.
Review of attachment 207749 [details] [review]: Aye.
Review of attachment 207746 [details] [review]: ::: src/empathy-accounts-dialog.c @@ +2024,3 @@ + EmpathyAccountsDialog *dialog) +{ + Nah that's fine, the dialog is destroying itself once it's done. That's a bit weird I agree, but that's not so uncommon for this kind of dialog.
Attachment 207745 [details] pushed as 4fe19e7 - remove useless include Attachment 207746 [details] pushed as 540ebef - factor out display_import_dialog() Attachment 207747 [details] pushed as 9e91ccd - Pass EmpathyConnectionManagers to the import widget Attachment 207748 [details] pushed as bb7c70e - import-dialog: expand and fill the import widget Attachment 207749 [details] pushed as 8586e87 - import-dialog: set a verb on the 'Ok' button