Drop gs-applications.menu so the standard one is used
gs-applications was introduced because we initially wanted a limited set of categories, but this has now changed and we're back to categories similar to the ones in the applications.menu from gnome-menus. We can fix gnome-menus to have better categories, if needed. https://bugzilla.gnome.org/show_bug.cgi?id=641148
This commit is contained in:
parent
7ddf54c4d3
commit
9915038e9b
@ -72,11 +72,6 @@ all-local: gschemas.compiled
|
|||||||
gconfschemadir = @GCONF_SCHEMA_FILE_DIR@
|
gconfschemadir = @GCONF_SCHEMA_FILE_DIR@
|
||||||
gconfschema_DATA = gnome-shell.schemas
|
gconfschema_DATA = gnome-shell.schemas
|
||||||
|
|
||||||
menudir = $(sysconfdir)/xdg/menus
|
|
||||||
|
|
||||||
menu_DATA = \
|
|
||||||
gs-applications.menu
|
|
||||||
|
|
||||||
shadersdir = $(pkgdatadir)/shaders
|
shadersdir = $(pkgdatadir)/shaders
|
||||||
shaders_DATA = \
|
shaders_DATA = \
|
||||||
shaders/dim-window.glsl
|
shaders/dim-window.glsl
|
||||||
|
@ -1,85 +0,0 @@
|
|||||||
<Menu>
|
|
||||||
<DefaultLayout>
|
|
||||||
<Menuname>Accessories</Menuname>
|
|
||||||
<Menuname>Games</Menuname>
|
|
||||||
<Menuname>Graphics</Menuname>
|
|
||||||
<Menuname>Internet</Menuname>
|
|
||||||
<Menuname>Multimedia</Menuname>
|
|
||||||
<Menuname>Office</Menuname>
|
|
||||||
<Menuname>Other</Menuname>
|
|
||||||
</DefaultLayout>
|
|
||||||
|
|
||||||
<Name>Applications</Name>
|
|
||||||
<AppDir>/usr/local/share/applications</AppDir>
|
|
||||||
<DefaultAppDirs/>
|
|
||||||
|
|
||||||
<Menu>
|
|
||||||
<Name>Accessories</Name>
|
|
||||||
<Include>
|
|
||||||
<And>
|
|
||||||
<Category>Utility</Category>
|
|
||||||
<Not>
|
|
||||||
<Category>System</Category>
|
|
||||||
</Not>
|
|
||||||
</And>
|
|
||||||
</Include>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
<Menu>
|
|
||||||
<Name>Games</Name>
|
|
||||||
<Include>
|
|
||||||
<And>
|
|
||||||
<Category>Game</Category>
|
|
||||||
</And>
|
|
||||||
</Include>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
<Menu>
|
|
||||||
<Name>Graphics</Name>
|
|
||||||
<Include>
|
|
||||||
<And>
|
|
||||||
<Category>Graphics</Category>
|
|
||||||
</And>
|
|
||||||
</Include>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
<Menu>
|
|
||||||
<Name>Internet</Name>
|
|
||||||
<Include>
|
|
||||||
<And>
|
|
||||||
<Category>Network</Category>
|
|
||||||
<Not><Category>Settings</Category></Not>
|
|
||||||
</And>
|
|
||||||
</Include>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
<Menu>
|
|
||||||
<Name>Multimedia</Name>
|
|
||||||
<Include>
|
|
||||||
<And>
|
|
||||||
<Category>AudioVideo</Category>
|
|
||||||
<Not><Category>Settings</Category></Not>
|
|
||||||
</And>
|
|
||||||
</Include>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
<Menu>
|
|
||||||
<Name>Office</Name>
|
|
||||||
<Include>
|
|
||||||
<And>
|
|
||||||
<Category>Office</Category>
|
|
||||||
</And>
|
|
||||||
</Include>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
<Menu>
|
|
||||||
<Name>Other</Name>
|
|
||||||
<OnlyUnallocated/>
|
|
||||||
<Include>
|
|
||||||
<And>
|
|
||||||
<Not><Category>Settings</Category></Not>
|
|
||||||
<Not><Category>Screensaver</Category></Not>
|
|
||||||
</And>
|
|
||||||
</Include>
|
|
||||||
</Menu>
|
|
||||||
</Menu>
|
|
@ -157,7 +157,6 @@ gnome_shell_plugin_class_init (GnomeShellPluginClass *klass)
|
|||||||
static void
|
static void
|
||||||
gnome_shell_plugin_init (GnomeShellPlugin *shell_plugin)
|
gnome_shell_plugin_init (GnomeShellPlugin *shell_plugin)
|
||||||
{
|
{
|
||||||
g_setenv ("XDG_MENU_PREFIX", "gs-", TRUE);
|
|
||||||
meta_prefs_override_preference_location ("/apps/mutter/general/attach_modal_dialogs",
|
meta_prefs_override_preference_location ("/apps/mutter/general/attach_modal_dialogs",
|
||||||
"/desktop/gnome/shell/windows/attach_modal_dialogs");
|
"/desktop/gnome/shell/windows/attach_modal_dialogs");
|
||||||
meta_prefs_override_preference_location ("/apps/metacity/general/button_layout",
|
meta_prefs_override_preference_location ("/apps/metacity/general/button_layout",
|
||||||
|
Loading…
Reference in New Issue
Block a user