[accerciser] Preferences dialog: fix setting title



commit 167ab1890ebc559ea87a6c9c1ab5c35f4e3b459b
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Mon Apr 1 18:16:24 2019 +0200

    Preferences dialog: fix setting title
    
    Fixes #6

 src/lib/accerciser/prefs_dialog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/lib/accerciser/prefs_dialog.py b/src/lib/accerciser/prefs_dialog.py
index 20074d7..0a8c203 100644
--- a/src/lib/accerciser/prefs_dialog.py
+++ b/src/lib/accerciser/prefs_dialog.py
@@ -35,7 +35,7 @@ class AccerciserPreferencesDialog(gtk.Dialog):
     @param hotkeys_view: Treeview of global hotkeys.
     @type hotkeys_view: L{HotkeyTreeView}
     '''
-    gtk.Dialog.__init__(self, name=_('accerciser Preferences'))
+    gtk.Dialog.__init__(self, title=_('accerciser Preferences'))
     self.add_buttons(gtk.STOCK_CLOSE, gtk.ResponseType.CLOSE)
     self.connect('response', self._onResponse)
     self.set_default_size(500, 250)


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