[ease: 6/9] Use "Undefined" for undefined transitions.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease: 6/9] Use "Undefined" for undefined transitions.
- Date: Sun, 30 May 2010 23:28:32 +0000 (UTC)
commit a5599b619ee7a5cf6290d524c408ad0dbbd4eaee
Author: Nate Stedman <natesm gmail com>
Date: Sun May 30 17:20:54 2010 -0400
Use "Undefined" for undefined transitions.
src/Transitions.vala | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/Transitions.vala b/src/Transitions.vala
index 1a0434f..e989e5f 100644
--- a/src/Transitions.vala
+++ b/src/Transitions.vala
@@ -115,8 +115,10 @@ public static class Ease.Transitions : GLib.Object
return _("Swing Contents");
case TransitionType.SLIDE_CONTENTS:
return _("Slide Contents");
- default: // ZOOM_CONTENTS
+ case TransitionType.ZOOM_CONTENTS:
return _("Zoom Contents");
+ default:
+ return _("Undefined");
}
}
@@ -161,8 +163,10 @@ public static class Ease.Transitions : GLib.Object
return _("Right to Left");
case TransitionVariant.IN:
return _("In");
- default: // OUT
+ case TransitionVariant.OUT:
return _("Out");
+ default:
+ return _("Undefined");
}
}
@@ -307,7 +311,7 @@ public enum Ease.TransitionType
SPRING_CONTENTS,
SWING_CONTENTS,
SLIDE_CONTENTS,
- ZOOM_CONTENTS
+ ZOOM_CONTENTS,
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]