Revision 1124
| src/prefs_ui.c (revision 1124) | ||
|---|---|---|
| 106 | 106 |
gtk_widget_set_sensitive(widget, is_active); |
| 107 | 107 |
} |
| 108 | 108 |
|
| 109 |
void prefs_button_toggled_rev(GtkToggleButton *toggle_btn, GtkWidget *widget) |
|
| 110 |
{
|
|
| 111 |
gboolean is_active; |
|
| 112 |
|
|
| 113 |
is_active = gtk_toggle_button_get_active(toggle_btn); |
|
| 114 |
gtk_widget_set_sensitive(widget, !is_active); |
|
| 115 |
} |
|
| 116 |
|
|
| 109 | 117 |
void prefs_register_ui(PrefParam *param, PrefsUIData *ui_data) |
| 110 | 118 |
{
|
| 111 | 119 |
GHashTable *param_table; |
| src/prefs_ui.h (revision 1124) | ||
|---|---|---|
| 141 | 141 |
G_CALLBACK(prefs_button_toggled), targetwid); \ |
| 142 | 142 |
} |
| 143 | 143 |
|
| 144 |
#define SET_TOGGLE_SENSITIVITY_REV(togglewid, targetwid) \ |
|
| 145 |
{ \
|
|
| 146 |
gtk_widget_set_sensitive(targetwid, TRUE); \ |
|
| 147 |
g_signal_connect(G_OBJECT(togglewid), "toggled", \ |
|
| 148 |
G_CALLBACK(prefs_button_toggled_rev), targetwid); \ |
|
| 149 |
} |
|
| 150 |
|
|
| 144 | 151 |
void prefs_dialog_create (PrefsDialog *dialog); |
| 145 | 152 |
void prefs_dialog_destroy (PrefsDialog *dialog); |
| 146 | 153 |
|
| 147 | 154 |
void prefs_button_toggled (GtkToggleButton *toggle_btn, |
| 148 | 155 |
GtkWidget *widget); |
| 156 |
void prefs_button_toggled_rev (GtkToggleButton *toggle_btn, |
|
| 157 |
GtkWidget *widget); |
|
| 149 | 158 |
|
| 150 | 159 |
void prefs_register_ui (PrefParam *param, |
| 151 | 160 |
PrefsUIData *ui_data); |
| src/prefs_common_dialog.c (revision 1124) | ||
|---|---|---|
| 2083 | 2083 |
(vbox2, checkbtn_openunread, |
| 2084 | 2084 |
_("Open first unread message when entering a folder"));
|
| 2085 | 2085 |
|
| 2086 |
SET_TOGGLE_SENSITIVITY_REV |
|
| 2087 |
(checkbtn_always_show_msg, checkbtn_openunread); |
|
| 2088 |
|
|
| 2086 | 2089 |
PACK_CHECK_BUTTON |
| 2087 | 2090 |
(vbox2, checkbtn_mark_as_read_on_newwin, |
| 2088 | 2091 |
_("Only mark message as read when opened in new window"));
|
| ChangeLog.ja (revision 1124) | ||
|---|---|---|
| 1 |
2006-08-10 |
|
| 2 |
|
|
| 3 |
* src/prefs_ui.[ch] |
|
| 4 |
src/prefs_common_dialog.c: ?֥ե??????????ä??Ȥ??˺ǽ???̤?? |
|
| 5 |
???å????????פξ??֤??֥??ޥ??ǥ??å????????????Ȥ????? |
|
| 6 |
?????פȥ????????褦?ˤ????? |
|
| 7 |
|
|
| 1 | 8 |
2006-08-09 |
| 2 | 9 |
|
| 3 | 10 |
* src/compose.c: compose_set_ext_editor_sensitive(): |
| ChangeLog (revision 1124) | ||
|---|---|---|
| 1 |
2006-08-10 |
|
| 2 |
|
|
| 3 |
* src/prefs_ui.[ch] |
|
| 4 |
src/prefs_common_dialog.c: link the state of 'Open first unread |
|
| 5 |
message when entering a folder' with 'Always open messages in |
|
| 6 |
summary when selected'. |
|
| 7 |
|
|
| 1 | 8 |
2006-08-09 |
| 2 | 9 |
|
| 3 | 10 |
* src/compose.c: compose_set_ext_editor_sensitive(): also set the |
Also available in: Unified diff