[nautilus/414-superfluous-slash-label-on-the-file-system-root] pathbar: Show no label for filesystem root
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/414-superfluous-slash-label-on-the-file-system-root] pathbar: Show no label for filesystem root
- Date: Thu, 10 May 2018 21:18:23 +0000 (UTC)
commit c2c286bba3c742921ea0ed59bf59f678c8c3d732
Author: António Fernandes <antoniojpfernandes gmail com>
Date: Thu May 10 21:17:23 2018 +0000
pathbar: Show no label for filesystem root
The "/" label is superfluous and previous versions didn't have it.
src/nautilus-pathbar.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 7f2dfcff7..5f6a9a43a 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -1925,14 +1925,13 @@ make_button_data (NautilusPathBar *self,
case ROOT_BUTTON:
{
child = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
- button_data->label = gtk_label_new (NULL);
+ button_data->label = NULL;
button_data->disclosure_arrow = gtk_image_new_from_icon_name ("pan-down-symbolic",
GTK_ICON_SIZE_MENU);
button_data->container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (button_data->container), button_data->button, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (child), button_data->image, FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (child), button_data->label, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (child), button_data->disclosure_arrow, FALSE, FALSE, 0);
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]