Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed format string usage
Co-authored-by: hugsy <[email protected]>
  • Loading branch information
mahaloz and hugsy authored Sep 26, 2021
commit 887d63641066fee2727cfa3e33b5e35f3ca401f2
2 changes: 1 addition & 1 deletion gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -10694,7 +10694,7 @@ def add_context_pane(self, pane_name, pane_function):
# assure users can toggle the new context
corrected_settings_name = pane_name.replace(" ", "_")
layout_settings = context_obj.get_setting("layout")
context_obj.update_setting("layout", layout_settings+f" {corrected_settings_name}")
context_obj.update_setting("layout", "{} {}".format(layout_settings, corrected_settings_name))

# overload the printing of pane title
context_obj.layout_mapping[corrected_settings_name] = (pane_function, pane_name)
Expand Down