aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.h
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-04-16 08:51:52 +0800
committerXan Lopez <xlopez@igalia.com>2011-04-16 08:51:52 +0800
commitd6ace50802104ef38d2272a6be4767de99923060 (patch)
tree306f10686ad2f7a534f51a5978a09304f63b38b2 /embed/ephy-embed.h
parent6a3082a962422d0d15b25914eaa3cbb17443d7ef (diff)
downloadgsoc2013-epiphany-d6ace50802104ef38d2272a6be4767de99923060.tar
gsoc2013-epiphany-d6ace50802104ef38d2272a6be4767de99923060.tar.gz
gsoc2013-epiphany-d6ace50802104ef38d2272a6be4767de99923060.tar.bz2
gsoc2013-epiphany-d6ace50802104ef38d2272a6be4767de99923060.tar.lz
gsoc2013-epiphany-d6ace50802104ef38d2272a6be4767de99923060.tar.xz
gsoc2013-epiphany-d6ace50802104ef38d2272a6be4767de99923060.tar.zst
gsoc2013-epiphany-d6ace50802104ef38d2272a6be4767de99923060.zip
Move overlay statusbar to EphyEmbed
It's where it belongs, and it will make things easier for the following patches in this area.
Diffstat (limited to 'embed/ephy-embed.h')
-rw-r--r--embed/ephy-embed.h27
1 files changed, 21 insertions, 6 deletions
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h
index c9fc1a4c8..b30b85fba 100644
--- a/embed/ephy-embed.h
+++ b/embed/ephy-embed.h
@@ -40,6 +40,9 @@ typedef struct _EphyEmbedClass EphyEmbedClass;
typedef struct _EphyEmbed EphyEmbed;
typedef struct _EphyEmbedPrivate EphyEmbedPrivate;
+#define EPHY_EMBED_STATUSBAR_TAB_MESSAGE_CONTEXT_DESCRIPTION "tab_message"
+#define EPHY_EMBED_STATUSBAR_HELP_MESSAGE_CONTEXT_DESCRIPTION "help_message"
+
struct _EphyEmbed {
GtkVBox parent_instance;
@@ -51,12 +54,24 @@ struct _EphyEmbedClass {
GtkVBoxClass parent_class;
};
-GType ephy_embed_get_type (void);
-EphyWebView* ephy_embed_get_web_view (EphyEmbed *embed);
-void ephy_embed_add_top_widget (EphyEmbed *embed, GtkWidget *widget, gboolean destroy_on_transition);
-void ephy_embed_remove_top_widget (EphyEmbed *embed, GtkWidget *widget);
-void ephy_embed_auto_download_url (EphyEmbed *embed, const char *url);
-void _ephy_embed_set_statusbar_label (EphyEmbed *embed, const char *label);
+GType ephy_embed_get_type (void);
+EphyWebView* ephy_embed_get_web_view (EphyEmbed *embed);
+void ephy_embed_add_top_widget (EphyEmbed *embed,
+ GtkWidget *widget,
+ gboolean destroy_on_transition);
+void ephy_embed_remove_top_widget (EphyEmbed *embed,
+ GtkWidget *widget);
+void ephy_embed_auto_download_url (EphyEmbed *embed,
+ const char *url);
+void _ephy_embed_set_statusbar_label (EphyEmbed *embed,
+ const char *label);
+void ephy_embed_statusbar_pop (EphyEmbed *embed,
+ guint context_id);
+guint ephy_embed_statusbar_push (EphyEmbed *embed,
+ guint context_id,
+ const char *text);
+guint ephy_embed_statusbar_get_context_id (EphyEmbed *embed,
+ const char *context_description);
G_END_DECLS