From 1fa2f70a8b8cf62e7324572942aa55a6f2bd039c Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Sun, 28 Jan 2007 13:36:57 +0000 Subject: [PATCH] Don't crash on links without title svn path=/trunk/; revision=2260 --- shell/ev-navigation-action.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c index 88fe67b6..dc98ce75 100644 --- a/shell/ev-navigation-action.c +++ b/shell/ev-navigation-action.c @@ -93,6 +93,10 @@ new_history_menu_item (EvNavigationAction *action, const char *title; title = ev_link_get_title (link); + + if (!title) + title = _("External link"); + item = gtk_image_menu_item_new_with_label (title); g_object_set_data (G_OBJECT (item), "index", GINT_TO_POINTER (index)); -- 2.43.5