Hide application preferences on Hildon and preset text editor

This commit is contained in:
Christian Dywan 2009-10-26 00:27:14 +01:00
parent 66079c987b
commit 4b633b6006
2 changed files with 6 additions and 0 deletions

View file

@ -452,6 +452,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
button = katze_property_proxy (settings, "close-buttons-on-tabs", NULL); button = katze_property_proxy (settings, "close-buttons-on-tabs", NULL);
SPANNED_ADD (button); SPANNED_ADD (button);
#if !HAVE_HILDON
/* Page "Applications" */ /* Page "Applications" */
PAGE_NEW (GTK_STOCK_CONVERT, _("Applications")); PAGE_NEW (GTK_STOCK_CONVERT, _("Applications"));
FRAME_NEW (_("External applications")); FRAME_NEW (_("External applications"));
@ -467,6 +468,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
INDENTED_ADD (label); INDENTED_ADD (label);
entry = katze_property_proxy (settings, "news-aggregator", "application-Network"); entry = katze_property_proxy (settings, "news-aggregator", "application-Network");
SPANNED_ADD (entry); SPANNED_ADD (entry);
#endif
/* Page "Network" */ /* Page "Network" */
PAGE_NEW (GTK_STOCK_NETWORK, _("Network")); PAGE_NEW (GTK_STOCK_NETWORK, _("Network"));

View file

@ -701,7 +701,11 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class)
"news-aggregator", "news-aggregator",
_("News Aggregator"), _("News Aggregator"),
_("An external news aggregator"), _("An external news aggregator"),
#if HAVE_HILDON
"osso_notes",
#else
NULL, NULL,
#endif
flags)); flags));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,