aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-statusbar.c
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/ephy-statusbar.c
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/ephy-statusbar.c')
-rwxr-xr-xsrc/ephy-statusbar.c16
1 files changed, 13 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);
+}