diff options
author | Simon Schampijer <simon@schampijer.de> | 2012-01-05 14:34:10 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2012-01-05 14:34:10 (GMT) |
commit | b92532a3e477406c92b1f76c1e47a323ca5e37e6 (patch) | |
tree | cc1d38b12471c8a54ce85848c10d36b91865906d /browser.py | |
parent | 267b079d680688bca3d579f7ffb634fdc2172799 (diff) |
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 <simon@laptop.org>
Acked-by: Manuel QuiƱones <manuq@laptop.org>
Diffstat (limited to 'browser.py')
0 files changed, 0 insertions, 0 deletions