diff options
author | Christian Persch <chpe@src.gnome.org> | 2022-04-12 22:02:49 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2022-04-12 22:02:49 +0200 |
commit | e53cd45100848bfe782dbc5c4bf47ca94c46ec16 (patch) | |
tree | 56db36156abec2e770522ffe0c839ac3a69026c0 /src | |
parent | bbd3f97b7d40988f4a9ed1e4e8723537b3836dd0 (diff) | |
download | vte-e53cd45100848bfe782dbc5c4bf47ca94c46ec16.tar.gz |
app: Don't override widget's CSS names
Setting a different CSS name makes the VteTerminal builtin CSS not
apply.
Related to #2554.
Diffstat (limited to 'src')
-rw-r--r-- | src/app/app.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/app/app.cc b/src/app/app.cc index 8b1d47ea..9d53f274 100644 --- a/src/app/app.cc +++ b/src/app/app.cc @@ -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* @@ -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 @@ -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); |