X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e9e8a16d359c900f114853eb0e407a8064e4350c..159f3470a01211557dcd39f5701dcaf0f43f6683:/disobedience/login.c diff --git a/disobedience/login.c b/disobedience/login.c index edefe29..18afce4 100644 --- a/disobedience/login.c +++ b/disobedience/login.c @@ -170,16 +170,18 @@ static void login_cancel(GtkButton attribute((unused)) *button, } /* Buttons that appear at the bottom of the window */ -static const struct button buttons[] = { +static struct button buttons[] = { { "Login", login_ok, "(Re-)connect using these settings", + 0 }, { GTK_STOCK_CLOSE, login_cancel, - "Discard changes and close window" + "Discard changes and close window", + 0 }, }; @@ -232,7 +234,7 @@ void login_box(void) { TRUE/*expand*/, TRUE/*fill*/, 1/*padding*/); gtk_box_pack_start(GTK_BOX(vbox), buttonbox, FALSE/*expand*/, FALSE/*fill*/, 1/*padding*/); - gtk_container_add(GTK_CONTAINER(login_window), vbox); + gtk_container_add(GTK_CONTAINER(login_window), frame_widget(vbox, NULL)); gtk_window_set_transient_for(GTK_WINDOW(login_window), GTK_WINDOW(toplevel)); gtk_widget_show_all(login_window);