[alacarte] MainWindow: Remove '== True'
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [alacarte] MainWindow: Remove '== True'
- Date: Fri, 18 Apr 2014 14:06:27 +0000 (UTC)
commit 92b9f5211d0d1c31d1a021df7076693b9b074c67
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Apr 18 10:04:41 2014 -0400
MainWindow: Remove '== True'
Alacarte/MainWindow.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py
index 7427752..485ffc5 100644
--- a/Alacarte/MainWindow.py
+++ b/Alacarte/MainWindow.py
@@ -249,7 +249,7 @@ class MainWindow(object):
editor.run()
def on_directory_created(self, editor, response):
- if response == True:
+ if response:
self.editor.insertExternalMenu(editor.file_name, editor.parent)
def on_new_item_button_clicked(self, button):
@@ -271,7 +271,7 @@ class MainWindow(object):
editor.run()
def on_item_created(self, editor, response):
- if response == True:
+ if response:
self.editor.insertExternalItem(editor.file_name, editor.parent)
def on_new_separator_button_clicked(self, button):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]