[anjuta] language-support-python: Don't show python warning when python warning is disabled
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-python: Don't show python warning when python warning is disabled
- Date: Mon, 25 Nov 2013 14:58:30 +0000 (UTC)
commit 5a93c462981d210ebe4f5b51cad1df83355229a9
Author: Johannes Schmid <jhs gnome org>
Date: Mon Nov 25 15:57:35 2013 +0100
language-support-python: Don't show python warning when python warning is disabled
plugins/language-support-python/plugin.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/plugins/language-support-python/plugin.c b/plugins/language-support-python/plugin.c
index 88e062d..7008773 100644
--- a/plugins/language-support-python/plugin.c
+++ b/plugins/language-support-python/plugin.c
@@ -91,11 +91,11 @@ on_check_finished (AnjutaLauncher* launcher,
gtk_dialog_run (GTK_DIALOG(dialog));
- if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (check_button)))
- {
- g_settings_get_boolean (plugin->settings,
- PREF_NO_ROPE_WARNING);
- }
+ /* Save "Do not show again settings" */
+ g_settings_set_boolean (plugin->settings,
+ PREF_NO_ROPE_WARNING,
+ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (check_button)));
+
gtk_widget_destroy (dialog);
}
g_object_unref (launcher);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]