libreport/0031-wizard-Next-button-insensitive-on-the-review-page-by.patch
Jakub Filak df5243869d Pre-release update
Resolves: #1133549
2014-09-03 17:19:21 +02:00

33 lines
1.0 KiB
Diff

From 8fc56865d8945e2923fec7c95d025f12d45693ae Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Thu, 28 Aug 2014 15:17:30 +0200
Subject: [PATCH 31/33] wizard: "Next" button insensitive on the review page by
default
This feature was accidentally removed in commit
b4044bad5c86b552e252376f1b520afa28c8c63e
Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
src/gui-wizard-gtk/wizard.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index 8620823..8d0429e 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -2724,7 +2724,10 @@ static void on_page_prepare(GtkNotebook *assistant, GtkWidget *page, gpointer us
}
if (pages[PAGENO_REVIEW_DATA].page_widget == page)
+ {
update_ls_details_checkboxes(g_event_selected);
+ gtk_widget_set_sensitive(g_btn_next, gtk_toggle_button_get_active(g_tb_approve_bt));
+ }
if (pages[PAGENO_EDIT_COMMENT].page_widget == page)
{
--
2.1.0