[libgames-support] scores: rename Dialog.scores_latest_score -> Dialog.latest_score
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgames-support] scores: rename Dialog.scores_latest_score -> Dialog.latest_score
- Date: Sun, 22 Feb 2015 18:23:47 +0000 (UTC)
commit 6c6cb02a104e387b5c61e673bad762a93c597d78
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Feb 22 12:07:50 2015 -0600
scores: rename Dialog.scores_latest_score -> Dialog.latest_score
scores/dialog.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/scores/dialog.vala b/scores/dialog.vala
index 1e5a66a..d890201 100644
--- a/scores/dialog.vala
+++ b/scores/dialog.vala
@@ -33,7 +33,7 @@ private class Dialog : Gtk.Dialog
private Gtk.Grid grid;
private Style scores_style;
- private Score? scores_latest_score;
+ private Score? latest_score;
private Category? scores_active_category;
public Dialog (Context context, string dialog_label, Style style, Score? latest_score, Category?
current_cat, Gtk.Window window)
@@ -44,7 +44,7 @@ private class Dialog : Gtk.Dialog
this.context = context;
this.transient_for = window;
- scores_latest_score = latest_score;
+ this.latest_score = latest_score;
scores_style = style;
scores_active_category = current_cat;
@@ -246,8 +246,8 @@ private class Dialog : Gtk.Dialog
score.set_text (x.score.to_string ());
if (context.high_score_added
- && scores_latest_score != null
- && Score.equals (x, scores_latest_score))
+ && latest_score != null
+ && Score.equals (x, latest_score))
{
if (no_scores > 1 && row_count == 1)
headerbar.subtitle = _("Your score is the best!");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]