GNOME Bugzilla – Bug 733216
Action bar looks weird with a single icon button
Last modified: 2014-08-01 16:29:56 UTC
Right now the action bar spans the whole window width, but it only contains a tiny button in one corner. It looks a bit strange to have this much chrome for such a small control. I'd move the star button to the header bar, until such a time as we grow a lot more actions.
Created attachment 282049 [details] [review] removed action bar and migrated the favorite button to header bar WIP patch.
Review of attachment 282049 [details] [review]: Thanks for the patch, Pranav. ::: src/photos-main-toolbar.c @@ +757,3 @@ priv->search = g_action_map_lookup_action (G_ACTION_MAP (app), "search"); + priv->favorite_button = gd_header_toggle_button_new (); We just use GtkToggleButton these days. See bug 733850 @@ +776,3 @@ + "active-changed", + G_CALLBACK (photos_main_toolbar_active_changed), + self); Let's just use photos_main_toolbar_item_active_changed
Created attachment 282060 [details] [review] Removed action bar, migrated the favorite button to header bar Resolved conflicts with master.
Created attachment 282082 [details] [review] Removed action bar, migrated the favorite button to header bar
Created attachment 282091 [details] [review] Move the favorites button in the preview to the header bar
Created attachment 282285 [details] [review] Move the favorites button in the preview to the header bar Removed an unused variable that had crept in.