Commit graph

15 commits

Author SHA1 Message Date
Alex Duggan
b885a19c9a use appropriate window border icon.
2003-04-30  Alex Duggan  <aldug@astrolinux.com>

	* gnome-window-properties.c: use appropriate
	window border icon.
2003-05-01 05:32:13 +00:00
Havoc Pennington
24a577acd6 modify to use slider/radio instead of spinbutton/optionmenu.
2002-12-01  Havoc Pennington  <hp@pobox.com>

	* gnome-window-properties.c: modify to use slider/radio instead of
	spinbutton/optionmenu.

	* gnome-window-properties.glade: make UI review changes
2002-12-02 01:14:14 +00:00
Havoc Pennington
692b9dde4f adapt to gnome-wm-manager API changes
2002-10-26  Havoc Pennington  <hp@pobox.com>

	* theme-switcher.c (window_read_themes): adapt to gnome-wm-manager
	API changes

2002-10-26  Havoc Pennington  <hp@pobox.com>

	* gnome-window-manager.c: handle NULL fields in the class struct;
	and replace the individual setters with get/set for a big
	struct with flags indicating which fields we care about,
	a la a graphics context. Add settings_changed signal.
	(gnome_window_manager_get_type): change object name to
	GnomeWindowManager not GWindowManager

	* gnome-window-manager.h (struct _GnomeWindowManagerClass): add
	padding to the class struct

	* Makefile.am: move metacity module here from capplets/windows/
	(libgnome_window_settings_la_SOURCES): don't build the code to
	switch window managers, it was bitrotted and broken anyway, and
	isn't in the UI right now. Keep the code in EXTRA_DIST in case
	someone wants to recover it. Move some relevant bits to
	gnome-wm-manager.c

2002-10-26  Havoc Pennington  <hp@pobox.com>

	* gnome-window-properties.c: rewrite

	* Makefile.am (bin_PROGRAMS): remove metacity module, move to
	libwindow-settings
	(gnome_window_properties_LDADD): properly link to .la file for
	libgnome-window-settings, not the installed copy
2002-10-29 06:19:52 +00:00
Seth Nickell
6b7ddb4045 Fix potential segfault.
* gnome-window-properties.c: (setup_appearance_option_menu):

	Fix potential segfault.
2002-10-22 04:13:10 +00:00
Seth Nickell
af0063dd7b Fix segfault caused by a WM where the settings module wasn't found.
* gnome-window-properties.c: (update_gui):

	Fix segfault caused by a WM where the settings module
	wasn't found.
2002-10-22 03:54:11 +00:00
Seth Nickell
2dd038c437 Fix bug that caused a segfault when the GConf theme key was missing.
* gnome-window-properties.c: (setup_appearance_option_menu):

	Fix bug that caused a segfault when the GConf theme key
	was missing.
2002-10-22 02:53:48 +00:00
Seth Nickell
03f10ccb0c Remove unused CFLAGS;
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-05 00:36:57 +00:00
Seth Nickell
059bd84cef Handle setting the currently running window manager properly.
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-04 22:58:35 +00:00
Seth Nickell
603155d441 Create the .pc file for the window manager settings library.
2002-06-02  Seth Nickell  <snickell@stanford.edu>

	* configure.in:

	Create the .pc file for the window manager settings library.
2002-06-03 00:37:24 +00:00
Seth Nickell
0a5695f294 Split code for changing window managers into libgnome-window-settings.
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-06-03 00:27:15 +00:00
Kjartan Maraas
d1b4b0489d Use GETTEXT_PACKAGE, not PACKAGE. Also add bind_textdomain_codeset() call.
2002-05-30  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-window-properties.c (main): Use GETTEXT_PACKAGE, not PACKAGE.
	  Also add bind_textdomain_codeset() call.
	* gnome-window-properties.c: Fix some compiler warnings.
2002-05-30 23:06:37 +00:00
Seth Nickell
0b6fd7d726 Ignore gladep (grrr) files.
2002-05-11  Seth Nickell  <snickell@stanford.edu>

	* .cvsignore:

	Ignore gladep (grrr) files.

	* Makefile.am:
	* gnome-window-manager.c: (gnome_window_manager_new):
	* gnome-window-manager.h:
	* metacity-window-manager.c: (window_manager_new),
	(metacity_set_theme), (metacity_get_theme_list),
	(metacity_set_font), (metacity_get_focus_follows_mouse),
	(metacity_set_focus_follows_mouse), (finalize), (class_init),
	(init), (metacity_window_manager_get_type):
	* metacity-window-manager.h:

	First pass at adding settings modules.

	* window-capplet.png:

	Use the wm-properties icon.

	* wm-list.c: (wm_list_find), (wm_list_find_exec):

	Nix some warnings caused by non-use of const.

	* gnome-window-properties.c: (setup_dialog):
	* gnome-window-properties.glade:

	Tweak appearance some more.
2002-05-11 19:08:05 +00:00
Seth Nickell
82f14be305 Hook titlebar font into GConf key.
* gnome-window-properties.c: (setup_dialog), (main):

	Hook titlebar font into GConf key.

	* window-properties.desktop.in:

	Set title in .desktop file.
2002-05-11 05:01:07 +00:00
Seth Nickell
0410c11e51 Make the glade file look a little bit better, hide the property widgets
2002-05-10  Seth Nickell  <snickell@stanford.edu>

	* gnome-window-properties.c: (set_wm_change_pending),
	(state_changed), (create_dialog):
	* gnome-window-properties.glade:

	Make the glade file look a little bit better, hide the property widgets when
	there is a window manager change pending.
2002-05-11 04:48:16 +00:00
Seth Nickell
ad15ad16c9 2002-05-10 Seth Nickell <snickell@stanford.edu>
* .cvsignore:
	* Makefile.am:
	* gnome-window-properties.c: (wm_selection_changed),
	(wm_widget_clear), (wm_widget_new), (wm_widget_add_wm),
	(response_cb), (state_changed), (restart_label_update),
	(restart_dialog_raise), (restart_dialog_destroyed),
	(show_restart_dialog), (hide_restart_dialog), (update_session),
	(init_session), (update_gui), (init_callback), (restart_finalize),
	(restart_failure), (show_restart_info), (restart_finish),
	(restart_callback), (restart), (revert_callback),
	(cancel_callback), (apply_wm), (create_dialog), (main):
	* gnome-window-properties.glade:
	* window-capplet.png:
	* window-properties.desktop.in:
	* 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:
2002-05-11 04:28:20 +00:00