demote warning to debug for sugar_accel_group

This commit is contained in:
James Cameron 2015-12-08 15:11:17 +11:00
parent 280c74cd9e
commit a11639eb86
4 changed files with 4 additions and 4 deletions

View File

@ -402,7 +402,7 @@ def _add_accelerator(tool_button):
# TODO: should we remove the accelerator from the prev top level?
if not hasattr(tool_button.get_toplevel(), 'sugar_accel_group'):
logging.warning('No Gtk.AccelGroup in the top level window.')
logging.debug('No Gtk.AccelGroup in the top level window.')
return
accel_group = tool_button.get_toplevel().sugar_accel_group

View File

@ -77,7 +77,7 @@ class MenuItem(Gtk.ImageMenuItem):
# TODO: should we remove the accelerator from the prev top level?
if not hasattr(self.get_toplevel(), 'sugar_accel_group'):
logging.warning('No Gtk.AccelGroup in the top level window.')
logging.debug('No Gtk.AccelGroup in the top level window.')
return
accel_group = self.get_toplevel().sugar_accel_group

View File

@ -36,7 +36,7 @@ def _add_accelerator(tool_button):
# TODO: should we remove the accelerator from the prev top level?
if not hasattr(tool_button.get_toplevel(), 'sugar_accel_group'):
logging.warning('No Gtk.AccelGroup in the top level window.')
logging.debug('No Gtk.AccelGroup in the top level window.')
return
accel_group = tool_button.get_toplevel().sugar_accel_group

View File

@ -36,7 +36,7 @@ def _add_accelerator(tool_button):
# TODO: should we remove the accelerator from the prev top level?
if not hasattr(tool_button.get_toplevel(), 'sugar_accel_group'):
logging.warning('No Gtk.AccelGroup in the top level window.')
logging.debug('No Gtk.AccelGroup in the top level window.')
return
accel_group = tool_button.get_toplevel().sugar_accel_group