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 685048 - "Main volume" isn't a good name for a drive
"Main volume" isn't a good name for a drive
Status: RESOLVED FIXED
Product: baobab
Classification: Core
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Baobab Maintainers
Baobab Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-28 14:52 UTC by Allan Day
Modified: 2013-07-24 09:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Replace "Main volume" with hostname (1.63 KB, patch)
2012-09-28 17:37 UTC, Stefano Facchini
none Details | Review
Replace "Main volume" with hostname (1.88 KB, patch)
2012-09-28 18:42 UTC, Stefano Facchini
none Details | Review
Replace "Main volume" with hostname when available (2.15 KB, patch)
2012-09-29 12:34 UTC, Stefano Facchini
committed Details | Review
Use better fallback name for main volume (755 bytes, patch)
2013-07-20 13:13 UTC, Stefano Facchini
committed Details | Review

Description Allan Day 2012-09-28 14:52:15 UTC
I don't know what "Main volume" means, and I doubt other people will. If the volumet contains / as well as /home, we should name it after the computer name (eg. Joe's computer). If it is / and there is a separate home partition, name the volume after the OS (eg. Fedora 18).
Comment 1 Stefano Facchini 2012-09-28 17:37:46 UTC
Created attachment 225349 [details] [review]
Replace "Main volume" with hostname

As requested by designers. Fallback to the less cryptic "Computer" in case of error
Comment 2 Stefano Facchini 2012-09-28 18:42:36 UTC
Created attachment 225352 [details] [review]
Replace "Main volume" with hostname

As requested by designers. Fallback to the less cryptic "Computer" in case of error



Try first with PrettyHostname, as in g-c-c
Comment 3 Paolo Borelli 2012-09-29 12:13:52 UTC
Review of attachment 225352 [details] [review]:

Patch looks mostly good, though I would prefer to see the logic factored out in an helper method so that we can "hide" the scary dbus implementation :)


For 3.6 we could fall back to the old "Main Volume" to not break string freeze and use the "Computer" fallback for master
Comment 4 Stefano Facchini 2012-09-29 12:34:42 UTC
Created attachment 225380 [details] [review]
Replace "Main volume" with hostname when available

As requested by designers.
Comment 5 Paolo Borelli 2012-09-29 12:38:25 UTC
Review of attachment 225380 [details] [review]:

Looks good. Let's keep this bug open to remember to change the fallback as soon as we branch
Comment 6 Stefano Facchini 2012-09-29 12:40:10 UTC
Comment on attachment 225380 [details] [review]
Replace "Main volume" with hostname when available

Attachment 225380 [details] pushed as 039c1e0 - Replace "Main volume" with hostname when available
Comment 7 Stefano Facchini 2013-07-20 13:13:22 UTC
Created attachment 249695 [details] [review]
Use better fallback name for main volume

Do we still agree that "Computer" is a better fallback than "Main volume"?
Comment 8 Stefano Facchini 2013-07-24 09:23:00 UTC
Well I think it's ok since it's the same label used by GtkSideBar

Attachment 249695 [details] pushed as a8dd25f - Use better fallback name for main volume