malcontent-control: Use HdyWindow and HdyHeaderBar
This commit is contained in:
parent
f11d91da3a
commit
d80ed10592
3 changed files with 265 additions and 255 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <glib/gi18n-lib.h>
|
||||
#include <gio/gio.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <libhandy-1/handy.h>
|
||||
#include <libmalcontent-ui/malcontent-ui.h>
|
||||
#include <polkit/polkit.h>
|
||||
|
||||
|
@ -250,6 +251,8 @@ mct_application_startup (GApplication *application)
|
|||
/* Chain up. */
|
||||
G_APPLICATION_CLASS (mct_application_parent_class)->startup (application);
|
||||
|
||||
hdy_init ();
|
||||
|
||||
g_action_map_add_action_entries (G_ACTION_MAP (application), app_entries,
|
||||
G_N_ELEMENTS (app_entries), application);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue