commit | d35d6490f4b9cfb5c6326463ba4856d10e016280 | [log] [tgz] |
---|---|---|
author | Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> | Mon Jun 26 16:40:09 2017 -0400 |
committer | Adrien BĂ©raud <adrien.beraud@savoirfairelinux.com> | Thu Jul 06 09:01:59 2017 -0400 |
tree | d0f1555df2614d2631714b68e8390f6aeb93d81c | |
parent | 6377f8a111f0d64b236535b51dee978cbb7a8f6a [diff] [blame] |
hide invite button when peer trust us. Change-Id: Ie656c6b96057d22d2a1da1d68425b93a1be8050a Tuleap: #1628
diff --git a/src/chatview.cpp b/src/chatview.cpp index 4ab82f0..3aab250 100644 --- a/src/chatview.cpp +++ b/src/chatview.cpp
@@ -525,6 +525,9 @@ } gtk_combo_box_set_active(GTK_COMBO_BOX(priv->combobox_cm), last_used_cm_idx); + + if (last_used_cm->isConfirmed()) + gtk_widget_hide(priv->button_send_invitation); } /* if there is only one CM, make the combo box insensitive */