[gedit-latex] Make toolview toolbar a gtk3 inline-toolbar
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Make toolview toolbar a gtk3 inline-toolbar
- Date: Fri, 24 Jun 2011 03:47:36 +0000 (UTC)
commit c4abf5e20ee3e4575270c75bbb84942b51e21b3b
Author: John Stowers <john stowers gmail com>
Date: Fri Jun 24 15:45:26 2011 +1200
Make toolview toolbar a gtk3 inline-toolbar
latex/tools/views.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/latex/tools/views.py b/latex/tools/views.py
index 259ee89..cbe6357 100755
--- a/latex/tools/views.py
+++ b/latex/tools/views.py
@@ -107,6 +107,15 @@ class ToolView(BottomView, IStructuredIssueHandler):
self._toolbar.insert(self._buttonDetails, -1)
self.pack_start(self._toolbar, False, False, 0)
+
+ # theme like gtk3
+ ctx = self._scroll.get_style_context()
+ ctx.set_junction_sides(Gtk.JunctionSides.RIGHT)
+
+ ctx = self._toolbar.get_style_context()
+ ctx.set_junction_sides(Gtk.JunctionSides.LEFT | Gtk.JunctionSides.RIGHT)
+ ctx.add_class("inline-toolbar")
+
def _on_abort_clicked(self, button):
self._abort_method.__call__()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]