diff options
author | Carlos Soriano <csoriano@gnome.org> | 2018-03-24 01:25:27 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2018-03-24 01:25:27 +0100 |
commit | 9d6f4ba8dd477c0ae074e2c922cd74890909c70e (patch) | |
tree | 6b814fd97af5ba4a36753e732875700762af9f15 | |
parent | 6369bc0e7e57d2c989adb52bfed782ddf66dd99e (diff) | |
download | nautilus-9d6f4ba8dd477c0ae074e2c922cd74890909c70e.tar.gz |
f
-rw-r--r-- | src/nautilus-action-bar.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nautilus-action-bar.c b/src/nautilus-action-bar.c index 0e6b0dd64..8f320d345 100644 --- a/src/nautilus-action-bar.c +++ b/src/nautilus-action-bar.c @@ -34,7 +34,6 @@ struct _NautilusActionBar GtkWidget *loading_label; GtkWidget *paste_button; GtkWidget *primary_label; - GtkWidget *secondary_label; GtkWidget *stack; NautilusView *view; @@ -276,7 +275,6 @@ setup_multiple_files_selection (NautilusActionBar *actionbar, } gtk_label_set_label (GTK_LABEL (actionbar->primary_label), primary_text ? primary_text : ""); - gtk_label_set_label (GTK_LABEL (actionbar->secondary_label), secondary_text ? secondary_text : ""); g_free (first_item_name); g_free (folder_count_str); @@ -323,8 +321,6 @@ setup_single_file_selection (NautilusActionBar *actionbar, * If there is no description available, we hide the second label so * the filename is vertically centralized against the icon. */ - gtk_widget_set_visible (actionbar->secondary_label, description != NULL); - gtk_label_set_label (GTK_LABEL (actionbar->secondary_label), description ? description : ""); g_clear_pointer (&description, g_free); g_clear_pointer (&file, nautilus_file_unref); @@ -353,7 +349,6 @@ real_update_status (gpointer data) if (number_of_files == 0) { gtk_label_set_label (GTK_LABEL (actionbar->primary_label), ""); - gtk_label_set_label (GTK_LABEL (actionbar->secondary_label), ""); } else if (number_of_files == 1) { @@ -488,7 +483,6 @@ nautilus_action_bar_class_init (NautilusActionBarClass *klass) gtk_widget_class_bind_template_child (widget_class, NautilusActionBar, loading_label); gtk_widget_class_bind_template_child (widget_class, NautilusActionBar, paste_button); gtk_widget_class_bind_template_child (widget_class, NautilusActionBar, primary_label); - gtk_widget_class_bind_template_child (widget_class, NautilusActionBar, secondary_label); gtk_widget_class_bind_template_child (widget_class, NautilusActionBar, stack); gtk_widget_class_bind_template_callback (widget_class, open_preview_cb); |