summaryrefslogtreecommitdiff
path: root/thunar/thunar-location-button.c
diff options
context:
space:
mode:
authorJonas Kümmerlin <rgcjonas@gmail.com>2015-08-24 19:06:54 +0200
committerAndre Miranda <andreldm@xfce.org>2017-08-14 21:06:48 -0300
commitfc53ebd55aac4e080a3a948f84847b9cb0d5201d (patch)
tree58982a7287c0c23ee9172b0f0e2c27852fee9e66 /thunar/thunar-location-button.c
parent32915a3b776d00427994382a15e2775ebb25a073 (diff)
downloadthunar-fc53ebd55aac4e080a3a948f84847b9cb0d5201d.tar.gz
Rework how location bar selection works
ThunarLocationBar now isn't an interface, but an actual widget hosting the different location bars. Unfortunately, there is still some code left in ThunarWindow, but this is expected to go away when GtkAction finally dies. On the plus side, we got rid of GtkUIManager inside the location bars and also nuked ThunarLocationDialog from orbit.
Diffstat (limited to 'thunar/thunar-location-button.c')
-rw-r--r--thunar/thunar-location-button.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/thunar/thunar-location-button.c b/thunar/thunar-location-button.c
index 3aef4350..0116adca 100644
--- a/thunar/thunar-location-button.c
+++ b/thunar/thunar-location-button.c
@@ -465,7 +465,6 @@ thunar_location_button_file_destroy (ThunarLocationButton *location_button,
static void
thunar_location_button_apply_label_size (ThunarLocationButton *location_button)
{
-#if 0
GtkRequisition normal_size;
GtkRequisition bold_size;
gint width, height;
@@ -504,7 +503,6 @@ thunar_location_button_apply_label_size (ThunarLocationButton *location_button)
gtk_widget_set_size_request (GTK_WIDGET (location_button->label), width, height);
gtk_widget_set_tooltip_text (location_button->label, NULL);
}
-#endif
}