diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/ephy-statusbar.c | 16 | ||||
-rw-r--r-- | src/ephy-statusbar.h | 3 |
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 |