[gnome-boxes] collection-view: Set current UI state on new items
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] collection-view: Set current UI state on new items
- Date: Mon, 3 Sep 2012 14:18:45 +0000 (UTC)
commit 80ad2aa7eb5ffa71ee5a2cf3134658eba526d4d8
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Aug 30 00:46:16 2012 +0300
collection-view: Set current UI state on new items
Don't assume we are in collection state when new items are added.
https://bugzilla.gnome.org/show_bug.cgi?id=672554
src/collection-view.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/collection-view.vala b/src/collection-view.vala
index 6e5b9d1..91efe0a 100644
--- a/src/collection-view.vala
+++ b/src/collection-view.vala
@@ -241,7 +241,7 @@ private class Boxes.CollectionView: Boxes.UI {
});
item.set_data<ulong> ("info_id", info_id);
- item.ui_state = UIState.COLLECTION;
+ item.ui_state = App.app.ui_state;
actor_remove (item.actor);
update_item_visible (item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]