Skip to content

Commit

Permalink
Merge pull request #37 from jaipurchamp/fix_errors
Browse files Browse the repository at this point in the history
Fixing sendMail icon and tooltip.
  • Loading branch information
NimitS1 committed Jul 28, 2014
2 parents 8a66c19 + a5147ea commit 1328f1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,4 @@ For 0.3.2:
* Narendra Joshi <narendraj9@gmail.com>
* Àlex Magaz Graça <rivaldi8@gmail.com>
* Amy Chan <mathematical.coffee@gmail.com>
* Pratyush Kulwal <jaipurchamp@gmail.com>
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* Fixes #24 : TypeError : popup() missing 1 required positional argument, by Nimit Shah
* Fixing the TypeError : popup() missing 1 required positional argument, by Sagar Ghuge
* Fix for bug #28: plugin preferences were not being read, by Amy Chan
* Fixing the send mail icon and tooltip, Pratyush Kulwal

2013-11-24 Getting Things GNOME! 0.3.1
* Fix for bug #1024473: Have 'Show Main Window' in notification area, by Antonio Roquentin
Expand Down
3 changes: 2 additions & 1 deletion GTG/plugins/send_email/sendEmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ def onTaskOpened(self, plugin_api):
tb_Taskicon = Gtk.Image()
tb_Taskicon.set_from_icon_name('mail-send', 32)

self.tb_Taskbutton = Gtk.ToolButton(tb_Taskicon)
self.tb_Taskbutton = Gtk.ToolButton.new(tb_Taskicon)
self.tb_Taskbutton.set_label(_("Send via email"))
self.tb_Taskbutton.set_tooltip_text("Send via email")
self.tb_Taskbutton.connect('clicked', self.onTbTaskButton, plugin_api)
self.tb_Taskbutton.show_all()

Expand Down

0 comments on commit 1328f1d

Please sign in to comment.