<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def max_tab_name_length_changed(self, settings, key, user_data):
 """If the gconf var max_tab_name_length be changed, this method will be called and will set the tab name length limit. """


        # avoid get window title before terminal is ready
        if self.guake.notebook_manager.get_current_notebook().get_current_terminal() is None:
            return
        # avoid get window title before terminal is ready
        if self.guake.notebook_manager.get_current_notebook().get_current_terminal(
        ).get_window_title() is None:
            return

        self.guake.recompute_tabs_titles()