Merge lp:~mefrio-g/granite/dynamicnotebook-add-right into lp:~elementary-pantheon/granite/granite

Proposed by Mario Guerriero
Status: Rejected
Rejected by: Victor Martinez
Proposed branch: lp:~mefrio-g/granite/dynamicnotebook-add-right
Merge into: lp:~elementary-pantheon/granite/granite
Diff against target: 11 lines (+1/-1)
1 file modified
lib/Widgets/DynamicNotebook.vala (+1/-1)
To merge this branch: bzr merge lp:~mefrio-g/granite/dynamicnotebook-add-right
Reviewer Review Type Date Requested Status
Sergey "Shnatsel" Davidoff (community) Disapprove
Review via email: mp+116283@code.launchpad.net

Description of the change

I've moved the DynamicNotebook's add button to the right, as Sergey suggested in the mailing list

To post a comment you must log in.
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Wait wait wait, I suggested opening new tabs to the left! https://blueprints.launchpad.net/granite/+spec/tabbar explicitly states that the new tab button should be on the left in LTR systems. However, it does not describe where new tabs should be opened.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) :
review: Disapprove
Revision history for this message
Harvey Cabaguio (harveycabaguio) wrote :

I think the intended behaviour is that the new tab button goes on the left because typically "new object" buttons on the toolbar are typically on the left. And new tabs would appear on the left as well because most recent to less recent is an order that makes sense to us.

Unmerged revisions

316. By Mario Guerriero

add button in DynamicNotebook is on the right

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/Widgets/DynamicNotebook.vala'
2--- lib/Widgets/DynamicNotebook.vala 2012-07-22 16:11:15 +0000
3+++ lib/Widgets/DynamicNotebook.vala 2012-07-23 13:39:20 +0000
4@@ -291,7 +291,7 @@
5 add.margin_left = 6;
6 add.relief = Gtk.ReliefStyle.NONE;
7 add.tooltip_text = _("New tab");
8- this.notebook.set_action_widget (add, Gtk.PackType.START);
9+ this.notebook.set_action_widget (add, Gtk.PackType.END);
10 add.show_all ();
11 add.get_style_context ().add_provider (button_fix, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
12

Subscribers

People subscribed via source and target branches