diff -u smuxi-0.8/debian/control smuxi-0.8/debian/control --- smuxi-0.8/debian/control +++ smuxi-0.8/debian/control @@ -1,7 +1,8 @@ Source: smuxi Section: gnome Priority: optional -Maintainer: Mirco Bauer +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Mirco Bauer Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7~) Build-Depends-Indep: cli-common-dev (>= 0.5.7), mono-devel (>= 2.6), diff -u smuxi-0.8/debian/changelog smuxi-0.8/debian/changelog --- smuxi-0.8/debian/changelog +++ smuxi-0.8/debian/changelog @@ -1,10 +1,20 @@ +smuxi (0.8-3ubuntu1) natty; urgency=low + + * Fixes TwitterStatus.cs (closes: 787645) + + -- Mike Basinger Tue, 24 May 2011 11:04:00 -0600 + smuxi (0.8-3) unstable; urgency=medium + [ Mirco Bauer ] * [a518eb9] Refreshed quilt patches * [d4d8e0b] Fixed crash when disposing desktop notifications. (closes: #616984) - -- Mirco Bauer Sun, 20 Mar 2011 16:41:20 +0100 + [ Mike Basinger ] + * - + + -- Mike Basinger Tue, 24 May 2011 11:03:57 -0600 smuxi (0.8-2) unstable; urgency=low only in patch2: unchanged: --- smuxi-0.8.orig/lib/Twitterizer/Twitterizer2/Methods/Tweets/TwitterStatus.cs +++ smuxi-0.8/lib/Twitterizer/Twitterizer2/Methods/Tweets/TwitterStatus.cs @@ -1,4 +1,4 @@ -//----------------------------------------------------------------------- +//----------------------------------------------------------------------- // // This file is part of the Twitterizer library (http://www.twitterizer.net/) // @@ -158,11 +158,49 @@ public Entities.TwitterEntityCollection Entities { get; set; } /// - /// Gets or sets the retweet count. + /// Gets or sets the retweet count string. /// /// The retweet count. [JsonProperty(PropertyName = "retweet_count")] - public int? RetweetCount { get; set; } + public string RetweetCountString { get; set; } + + /// + /// Gets the retweet count. + /// + /// The retweet count. + public int? RetweetCount + { + get + { + if (string.IsNullOrEmpty(this.RetweetCountString)) return null; + + int parsedResult = 0; + + if ( + this.RetweetCountString.EndsWith("+") && + !int.TryParse(this.RetweetCountString.Substring(0, this.RetweetCountString.Length - 1), out parsedResult) + ) + { + return null; + } + + return parsedResult; + } + } + + /// + /// Gets a value indicating that the number of retweets exceeds the reported value in RetweetCount. For example, "more than 100" + /// + /// The retweet count plus indicator. + public bool? RetweetCountPlus + { + get + { + if (string.IsNullOrEmpty(this.RetweetCountString)) return null; + + return this.RetweetCountString.EndsWith("+"); + } + } /// /// Gets or sets a value indicating whether this is retweeted.