shell: Use the X-GNOME-Settings-Panel value to identify panels
Use the custom .desktop file field to identify panels and make sure the panel implementations use the name to identify themselves.
This commit is contained in:
parent
8aa419dabc
commit
d91e466f93
7 changed files with 70 additions and 55 deletions
|
@ -106,6 +106,6 @@ cc_example_panel_register (GIOModule *module)
|
|||
cc_example_panel_register_type (G_TYPE_MODULE (module));
|
||||
g_io_extension_point_implement (CC_SHELL_PANEL_EXTENSION_POINT,
|
||||
CC_TYPE_EXAMPLE_PANEL,
|
||||
"gnome-example-panel.desktop", 0);
|
||||
"example-panel", 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue