GnomeICU fix
- From: Andrei Zmievski <andrei ispi net>
- To: gnome-devel-list gnome org
- Subject: GnomeICU fix
- Date: Tue, 21 Nov 2000 10:29:51 -0600
I noticed that the state of the status notification toggle is not
saved. I attached a fix for that.
-Andrei
* Only 19,999 lines of C++ to my next ski trip... *
Index: gnomecfg.c
===================================================================
RCS file: /cvs/gnome/gnomeicu/src/gnomecfg.c,v
retrieving revision 1.94
diff -u -r1.94 gnomecfg.c
--- gnomecfg.c 2000/10/18 04:09:32 1.94
+++ gnomecfg.c 2000/11/15 15:39:01
@@ -177,7 +177,7 @@
toggles->auto_popup = gnome_config_get_bool( "Toggles/AutoPopup=false" );
toggles->no_new_users = gnome_config_get_bool( "Toggles/NoNewUsers=false" );
toggles->hidetooltip = gnome_config_get_bool( "Toggles/HideToolTip=false" );
- gnome_config_set_bool( "Toggles/StatusNotify", toggles->status_notify );
+ toggles->status_notify = gnome_config_get_bool ("Toggles/StatusNotify=false" );
toggles->sort_contacts = gnome_config_get_bool( "Toggles/Sort_Contacts=true" );
toggles->program_on_receive_message =
gnome_config_get_bool("Toggles/ProgramOnReceiveMessage=false");
@@ -546,6 +546,7 @@
gnome_config_set_bool( "Toggles/Kanji", toggles->kanji );
gnome_config_set_bool( "Toggles/FullReply", toggles->full_reply );
gnome_config_set_bool( "Toggles/AutoPopup", toggles->auto_popup );
+ gnome_config_set_bool( "Toggles/StatusNotify", toggles->status_notify );
gnome_config_set_bool( "Toggles/NoNewUsers", toggles->no_new_users );
gnome_config_set_bool( "Toggles/ProgramOnReceiveMessage",
toggles->program_on_receive_message );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]