select the current URI in the index. Pointed out by Roman Joost.
2008-07-08 Sven Neumann <sven@gimp.org> * plug-ins/help-browser/dialog.c (load_finished): select the current URI in the index. Pointed out by Roman Joost. svn path=/trunk/; revision=26086
This commit is contained in:

committed by
Sven Neumann

parent
11a5d20892
commit
a528f82405
@ -1,3 +1,8 @@
|
||||
2008-07-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/help-browser/dialog.c (load_finished): select the
|
||||
current URI in the index. Pointed out by Roman Joost.
|
||||
|
||||
2008-07-07 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimphelp.c (gimp_help_query_user_manual_online):
|
||||
|
@ -500,11 +500,12 @@ static void
|
||||
select_index (const gchar *uri)
|
||||
{
|
||||
GtkTreeSelection *selection;
|
||||
GtkTreeIter *iter;
|
||||
GtkTreeIter *iter = NULL;
|
||||
|
||||
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view));
|
||||
|
||||
iter = g_hash_table_lookup (uri_hash_table, uri);
|
||||
if (uri)
|
||||
iter = g_hash_table_lookup (uri_hash_table, uri);
|
||||
|
||||
if (iter)
|
||||
{
|
||||
@ -1041,4 +1042,6 @@ load_finished (GtkWidget *view,
|
||||
gtk_action_set_sensitive (action, FALSE);
|
||||
|
||||
update_actions ();
|
||||
|
||||
select_index (webkit_web_frame_get_uri (frame));
|
||||
}
|
||||
|
Reference in New Issue
Block a user