[geary] Typo, minor bug fix to AlertDialog



commit 4c5621e561c68f2e1a2b23c66649d236ef7c5d5f
Author: Jim Nelson <jim yorba org>
Date:   Tue Jan 13 13:55:06 2015 -0800

    Typo, minor bug fix to AlertDialog

 src/client/dialogs/alert-dialog.vala               |    2 +-
 .../imap-engine/imap-engine-replay-operation.vala  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/dialogs/alert-dialog.vala b/src/client/dialogs/alert-dialog.vala
index 1675d38..98abb33 100644
--- a/src/client/dialogs/alert-dialog.vala
+++ b/src/client/dialogs/alert-dialog.vala
@@ -35,7 +35,7 @@ class AlertDialog : Object {
     }
 
     public void set_focus_response(Gtk.ResponseType response) {
-        Gtk.Widget? to_focus = dialog.get_widget_for_response(Gtk.ResponseType.OK);
+        Gtk.Widget? to_focus = dialog.get_widget_for_response(response);
         if (to_focus != null)
             to_focus.grab_focus();
     }
diff --git a/src/engine/imap-engine/imap-engine-replay-operation.vala 
b/src/engine/imap-engine/imap-engine-replay-operation.vala
index 0dd62e2..5662521 100644
--- a/src/engine/imap-engine/imap-engine-replay-operation.vala
+++ b/src/engine/imap-engine/imap-engine-replay-operation.vala
@@ -59,7 +59,7 @@ private abstract class Geary.ImapEngine.ReplayOperation : Geary.BaseObject {
     public abstract void notify_remote_removed_position(Imap.SequenceNumber removed);
     
     /**
-     * Notify the operation that a message has been removed by position (SequenceNumber).
+     * Notify the operation that a message has been removed by UID (EmailIdentifier).
      *
      * This method is called only when the ReplayOperation is blocked waiting to execute and it's
      * discovered that the supplied email(s) are no longer on the server.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]