Commit graph

26 commits

Author SHA1 Message Date
Priit Laes
8487561670 Deprecated GtkOptionMenu to GtkComboBox conversion. Ditto. Closes bug
2007-03-23  Priit Laes  <amd@store20.com>

	* gnome-window-properties.c: (double_click_titlebar_changed_callback),
	(reload_settings), (update_wm), (main): Deprecated GtkOptionMenu to
	GtkComboBox conversion.
	* gnome-window-properties.glade: Ditto.
	Closes bug #421210.


svn path=/trunk/; revision=7418
2007-03-23 18:36:35 +00:00
Jens Granseuer
b00934aac1 remove some long-dead code; don't leak stuff on error, either
2007-02-22  Jens Granseuer  <jensgr@gmx.net>

	* gnome-window-properties.c: (alt_click_radio_toggled_callback),
	(main), (reload_mouse_modifiers): remove some long-dead code; don't leak
	stuff on error, either

svn path=/trunk/; revision=7318
2007-02-22 17:38:18 +00:00
Jens Granseuer
6c52e0a535 don't leak the references to the glade dialog and GnomeProgram
2007-01-31  Jens Granseuer  <jensgr@gmx.net>

	* gnome-window-properties.c: (main): don't leak the references to the
	glade dialog and GnomeProgram

svn path=/trunk/; revision=7216
2007-01-31 17:51:13 +00:00
Thomas Wood
9edc3de280 Patch by: Elijah Newren <newren@gmail.com>
2007-01-07  Thomas Wood  <thos@gnome.org>

	Patch by:  Elijah Newren <newren@gmail.com>

	* gnome-window-properties.c: (try_spawn_config_tool): Avoid markup in
	translatable messages. Fixes bug 360449.

svn path=/trunk/; revision=7087
2007-01-07 17:00:21 +00:00
Rajan Singh
ed3d3f6191 : Added mnemonics. Removed the mnemonic.
2006-01-03  Rajan Singh  <singh.rajan@wipro.com>

	* gnome-window-properties.c: (fill_radio) (reload_mouse_modifiers) :
	Added mnemonics.
	* gnome-window-properties.glade : Removed the mnemonic.
2006-01-03 10:28:24 +00:00
Kjartan Maraas
564a9d03aa Huge cleanup. Individual ChangeLogs have info. Closing bug #320157. ANSIfy
2005-11-14  Kjartan Maraas  <kmaraas@gnome.org>

	* */*: Huge cleanup. Individual ChangeLogs have info.
	Closing bug #320157.
	* libkbddraw/keyboard-drawing.h: ANSIfy some function declarations.
2005-11-14 15:18:09 +00:00
Sebastien Bacher
581c37e2bb Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22  Sebastien Bacher  <seb128@debian.org>

        * ChangeLog capplets/about-me/e-image-chooser.c
        capplets/accessibility/at-properties/at-startup-session.h
        capplets/accessibility/keyboard/accessibility-keyboard.c
        capplets/background/gnome-wp-info.c
        capplets/common/gconf-property-editor.c
        capplets/common/gnome-theme-apply.c
        capplets/default-applications/gnome-default-applications-properties.c
        capplets/keybindings/gnome-keybinding-properties.c
        capplets/keyboard/gnome-keyboard-properties.c
        capplets/mouse/gnome-mouse-properties.c
        capplets/network/gnome-network-preferences.c
        capplets/sound/sound-properties-capplet.c
        capplets/theme-switcher/gnome-theme-details.c
        capplets/theme-switcher/gnome-theme-manager.c
        capplets/ui-properties/gnome-ui-properties.c
        capplets/windows/gnome-window-properties.c
        gnome-settings-daemon/factory.c
        gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
        gnome-settings-daemon/gnome-settings-background.c
        gnome-settings-daemon/gnome-settings-daemon.c
        gnome-settings-daemon/gnome-settings-daemon.h
        gnome-settings-daemon/gnome-settings-font.c
        gnome-settings-daemon/gnome-settings-keybindings.c
        gnome-settings-daemon/gnome-settings-keybindings.h
        gnome-settings-daemon/gnome-settings-keyboard-xkb.c
        gnome-settings-daemon/gnome-settings-keyboard.c
        gnome-settings-daemon/gnome-settings-locate-pointer.h
        gnome-settings-daemon/gnome-settings-mouse.c
        gnome-settings-daemon/gnome-settings-multimedia-keys.c
        gnome-settings-daemon/gnome-settings-screensaver.c
        gnome-settings-daemon/gnome-settings-sound.c
        gnome-settings-daemon/gnome-settings-xmodmap.c
        gnome-settings-daemon/gnome-settings-xrdb.c
        gnome-settings-daemon/gnome-settings-xsettings.c
        libbackground/applier.c libbackground/applier.h
        libbackground/preferences.c libsounds/sound-properties.c
        libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c
        libwindow-settings/metacity-window-manager.c
        typing-break/drw-break-window.c typing-break/drw-utils.h
        typing-break/drwright.c vfs-methods/fontilus/font-view.c
        vfs-methods/themus/themus-theme-applier.c:
        Cleanup of gconf and a few other things,
        patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
2005-05-22 15:46:45 +00:00
Matthias Clasen
86a4d3517a Only show hyper if it is mapped to a different key than the other
2004-10-20  Matthias Clasen  <mclasen@redhat.com>

	* gnome-window-properties.c (reload_mouse_modifiers): Only
	show hyper if it is mapped to a different key than the other
	modifiers.  Fixes bug #152132
2004-10-20 14:40:45 +00:00
Frédéric Crozat
347006e0d8 Use themed icons for WM hint. 2004-08-20 16:50:57 +00:00
Jonathan Blandford
21dab40205 Set the radio group to be inconsistent if no matching modifier is found.
Mon Jun 21 15:52:57 2004  Jonathan Blandford  <jrb@gnome.org>

        * gnome-window-properties.c (set_alt_click_value): Set the radio
        group to be inconsistent if no matching modifier is found.

        * gnome-window-properties.c (reload_settings): Check for NULL,
        141453

Mon Jun 21 17:41:23 2004  Jonathan Blandford  <jrb@gnome.org>

        * gnome-window-manager.c (gnome_wm_settings_copy|free): add copy
        and free functions for the WM settings.
2004-06-22 01:50:50 +00:00
Kaushal Kumar
c42e05a7e7 Associate the help button response with the appropriate callback. Fixes
2004-06-07  Kaushal Kumar  <kaushal.kumar@wipro.com>

        * gnome-window-properties.c (response_cb): Associate the help
        button response with the appropriate callback.
        Fixes bug #141391.
2004-06-07 11:41:13 +00:00
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