Commit graph

7 commits

Author SHA1 Message Date
Bradford Hovinen
5b60a269a7 Be paranoid about what we have read from the input file -- make sure the
2001-10-13  Bradford Hovinen  <hovinen@ximian.com>

	* lister.c (edit_file_to_use): Be paranoid about what we have read
	from the input file -- make sure the string is always
	NULL-terminated
2001-10-13 19:19:16 +00:00
Richard Hestilow
bcf570c7bd Return a GList of ThemeEntry*, and remove extraneous number argument.
2001-09-29  Richard Hestilow  <hestilow@ximian.com>

	* lister.c: (list_themes, list_system_themes, list_user_themes):
	Return a GList of ThemeEntry*, and remove extraneous number argument.
	Also, use g_strdup_printf instead of g_snprintf.

	* da.h (ThemeEntry): Add a "row" data member.
	* gui.c: Change variables current_theme, current_global_theme,
	initial_theme, and last_theme to ThemeEntry*.
	(make_main): Change GtkList to a GtkCList to avoid scrolling bug.
	(click_entry): Changed to "select_row" callback prototype.
	(delete_entry): Removed.
	(item_destroy_notify): Added in lieu of delete_entry.
	(sort_alpha): Accept ThemeEntry* and not GtkBin*.
	(add_theme_list): Added.
	(update_theme_entries): Use clist functions.
2001-09-29 20:45:12 +00:00
2
904058be61 made "~/" be gnome_util_user_home instead.
1999-06-22    <jrb@redhat.com>

	* capplets/theme-switcher/lister.c (print_standard_stuff): made
	"~/" be gnome_util_user_home instead.
1999-06-22 17:32:50 +00:00
Jonathan Blandford
b63c67767d Now you can set the font!
1999-03-31  Jonathan Blandford  <jrb@redhat.com>

	* capplets/theme-switcher/gui.c,lister.c,da.h: Now you can set the
	font!
1999-04-01 00:58:38 +00:00
Owen Taylor
4d6e8150b5 Add an error dialog if installing a theme fails.
Fri Mar 12 02:21:55 1999  Owen Taylor  <otaylor@redhat.com>

	* capplets/theme-switcher/gui.c (browse_dialog_close):
	Add an error dialog if installing a theme fails.

	* capplets/theme-switcher/install.c (install_theme): Add
	a return value indicating success or failure.

	* capplets/theme-switcher/install.c (install_theme):
	Fixed reversed arguments for installing ungipped tarballs

Fri Mar 12 01:12:15 1999  Owen Taylor  <otaylor@redhat.com>

	[ Patch from Patrik Nordebo <isildur@a39.ryd.student.liu.se> ]

	* capplets/theme-switcher/install.c (install_theme): Removed
	useless call to wait(). Install themes in .themes,
	not .gtk/themes.

Fri Mar 12 01:06:53 1999  Owen Taylor  <otaylor@redhat.com>

	* capplets/theme-switcher/lister.c (edit_file_to_use): Fixed
	reversed lines that were causing initial creation
	not to work properly.

	* capplets/theme-switcher/demo.c (send_reread): You
	can't fsync() a pipe...

	* capplets/theme-switcher/gui.c: Don't select list
	items before they are added to the list ... removed
	hack that sort of worked around this.

	* capplets/theme-switcher/gui.c (make_main): Major
	un-rasterization. (Sort of a shame, this was some
	of the funniest code I've ever seen.)

	* capplets/theme-switcher/gui.c (install_theme_callback):
	Removed non-functional transient-for code.

	* capplets/theme-switcher/demo.c (demo_data_in): Removed
	brutal, unreliable kill -9 in favor of noticing when
	the IPC pipe closes.

	* capplets/theme-switcher/demo.c (demo_main): Solved
	problem where dup2() was going astray by not using it.

	* capplets/theme-switcher/gui.c (update_theme_entries): Fix
	cut-and-paste typo.
1999-03-12 07:28:19 +00:00
Owen Taylor
49f909ce6f Use g_get_home_dir() instead of getenv ("HOME")
Mon Feb 22 22:23:34 1999  Owen Taylor  <otaylor@redhat.com>

	* capplets/theme-switcher/lister.c: Use g_get_home_dir()
	 instead of getenv ("HOME")

	* capplets/theme-switcher/demo.c (demo_main): Strip
	 out ~/.gtkrc from the default file set so we don't
	 get a merge of the current theme and the new one.

	* capplets/theme-switcher/lister.c (use_theme): Modify
	 .gtkrc instead of .gnome/gtkrc.
1999-02-23 19:05:46 +00:00
Jonathan Blandford
724309cdfb This will switch themes. You need themes for it to compile so you
need to edit the gnome-core/capplets/Makefile.am and
gnome-core/configure.in to get this to compile.  If you do, it's
pretty cool...
1998-09-23 02:39:17 +00:00