Skip to content

Commit

Permalink
terminalpage: workaround for context menu font bug
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Feb 8, 2022
1 parent eb17d03 commit 121314d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terminalpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ var TerminalPage = GObject.registerClass(
this.terminal_popup_menu = Gtk.Menu.new_from_model(this.menus.get_object('terminal-popup'));
this.setup_popup_menu(this.terminal, this.terminal_popup_menu);
this.method_handler(this.terminal, 'button-press-event', this.terminal_button_press_early);
// https://github.com/amezin/gnome-shell-extension-ddterm/issues/116
this.terminal_popup_menu.get_style_context().add_class(Gtk.STYLE_CLASS_CONTEXT_MENU);

const tab_popup_menu = Gtk.Menu.new_from_model(this.menus.get_object('tab-popup'));
this.setup_popup_menu(this.tab_label, tab_popup_menu);
Expand Down

0 comments on commit 121314d

Please sign in to comment.