summaryrefslogtreecommitdiff
path: root/gtk/gtk_scaffolding.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtk_scaffolding.c')
-rw-r--r--gtk/gtk_scaffolding.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtk_scaffolding.c b/gtk/gtk_scaffolding.c
index 8e687184c..a2c46ef17 100644
--- a/gtk/gtk_scaffolding.c
+++ b/gtk/gtk_scaffolding.c
@@ -1064,6 +1064,12 @@ MENUHANDLER(local_history)
{
struct gtk_scaffolding *gw = (struct gtk_scaffolding *)g;
+ /* if entries of the same url but different frag_ids have been added
+ * the history needs redrawing (what is done in the throbber code in
+ * other cases)
+ */
+ nsgtk_window_update_back_forward(gw);
+
gtk_widget_show(GTK_WIDGET(gw->history_window->window));
gdk_window_raise(GTK_WIDGET(gw->history_window->window)->window);
@@ -1149,6 +1155,7 @@ gboolean nsgtk_history_button_press_event(GtkWidget *widget,
history_click(bw, bw->history,
event->x, event->y, false);
+ nsgtk_window_update_back_forward(bw->window->scaffold);
return TRUE;
}