projects
/
conv-inbox
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
550052e
)
Refresh idle screen on events/conversations deleted
author
Artem Garmash
<artemgarmash@gmail.com>
Thu, 11 Feb 2010 17:14:49 +0000
(19:14 +0200)
committer
Artem Garmash
<artem.garmash@nokia.com>
Sun, 27 Jun 2010 19:13:47 +0000
(22:13 +0300)
src/el-home-applet.c
patch
|
blob
|
history
diff --git
a/src/el-home-applet.c
b/src/el-home-applet.c
index
2980851
..
1145b61
100644
(file)
--- a/
src/el-home-applet.c
+++ b/
src/el-home-applet.c
@@
-1503,6
+1503,28
@@
new_event_cb (RTComEl *backend,
add_new_idle (self);
}
add_new_idle (self);
}
+static void
+all_deleted_cb (RTComEl *backend,
+ const gchar *service,
+ ELHomeApplet *self)
+{
+ new_event_cb (backend,
+ 0,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ service,
+ self);
+}
+
+static void
+refresh_hint_cb (RTComEl *backend,
+ ELHomeApplet *self)
+{
+ add_new_idle (self);
+}
+
static gboolean
scroll_anim_cb (ELHomeApplet *self)
{
static gboolean
scroll_anim_cb (ELHomeApplet *self)
{
@@
-1826,6
+1848,18
@@
el_home_applet_init (ELHomeApplet *self)
"event-updated",
G_CALLBACK (new_event_cb),
self);
"event-updated",
G_CALLBACK (new_event_cb),
self);
+ g_signal_connect (priv->eventlogger,
+ "event-deleted",
+ G_CALLBACK (new_event_cb),
+ self);
+ g_signal_connect (priv->eventlogger,
+ "all-deleted",
+ G_CALLBACK (all_deleted_cb),
+ self);
+ g_signal_connect (priv->eventlogger,
+ "refresh-hint",
+ G_CALLBACK (refresh_hint_cb),
+ self);
osso_abook_init_with_name (PACKAGE, NULL);
osso_abook_init_with_name (PACKAGE, NULL);