update object name

This commit is contained in:
Bilal Elmoussaoui 2016-06-03 16:55:44 +02:00
parent abd9e1a878
commit a337b69cb9
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ from TwoFactorAuth.models.authenticator import Authenticator
from gettext import gettext as _
class AddApplication(Gtk.Window):
class AddAccount(Gtk.Window):
def __init__(self, window):
self.parent = window

View file

@ -1,7 +1,7 @@
from gi import require_version
require_version("Gtk", "3.0")
from gi.repository import Gtk, Gio, Gdk, GObject, GLib
from TwoFactorAuth.widgets.add_account import AddAcount
from TwoFactorAuth.widgets.add_account import AddAccount
from TwoFactorAuth.widgets.confirmation import ConfirmationMessage
from TwoFactorAuth.widgets.listrow import ListBoxRow
import logging
@ -365,7 +365,7 @@ class Window(Gtk.ApplicationWindow):
"""
Create add application window
"""
add_account = AddAcount(self)
add_account = AddAccount(self)
add_account.show_window()
def toggle_search_box(self, *args):