http://bugzilla.gnome.org/show_bug.cgi?id=147244 Only put the toggles
2004-07-13 David Sedeo <david@alderia.com> http://bugzilla.gnome.org/show_bug.cgi?id=147244 * gnome-default-applications-properties.c: Only put the toggles inconsistent if there are not custom commands
This commit is contained in:
parent
b925b93862
commit
43be59b3f4
2 changed files with 23 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-07-13 David Sedeño <david@alderia.com>
|
||||
|
||||
http://bugzilla.gnome.org/show_bug.cgi?id=147244
|
||||
* gnome-default-applications-properties.c: Only put the toggles
|
||||
inconsistent if there are not custom commands
|
||||
|
||||
2004-06-08 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
http://bugzilla.gnome.org/show_bug.cgi?id=143975
|
||||
|
|
|
@ -392,9 +392,15 @@ read_browser (GConfClient *client,
|
|||
g_free (browser);
|
||||
return;
|
||||
}
|
||||
}
|
||||
gtk_toggle_button_set_inconsistent (GTK_TOGGLE_BUTTON (WID ("web_select_radio")), TRUE);
|
||||
gtk_toggle_button_set_inconsistent (GTK_TOGGLE_BUTTON (WID ("web_custom_radio")), TRUE);
|
||||
}
|
||||
if (strlen(browser) != 0) {
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("web_select_radio")), TRUE);
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("web_custom_radio")), TRUE);
|
||||
} else {
|
||||
gtk_toggle_button_set_inconsistent (GTK_TOGGLE_BUTTON (WID ("web_select_radio")), TRUE);
|
||||
gtk_toggle_button_set_inconsistent (GTK_TOGGLE_BUTTON (WID ("web_custom_radio")), TRUE);
|
||||
}
|
||||
|
||||
g_free (browser);
|
||||
}
|
||||
|
||||
|
@ -431,8 +437,14 @@ read_mailer (GConfClient *client,
|
|||
return;
|
||||
}
|
||||
}
|
||||
gtk_toggle_button_set_inconsistent (GTK_TOGGLE_BUTTON (WID ("mail_select_radio")), TRUE);
|
||||
gtk_toggle_button_set_inconsistent (GTK_TOGGLE_BUTTON (WID ("mail_custom_radio")), TRUE);
|
||||
|
||||
if (strlen(mailer) != 0) {
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("mail_select_radio")), TRUE);
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("mail_custom_radio")), TRUE);
|
||||
} else {
|
||||
gtk_toggle_button_set_inconsistent (GTK_TOGGLE_BUTTON (WID ("mail_select_radio")), TRUE);
|
||||
gtk_toggle_button_set_inconsistent (GTK_TOGGLE_BUTTON (WID ("mail_custom_radio")), TRUE);
|
||||
}
|
||||
g_free (mailer);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue