[geary/wip/739130-focus] Possible fix for bug
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/739130-focus] Possible fix for bug
- Date: Tue, 28 Oct 2014 22:48:47 +0000 (UTC)
commit 150d32c6acc6f714acec13b9742b7c44b6a327ea
Author: Jim Nelson <jim yorba org>
Date: Tue Oct 28 15:48:27 2014 -0700
Possible fix for bug
src/client/notification/libmessagingmenu.vala | 2 +-
.../notification/new-messages-indicator.vala | 5 -----
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/client/notification/libmessagingmenu.vala b/src/client/notification/libmessagingmenu.vala
index 476a873..5d57cf2 100644
--- a/src/client/notification/libmessagingmenu.vala
+++ b/src/client/notification/libmessagingmenu.vala
@@ -45,7 +45,7 @@ public class Libmessagingmenu : NewMessagesIndicator {
private void on_activate_source(string source_id) {
foreach (Geary.Folder folder in monitor.get_folders()) {
if (source_id == get_source_id(folder)) {
- inbox_activated(folder, now());
+ inbox_activated(folder, Gdk.CURRENT_TIME);
break;
}
}
diff --git a/src/client/notification/new-messages-indicator.vala
b/src/client/notification/new-messages-indicator.vala
index fe1e049..b191805 100644
--- a/src/client/notification/new-messages-indicator.vala
+++ b/src/client/notification/new-messages-indicator.vala
@@ -38,10 +38,5 @@ public abstract class NewMessagesIndicator : Geary.BaseObject {
return indicator;
}
-
- // Returns time as a uint32 (suitable for signals if event doesn't supply it)
- protected uint32 now() {
- return (uint32) TimeVal().tv_sec;
- }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]