summaryrefslogtreecommitdiff
path: root/capplets/default-applications
diff options
context:
space:
mode:
authorLauris Kaplinski <lauris@src.gnome.org>2002-03-28 01:37:53 +0000
committerLauris Kaplinski <lauris@src.gnome.org>2002-03-28 01:37:53 +0000
commit27095fe23619122e149d2877843e2ec22a1f0c35 (patch)
tree6a437ebcfa1b3293c1d3e45043f2e2e53a09a9ad /capplets/default-applications
parent25e832d7168010a448a6fc95fba935f0b915e4c4 (diff)
downloadgnome-control-center-27095fe23619122e149d2877843e2ec22a1f0c35.tar.gz
Fixed typo in default applications capplet, that made it to ignore
editor setting
Diffstat (limited to 'capplets/default-applications')
-rw-r--r--capplets/default-applications/ChangeLog5
-rw-r--r--capplets/default-applications/gnome-default-applications-properties.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/capplets/default-applications/ChangeLog b/capplets/default-applications/ChangeLog
index 8f107fbea..6e5cb990c 100644
--- a/capplets/default-applications/ChangeLog
+++ b/capplets/default-applications/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-28 Lauris Kaplinski <lauris@ximian.com>
+
+ * gnome-default-applications-properties.c (setup_peditors): Fix typo
+ (read_help_viewer): Rename accepts_lineno to accepts_urls to avoid confusion
+
2002-03-07 Lauris Kaplinski <lauris@ximian.com>
* gnome-default-applications-properties.c (generic_guard): Set focus
diff --git a/capplets/default-applications/gnome-default-applications-properties.c b/capplets/default-applications/gnome-default-applications-properties.c
index 1be5de050..21975952f 100644
--- a/capplets/default-applications/gnome-default-applications-properties.c
+++ b/capplets/default-applications/gnome-default-applications-properties.c
@@ -181,7 +181,7 @@ setup_peditors (GConfClient *client,
gconf_peditor_new_boolean (changeset, "/desktop/gnome/applications/editor/needs_term",
WID ("text_custom_terminal_toggle"), NULL);
- gconf_peditor_new_boolean (changeset, "/desktop/gnome/applications/accepts_lineo",
+ gconf_peditor_new_boolean (changeset, "/desktop/gnome/applications/editor/accepts_lineno",
WID ("text_custom_line_toggle"), NULL);
gconf_peditor_new_string (changeset, "/desktop/gnome/applications/editor/exec",
WID ("text_custom_command_entry"), NULL);
@@ -195,7 +195,7 @@ setup_peditors (GConfClient *client,
gconf_peditor_new_boolean (changeset, "/desktop/gnome/applications/help_viewer/needs_term",
WID ("help_custom_terminal_toggle"), NULL);
- gconf_peditor_new_boolean (changeset, "/desktop/gnome/applications/help_viewer/accepts_lineno",
+ gconf_peditor_new_boolean (changeset, "/desktop/gnome/applications/help_viewer/accepts_urls",
WID ("help_custom_url_toggle"), NULL);
gconf_peditor_new_string (changeset, "/desktop/gnome/applications/help_viewer/exec",
WID ("help_custom_command_entry"), NULL);
@@ -280,7 +280,7 @@ read_help_viewer (GConfClient *client,
GError *error = NULL;
gchar *help_viewer;
gboolean needs_term;
- gboolean accepts_lineno;
+ gboolean accepts_urls;
gint i;
needs_term = gconf_client_get_bool (client, "/desktop/gnome/applications/help_viewer/needs_term", &error);
@@ -288,7 +288,7 @@ read_help_viewer (GConfClient *client,
/* hp will shoot me -- I'll do this later. */
return;
}
- accepts_lineno = gconf_client_get_bool (client, "/desktop/gnome/applications/help_viewer/accepts_lineno", &error);
+ accepts_urls = gconf_client_get_bool (client, "/desktop/gnome/applications/help_viewer/accepts_urls", &error);
if (error) {
return;
}
@@ -298,7 +298,7 @@ read_help_viewer (GConfClient *client,
}
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_terminal_toggle")), needs_term);
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_url_toggle")), accepts_lineno);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_url_toggle")), accepts_urls);
gtk_entry_set_text (GTK_ENTRY (WID ("help_custom_command_entry")), help_viewer);
for (i = 0; i < G_N_ELEMENTS (possible_help_viewers); i++ ) {
@@ -307,7 +307,7 @@ read_help_viewer (GConfClient *client,
if (help_viewer && strcmp (help_viewer, possible_help_viewers[i].executable_name) == 0 &&
needs_term == possible_help_viewers[i].needs_term &&
- accepts_lineno == possible_help_viewers[i].accepts_urls) {
+ accepts_urls == possible_help_viewers[i].accepts_urls) {
gtk_entry_set_text (GTK_ENTRY (WID ("help_select_combo_entry")),
_(possible_help_viewers[i].name));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("help_custom_radio")), TRUE);