[pitivi: 3/41] Enforce showing icons in gstwidget's reset buttons
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 3/41] Enforce showing icons in gstwidget's reset buttons
- Date: Sat, 13 Aug 2011 12:06:29 +0000 (UTC)
commit 4878b2607022400f6bdbf692a430c60140db6ef1
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Fri Jul 15 01:02:32 2011 -0400
Enforce showing icons in gstwidget's reset buttons
pitivi/ui/gstwidget.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/gstwidget.py b/pitivi/ui/gstwidget.py
index de47d2a..87eb7db 100644
--- a/pitivi/ui/gstwidget.py
+++ b/pitivi/ui/gstwidget.py
@@ -151,8 +151,8 @@ class GstElementSettingsWidget(gtk.VBox, Loggable):
def _getResetToDefaultValueButton(self, prop, widget):
icon = gtk.Image()
icon.set_from_stock('gtk-clear', gtk.ICON_SIZE_MENU)
- button = gtk.Button(label='')
- button.set_image(icon)
+ button = gtk.Button()
+ button.add(icon)
button.set_tooltip_text(_("Reset to default value"))
button.connect('clicked', self._defaultBtnClickedCb, widget)
return button
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]