Advanced_window ==> Advanced_configuration_window

This commit is contained in:
Nikos Kouremenos 2005-05-14 01:42:10 +00:00
parent 786b3984bc
commit 961ded4882
4 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,7 @@ OPT_VAL = 1
GTKGUI_GLADE = 'gtkgui.glade'
class Advanced_window:
class Advanced_configuration_window:
def on_config_edited(self, cell, row, text):
modelrow = self.model[row]
if gajim.config.set(modelrow[0], text):
@ -36,7 +36,7 @@ class Advanced_window:
self.plugin.save_config()
modelrow[1] = text
def on_advanced_window_destroy(self, widget):
def on_advanced_configuration_window_destroy(self, widget):
del self.plugin.windows['advanced_config']
def on_advanced_close_button_clicked(self, widget):
@ -85,8 +85,8 @@ class Advanced_window:
def __init__(self, plugin):
self.plugin = plugin
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'advanced_window', None)
self.window = self.xml.get_widget('advanced_window')
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'advanced_configuration_window', None)
self.window = self.xml.get_widget('advanced_configuration_window')
self.entry = self.xml.get_widget('advanced_entry')
self.xml.signal_autoconnect(self)

View File

@ -901,8 +901,8 @@ class Preferences_window:
if self.plugin.windows.has_key('advanced_config'):
self.plugin.windows['advanced_config'].window.present()
else:
self.plugin.windows['advanced_config'] = dialogs.Advanced_window(
self.plugin)
self.plugin.windows['advanced_config'] = \
dialogs.Advanced_configuration_window(self.plugin)
#---------- Account_modification_window class -------------#
class Account_modification_window:

View File

@ -24,7 +24,7 @@ from gajim import User
from common import gajim
from common import i18n
from vcard import Vcard_window
from advanced import Advanced_window
from advanced import Advanced_configuration_window
_ = i18n._
APP = i18n.APP
gtk.glade.bindtextdomain (APP, i18n.DIR)

View File

@ -10809,7 +10809,7 @@ send a chat message to</property>
</child>
</widget>
<widget class="GtkWindow" id="advanced_window">
<widget class="GtkWindow" id="advanced_configuration_window">
<property name="border_width">4</property>
<property name="width_request">600</property>
<property name="height_request">480</property>
@ -10824,7 +10824,7 @@ send a chat message to</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="destroy" handler="on_advanced_window_destroy" last_modification_time="Wed, 27 Apr 2005 11:52:39 GMT"/>
<signal name="destroy" handler="on_advanced_configuration_window_destroy" last_modification_time="Sat, 14 May 2005 01:39:26 GMT"/>
<child>
<widget class="GtkVBox" id="vbox70">