summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2022-04-12 22:02:49 +0200
committerChristian Persch <chpe@src.gnome.org>2022-04-12 22:02:49 +0200
commite53cd45100848bfe782dbc5c4bf47ca94c46ec16 (patch)
tree56db36156abec2e770522ffe0c839ac3a69026c0 /src
parentbbd3f97b7d40988f4a9ed1e4e8723537b3836dd0 (diff)
downloadvte-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.cc5
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);