summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-global-preferences.h
diff options
context:
space:
mode:
authorAndy Hertzfeld <andy@src.gnome.org>2001-04-27 08:12:45 +0000
committerAndy Hertzfeld <andy@src.gnome.org>2001-04-27 08:12:45 +0000
commita0cd617c1ff4898c20ae596be68b783516716364 (patch)
tree68c96184b3c9883b193dfb3e565942c77569db7f /libnautilus-private/nautilus-global-preferences.h
parent433a531c4a2164ccc5bf7be16658a04e98bf0aeb (diff)
downloadnautilus-a0cd617c1ff4898c20ae596be68b783516716364.tar.gz
added preferences for the maximum numder of items per site and the update
added preferences for the maximum numder of items per site and the update interval. It's not quite finished, as the news view isn't watching the update interval preference yet. * components/news/nautilus-news.c: (do_destroy), (draw_rss_items), (nautilus_news_make_new_channel), (max_items_changed), (make_news_view): use the preference for max items and update interval * libnautilus-extensions/nautilus-global-preferences.c: define defaults for news panel preferences * libnautilus-extensions/nautilus-global-preferences.h: define news panel preferences * src/nautilus-preferences-dialog.c: add a news panel pane to the preferences dialog
Diffstat (limited to 'libnautilus-private/nautilus-global-preferences.h')
-rw-r--r--libnautilus-private/nautilus-global-preferences.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-global-preferences.h b/libnautilus-private/nautilus-global-preferences.h
index a80d8fca8..4df0c47b5 100644
--- a/libnautilus-private/nautilus-global-preferences.h
+++ b/libnautilus-private/nautilus-global-preferences.h
@@ -131,11 +131,17 @@ enum
#define NAUTILUS_PREFERENCES_LIST_VIEW_DEFAULT_ZOOM_LEVEL_FONT_SIZE "list-view/default_zoom_level_font_size"
#define NAUTILUS_PREFERENCES_LIST_VIEW_FONT "list-view/font"
+/* News panel */
+#define NAUTILUS_PREFERENCES_NEWS_MAX_ITEMS "news/max_items"
+#define NAUTILUS_PREFERENCES_NEWS_UPDATE_INTERVAL "news/update_interval"
+
/* File Indexing */
-#define NAUTILUS_PREFERENCES_SEARCH_BAR_TYPE "preferences/search_bar_type"
+#define NAUTILUS_PREFERENCES_SEARCH_BAR_TYPE "preferences/search_bar_type"
/* searching */
-#define NAUTILUS_PREFERENCES_SEARCH_WEB_URI "preferences/search_web_uri"
+#define NAUTILUS_PREFERENCES_SEARCH_WEB_URI "preferences/search_web_uri"
+
+
enum
{