Hide application preferences on Hildon and preset text editor
This commit is contained in:
parent
66079c987b
commit
4b633b6006
2 changed files with 6 additions and 0 deletions
|
@ -452,6 +452,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
|
|||
button = katze_property_proxy (settings, "close-buttons-on-tabs", NULL);
|
||||
SPANNED_ADD (button);
|
||||
|
||||
#if !HAVE_HILDON
|
||||
/* Page "Applications" */
|
||||
PAGE_NEW (GTK_STOCK_CONVERT, _("Applications"));
|
||||
FRAME_NEW (_("External applications"));
|
||||
|
@ -467,6 +468,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
|
|||
INDENTED_ADD (label);
|
||||
entry = katze_property_proxy (settings, "news-aggregator", "application-Network");
|
||||
SPANNED_ADD (entry);
|
||||
#endif
|
||||
|
||||
/* Page "Network" */
|
||||
PAGE_NEW (GTK_STOCK_NETWORK, _("Network"));
|
||||
|
|
|
@ -701,7 +701,11 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class)
|
|||
"news-aggregator",
|
||||
_("News Aggregator"),
|
||||
_("An external news aggregator"),
|
||||
#if HAVE_HILDON
|
||||
"osso_notes",
|
||||
#else
|
||||
NULL,
|
||||
#endif
|
||||
flags));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
|
|
Loading…
Reference in a new issue