aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-03-01 23:53:44 +0800
committerChristian Persch <chpe@src.gnome.org>2004-03-01 23:53:44 +0800
commitcece4687ac9fed887e0775c2914df1ddfc571fcf (patch)
tree1e659c74c83f4685bcf04efce988c0347006ebdc /src
parentc188dd53cc7ee893f271384bb3928fe9c45f97a5 (diff)
downloadgsoc2013-epiphany-cece4687ac9fed887e0775c2914df1ddfc571fcf.tar
gsoc2013-epiphany-cece4687ac9fed887e0775c2914df1ddfc571fcf.tar.gz
gsoc2013-epiphany-cece4687ac9fed887e0775c2914df1ddfc571fcf.tar.bz2
gsoc2013-epiphany-cece4687ac9fed887e0775c2914df1ddfc571fcf.tar.lz
gsoc2013-epiphany-cece4687ac9fed887e0775c2914df1ddfc571fcf.tar.xz
gsoc2013-epiphany-cece4687ac9fed887e0775c2914df1ddfc571fcf.tar.zst
gsoc2013-epiphany-cece4687ac9fed887e0775c2914df1ddfc571fcf.zip
Export ephy_statusbar_add_widget() for use by extensions.
2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (create_statusbar_security_icon), (ephy_statusbar_add_widget): * src/ephy-statusbar.h: Export ephy_statusbar_add_widget() for use by extensions.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ephy-statusbar.c16
-rw-r--r--src/ephy-statusbar.h3
2 files changed, 16 insertions, 3 deletions
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c
index 016ac5044..310244f80 100755
--- a/src/ephy-statusbar.c
+++ b/src/ephy-statusbar.c
@@ -111,9 +111,9 @@ create_statusbar_security_icon (EphyStatusbar *s)
gtk_widget_show_all (s->security_frame);
- gtk_box_pack_start (GTK_BOX (s),
- GTK_WIDGET (s->security_frame),
- FALSE, TRUE, 0);
+ gtk_box_pack_end (GTK_BOX (s),
+ GTK_WIDGET (s->security_frame),
+ FALSE, TRUE, 0);
}
static void
@@ -190,3 +190,13 @@ ephy_statusbar_set_progress (EphyStatusbar *t,
fraction);
}
}
+
+void
+ephy_statusbar_add_widget (EphyStatusbar *statusbar,
+ GtkWidget *widget)
+{
+ g_return_if_fail (EPHY_IS_STATUSBAR (statusbar));
+ g_return_if_fail (GTK_IS_WIDGET (widget));
+
+ gtk_box_pack_start (GTK_BOX (statusbar), widget, FALSE, FALSE, 0);
+}
diff --git a/src/ephy-statusbar.h b/src/ephy-statusbar.h
index de382fd05..34ad88ef5 100644
--- a/src/ephy-statusbar.h
+++ b/src/ephy-statusbar.h
@@ -65,6 +65,9 @@ void ephy_statusbar_set_security_state (EphyStatusbar *statusbar,
void ephy_statusbar_set_progress (EphyStatusbar *statusbar,
int progress);
+void ephy_statusbar_add_widget (EphyStatusbar *statusbar,
+ GtkWidget *widget);
+
G_END_DECLS
#endif