[gedit-latex] tools: use the right property stock_id
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] tools: use the right property stock_id
- Date: Sat, 2 Jul 2011 11:44:36 +0000 (UTC)
commit 5cca00acbd2ca39861ebd5bb5d915b8020e78df7
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Jul 2 13:44:28 2011 +0200
tools: use the right property stock_id
latex/tools/views.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/latex/tools/views.py b/latex/tools/views.py
index 7b82c97..b2efc43 100755
--- a/latex/tools/views.py
+++ b/latex/tools/views.py
@@ -88,12 +88,12 @@ class ToolView(BottomView, IStructuredIssueHandler):
# toolbar
- self._buttonCancel = Gtk.ToolButton(icon_name=Gtk.STOCK_STOP)
+ self._buttonCancel = Gtk.ToolButton(stock_id=Gtk.STOCK_STOP)
self._buttonCancel.set_sensitive(False)
self._buttonCancel.set_tooltip_text("Abort Job")
self._handlers[self._buttonCancel] = self._buttonCancel.connect("clicked", self._on_abort_clicked)
- self._buttonDetails = Gtk.ToolButton(icon_name=Gtk.STOCK_INFO)
+ self._buttonDetails = Gtk.ToolButton(stock_id=Gtk.STOCK_INFO)
self._buttonDetails.set_sensitive(False)
self._buttonDetails.set_tooltip_text("Show Detailed Output")
self._handlers[self._buttonDetails] = self._buttonDetails.connect("clicked", self._on_details_clicked)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]