diff options
author | Manuel QuiƱones <manuq@laptop.org> | 2011-11-16 12:10:50 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-11-16 13:44:53 (GMT) |
commit | fc1ab005640075680f14ceec8b3b72fa905a0858 (patch) | |
tree | a665225ae7d43e63443194841129fb4dc2c2b88d | |
parent | 6d8a0a24d7e7396d0bae31d87ff12ad351bc24d1 (diff) |
New icon wrap, separators removed
Part of changes in toolbars recommended by Design Team
Signed-off-by: Agustin Zubiaga <aguszs97@gmail.com>
Reviewed-by: Manuel QuiƱones <manuq@laptop.org>
Acked-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r-- | icons/format-wrap.svg | 42 | ||||
-rw-r--r-- | logviewer.py | 13 |
2 files changed, 43 insertions, 12 deletions
diff --git a/icons/format-wrap.svg b/icons/format-wrap.svg new file mode 100644 index 0000000..69c5772 --- /dev/null +++ b/icons/format-wrap.svg @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY stroke_color "#FFFFFF"> +]> +<svg + xmlns="http://www.w3.org/2000/svg" + version="1.1" + width="55" + height="55" + viewBox="0 0 55 55.000001" + id="svg2" + xml:space="preserve"><path + d="m 4.2043405,14.774001 37.4365555,0" + id="line5" + style="fill:#4c4d4f;stroke:&stroke_color;;stroke-width:3.5;display:inline" /><line + style="fill:#4c4d4f;stroke:&stroke_color;;stroke-width:3.5;display:inline" + id="line7" + y2="23.360001" + y1="23.360001" + x2="35.440342" + x1="4.2043405" + display="inline" /><line + style="fill:#4c4d4f;stroke:&stroke_color;;stroke-width:3.5;display:inline" + id="line9" + y2="31.945002" + y1="31.945002" + x2="26.677341" + x1="4.2043405" + display="inline" /><line + style="fill:#4c4d4f;stroke:&stroke_color;;stroke-width:3.5;display:inline" + id="line11" + y2="40.531002" + y1="40.531002" + x2="34.954342" + x1="4.2043405" + display="inline" /><path + d="m 43.196156,24.814867 c 2.648216,-3.222567 7.528743,-4.693905 4.035316,-9.873535" + id="line3687" + style="fill:none;stroke:&stroke_color;;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" /><path + d="m 49.421192,24.365844 -6.31252,0.536505 0.536505,-6.31252" + id="polyline3689" + style="fill:none;stroke:&stroke_color;;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none" /></svg>
\ No newline at end of file diff --git a/logviewer.py b/logviewer.py index 6f08e73..7b91703 100644 --- a/logviewer.py +++ b/logviewer.py @@ -359,23 +359,15 @@ class LogActivity(activity.Activity): toolbar_box.toolbar.insert(activity_button, -1) - separator = gtk.SeparatorToolItem() - separator.set_draw(False) - toolbar_box.toolbar.insert(separator, -1) - copy = CopyButton() copy.connect('clicked', self.__copy_clicked_cb) toolbar_box.toolbar.insert(copy, -1) - wrap_btn = ToggleToolButton('format-justify-left') + wrap_btn = ToggleToolButton("format-wrap") wrap_btn.set_tooltip(_('Word Wrap')) wrap_btn.connect('clicked', self._wrap_cb) toolbar_box.toolbar.insert(wrap_btn, -1) - separator = gtk.SeparatorToolItem() - separator.set_draw(False) - toolbar_box.toolbar.insert(separator, -1) - search_entry = iconentry.IconEntry() search_entry.set_size_request(gtk.gdk.screen_width() / 3, -1) search_entry.set_icon_from_name( @@ -399,9 +391,6 @@ class LogActivity(activity.Activity): self._update_search_buttons() - separator = gtk.SeparatorToolItem() - toolbar_box.toolbar.insert(separator, -1) - edit_toolbar = gtk.Toolbar() delete_btn = ToolButton('list-remove') |