-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete minimal flow for successful verification of channel
- Loading branch information
Yakira Dixon
committed
Apr 18, 2017
1 parent
cb0692d
commit b5f26a4
Showing
23 changed files
with
350 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<interface> | ||
<object class="GtkInfoBar" id="error_verifying_smp"> | ||
<property name="message-type">GTK_MESSAGE_WARNING</property> | ||
<child internal-child="content_area"> | ||
<object class="GtkBox" id="box"> | ||
<property name="homogeneous">false</property> | ||
<child> | ||
<object class="GtkLabel" id="message"> | ||
<property name="wrap">true</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child internal-child="action_area"> | ||
<object class="GtkBox" id="button_box"> | ||
<child> | ||
<object class="GtkButton" id="try_later_button"> | ||
<property name="label" translatable="yes">Sorry</property> | ||
<property name="can-default">true</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<interface> | ||
<object class="GtkInfoBar" id="peer_requests_smp"> | ||
<property name="message-type">GTK_MESSAGE_WARNING</property> | ||
<child internal-child="content_area"> | ||
<object class="GtkBox" id="box"> | ||
<property name="homogeneous">false</property> | ||
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property> | ||
<child> | ||
<object class="GtkLabel" id="message"> | ||
<property name="wrap">true</property> | ||
</object> | ||
</child> | ||
</object> | ||
<object class="GtkButtonBox" id="button_box"> | ||
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property> | ||
<child> | ||
<object class="GtkButton" id="verification_button"> | ||
<property name="label" translatable="yes">Finish verification</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package definitions | ||
|
||
func init() { | ||
add(`CannotVerifyWithSMP`, &defCannotVerifyWithSMP{}) | ||
} | ||
|
||
type defCannotVerifyWithSMP struct{} | ||
|
||
func (*defCannotVerifyWithSMP) String() string { | ||
return `<interface> | ||
<object class="GtkInfoBar" id="error_verifying_smp"> | ||
<property name="message-type">GTK_MESSAGE_WARNING</property> | ||
<child internal-child="content_area"> | ||
<object class="GtkBox" id="box"> | ||
<property name="homogeneous">false</property> | ||
<child> | ||
<object class="GtkLabel" id="message"> | ||
<property name="wrap">true</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child internal-child="action_area"> | ||
<object class="GtkBox" id="button_box"> | ||
<child> | ||
<object class="GtkButton" id="try_later_button"> | ||
<property name="label" translatable="yes">Sorry</property> | ||
<property name="can-default">true</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> | ||
` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package definitions | ||
|
||
func init() { | ||
add(`PeerRequestsSMP`, &defPeerRequestsSMP{}) | ||
} | ||
|
||
type defPeerRequestsSMP struct{} | ||
|
||
func (*defPeerRequestsSMP) String() string { | ||
return `<interface> | ||
<object class="GtkInfoBar" id="peer_requests_smp"> | ||
<property name="message-type">GTK_MESSAGE_WARNING</property> | ||
<child internal-child="content_area"> | ||
<object class="GtkBox" id="box"> | ||
<property name="homogeneous">false</property> | ||
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property> | ||
<child> | ||
<object class="GtkLabel" id="message"> | ||
<property name="wrap">true</property> | ||
</object> | ||
</child> | ||
</object> | ||
<object class="GtkButtonBox" id="button_box"> | ||
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property> | ||
<child> | ||
<object class="GtkButton" id="verification_button"> | ||
<property name="label" translatable="yes">Finish verification</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface>` | ||
} |
6 changes: 3 additions & 3 deletions
6
gui/definitions/secure_channel_created.go → gui/definitions/secure_channel_verified.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.