GNOME Bugzilla – Bug 705886
Make headerbar as tittlebar and add close button
Last modified: 2013-08-13 10:53:31 UTC
See patches (them after commit the patches in bug #705881).
Created attachment 251449 [details] [review] window: use G_DEFINE_TYPE_WITH_PRIVATE and use a template to define the UI
Created attachment 251452 [details] [review] window: make headerbar as titlebar and add close button
Review of attachment 251449 [details] [review]: Nice!
Review of attachment 251452 [details] [review]: Looks good to commit, with the following comment fixed. ::: src/logview-window.c @@ -1245,3 @@ - gtk_window_set_title (GTK_WINDOW (window), _("System Log")); - gtk_window_set_icon_name (GTK_WINDOW (window), "logview"); I'd keep these two - they might still be used or displayed when the application runs in a different environment.
(In reply to comment #4) > Review of attachment 251452 [details] [review]: > > Looks good to commit, with the following comment fixed. > > ::: src/logview-window.c > @@ -1245,3 @@ > > - gtk_window_set_title (GTK_WINDOW (window), _("System Log")); OK. > - gtk_window_set_icon_name (GTK_WINDOW (window), "logview"); > Is defined in the .ui file (<property name="icon_name">logview</property>) > I'd keep these two - they might still be used or displayed when the application > runs in a different environment.
Created attachment 251453 [details] [review] Bump GTK requirement
Created attachment 251454 [details] [review] window: make headerbar as titlebar and add close button
Review of attachment 251453 [details] [review]: Yes
Review of attachment 251454 [details] [review]: Thanks, missed the icon name in the ui file - looks good now.
Review of attachment 251449 [details] [review]: pushed as f7220c6ab37b2d394f4d055c021838c765285a35 - window: use G_DEFINE_TYPE_WITH_PRIVATE and use a template to define the UI
Review of attachment 251454 [details] [review]: pushed as f7220c6ab37b2d394f4d055c021838c765285a35 - window: make headerbar as titlebar and add close button
Review of attachment 251453 [details] [review]: pushed as 70708b968f2d11535eff20a503499b05cca5cd2a - Bump GTK requirement