GNOME Bugzilla – Bug 749685
places: Use a text title instead of a switcher when there is only one page
Last modified: 2015-05-25 11:31:40 UTC
In bug 741780 we hid the "contents" tab when the document doesn't have an index, which is quite common. We should use a simple text title instead of a GtkStackSwitcher with a single button when this happens. I initially thought about implementing this behaviour in gtk+ itself, but then changed my mind. It doesn't appear generic enough to warrant the added complexity in GtkStackSwitcher.
Created attachment 303767 [details] [review] places: Don't use a switcher when there is only one page
Comment on attachment 303767 [details] [review] places: Don't use a switcher when there is only one page I pushed it to master for today's 3.17.2 release.