From b92532a3e477406c92b1f76c1e47a323ca5e37e6 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 05 Jan 2012 14:34:10 +0000 Subject: Use gtk-notebook-action-widget for the 'add-tab' button Due to API changes in the GTK Notebook [1] we can add now an action widget to it (e.g. a button to add a new tab). So far our 'add-new-tab'-button in Browse was another special tab. This does simplify the Browse code a lot by using the action widget instead. Yay! There will be a visual difference with this approach, the Button will always be at the far right, but this is acceptable - Safari uses the same style, with a button at the far right for adding a new tab (once a tab is open). [1] http://developer.gnome.org/gtk3/3.0/GtkNotebook.html#gtk-notebook-set-action-widget Signed-off-by: Simon Schampijer Acked-by: Manuel QuiƱones --- (limited to 'webactivity.py') -- cgit v0.9.1