Skip to content

Commit

Permalink
app: Don't override widget's CSS names
Browse files Browse the repository at this point in the history
Setting a different CSS name makes the VteTerminal builtin CSS not
apply.

Related to #2554.
  • Loading branch information
Christian Persch committed Apr 12, 2022
1 parent bbd3f97 commit e53cd45
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/app/app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1060,8 +1060,6 @@ vteapp_search_popover_class_init(VteappSearchPopoverClass* klass)
gtk_widget_class_bind_template_child(widget_class, VteappSearchPopover, entire_word_checkbutton);
gtk_widget_class_bind_template_child(widget_class, VteappSearchPopover, regex_checkbutton);
gtk_widget_class_bind_template_child(widget_class, VteappSearchPopover, wrap_around_checkbutton);

gtk_widget_class_set_css_name(widget_class, "vteapp-search-popover");
}

static GtkWidget*
Expand Down Expand Up @@ -1374,8 +1372,6 @@ vteapp_terminal_class_init(VteappTerminalClass *klass)
widget_class->state_flags_changed = vteapp_terminal_state_flags_changed;
widget_class->system_setting_changed = vteapp_terminal_system_setting_changed;
#endif

gtk_widget_class_set_css_name(widget_class, "vteapp-terminal");
}

static void
Expand Down Expand Up @@ -2776,7 +2772,6 @@ vteapp_window_class_init(VteappWindowClass* klass)
#endif

gtk_widget_class_set_template_from_resource(widget_class, "/org/gnome/vte/app/ui/window.ui");
gtk_widget_class_set_css_name(widget_class, "vteapp-window");

gtk_widget_class_bind_template_child(widget_class, VteappWindow, window_grid);
gtk_widget_class_bind_template_child(widget_class, VteappWindow, scrollbar);
Expand Down

0 comments on commit e53cd45

Please sign in to comment.