GNOME Bugzilla – Bug 744887
Warning when opening a machine's properties
Last modified: 2016-03-31 13:22:07 UTC
Boxes produces this warning when opening a machine's properties dialog from anywhere but the collection view. (gnome-boxes:31199): Boxes-CRITICAL **: boxes_app_window_set_selection_mode: assertion '_tmp1_ == BOXES_UI_STATE_COLLECTION' failed
Created attachment 297487 [details] [review] app-window: Check UIState before setting selection_mode prop This checks if the UIState is COLLECTION before setting the selection_mode property. It fixes a runtime warning.
Review of attachment 297487 [details] [review]: Proposal for shortlog that doesnt violate the 50 char rule: app-window: Reset selection mode if appropriate looks good otherwise
Created attachment 297494 [details] [review] app-window: Reset selection mode if appropriate This checks if the UIState is COLLECTION before setting the selection_mode property. It fixes a runtime warning.
Review of attachment 297494 [details] [review]: Ack, thanks for the patch.
Review of attachment 297494 [details] [review]: committed
Review of attachment 297494 [details] [review]: Thanks for the fix and thanks Lasse for review. This was pretty trivial and important so its good you pushed as soon as you got an ack but for future ref, if its not a trivial patch like this one, please give me some time to also review before pushing.
I pushed, sorry. I'll leave you more time next time.
(In reply to Lasse Schuirmann from comment #7) > I pushed, sorry. I'll leave you more time next time. No! I thought made it clear that it was a good thing it was pushed but I guess I failed. :(