[gedit] tab: if Edit Anyway is clicked on an infobar, set state to normal
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] tab: if Edit Anyway is clicked on an infobar, set state to normal
- Date: Wed, 10 Jun 2015 18:39:55 +0000 (UTC)
commit aa59a67a690dbb60323a3d3e38a3cea068cdacd9
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Jun 10 20:36:52 2015 +0200
tab: if Edit Anyway is clicked on an infobar, set state to normal
For example when there was a conversion error and there are invalid
characters, we can click on Edit Anyway.
gedit/gedit-tab.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index 476a2ef..bf8890b 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -667,6 +667,7 @@ io_loading_error_info_bar_response (GtkWidget *info_bar,
tab->editable = TRUE;
gtk_text_view_set_editable (GTK_TEXT_VIEW (view), TRUE);
set_info_bar (tab, NULL, GTK_RESPONSE_NONE);
+ gedit_tab_set_state (tab, GEDIT_TAB_STATE_NORMAL);
clear_loading (tab);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]