~ubuntu-branches/ubuntu/saucy/epiphany-browser/saucy

« back to all changes in this revision

Viewing changes to src/ephy-navigation-history-action.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-10-02 20:30:38 UTC
  • mfrom: (1.6.14)
  • Revision ID: package-import@ubuntu.com-20121002203038-ijw6x1x3vgv6tyi5
Tags: 3.6.0-0ubuntu1
* New upstream release (LP: #1033909)
  - New overview with most visited sites as start page (LP: #343397)
* Rename gir1.2-epiphany-3.4 -> gir1.2-epiphany-3.6
* debian/control.in:
  - Bump minimum webkit and libsoup
  - Drop build-depends on gnome-doc-utils and seed
  - Build-depend on gcr and gnome-desktop3
* debian/rules:
  - Copy Debian fix to rename epiphany.desktop to
    epiphany-browser.desktop so that the shell recognizes it.
* debian/patches/00_epiphany-browser.patch: Refreshed
* debian/patches/14_pkglibdir.patch:
  - Dropped, applied in new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "ephy-gui.h"
34
34
#include "ephy-history-service.h"
35
35
#include "ephy-link.h"
 
36
#include "ephy-overview.h"
36
37
#include "ephy-shell.h"
37
38
#include "ephy-type-builtins.h"
38
39
#include "ephy-window.h"
39
40
 
 
41
#include <glib/gi18n.h>
40
42
#include <gtk/gtk.h>
41
43
#ifdef HAVE_WEBKIT2
42
44
#include <webkit2/webkit2.h>
540
542
 
541
543
    title = g_strdup (webkit_web_history_item_get_title (hitem));
542
544
#endif
 
545
    /* The overview is not actually a webpage, so we need to hardcode
 
546
     * this here. */
 
547
    if (g_strcmp0 (uri, "ephy-about:overview") == 0)
 
548
      title = g_strdup (EPHY_OVERVIEW_TITLE);
543
549
 
544
550
    if (title == NULL || g_strstrip (title)[0] == '\0')
545
551
      item = new_history_menu_item (EPHY_WEB_VIEW (web_view), uri, uri);