[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.0-22-ge53e415

Luca Bruno lethalman88 at gmail.com
Wed Mar 25 22:56:46 UTC 2009

The following commit has been merged in the master branch:
commit af769d6ee9dae6f2b807a41dc5e0997b3c16144a
Author: Luca Bruno <lethalman88 at gmail.com>
Date:   Tue Mar 24 22:13:14 2009 +0100

    Tiny clear button next to the search filter

diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index c235321..f61dfaa 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -827,7 +827,8 @@ class HandleBTSQueryPage (TreePage):
         self.entry = gtk.Entry ()
         hbox.pack_start (self.entry)
         button = gtk.Button ()
-        button.set_image (gtk.image_new_from_stock (gtk.STOCK_CLEAR, gtk.ICON_SIZE_BUTTON))
+        button.set_image (gtk.image_new_from_stock (gtk.STOCK_CLEAR, gtk.ICON_SIZE_MENU))
+        button.set_relief (gtk.RELIEF_NONE)
         button.connect ('clicked', self.on_filter_clear)
         hbox.pack_start (button, expand=False)
         vbox.pack_start (hbox, expand=False)

Reportbug - reports bugs in the Debian distribution

More information about the Reportbug-commits mailing list