[gnome-builder] prefs: fix drawing of last row border in plugins list
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] prefs: fix drawing of last row border in plugins list
- Date: Wed, 9 Sep 2015 07:46:41 +0000 (UTC)
commit e91920ba5e737546a35988d07ccee8d42bac8183
Author: Christian Hergert <christian hergert me>
Date: Wed Sep 9 00:46:31 2015 -0700
prefs: fix drawing of last row border in plugins list
data/theme/Adwaita-shared.css | 2 +-
src/preferences/gb-preferences-page-plugins.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/Adwaita-shared.css b/data/theme/Adwaita-shared.css
index 3728988..bbf00e7 100644
--- a/data/theme/Adwaita-shared.css
+++ b/data/theme/Adwaita-shared.css
@@ -108,6 +108,6 @@ SymbolTree GtkSearchEntry {
GbPreferencesPagePlugins GtkListBoxRow {
border-bottom: 1px solid shade(@borders, 1.2);
}
-.shortcuts-list-box GtkListBoxRow:last-child {
+GbPreferencesPagePlugins GtkListBoxRow:last-child {
border-bottom: none;
}
diff --git a/src/preferences/gb-preferences-page-plugins.c b/src/preferences/gb-preferences-page-plugins.c
index e400f77..70b233a 100644
--- a/src/preferences/gb-preferences-page-plugins.c
+++ b/src/preferences/gb-preferences-page-plugins.c
@@ -100,6 +100,8 @@ gb_preferences_page_plugins_reload (GbPreferencesPagePlugins *self)
plugins = peas_engine_get_plugin_list (engine);
for (iter = plugins; iter; iter = iter->next)
gb_preferences_page_plugins_add_plugin (self, iter->data);
+
+ gtk_list_box_invalidate_sort (self->list_box);
}
static gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]