summaryrefslogtreecommitdiff
authordeller <deller>2005-04-03 17:03:30 (UTC)
committer deller <deller>2005-04-03 17:03:30 (UTC)
commit5929a5467aacf1b95a570bdb560d03b28d9ae679 (patch) (side-by-side diff)
treeb06e2fc2dfae46812d70c9917376a3fa25df4c39
parenta5020219d43b9dd788cc090ae565c28f27dd6a58 (diff)
downloadopie-5929a5467aacf1b95a570bdb560d03b28d9ae679.zip
opie-5929a5467aacf1b95a570bdb560d03b28d9ae679.tar.gz
opie-5929a5467aacf1b95a570bdb560d03b28d9ae679.tar.bz2
- fix bug #1535 (Missing line break and unnecessary location shown with Today-Calendar plugin)
- document bugs 1535 and my last commits in the Changelog
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ChangeLog2
-rw-r--r--core/pim/today/plugins/datebook/datebookevent.cpp8
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 967e68a..b917c4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,2 +5,4 @@
* n.a. - scale O-Menu-Applets appropriately (mickeyl)
+ * #1535 - Missing line break and unnecessary location shown with Today-Calendar plugin (deller)
+ * n.a. - always show volume and wireless applet popups inside visible screen (deller)
diff --git a/core/pim/today/plugins/datebook/datebookevent.cpp b/core/pim/today/plugins/datebook/datebookevent.cpp
index f5b0d0a..a540327 100644
--- a/core/pim/today/plugins/datebook/datebookevent.cpp
+++ b/core/pim/today/plugins/datebook/datebookevent.cpp
@@ -52,4 +52,5 @@ DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
// include location or not
- if ( show_location ) {
- msg += "<BR><i>" + (ev).location() + "</i>";
+ if ( show_location && !(ev).location().isEmpty() ) {
+ if ( (ev).location() != tr("(Unknown)") )
+ msg += "<BR><i>" + (ev).location() + "</i>";
}
@@ -61,2 +62,4 @@ DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
+ msg += timeSpacer;
+
if ( ( TimeString::timeString( QTime( (ev).event().start().time() ) ) == "00:00" )
@@ -67,3 +70,2 @@ DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
// QDate tempDate = (ev).event().start().date();
- msg += timeSpacer;
msg += ampmTime( QTime( (ev).event().start().time() ) )