Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c-s-d should set Gtk/ShellShowsAppMenu to false <0> #14

Closed
leigh123linux opened this issue Sep 27, 2013 · 1 comment
Closed

c-s-d should set Gtk/ShellShowsAppMenu to false <0> #14

leigh123linux opened this issue Sep 27, 2013 · 1 comment

Comments

@leigh123linux
Copy link
Contributor

Totem, gedit, and other gnome apps have a separate presences menu tab, in totem it's called "Videos" .
Since the move to c-s-d this tab has disappeared (ubuntu totem is patched to use old preference style).

videos_old

videos_new

running this gsetting command restores the tab

gsettings set org.cinnamon.settings-daemon.plugins.xsettings overrides '@a{sv} {"Gtk/ShellShowsAppMenu": <int32 0>}'

This should be set by c-s-d !

Looking at the code /plugins/xsettings/csd-xsettings-manager.c

static void
notify_have_shell (CinnamonSettingsXSettingsManager   *manager)
{
        int i;

        cinnamon_settings_profile_start (NULL);
        for (i = 0; manager->priv->managers [i]; i++) {
                /* Shell is showing appmenu if either GNOME Shell or Unity is running. */
                xsettings_manager_set_int (manager->priv->managers [i], "Gtk/ShellShowsAppMenu",
                                           manager->priv->have_shell || manager->priv->have_unity);
                /* Shell is showing menubar *only* if Unity runs */
                xsettings_manager_set_int (manager->priv->managers [i], "Gtk/ShellShowsMenubar",
                                           manager->priv->have_unity);
        }
        queue_notify (manager);
        cinnamon_settings_profile_end (NULL);
}
@leigh123linux
Copy link
Contributor Author

videos_menu

video_menu1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant