diff options
author | Xan Lopez <xan@igalia.com> | 2012-02-29 00:39:45 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-03-07 04:49:44 +0800 |
commit | 8ad6302a3f9e1a867f3dd61605196d22e9bd2f86 (patch) | |
tree | 0e5167f79659daa565fe455ae3c0a80f95e057ae /src/ephy-completion-model.h | |
parent | 306fb5a64f9b347fde9cf99ee7a594f04e9d7601 (diff) | |
download | gsoc2013-epiphany-8ad6302a3f9e1a867f3dd61605196d22e9bd2f86.tar gsoc2013-epiphany-8ad6302a3f9e1a867f3dd61605196d22e9bd2f86.tar.gz gsoc2013-epiphany-8ad6302a3f9e1a867f3dd61605196d22e9bd2f86.tar.bz2 gsoc2013-epiphany-8ad6302a3f9e1a867f3dd61605196d22e9bd2f86.tar.lz gsoc2013-epiphany-8ad6302a3f9e1a867f3dd61605196d22e9bd2f86.tar.xz gsoc2013-epiphany-8ad6302a3f9e1a867f3dd61605196d22e9bd2f86.tar.zst gsoc2013-epiphany-8ad6302a3f9e1a867f3dd61605196d22e9bd2f86.zip |
Hook the new history to the URL entry
We now fetch the history from the SQL backend using a service thread,
and merge the results with our old bookmark data.
Diffstat (limited to 'src/ephy-completion-model.h')
-rw-r--r-- | src/ephy-completion-model.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/ephy-completion-model.h b/src/ephy-completion-model.h index 62cae95c6..f02f81242 100644 --- a/src/ephy-completion-model.h +++ b/src/ephy-completion-model.h @@ -1,5 +1,5 @@ /* - * Copyright © 2003 Marco Pesenti Gritti <marco@gnome.org> + * Copyright © 2012 Igalia S.L. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,6 +24,8 @@ #ifndef EPHY_COMPLETION_MODEL_H #define EPHY_COMPLETION_MODEL_H +#include "ephy-history-service.h" + #include <gtk/gtk.h> G_BEGIN_DECLS @@ -51,7 +53,7 @@ typedef enum typedef struct { - GObject parent; + GtkListStore parent; /*< private >*/ EphyCompletionModelPrivate *priv; @@ -59,13 +61,17 @@ typedef struct typedef struct { - GObjectClass parent; + GtkListStoreClass parent; } EphyCompletionModelClass; -GType ephy_completion_model_get_type (void); +GType ephy_completion_model_get_type (void); -EphyCompletionModel *ephy_completion_model_new (void); +EphyCompletionModel *ephy_completion_model_new (void); +void ephy_completion_model_update_for_string (EphyCompletionModel *model, + const char *string, + EphyHistoryJobCallback callback, + gpointer data); G_END_DECLS #endif /* EPHY_COMPLETION_MODEL_H */ |