Changeset 6407 for branches/gajim_0.10/src/config.py
- Timestamp:
- 05/31/06 21:31:41 (3 years ago)
- Files:
-
- 1 modified
-
branches/gajim_0.10/src/config.py (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.10/src/config.py
r6394 r6407 46 46 gtk.glade.textdomain (APP) 47 47 48 GTKGUI_GLADE = 'gtkgui.glade'49 50 48 #---------- PreferencesWindow class -------------# 51 49 class PreferencesWindow: … … 61 59 def __init__(self): 62 60 '''Initialize Preferences window''' 63 self.xml = gtk .glade.XML(GTKGUI_GLADE, 'preferences_window', APP)61 self.xml = gtkgui_helpers.get_glade('preferences_window.glade') 64 62 self.window = self.xml.get_widget('preferences_window') 65 63 self.iconset_combobox = self.xml.get_widget('iconset_combobox') … … 985 983 986 984 def __init__(self, account): 987 self.xml = gtk .glade.XML(GTKGUI_GLADE, 'account_modification_window', APP)985 self.xml = gtkgui_helpers.get_glade('account_modification_window.glade') 988 986 self.window = self.xml.get_widget('account_modification_window') 989 987 self.account = account … … 1476 1474 class ManageProxiesWindow: 1477 1475 def __init__(self): 1478 self.xml = gtk .glade.XML(GTKGUI_GLADE, 'manage_proxies_window', APP)1476 self.xml = gtkgui_helpers.get_glade('manage_proxies_window.glade') 1479 1477 self.window = self.xml.get_widget('manage_proxies_window') 1480 1478 self.proxies_treeview = self.xml.get_widget('proxies_treeview') … … 1640 1638 1641 1639 def __init__(self): 1642 self.xml = gtk .glade.XML(GTKGUI_GLADE, 'accounts_window', APP)1640 self.xml = gtkgui_helpers.get_glade('accounts_window.glade') 1643 1641 self.window = self.xml.get_widget('accounts_window') 1644 1642 self.accounts_treeview = self.xml.get_widget('accounts_treeview') … … 1742 1740 self.account = account 1743 1741 self.config = config 1744 self.xml = gtk .glade.XML(GTKGUI_GLADE, 'data_form_window', APP)1742 self.xml = gtkgui_helpers.get_glade('data_form_window.glade') 1745 1743 self.window = self.xml.get_widget('data_form_window') 1746 1744 self.config_vbox = self.xml.get_widget('config_vbox') … … 1891 1889 DataFormWindow.__init__(self, account, infos) 1892 1890 else: 1893 self.xml = gtk .glade.XML(GTKGUI_GLADE, 'service_registration_window', APP)1891 self.xml = gtkgui_helpers.get_glade('service_registration_window.glade') 1894 1892 self.window = self.xml.get_widget('service_registration_window') 1895 1893 if infos.has_key('registered'): … … 2145 2143 def __init__(self, account): 2146 2144 self.account = account 2147 xml = gtk .glade.XML(GTKGUI_GLADE, 'remove_account_window', APP)2145 xml = gtkgui_helpers.get_glade('remove_account_window.glade') 2148 2146 self.window = xml.get_widget('remove_account_window') 2149 2147 self.remove_and_unregister_radiobutton = xml.get_widget( … … 2224 2222 class ManageBookmarksWindow: 2225 2223 def __init__(self): 2226 self.xml = gtk .glade.XML(GTKGUI_GLADE, 'manage_bookmarks_window', APP)2224 self.xml = gtkgui_helpers.get_glade('manage_bookmarks_window.glade') 2227 2225 self.window = self.xml.get_widget('manage_bookmarks_window') 2228 2226 … … 2486 2484 class AccountCreationWizardWindow: 2487 2485 def __init__(self): 2488 self.xml = gtk.glade.XML(GTKGUI_GLADE, 'account_creation_wizard_window', 2489 APP) 2486 self.xml = gtkgui_helpers.get_glade('account_creation_wizard_window.glade') 2490 2487 self.window = self.xml.get_widget('account_creation_wizard_window') 2491 2488
