summaryrefslogtreecommitdiff
path: root/src/caja-navigation-window-pane.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-05-07 17:47:06 +0200
committerStefano Karapetsas <[email protected]>2012-05-07 17:47:06 +0200
commitc36dd05635062e69090670f4c125f5834e82eba4 (patch)
tree6c84cd59a2e32178bf69e4107e268a3e993d0aa1 /src/caja-navigation-window-pane.c
parent01100fab944b30226de97ac964171808b91ee9be (diff)
downloadcaja-c36dd05635062e69090670f4c125f5834e82eba4.tar.bz2
caja-c36dd05635062e69090670f4c125f5834e82eba4.tar.xz
fix issues in location bar
Diffstat (limited to 'src/caja-navigation-window-pane.c')
-rw-r--r--src/caja-navigation-window-pane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caja-navigation-window-pane.c b/src/caja-navigation-window-pane.c
index f70c1c78..e2e6541a 100644
--- a/src/caja-navigation-window-pane.c
+++ b/src/caja-navigation-window-pane.c
@@ -66,7 +66,7 @@ real_set_active (CajaWindowPane *pane, gboolean is_active)
caja_location_bar_set_active (CAJA_LOCATION_BAR (nav_pane->navigation_bar), is_active);
/* location button */
- gtk_widget_set_sensitive (gtk_bin_get_child (GTK_BIN (pane->location_button)), is_active);
+ gtk_widget_set_sensitive (gtk_bin_get_child (GTK_BIN (nav_pane->location_button)), is_active);
}
static gboolean
@@ -724,7 +724,7 @@ caja_navigation_window_pane_setup (CajaNavigationWindowPane *pane)
header_size_group = CAJA_NAVIGATION_WINDOW (CAJA_WINDOW_PANE (pane)->window)->details->header_size_group;
pane->location_button = location_button_create (pane);
- gtk_size_group_add_widget (pane->navigation_group, pane->location_button);
+ gtk_size_group_add_widget (header_size_group, pane->location_button);
gtk_box_pack_start (GTK_BOX (hbox), pane->location_button, FALSE, FALSE, 0);
gtk_widget_show (pane->location_button);