aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r--src/indicator-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index f0232c6..9a5385e 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -210,9 +210,9 @@ switch_property_change (DbusmenuMenuitem * item, const gchar * property, const G
GtkLabel * label = GTK_LABEL(gtk_bin_get_child(GTK_BIN(gmi)));
if (label != NULL) {
if (set_ellipsize) {
- gtk_label_set_ellipsize(label, PANGO_ELLIPSIZE_NONE);
- } else {
gtk_label_set_ellipsize(label, PANGO_ELLIPSIZE_END);
+ } else {
+ gtk_label_set_ellipsize(label, PANGO_ELLIPSIZE_NONE);
}
}