diff options
author | Not Zed <NotZed@Ximian.com> | 2005-03-18 13:26:52 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-03-18 13:26:52 +0800 |
commit | d2033ff62526b5aab9fc3d369a45816127856899 (patch) | |
tree | 49e2c2dfeaeba1109b62b19fbc17e6f544403367 | |
parent | 44216ee03c710333c62dcce0d65ff57b2717d888 (diff) | |
download | gsoc2013-evolution-d2033ff62526b5aab9fc3d369a45816127856899.tar.gz gsoc2013-evolution-d2033ff62526b5aab9fc3d369a45816127856899.tar.zst gsoc2013-evolution-d2033ff62526b5aab9fc3d369a45816127856899.zip |
fix the qualifier bit assignments for the STATE target.
2005-03-17 Not Zed <NotZed@Ximian.com>
* es-event.h: fix the qualifier bit assignments for the STATE target.
* e-shell.c (offline_procedure_finished_cb): fix offline state event.
svn path=/trunk/; revision=29057
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/e-shell.c | 2 | ||||
-rw-r--r-- | shell/es-event.h | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 7fcca9c5fc..02ee25ddb1 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2005-03-17 Not Zed <NotZed@Ximian.com> + + * es-event.h: fix the qualifier bit assignments for the STATE target. + + * e-shell.c (offline_procedure_finished_cb): fix offline state event. + 2005-02-28 JP Rosevear <jpr@novell.com> * e-shell-window-commands.c (command_submit_bug): update authors diff --git a/shell/e-shell.c b/shell/e-shell.c index d61ba3b8ed..f779e6d603 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1095,7 +1095,7 @@ offline_procedure_finished_cb (EShellOfflineHandler *offline_handler, * Only the online and offline states are emitted. */ ese = es_event_peek(); - e_event_emit((EEvent *)ese, "state.changed", (EEventTarget *)es_event_target_new_state(ese, TRUE)); + e_event_emit((EEvent *)ese, "state.changed", (EEventTarget *)es_event_target_new_state(ese, !now_offline)); } /** diff --git a/shell/es-event.h b/shell/es-event.h index db18dbce2d..e857b97c1a 100644 --- a/shell/es-event.h +++ b/shell/es-event.h @@ -43,8 +43,8 @@ enum _es_event_target_t { /* Flags that qualify TARGET_STATE */ enum { - ES_EVENT_STATE_ONLINE = 1<< 0, - ES_EVENT_STATE_OFFLINE = 1<< 0, + ES_EVENT_STATE_ONLINE = 1<<0, + ES_EVENT_STATE_OFFLINE = 1<<1, }; typedef struct _ESEventTargetState ESEventTargetState; |