2002-06-04 Seth Nickell <snickell@stanford.edu>
* gnome-window-manager.c: (gnome_window_manager_new):
Change to X-GnomeWMSettingsLibrary, because its evil to add new items to
.desktop files without the X :-)
2002-06-04 Seth Nickell <snickell@stanford.edu>
* gnome-window-manager.c: (gnome_window_manager_new),
(gnome_window_manager_class_init):
* gnome-window-manager.h:
Get rid of "get" calls, since we should just rely on the GConf settings being right.
Otherwise you get ambiguous problems with merging settings, figuring out which
takes predecedence, etc.
2002-06-04 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
Remove unused CFLAGS;
* gnome-window-properties.c: (wm_widget_add_wm),
(setup_appearance_option_menu):
Improve handling of option menus, set the default item.
* metacity-window-manager.c: (metacity_set_theme),
(add_themes_from_dir), (metacity_get_theme_list),
(metacity_set_font), (metacity_set_focus_follows_mouse),
(metacity_window_manager_class_init):
Actually do things when the "set" calls are made, improve
intelligence of loading the theme list. Eventually we should
probably do validation on the XML files.
2002-06-04 Seth Nickell <snickell@stanford.edu>
* gnome-window-manager.c: (gnome_window_manager_get_ditem):
* gnome-window-manager.h:
* gnome-wm-manager.c: (gnome_wm_manager_set_current),
(gnome_wm_manager_get_current), (gnome_wm_manager_same_wm):
* gnome-wm-manager.h:
Clean the APIs a little bit, add a mechanism for discovering if two GnomeWindowManager *s are
the same Window Manager underneath.
2002-06-04 Seth Nickell <snickell@stanford.edu>
* gnome-window-properties.c: (set_wm_change_pending),
(wm_selection_changed), (wm_widget_add_wm), (apply_wm),
(setup_appearance_option_menu), (appearance_changed),
(setup_dialog), (main):
* gnome-window-properties.glade:
* metacity-window-manager.c: (metacity_get_theme_list):
Handle setting the currently running window manager properly.
Get the theme list, and make changes based on it to the GConf setting.
2002-06-02 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
Update to deal with the .pc file that gets generated.
* Makefile.am:
Build a real library, not just a non-installed. This is to get around
problems dealing with GObject inheritance and static memory problems. We
have a run time loaded object deriving from the library, so it has to link it in. But then
the problem that occurs is that both the run-time loaded library and the
program that calls it statically link the .la in. Then they have different
memory spaces, and type registration goes to pot. Open to suggestions if there's
a way of doing this without making an installed library.
* gnome-window-manager.c: (gnome_window_manager_new),
(gnome_window_manager_get_name), (gnome_window_manager_set_theme),
(gnome_window_manager_get_theme_list),
(gnome_window_manager_set_font),
(gnome_window_manager_get_focus_follows_mouse),
(gnome_window_manager_set_focus_follows_mouse),
(gnome_window_manager_init), (gnome_window_manager_finalize),
(gnome_window_manager_class_init), (gnome_window_manager_get_type):
* gnome-window-manager.h:
Lots of formatting fixes, change some of the boilerplate.
* gnome-window-settings-2.0.pc.in:
Since we're installing a library, go the whole way. Its good to make this
easy to depend on for external window managers anyway, now that I think
of it.
* gnome-wm-manager.c: (gnome_wm_manager_init),
(gnome_wm_manager_get_list), (gnome_wm_manager_set_current),
(gnome_wm_manager_get_current),
(gnome_wm_manager_change_wm_to_settings), (restart_label_update),
(restart_dialog_raise), (restart_dialog_destroyed),
(show_restart_dialog), (hide_restart_dialog), (init_session),
(update_session), (init_callback), (restart_finalize),
(restart_failure), (show_restart_info), (restart_finish),
(restart_callback), (restart), (revert_callback),
(cancel_callback):
* gnome-wm-manager.h:
Add code for doing the window manager switch to the library,
snitched out of wm-properties. Its probably a little broken right now.
* wm-exec.c: (wm_is_running), (find_gnome_wm_window),
(find_wm_window_from_client), (window_has_wm_state),
(descendent_has_wm_state), (find_wm_window_from_hunt),
(find_wm_window), (start_timeout), (start_do), (kill_timeout),
(wm_restart), (wm_guess_current):
* wm-list.c: (is_blank), (wm_compare), (wm_free),
(wm_check_present), (wm_copy), (wm_list_find), (wm_list_find_exec),
(wm_list_find_files), (wm_list_read_dir), (wm_list_init),
(wm_list_save), (wm_list_revert), (wm_list_add), (wm_list_delete),
(wm_list_set_current), (wm_list_get_current), (wm_list_get_revert),
(wm_read_from_xml), (wm_list_read_from_xml), (wm_write_to_xml),
(wm_list_write_to_xml), (xml_read_bool), (xml_write_bool):
* wm-properties.h:
Take wm-switching code out of the capplet, move it here.
(Jacob, I did a make dist and build the resulting tarball, hope things
don't break for you this time ... )
2002-06-02 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-window-properties.c: (wm_selection_changed),
(wm_widget_add_wm), (update_gui), (apply_wm), (create_dialog),
(main):
Split code for changing window managers into libgnome-window-settings.
This is so in the future we can potentially move this into gnome-settings-daemon,
though for now its not robust enough that we really want to do that.
* metacity-window-manager.c: (window_manager_new),
(metacity_window_manager_init), (metacity_window_manager_finalize),
(metacity_window_manager_class_init),
(metacity_window_manager_get_type):
* metacity-window-manager.h:
Update to match changes to gnome-window-manager.h
* wm-exec.c:
* wm-list.c:
* wm-properties.h:
Move these into libgnome-window-settings.
(Jacob, I did make dist, and then built the resulting tarball, hope I
don't cause problems this time :-/)
2002-05-31 Damon Chaplin <damon@ximian.com>
* applier.c (bg_applier_apply_prefs): don't call set_root_pixmap() at
all if nautilus is running. It didn't do anything in this case anyway.
Removed the nice(20). A library function shouldn't do this. If
gnome-settings-daemon wants to be niced then it should do it in main()
or something like that.
(set_root_pixmap): do a final check to see if nautilus is running
before setting the pixmap.
Fixes part of #74311.
Wed May 29 20:23:13 2002 Jonathan Blandford <jrb@redhat.com>
* Makefile.am: Add gnome-settings-keybinding
* gnome-settings-daemon.c: (gnome_settings_daemon_new): initialize
keybindings support
* gnome-settings-keybindings.[ch]: Patch to add support for custom
keybindings. Thanks to Erwann Chenede <Erwann.Chenede@sun.com>
for the patch.
2002-05-29 Jody Goldberg <jody@gnome.org>
* mime-type-info.c (get_category_description) : put things in Misc if
they have no defined category.
(get_category_name) : ditto.