Don't show toolbar preferences if running a DE
Let's assume that modern desktops have a tool to adapt the toolbar style. Fixes: https://bugs.launchpad.net/midori/+bug/711435
This commit is contained in:
parent
d1d5ea9b77
commit
aa401634ed
1 changed files with 7 additions and 4 deletions
|
@ -440,11 +440,14 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
|
||||||
|
|
||||||
/* Page "Interface" */
|
/* Page "Interface" */
|
||||||
PAGE_NEW (GTK_STOCK_CONVERT, _("Interface"));
|
PAGE_NEW (GTK_STOCK_CONVERT, _("Interface"));
|
||||||
FRAME_NEW (_("Navigationbar"));
|
|
||||||
#if !HAVE_HILDON
|
#if !HAVE_HILDON
|
||||||
|
if (!g_getenv ("DESKTOP_SESSION"))
|
||||||
|
{
|
||||||
|
FRAME_NEW (_("Navigationbar"));
|
||||||
INDENTED_ADD (katze_property_label (settings, "toolbar-style"));
|
INDENTED_ADD (katze_property_label (settings, "toolbar-style"));
|
||||||
button = katze_property_proxy (settings, "toolbar-style", NULL);
|
button = katze_property_proxy (settings, "toolbar-style", NULL);
|
||||||
SPANNED_ADD (button);
|
SPANNED_ADD (button);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
FRAME_NEW (_("Browsing"));
|
FRAME_NEW (_("Browsing"));
|
||||||
label = katze_property_label (settings, "open-new-pages-in");
|
label = katze_property_label (settings, "open-new-pages-in");
|
||||||
|
|
Loading…
Reference in a new issue