[libadwaita/wip/exalm/needs-attention: 121/122] 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: 121/122] view-switcher: Don't set needs-attention class on buttons
- Date: Mon, 19 Apr 2021 15:10:40 +0000 (UTC)
commit 2caa757dc3972741fb1110ff935803b0cb99cab9
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 434829e..d9661d1 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]