Opened 10 years ago
Closed 8 years ago
#4398 closed enhancement (fixed)
Toolkit: add MessageBox
Reported by: | manuq | Owned by: | manuq |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | Sugar | Version: | Unspecified |
Severity: | Unspecified | Keywords: | design, gci14 |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | New |
Description
In the shell and activities we are adding informative messages more and more. The look is: a centered message in the canvas, with an icon, a bold title, optional description, and optional buttons. This elements are horizontally centered aligned too. Example:
http://bugs.sugarlabs.org/attachment/ticket/4384/downloading.png
We should add a new widget MessageBox to remove the duplicated code, improve consistency, and future usage.
Replacements:
- Journal "Is empty"
- Journal "No matching entries", button "Clear search"
- Home ListView "No matching entries", button "Clear search"
- Browse "Downloading document...", button "Cancel"
- Read "No book", button "Add book"
- Jukebox "No media", button "Add media"
Attachments (9)
Change History (14)
Changed 10 years ago by manuq
comment:1 Changed 10 years ago by dnarvaez
- Component changed from sugar-toolkit-gtk3 to Sugar
comment:2 Changed 10 years ago by dnarvaez
- Milestone changed from 1.0 to Unspecified
comment:3 Changed 10 years ago by dnarvaez
- Bug Status changed from Unconfirmed to New
Any reason this was not landed?
Changed 8 years ago by svineet
Changed 8 years ago by svineet
comment:4 Changed 8 years ago by svineet
- Keywords gci14 added
I added the MessageBox widget, adapting sugar to it too. I used manuq's patch.
This was for a GCI task: https://www.google-melange.com/gci/task/view/google/gci2014/6364105271148544
Changed 8 years ago by svineet
Changed 8 years ago by svineet
Changed 8 years ago by svineet
comment:5 Changed 8 years ago by svineet
- Resolution set to fixed
- Status changed from new to closed
Adapted activities for this task: http://www.google-melange.com/gci/task/view/google/gci2014/5311043379134464
Patches attached, closing this.
Toolkit patch: new widget MessageBox