After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666334 - Be more friendly to user on deletion of boxes
Be more friendly to user on deletion of boxes
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks: 666369
 
 
Reported: 2011-12-16 00:09 UTC by Zeeshan Ali
Modified: 2016-03-31 14:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Be more friendly to user on deletion of boxes (8.71 KB, patch)
2011-12-16 00:09 UTC, Zeeshan Ali
none Details | Review
Be more friendly to user on deletion of boxes (8.69 KB, patch)
2011-12-16 22:45 UTC, Zeeshan Ali
committed Details | Review

Description Zeeshan Ali 2011-12-16 00:09:53 UTC
On deletion of a box by the user:
    
- Hide the box immediately but don't delete it yet.
- Display a notification with an 'Undo' button.
- Delete the box if user doesn't hit the 'Undo' button or ignores the
  notification for 6 seconds. Otherwise, add it back to the view.
Comment 1 Zeeshan Ali 2011-12-16 00:09:55 UTC
Created attachment 203617 [details] [review]
Be more friendly to user on deletion of boxes

On deletion of a box by the user:

- Hide the box immediately but don't delete it yet.
- Display a notification with an 'Undo' button.
- Delete the box if user doesn't hit the 'Undo' button or ignores the
  notification for 6 seconds. Otherwise, add it back to the view.
Comment 2 Zeeshan Ali 2011-12-16 22:45:44 UTC
Created attachment 203704 [details] [review]
Be more friendly to user on deletion of boxes

On deletion of a box by the user:

- Hide the box immediately but don't delete it yet.
- Display a notification with an 'Undo' button.
- Delete the box if user doesn't hit the 'Undo' button or ignores the
  notification for 6 seconds. Otherwise, add it back to the view.

New in this version:

* NotificationBar renamed to Notificationbar for consistency with other *bar classes.
* The bar now slides-in/out rather than fade-in/out.
* Slight improvement to vertical magin.
Comment 3 Marc-Andre Lureau 2011-12-16 23:13:59 UTC
Review of attachment 203704 [details] [review]:

ack
Comment 4 Zeeshan Ali 2011-12-16 23:16:32 UTC
Attachment 203704 [details] pushed as 1185a27 - Be more friendly to user on deletion of boxes