]> Pileus Git - ~andy/gtk/commit
Take a shortcut position, not a ShortcutsIndex, to make the function more
authorFederico Mena Quintero <federico@ximian.com>
Wed, 5 Oct 2005 05:05:42 +0000 (05:05 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Wed, 5 Oct 2005 05:05:42 +0000 (05:05 +0000)
commit1155f0b3e5384967a46777926bbbea210a15d238
tree5dc6084aa1acd703a2e854624927910cd50810b5
parent721bc7e7e46d4d232690b95eb72bb81858acca66
Take a shortcut position, not a ShortcutsIndex, to make the function more

2005-10-04  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (switch_to_shortcut): Take a
shortcut position, not a ShortcutsIndex, to make the function more
generic.
(home_folder_handler): Pass the resolved index to
switch_to_shortcut(), rather than just SHORTCUTS_HOME.
(desktop_folder_handler): Likewise for SHORTCUTS_DESKTOP.
(gtk_file_chooser_default_class_init): Add a "quick-bookmark"
binding signal, and bind it to Alt-1, Alt-2. ..., Alt-0.  These
make the respective key switch to the first, second, ..., tenth
bookmark.
(quick_bookmark_handler): Implement.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkfilechooserdefault.c