Commit graph

21 commits

Author SHA1 Message Date
David Sedeño
53ea9368c6 Update the sensivility of the button if the user can remove the theme.
2005-11-14  David Sedeño <david@alderia.com>

	* gnome-theme-details.c (gtk_theme_update_remove_button): Update the
	sensivility of the button if the user can remove the theme.
	(remove_theme): Remove the selected theme.
2005-11-21 11:26:28 +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
David Sedeño
0b8267577e New install procedure: See bug #102216. Remove
2005-02-01  David Sedeño <david@alderia.com>

	New install procedure: See bug #102216.
	* gnome-theme-details.c: Remove gnome_theme_installer_run_cb,
	gnome_icon_theme_installer_run_cb because gnome_theme_installer_run
	function now detects if it is a icon or theme.
	(gnome_theme_details_init): Remove install buttons in theme details
	window.
	* gnome-theme-installer.c (file_theme_type): Detects the type of the
	theme inspecting the content of the file.
	(transfer_done_targz_idle_cb, transfer_done_tarbz2_idle_cb): Install
	the theme in the correct temp dir.
	(transfer_done_cb): Detects if the file to install it is in the
	correct format and informs the user if it is not supported. Unpack the
	file (informs the user if there are not the correct utility in the
	system) and install the theme in the correct directory.
	(gnome_theme_installer_run): Remove parameter. Now we detect the file
	type.
	* gnome-theme-manager.c (gnome_meta_theme_installer_run_cb,
	gnome_theme_manager_drag_data_received_cb): Call
	gnome_theme_installer_run without the third parameter. Now we detect
	the file type.
	* theme-properties.glade: Removes install buttons in details window.
2005-02-01 22:33:47 +00:00
Kjartan Maraas
a3b069d6c5 Don't include <gtk/gtk.h> twice. Same (comes in from -installer.h) Same.
2004-12-25  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-theme-details.c: Don't include <gtk/gtk.h> twice.
	* gnome-theme-installer.c: Same (comes in from -installer.h)
	* gnome-theme-manager.c: Same.
2004-12-25 14:50:28 +00:00
Frédéric Crozat
347006e0d8 Use themed icons for WM hint. 2004-08-20 16:50:57 +00:00
Padraig O'Briain
80924cf2f0 Check that cursor position has changed before calling
2004-04-02  Padraig O'Briain <padraig.obriain@sun.com>

	* gnome-theme-details.c (update_list_something): Check that cursor
	position has changed before calling gtk_tree_view_set_cursor.
	* gnome-theme-manager.c (update_settings_from_gconf): Check that
	cursor position has changed before calling gtk_tree_view_set_cursor.

	Fixes bug #131538.
2004-04-02 14:33:59 +00:00
Mark McLoughlin
d9885e685f update help links to point to user-guide.xml
2004-02-12  Mark McLoughlin  <mark@skynet.ie>

        * capplets/display/main.c: (cb_dialog_response):
        * capplets/localization/gnome-localization-properties.c:
        (dialog_response): update help links to point to user-guide.xml
2004-02-12 14:23:03 +00:00
Jonathan Blandford
b6d4dc7a76 fix #106424
Sat Feb  7 00:34:45 2004  Jonathan Blandford  <jrb@gnome.org>

        * gnome-theme-manager.c (load_meta_themes): fix #106424

Fri Feb  6 20:49:25 2004  Jonathan Blandford  <jrb@gnome.org>

        * gnome-theme-details.c (gnome_theme_details_init): Patch from
        Frederic Crozat to install themes in the right place.
2004-02-07 05:39:18 +00:00
Jonathan Blandford
bd160edddf Patch from Kjartan Maraas to fix a bunch of leaks.
Thu Feb 13 18:51:37 2003  Jonathan Blandford  <jrb@redhat.com>

        * capplets/common/gconf-property-editor.c: (gconf_peditor_new):
        * capplets/common/gnome-theme-info.c: (read_meta_theme),
        (update_theme_index), (update_common_theme_dir_index),
        (top_theme_dir_changed), (top_icon_theme_dir_changed),
        (add_common_theme_dir_monitor), (real_add_top_theme_dir_monitor):
        * capplets/default-applications/gnome-default-applications-properti
        es.c: (initialize_default_applications), (read_editor),
        (read_terminal):
        * capplets/file-types/mime-edit-dialog.c: (fill_dialog):
        * capplets/file-types/mime-type-info.c: (load_all_mime_types):
        * capplets/file-types/mime-types-model.c:
        (mime_types_model_get_value):
        * capplets/font/main.c: (font_render_get_gconf), (enum_group_load):
        * capplets/mouse/gnome-mouse-properties.c: (read_cursor_font),
        (cursor_changed):
        * capplets/theme-switcher/gnome-theme-details.c:
        (window_theme_selection_changed):
        * capplets/theme-switcher/gnome-theme-manager.c:
        (meta_theme_selection_changed):
        * capplets/theme-switcher/theme-thumbnail.c:
        (generate_theme_thumbnail):
        * libsounds/sound-properties.c: (sound_properties_add_directory),
        (sound_properties_add_file):
        * libsounds/sound-view.c: (compare_func):
        * libwindow-settings/gnome-window-manager.c:
        (gnome_window_manager_new): Patch from Kjartan Maraas to fix a
        bunch of leaks.
2003-02-14 00:02:50 +00:00
Jonathan Blandford
7da2529345 get the default from the schema and always sort it at the top.
Wed Feb  5 17:03:26 2003  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.[ch] (get_default_string_from_key): get the
	default from the schema and always sort it at the top.

	* gnome-theme-details.c: ditto
2003-02-05 22:20:09 +00:00
Jonathan Blandford
22876b1dc3 make sure we're initted, as this function can be run asynchronously.
Thu Jan 16 02:32:39 2003  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-details.c (gnome_theme_details_update_from_gconf):
	make sure we're initted, as this function can be run
	asynchronously.

	* gnome-theme-manager.c (gnome_meta_theme_installer_run_cb): hook
	up the installer.

	* gnome-theme-installer.c: Try to handle icon themes.
2003-01-16 07:40:29 +00:00
Jonathan Blandford
7d8899ba2e call correctly in all the right places.
Wed Jan 15 20:16:21 2003  Jonathan Blandford  <jrb@redhat.com>

	* gnome-theme-info.c (remove_data_from_hash_by_name): call
	correctly in all the right places.

	* gnome-theme-manager.c (gnome_theme_manager_tree_sort_func):
	remove this unneeded sort func.

	* gnome-theme-details.c (setup_tree_view): use the right sort
	function.
2003-01-16 01:16:36 +00:00
Jody Goldberg
1993872f57 handle lack of metacity. (window_theme_selection_changed) : ditto.
2003-01-08  Jody Goldberg <jody@gnome.org>

	* gnome-theme-details.c (gnome_theme_details_update_from_gconf) :
	  handle lack of metacity.
	(window_theme_selection_changed) : ditto.
	(gnome_theme_details_reread_themes_from_disk) : ditto.
2003-01-08 08:05:47 +00:00
Jonathan Blandford
564733fb5d handle initial theme as custom.
Wed Jan  8 01:57:09 2003  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c (add_initial_row_to_meta_theme): handle
	initial theme as custom.

	* TODO: update
2003-01-08 07:01:24 +00:00
Jody Goldberg
08b08ef542 Apply http://bugzilla.gnome.org/show_bug.cgi?id=101752
2002-12-30  Jody Goldberg <jody@gnome.org>

	Apply
	http://bugzilla.gnome.org/show_bug.cgi?id=101752

	* gnome-theme-details.c : Merge in Frederic's patch.
	* gnome-theme-details.c : ditto.
2002-12-30 19:24:05 +00:00
Seth Nickell
606b9936be Use the theme directory name rather than the "printable" name for icon
2002-12-28  Seth Nickell  <snickell@stanford.edu>

	* gnome-theme-details.c: (path_to_theme_id), (load_theme_names),
	(gnome_theme_details_reread_themes_from_disk):

	Use the theme directory name rather than the "printable" name
	for icon themes. Does this need to be done for WM themes and
	GTK themes as well?
2002-12-29 02:24:34 +00:00
Jonathan Blandford
628bc1ce2c New file. Really saves now. Doesn't notice when a new metatheme is added,
Fri Dec  6 16:54:14 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-theme-save-data.c: New file.  Really saves now.  Doesn't
	notice when a new metatheme is added, though.

Fri Dec  6 16:13:54 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-theme-info.c (top_theme_dir_changed_callback): I know C.
	Really, I do.
2002-12-06 21:56:37 +00:00
Jonathan Blandford
a5d6209b4f Add saving support. Almost to a working point w/ this capplet...
Tue Dec  3 20:45:17 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-theme-save.c: Add saving support.  Almost to a working
	point w/ this capplet...
2002-12-04 01:42:45 +00:00
Jonathan Blandford
1a90787eea Fix g_assert_not_reached() that can be reached.
Tue Dec  3 14:26:05 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-theme-details.c (window_theme_selection_changed): Fix
	g_assert_not_reached() that can be reached.
2002-12-03 19:23:47 +00:00
Jonathan Blandford
e962ae036e shut up, CVS
Tue Dec  3 00:40:13 2002  Jonathan Blandford  <jrb@gnome.org>

	* .cvsignore: shut up, CVS

	* Makefile.am: build new objects

	* gnome-theme-details.[ch]: New file to encapsulate the details
	dialog.

	* gnome-theme-manager.c: Restructure code.  Less love, more work.
	Prolly an improvement.
2002-12-03 16:16:45 +00:00