chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a cards image for 'random' icon
[disorder]
/
disobedience
/
login.c
diff --git
a/disobedience/login.c
b/disobedience/login.c
index 36850c11da60b9f201c59da9b0033c3bea1cdedc..a02c1c6e698188013c2a5e80051a5083ab8d92ed 100644
(file)
--- a/
disobedience/login.c
+++ b/
disobedience/login.c
@@
-230,6
+230,12
@@
static void login_cancel(GtkButton attribute((unused)) *button,
gtk_widget_destroy(login_window);
}
gtk_widget_destroy(login_window);
}
+/** @brief User pressed cancel in the login window */
+static void login_help(GtkButton attribute((unused)) *button,
+ gpointer attribute((unused)) userdata) {
+ popup_help("intro.html#login");
+}
+
/** @brief Keypress handler */
static gboolean login_keypress(GtkWidget attribute((unused)) *widget,
GdkEventKey *event,
/** @brief Keypress handler */
static gboolean login_keypress(GtkWidget attribute((unused)) *widget,
GdkEventKey *event,
@@
-251,16
+257,25
@@
static gboolean login_keypress(GtkWidget attribute((unused)) *widget,
/* Buttons that appear at the bottom of the window */
static struct button buttons[] = {
{
/* Buttons that appear at the bottom of the window */
static struct button buttons[] = {
{
- "Login",
- login_ok,
- "(Re-)connect using these settings",
- 0
+ GTK_STOCK_HELP,
+ login_help,
+ "Go to manual",
+ 0,
+ gtk_box_pack_start,
},
{
GTK_STOCK_CLOSE,
login_cancel,
"Discard changes and close window",
},
{
GTK_STOCK_CLOSE,
login_cancel,
"Discard changes and close window",
- 0
+ 0,
+ gtk_box_pack_end,
+ },
+ {
+ "Login",
+ login_ok,
+ "(Re-)connect using these settings",
+ 0,
+ gtk_box_pack_end,
},
};
},
};