Commit graph

35 commits

Author SHA1 Message Date
Kjartan Maraas
b86989525e Fix a typo. Adapted version of a patch from <mitr@volny.cz>. Fixes bug
2003-04-29  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-theme-manager.c: (main): Fix a typo. Adapted version
	of a patch from <mitr@volny.cz>. Fixes bug #111849.
2003-04-29 21:46:04 +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
eb2071f8ff yet another place to handle NULL window manager.
2003-01-14  Jody Goldberg <jody@gnome.org>

	* gnome-theme-manager.c (load_meta_themes) : yet another place to
	handle NULL window manager.
2003-01-15 03:21:11 +00:00
Alex Duggan
9841338eff s/gnome-theme-properties/gnome-theme-manager/ Fixes #103525
2003-01-14  Alex Duggan  <aldug@gnome.org>

	* gnome-theme-manager.c (main):
	s/gnome-theme-properties/gnome-theme-manager/  Fixes #103525
2003-01-15 00:17:18 +00:00
Jonathan Blandford
db7accb5f5 set the correct row to the new data. This was messing a lot up. Saving now
Tue Jan 14 02:16:22 2003  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c (load_meta_themes): set the correct row to
	the new data.  This was messing a lot up.  Saving now works, so
	long as you don't type bad data.

	* TODO: update.
2003-01-14 07:17:28 +00:00
Jody Goldberg
b43e4c2022 handle yet another place where gnome_wm_manager_get_current may be NULL.
2003-01-13  Jody Goldberg <jody@gnome.org>

	* gnome-theme-manager.c (load_meta_themes) : handle yet another place
	  where gnome_wm_manager_get_current may be NULL.
2003-01-14 04:08:50 +00:00
Jonathan Blandford
f28c52f3f3 capplets/common/gnome-theme-info.[ch]: Total rewrite. Fam now works correctly.
capplets/keybindings/*: use new theme code.
capplets/theme-switcher/*: use new theme code.
2003-01-13 20:21:28 +00:00
Anders Carlsson
bd64a0a390 Add support for applying fonts.
2003-01-08  Anders Carlsson  <andersca@codefactory.se>

	* gnome-theme-manager.c: (update_font_button_state),
	(font_key_changed), (apply_font_clicked), (setup_dialog):
	* gnome-theme-manager.h:
	Add support for applying fonts.

	* theme-thumbnail.c: (create_image):
	Allow SVG files as icons.
2003-01-08 22:40:33 +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
Jonathan Blandford
003a40868f add a description entry. Still needs escaping.
Tue Jan  7 03:10:36 2003  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-save.c (save_dialog_response): add a description
	entry.  Still needs escaping.

	* theme-thumbnail.c (generate_theme_thumbnail): read the thumbnail
	back from the child correctly.  I think thumbnailing fully works.

	* TODO: Update
2003-01-07 08:15:07 +00:00
Seth Nickell
ff2eb3c60c Removed #if 0'd code for hard-coding minimuum height of the tree view. Use
2003-01-06  Seth Nickell  <snickell@stanford.edu>

	* gnome-theme-manager.c: (load_meta_themes):
	* theme-properties.glade:

	Removed #if 0'd code for hard-coding minimuum height
	of the tree view. Use glade properties to set minimuum
	height to a more reasonable value. Its hard to find
	items when you only see two in the scroll-view at
	any given time, and many people do not think to
	resize windows (nor should they have to :-)
2003-01-07 01:46:18 +00:00
Seth Nickell
8fe3e80954 Don't mark internal string for translation so we don't break string
2003-01-06  Seth Nickell  <snickell@stanford.edu>

	* gnome-theme-manager.c: (add_custom_row_to_meta_theme):

	Don't mark internal string for translation so we don't
	break string freeze.
2003-01-06 23:14:04 +00:00
Jonathan Blandford
4067638d81 fix default image. Remove debugging g_prints.
Mon Jan  6 10:55:39 2003  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c (setup_dialog): fix default image.
	Remove debugging g_prints.
2003-01-06 15:59:46 +00:00
Remi Cohen-Scali
b4343eb9c2 Reviewed by: Jody Goldberg <jody@gnome.org>
2002-11-29  Remi Cohen-Scali  <remi@cohen-scali.com>

        Reviewed by: Jody Goldberg <jody@gnome.org>

        * capplets/theme-switcher/gnome-theme-manager.c (drag_data_received_cb):
        Add a test to detect is uri is local. If not use full URI instead
        of just the path in order to be able to download remote tarballs.
        Fixes #97983.
2003-01-06 01:12:04 +00:00
Seth Nickell
390e0ccab8 Add a default image for when theme's are being thumbnailed.
2003-01-05  Seth Nickell  <snickell@stanford.edu>

	* gnome-theme-manager.c: (setup_dialog), (main):
	* Makefile.am:
	* theme-thumbnailing.png:

	Add a default image for when theme's are being
	thumbnailed.

	* theme-properties.glade:

	Hide dialog by default so it doesn't come
	up undrawn.
2003-01-05 23:58:27 +00:00
Seth Nickell
9689c7ac77 oops, take out pointless printf debug 2003-01-05 23:29:34 +00:00
Seth Nickell
fff1f909c8 Generate thumbnails for the custom theme.
2003-01-05  Seth Nickell  <snickell@stanford.edu>

	* gnome-theme-manager.c: (add_custom_row_to_meta_theme),
	(remove_custom_row_from_meta_theme):
	* theme-thumbnail.c: (theme_thumbnail_invalidate_cache):
	* theme-thumbnail.h:

	Generate thumbnails for the custom theme.
2003-01-05 23:26:04 +00:00
Jonathan Blandford
8eccb7d29b correctly merge disk updates and the current setup.
Thu Jan  2 08:57:54 2003  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c: correctly merge disk updates and the
	current setup.

	* TODO: Add a TODO
2003-01-02 13:58:58 +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
87bd7acd10 Fix crash when current WM isn't detected.
2002-12-28  Seth Nickell  <snickell@stanford.edu>

	* gnome-theme-manager.c: (update_themes_from_disk):

	Fix crash when current WM isn't detected.
2002-12-28 21:46:45 +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
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
Jonathan Blandford
9d0a2117d8 sync 2002-11-27 00:03:37 +00:00
Jonathan Blandford
3701438935 sync 2002-11-18 19:40:46 +00:00
Jonathan Blandford
9264122f11 actually set the theme.
Sat Nov 16 00:55:58 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c (meta_theme_selection_changed): actually
	set the theme.
2002-11-16 05:56:46 +00:00
Jonathan Blandford
ea7ff3f5c3 forgot this 2002-11-14 22:26:09 +00:00
Jonathan Blandford
5527e656d6 Use new theme system. Handle other themes better.
Thu Nov 14 17:14:00 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c: Use new theme system.  Handle other
	themes better.

	* theme-thumbnail.c: new file to draw themes.  Currently
	synchronous -- needs to be made async.
2002-11-14 22:14:57 +00:00
Jonathan Blandford
eea6c7e6c1 commit snapshot to leave the theme-switcher usable 2002-11-07 20:07:26 +00:00
Jonathan Blandford
341038ca77 Change the file format a bunch.
Tue Nov  5 15:48:33 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-info.c: Change the file format a bunch.

Tue Nov  5 15:48:20 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c (read_themes): make more robust.
2002-11-05 20:49:44 +00:00
Jonathan Blandford
ff045c00cd get rid of theme-common.[ch] for good 2002-11-01 23:16:35 +00:00
Jonathan Blandford
9405d72d2f Rewrote to handle metathemes and icon themes. The WM stuff was previously
Fri Nov  1 11:01:16 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c: Rewrote to handle metathemes and icon
	themes.  The WM stuff was previously broken, too.

	* gnome-theme-installer.[ch]: Extract this code out to it's own
	file.

Fri Nov  1 11:03:34 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-info.[ch]: Moved theme-common, and gave more
	features.
2002-11-01 16:09:43 +00:00