aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rwxr-xr-xsrc/ephy-statusbar.c16
-rw-r--r--src/ephy-statusbar.h3
3 files changed, 24 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ebdaa6fb3..a78e8ec93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2003-03-01 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-node-db.c: (ephy_node_db_load_from_file):
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