[libadwaita/wip/exalm/needs-attention: 79/80] view-switcher: Don't set needs-attention class on buttons
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/needs-attention: 79/80] view-switcher: Don't set needs-attention class on buttons
- Date: Fri, 7 May 2021 08:21:14 +0000 (UTC)
commit a5cdb06ac4781300ea69569e93f0baeefcd4335a
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Feb 26 23:36:37 2021 +0500
view-switcher: Don't set needs-attention class on buttons
They do it themselves already.
src/adw-view-switcher.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/src/adw-view-switcher.c b/src/adw-view-switcher.c
index 2cdf527..45c23b5 100644
--- a/src/adw-view-switcher.c
+++ b/src/adw-view-switcher.c
@@ -123,11 +123,6 @@ update_button (AdwViewSwitcher *self,
NULL);
gtk_widget_set_visible (button, visible && (title != NULL || icon_name != NULL));
-
- if (needs_attention)
- gtk_widget_add_css_class (button, "needs-attention");
- else
- gtk_widget_remove_css_class (button, "needs-attention");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]