aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_ui.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-08-10 02:26:46 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-08-10 02:26:46 +0000
commitaa4fdbfbc9a10cb344e3bad9d58fa438bbb4cda0 (patch)
tree5b91a2a3dd950ada0e61a9c5eb455928835cf405 /src/prefs_ui.c
parent30ce92c4bb6af96dfdbd4bb4eeb0cb5df74a684f (diff)
modified Common prefs - Details - Interface.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1124 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_ui.c')
-rw-r--r--src/prefs_ui.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/prefs_ui.c b/src/prefs_ui.c
index e8bc8227..5984d6c3 100644
--- a/src/prefs_ui.c
+++ b/src/prefs_ui.c
@@ -106,6 +106,14 @@ void prefs_button_toggled(GtkToggleButton *toggle_btn, GtkWidget *widget)
gtk_widget_set_sensitive(widget, is_active);
}
+void prefs_button_toggled_rev(GtkToggleButton *toggle_btn, GtkWidget *widget)
+{
+ gboolean is_active;
+
+ is_active = gtk_toggle_button_get_active(toggle_btn);
+ gtk_widget_set_sensitive(widget, !is_active);
+}
+
void prefs_register_ui(PrefParam *param, PrefsUIData *ui_data)
{
GHashTable *param_table;