Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Evangelos Ribeiro Tzaras
chatty
Commits
d5602126
Commit
d5602126
authored
Aug 12, 2020
by
Mohammed Sadiq
Browse files
user-info-dialog: Use chatty-chat API to set notifications
parent
86cc25fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/chatty-user-info-dialog.c
View file @
d5602126
...
...
@@ -109,10 +109,7 @@ switch_notify_changed_cb (ChattyUserInfoDialog *self)
g_assert
(
CHATTY_IS_USER_INFO_DIALOG
(
self
));
active
=
gtk_switch_get_active
(
GTK_SWITCH
(
self
->
switch_notify
));
purple_blist_node_set_bool
(
PURPLE_BLIST_NODE
(
self
->
buddy
),
"chatty-notifications"
,
active
);
chatty_chat_set_show_notifications
(
self
->
chat
,
active
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment