62990c3d7e
Implement new notification for auto sync according to requirements. The main changes are messages description and internationalized. 3 kinds of messages are defined and shown via notification server: 'is syncing', 'Sync complete' and 'Sync problem'. They are used in below scenarios: 1) sync is successfully started, show 'is syncing' 2) sync is ended, show 'Sync complete' or 'Sync problem' 3) sync has problem, once sync is not successfully started, and a fatal error occurs, show 'Sync Problem'. If not a fatal problem, don't show anything. To detect when sync is successfully started and done, SessionListener is defined to listen to these changes. This gives AutoSyncManager opportunities to send notifications once these statuses are changed. Two buttons 'Dismiss' and 'View' are added into all notifications to let users dismiss the notification or pop up sync-ui. They are implemented by optional 'actions' mechasim of notification. So if the notification server doesn't support actions, don't add them.
9 lines
241 B
Text
9 lines
241 B
Text
src/gtk-ui/main.c
|
|
src/gtk-ui/sync-ui.c
|
|
src/gtk-ui/sync-ui-config.c
|
|
src/gtk-ui/ui.glade
|
|
src/gtk-ui/sync.desktop.in
|
|
src/gtk-ui/sync-gtk.desktop.in
|
|
src/gtk-ui/sync-config-widget.c
|
|
src/gnome-bluetooth/syncevolution.c
|
|
src/syncevo-dbus-server.cpp
|