Bloatpad: Set the application name
This will be picked up for the app menu label in fallback mode in the near future.
This commit is contained in:
@ -337,6 +337,8 @@ bloat_pad_new (void)
|
||||
|
||||
g_type_init ();
|
||||
|
||||
g_set_application_name ("Bloatpad");
|
||||
|
||||
bloat_pad = g_object_new (bloat_pad_get_type (),
|
||||
"application-id", "org.gtk.Test.bloatpad",
|
||||
"flags", G_APPLICATION_HANDLES_OPEN,
|
||||
@ -356,9 +358,12 @@ main (int argc, char **argv)
|
||||
int status;
|
||||
|
||||
bloat_pad = bloat_pad_new ();
|
||||
|
||||
gtk_application_add_accelerator (GTK_APPLICATION (bloat_pad),
|
||||
"F11", "win.fullscreen", NULL);
|
||||
|
||||
status = g_application_run (G_APPLICATION (bloat_pad), argc, argv);
|
||||
|
||||
g_object_unref (bloat_pad);
|
||||
|
||||
return status;
|
||||
|
||||
Reference in New Issue
Block a user