[gnome-tweak-tool] Dont draw separators above the sidebar
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Dont draw separators above the sidebar
- Date: Sun, 18 Aug 2013 19:50:40 +0000 (UTC)
commit c1e2c3d0a6b41fe709f9318ad603396acfded675
Author: John Stowers <john stowers gmail com>
Date: Sat Aug 10 20:40:51 2013 +0200
Dont draw separators above the sidebar
gtweak/tweakview.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py
index ff7975c..633601f 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -160,7 +160,7 @@ class Window(Gtk.ApplicationWindow):
return row
def _list_header_func(self, row, before, user_data):
- if not row.get_header():
+ if before and not row.get_header():
row.set_header (Gtk.Separator(orientation=Gtk.Orientation.HORIZONTAL))
def _on_key_press(self, widget, event):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]