aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-11 20:45:09 -0600
committerTed Gould <ted@gould.cx>2010-02-11 20:45:09 -0600
commit93c4617240197202846fd9305f2154f885d17224 (patch)
tree312f61c62e4cfb2cc78ae72fc7fe9b7d506b61cd
parent78fa67257e72eb43d2a4f4d82d51f881af8ad91c (diff)
downloadayatana-indicator-session-93c4617240197202846fd9305f2154f885d17224.tar.gz
ayatana-indicator-session-93c4617240197202846fd9305f2154f885d17224.tar.bz2
ayatana-indicator-session-93c4617240197202846fd9305f2154f885d17224.zip
Fixing a value
-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);
}
}