[totem] Fix a typo in the python console plugin



commit 0e49f9aaf3251e1bf3268ad5fd22c030778c97a3
Author: Abderrahim Kitouni <a kitouni gmail com>
Date:   Wed Dec 15 20:37:48 2010 +0100

    Fix a typo in the python console plugin

 src/plugins/pythonconsole/pythonconsole.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/pythonconsole/pythonconsole.py b/src/plugins/pythonconsole/pythonconsole.py
index ed88aef..cb54444 100644
--- a/src/plugins/pythonconsole/pythonconsole.py
+++ b/src/plugins/pythonconsole/pythonconsole.py
@@ -127,7 +127,7 @@ class PythonConsolePlugin(gobject.GObject, Peas.Activatable):
 
 	def enable_debugging(self, action):
 		msg = _("After you press OK, Totem will wait until you connect to it with winpdb or rpdb2. If you have not set a debugger password in DConf, it will use the default password ('totem').")
-		dialog = Gtk.MessageDialog(None, 0, Gtk.MessageType.INFO, Gtk.ButtonType.OK_CANCEL, msg)
+		dialog = Gtk.MessageDialog(None, 0, Gtk.MessageType.INFO, Gtk.ButtonsType.OK_CANCEL, msg)
 		if dialog.run() == Gtk.ResponseType.OK:
 			settings = Gio.Settings.new ('org.gnome.totem.plugins.pythonconsole')
 			password = settings.get_string('rpdb2-password') or "totem"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]