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 682552 - Improve the layout of the mount operations dialog
Improve the layout of the mount operations dialog
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-08-23 16:08 UTC by William Jon McCann
Modified: 2012-08-24 22:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Improve the layout of the mount operation dialog (11.14 KB, patch)
2012-08-23 16:08 UTC, William Jon McCann
reviewed Details | Review
Improve the layout of the mount operation dialog (11.15 KB, patch)
2012-08-24 17:53 UTC, William Jon McCann
committed Details | Review

Description William Jon McCann 2012-08-23 16:08:14 UTC
It would be nice to improve the layout of the mount operations dialog to:
 * Make primary labels bold in all cases
 * Lay out the widgets in a grid
 * Put space between the two radio groups to distinguish them
Comment 1 William Jon McCann 2012-08-23 16:08:39 UTC
Created attachment 222237 [details] [review]
Improve the layout of the mount operation dialog

This improves the layout of the mount operations dialog to:
 * Make primary labels bold in all cases
 * Lay out the widgets in a grid
 * Put space between the two radio groups to distinguish them
Comment 2 Cosimo Cecchi 2012-08-23 16:25:06 UTC
Review of attachment 222237 [details] [review]:

Generally, looks good to me; we're under UI freeze though (even if it doesn't strictly apply to GTK), so maybe we should request an UI freeze break for this.

::: gtk/gtkmountoperation.c
@@ +661,3 @@
+
+      label = gtk_label_new ("");
+      gtk_container_add (GTK_CONTAINER (remember_box), label);

Why is this needed?
Comment 3 William Jon McCann 2012-08-23 17:28:13 UTC
Review of attachment 222237 [details] [review]:

::: gtk/gtkmountoperation.c
@@ +661,3 @@
+
+      label = gtk_label_new ("");
+      gtk_container_add (GTK_CONTAINER (remember_box), label);

For a single row of space above the "remember" options. To separate them from the rest of the options.
Comment 4 William Jon McCann 2012-08-24 17:53:18 UTC
Created attachment 222354 [details] [review]
Improve the layout of the mount operation dialog

This improves the layout of the mount operations dialog to:
 * Make primary labels bold in all cases
 * Lay out the widgets in a grid
 * Put space between the two radio groups to distinguish them
Comment 5 Matthias Clasen 2012-08-24 21:51:41 UTC
Review of attachment 222354 [details] [review]:

Ok to commit with the fixup below. I don't think UI freeze really affects this, since we are using the shell mount op in gnome now.

::: gtk/gtkmountoperation.c
@@ +417,3 @@
+  for (l = priv->user_widgets; l != NULL; l = l->next)
+    {
+      gtk_widget_set_sensitive (GTK_WIDGET (l->data), priv->anonymous == FALSE);

Not your fault, but !priv->anonymous, please
Comment 6 Matthias Clasen 2012-08-24 21:52:58 UTC
Review of attachment 222354 [details] [review]:

Oh, please also send a quick note about the string changes to gnome-i18n
Comment 7 William Jon McCann 2012-08-24 22:13:25 UTC
Attachment 222354 [details] pushed as e296bff - Improve the layout of the mount operation dialog