Added new mouse properties capplet
2000-09-12 Bradford Hovinen <hovinen@helixcode.com> * new-keyboard-properties/preferences.c (preferences_clone): Added in missing code to copy preferences over
This commit is contained in:
parent
e97f9d324b
commit
96acc3fd51
12 changed files with 1536 additions and 7 deletions
|
@ -0,0 +1,5 @@
|
|||
2000-09-12 Bradford Hovinen <hovinen@helixcode.com>
|
||||
|
||||
* preferences.c (preferences_clone): Added in missing code to copy
|
||||
preferences over
|
||||
|
|
@ -3,7 +3,10 @@
|
|||
/* preferences.c
|
||||
* Copyright (C) 2000 Helix Code, Inc.
|
||||
*
|
||||
* Written by Bradford Hovinen <hovinen@helixcode.com>
|
||||
* Written by Bradford Hovinen <hovinen@helixcode.com>,
|
||||
* Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
|
||||
*
|
||||
* Based on gnome-core/desktop-properties/property-keyboard.c
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -120,8 +123,11 @@ preferences_clone (Preferences *prefs)
|
|||
object = preferences_new ();
|
||||
|
||||
new_prefs = PREFERENCES (object);
|
||||
|
||||
/* Code to copy data from old preferences object to new one */
|
||||
new_prefs->rate = prefs->rate;
|
||||
new_prefs->delay = prefs->delay;
|
||||
new_prefs->repeat = prefs->repeat;
|
||||
new_prefs->click_volume = prefs->click_volume;
|
||||
new_prefs->click_on_keypress = prefs->click_on_keypress;
|
||||
|
||||
return object;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue