← Back to team overview

elementaryart team mailing list archive

[Merge] lp:~codygarver/granite/fix-1020347 into lp:granite

 

Cody Garver has proposed merging lp:~codygarver/granite/fix-1020347 into lp:granite.

Requested reviews:
  elementary Pantheon team (elementary-pantheon)
Related bugs:
  Bug #1020347 in Granite: "no tooltip for "New Tab""
  https://bugs.launchpad.net/granite/+bug/1020347

For more details, see:
https://code.launchpad.net/~codygarver/granite/fix-1020347/+merge/114084
-- 
https://code.launchpad.net/~codygarver/granite/fix-1020347/+merge/114084
Your team elementaryart (old) is subscribed to branch lp:granite.
=== modified file 'lib/Widgets/DynamicNotebook.vala'
--- lib/Widgets/DynamicNotebook.vala	2012-07-07 16:46:21 +0000
+++ lib/Widgets/DynamicNotebook.vala	2012-07-10 02:17:19 +0000
@@ -75,6 +75,7 @@
             working = false;
             
             close.add (new Gtk.Image.from_stock (Gtk.Stock.CLOSE, Gtk.IconSize.MENU));
+            close.tooltip_text = _("Close Tab");
             close.relief = Gtk.ReliefStyle.NONE;
             
             var lbl = new Gtk.EventBox ();
@@ -246,6 +247,7 @@
             add.add (new Gtk.Image.from_icon_name ("list-add-symbolic", Gtk.IconSize.MENU));
             add.margin_left = 6;
             add.relief = Gtk.ReliefStyle.NONE;
+            add.tooltip_text = _("New Tab");
             this.notebook.set_action_widget (add, Gtk.PackType.START);
             add.show_all ();
             add.get_style_context ().add_provider (button_fix, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);


Follow ups