aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 3ae0b014e..d7366cc97 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -436,9 +436,10 @@ _ephy_embed_set_statusbar_label (EphyEmbed *embed, const char *label)
if (parent == NULL)
return;
- if (label == NULL || label[0] == '\0')
+ if (label == NULL || label[0] == '\0') {
gtk_widget_hide (parent);
- else
+ gtk_widget_set_halign (gtk_widget_get_parent (parent), GTK_ALIGN_START);
+ } else
gtk_widget_show (parent);
}