demote warning to debug for sugar_accel_group
This commit is contained in:
parent
280c74cd9e
commit
a11639eb86
@ -402,7 +402,7 @@ def _add_accelerator(tool_button):
|
|||||||
# TODO: should we remove the accelerator from the prev top level?
|
# TODO: should we remove the accelerator from the prev top level?
|
||||||
|
|
||||||
if not hasattr(tool_button.get_toplevel(), 'sugar_accel_group'):
|
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
|
return
|
||||||
|
|
||||||
accel_group = tool_button.get_toplevel().sugar_accel_group
|
accel_group = tool_button.get_toplevel().sugar_accel_group
|
||||||
|
@ -77,7 +77,7 @@ class MenuItem(Gtk.ImageMenuItem):
|
|||||||
# TODO: should we remove the accelerator from the prev top level?
|
# TODO: should we remove the accelerator from the prev top level?
|
||||||
|
|
||||||
if not hasattr(self.get_toplevel(), 'sugar_accel_group'):
|
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
|
return
|
||||||
|
|
||||||
accel_group = self.get_toplevel().sugar_accel_group
|
accel_group = self.get_toplevel().sugar_accel_group
|
||||||
|
@ -36,7 +36,7 @@ def _add_accelerator(tool_button):
|
|||||||
|
|
||||||
# TODO: should we remove the accelerator from the prev top level?
|
# TODO: should we remove the accelerator from the prev top level?
|
||||||
if not hasattr(tool_button.get_toplevel(), 'sugar_accel_group'):
|
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
|
return
|
||||||
|
|
||||||
accel_group = tool_button.get_toplevel().sugar_accel_group
|
accel_group = tool_button.get_toplevel().sugar_accel_group
|
||||||
|
@ -36,7 +36,7 @@ def _add_accelerator(tool_button):
|
|||||||
|
|
||||||
# TODO: should we remove the accelerator from the prev top level?
|
# TODO: should we remove the accelerator from the prev top level?
|
||||||
if not hasattr(tool_button.get_toplevel(), 'sugar_accel_group'):
|
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
|
return
|
||||||
|
|
||||||
accel_group = tool_button.get_toplevel().sugar_accel_group
|
accel_group = tool_button.get_toplevel().sugar_accel_group
|
||||||
|
Loading…
Reference in New Issue
Block a user