diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-06-13 19:18:54 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-06-13 19:18:54 +0000 |
commit | 60113bedc9e37924f1b5dba235dcd4abf6f42d1a (patch) | |
tree | 4c6cde2eb8f056f4a0d30ce1c561bd94a79c172d /gtk/gtkpathbar.h | |
parent | 9962a15cbaf36b29c2a20a52faf731e913fe6715 (diff) | |
download | gtk+-60113bedc9e37924f1b5dba235dcd4abf6f42d1a.tar.gz |
Rework the way in which rerooting of the path bar is done, implementing
2005-06-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpathbar.[hc]: Rework the way in which rerooting of the
path bar is done, implementing the following principles:
(#137289, patch by Benjamin Otte)
1. Re-root only if $HOME is an ancestor of the current path.
2. When re-rooting, make sure the Left arrow appears in the path
bar, so that you can navigate up from $HOME to /. In that case,
make sure the Right arrow doesn't appear if the sub-hierarchy from
$HOME to the cwd fits in the window.
3. Make sure that hitting Alt-Up takes you always one folder up,
even when the path bar is re-rooted.
Diffstat (limited to 'gtk/gtkpathbar.h')
-rw-r--r-- | gtk/gtkpathbar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkpathbar.h b/gtk/gtkpathbar.h index 983fcf1900..3ef4ba5bbd 100644 --- a/gtk/gtkpathbar.h +++ b/gtk/gtkpathbar.h @@ -51,6 +51,7 @@ struct _GtkPathBar GList *button_list; GList *first_scrolled_button; + GList *fake_root; GtkWidget *up_slider_button; GtkWidget *down_slider_button; guint settings_signal_id; |