Commit graph

2196 commits

Author SHA1 Message Date
Guilherme de S. Pastore
939f2781ad fix a small typo ("wether" -> "whether") in the comments.
2007-06-23  Guilherme de S. Pastore  <gpastore@gnome.org>

	* gnome-about-me-password.c: fix a small typo ("wether" -> "whether")
	  in the comments.

svn path=/trunk/; revision=7766
2007-06-23 17:14:12 +00:00
Jens Granseuer
277341fb0f rearranged functions (no code changes)
2007-06-23  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: rearranged functions (no code changes)

svn path=/trunk/; revision=7764
2007-06-23 14:22:45 +00:00
Jens Granseuer
ad582ed926 use STOCK_DELETE instead of STOCK_OK in the confirmation dialog
2007-06-23  Jens Granseuer  <jensgr@gmx.net>

	* theme-util.c: (theme_delete): use STOCK_DELETE instead of STOCK_OK in
	the confirmation dialog

svn path=/trunk/; revision=7763
2007-06-23 12:55:38 +00:00
Jens Granseuer
68466d1c27 listen to on-disk theme changes in the details tabs, too
2007-06-23  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (add_to_treeview), (remove_from_treeview),
	(update_in_treeview), (changed_on_disk_cb), (style_init):
	* appearance-themes.c: (theme_select_name),
	(theme_set_custom_from_theme), (theme_changed_on_disk_cb),
	(theme_thumbnail_done_cb):
	* theme-installer.c: (gnome_theme_installer_run):
	* theme-util.c: (theme_find_in_model):
	* theme-util.h: listen to on-disk theme changes in the details tabs, too

svn path=/trunk/; revision=7762
2007-06-23 11:08:21 +00:00
Jens Granseuer
6a080d0e51 hook up the delete buttons
2007-06-22  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (gtk_theme_changed), (window_theme_changed),
	(icon_theme_changed), (generic_theme_delete),
	(gtk_theme_delete_cb), (window_theme_delete_cb),
	(icon_theme_delete_cb), (style_init), (prepare_list),
	(check_color_schemes_enabled): hook up the delete buttons

svn path=/trunk/; revision=7760
2007-06-22 18:25:21 +00:00
Denis Washington
a25bb175c9 Tweak the metatheme icon view's margin and spacings to better fit to the
2007-06-22  Denis Washington  <denisw@svn.gnome.org>

	* appearance.glade:
	Tweak the metatheme icon view's margin and spacings to better fit to the
	new thumbnails.

	* theme-thumbnailing.png:
	Modernized and brought to the size of the new metatheme thumbnails.

svn path=/trunk/; revision=7759
2007-06-22 15:37:21 +00:00
Denis Washington
34adc6a2db Make metatheme thumbnails original-sized and add check box + radio button.
2007-06-22  Denis Washington  <denisw@svn.gnome.org>

	* theme-thumbnail.c: (create_image):
	Make metatheme thumbnails original-sized and add check box + radio button.

svn path=/trunk/; revision=7758
2007-06-22 15:32:44 +00:00
Jens Granseuer
33dd3f654a fix function signatures
2007-06-20  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_icon_info_find,
	gnome_theme_is_writable):
	* gnome-theme-info.h: fix function signatures

svn path=/trunk/; revision=7754
2007-06-20 20:14:18 +00:00
Jens Granseuer
4d5c158170 remove obsolete files
2007-06-18  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am: remove obsolete files

svn path=/trunk/; revision=7745
2007-06-18 17:56:39 +00:00
Jens Granseuer
fed6891768 fix compiler warning
2007-06-18  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_real): fix compiler warning

svn path=/trunk/; revision=7743
2007-06-18 17:48:26 +00:00
Jens Granseuer
df1a48a5ab remove install buttons from individual detail pages and HIG-ify the
2007-06-18  Jens Granseuer  <jensgr@gmx.net>

	* appearance.glade: remove install buttons from individual detail pages
	and HIG-ify the "revert to defaults" label

svn path=/trunk/; revision=7742
2007-06-18 17:14:05 +00:00
Jens Granseuer
605992d0e7 just check for configure instead of configure.in since configure.ac is
2007-06-18  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (file_theme_type): just check for configure
	instead of configure.in since configure.ac is valid as well; we still
	need a better way to identify engines...

svn path=/trunk/; revision=7741
2007-06-18 16:21:28 +00:00
Rodrigo Moya
baa992a9ef added the names of the pages to the help strings for --show-page argument.
2007-06-18  Rodrigo Moya <rodrigo@gnome-db.org>

	* appearance-main.c: added the names of the pages to the help strings
	for --show-page argument.

svn path=/trunk/; revision=7740
2007-06-18 12:29:52 +00:00
Jens Granseuer
a74694884b add --show-page option to specify the page with which to start
2007-06-17  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main):
	* appearance.glade: add --show-page option to specify the page with
	which to start

svn path=/trunk/; revision=7739
2007-06-17 15:58:24 +00:00
Denis Washington
45b4503f34 Added metadata tooltips to the thumbnails in the Background tab. Needs
2007-06-17  Denis Washington  <denisw@svn.gnome.org>

	* appearance-desktop.c: (desktop_init): (wp_view_tooltip_cb):
	* gnome-wp-item.c: (gnome_wp_item_update_description):
	Added metadata tooltips to the thumbnails in the Background tab.
	Needs GTK+ 2.11 to compile (but is surrounded with GTK_CHECK_VERSION()
	for compilation with older gtk+ versions).

svn path=/trunk/; revision=7738
2007-06-17 15:55:58 +00:00
Denis Washington
7470581e75 Change the weight of the theme titles from bold to normal in the Theme
2007-06-17  Denis Washington  <denisw@svn.gnome.org>

	* appearance-style.c: (prepare_list):
	Change the weight of the theme titles from bold to normal in the Theme
	Details window's lists.

svn path=/trunk/; revision=7737
2007-06-17 15:21:20 +00:00
Jens Granseuer
cba96896bc make gnome-theme-installer work
2007-06-16  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* appearance-main.c: (init_appearance_data), (main):
	* gnome-theme-installer.desktop.in.in: make gnome-theme-installer
	work

svn path=/trunk/; revision=7731
2007-06-16 15:32:12 +00:00
Jens Granseuer
dbc58d64cb add initial support for installing themes, includes support for packages
2007-06-16  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* appearance-style.c: (prepare_list):
	* appearance-themes.c: (theme_install_cb), (theme_delete_cb),
	(theme_details_changed_cb):
	* theme-installer.c: (cleanup_tmp_dir), (file_theme_type),
	(missing_utility_message_dialog), (transfer_done_tgz_tbz),
	(transfer_done_archive), (gnome_theme_install_real),
	(transfer_done_cb), (gnome_theme_install_from_uri),
	(gnome_theme_installer_run):
	* theme-installer.h: add initial support for installing themes,
	includes support for packages containing more than one theme
	(bug #409624)

svn path=/trunk/; revision=7730
2007-06-16 15:08:20 +00:00
Jens Granseuer
c8e0000859 don't make the revert dialog transient since it's actually never on screen
2007-06-16  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (run_revert_dialog), (cb_dialog_response): don't make the
	revert dialog transient since it's actually never on screen at the
	same time as the main dialog. Closes bug #448160.

svn path=/trunk/; revision=7729
2007-06-16 11:31:45 +00:00
Jens Granseuer
1c5d2a43bd be extra careful when generating pixbufs (should mean we just get no
2007-06-15  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_props_load_wallpaper),
	(wp_scale_type_changed), (wp_shade_type_changed):
	* gnome-wp-utils.c: (gnome_wp_pixbuf_tile): be extra careful when
	generating pixbufs (should mean we just get no thumbs instead of
	assertion failures, bug #403160)

svn path=/trunk/; revision=7728
2007-06-15 17:57:49 +00:00
Jens Granseuer
48dca61dd7 new files
2007-06-14  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* theme-util.c: (theme_delete), (theme_model_iter_last):
	* theme-util.h: new files

	* appearance.glade: default delete buttons to insensitive,
	change label for "Custom" key, adjust column ids for icon view

	* appearance-style.c: (style_init), (prepare_list),
	(update_color_buttons_from_settings), (theme_name_changed),
	(color_button_clicked_cb),
	(color_scheme_defaults_button_clicked_cb):
	* appearance-themes.c: (theme_get_selected_name),
	(theme_get_selected), (theme_select_iter), (theme_select_name),
	(theme_is_equal), (theme_set_custom_from_theme),
	(theme_changed_on_disk_cb), (theme_custom_cb), (theme_delete_cb),
	(theme_details_changed_cb), (theme_color_scheme_changed_cb),
	(theme_gconf_changed), (theme_postinit), (themes_init),
	(themes_shutdown):
	* appearance.h: improvements all around the block (metatheme
	deletion now working, and custom theme working much better)

svn path=/trunk/; revision=7725
2007-06-14 21:20:25 +00:00
Jens Granseuer
0eb282cfa1 fix GConf notification
2007-06-14  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keybinding-properties.c: (setup_dialog): fix GConf
	notification

svn path=/trunk/; revision=7724
2007-06-14 19:47:28 +00:00
Jens Granseuer
556f49a625 plug leak fix comment
2007-06-12  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_icon_info_free): plug leak
	* theme-thumbnail.c: (message_from_child): fix comment

svn path=/trunk/; revision=7722
2007-06-12 20:57:39 +00:00
Denis Washington
c5a8051080 Manually deal with gtk+ theme changes now that the theme thumbnailing code
2007-06-09  Denis Washington  <denisw@svn.gnome.org>

	* appearance-style.c: (theme_name_changed):
	Manually deal with gtk+ theme changes now that the theme thumbnailing
	code uses the default GtkSettings again.

svn path=/trunk/; revision=7721
2007-06-12 17:07:44 +00:00
Denis Washington
3b1d45c537 Stop the GdkDisplay mess and let gnome-appearance-properties handle gtk+
2007-06-09  Denis Washington  <denisw@svn.gnome.org>

	* theme-thumbnail.c: (generate_gtk_theme_thumbnail):
	Stop the GdkDisplay mess and let gnome-appearance-properties handle
	gtk+ theme changes manually instead.

svn path=/trunk/; revision=7720
2007-06-12 17:05:17 +00:00
Jens Granseuer
dcb6f5bd6f fix "reset to defaults" sensitivity for real listen to colour scheme
2007-06-10  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (style_init), (check_color_schemes_enabled):
	fix "reset to defaults" sensitivity for real
	* appearance-themes.c: (theme_color_scheme_changed_cb),
	(themes_init): listen to colour scheme changes as well

svn path=/trunk/; revision=7715
2007-06-10 20:29:08 +00:00
Jens Granseuer
a994bfc05d disable the "reset to defaults" button if the theme doesn't support custom
2007-06-10  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (check_color_schemes_enabled): disable the "reset
	to defaults" button if the theme doesn't support custom colours

svn path=/trunk/; revision=7714
2007-06-10 18:51:42 +00:00
Jens Granseuer
196cc925db we don't need the engine stuff, so don't retrieve it in the first place
2007-06-10  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (check_color_schemes_enabled): we don't need the
	engine stuff, so don't retrieve it in the first place

svn path=/trunk/; revision=7713
2007-06-10 18:15:06 +00:00
Jens Granseuer
934b33e8c7 make it possible to skip engine information if we're not interested and
2007-06-10  Jens Granseuer  <jensgr@gmx.net>

	* gtkrc-utils.c: (gtkrc_get_details), (gtkrc_get_color_scheme):
	make it possible to skip engine information if we're not interested
	and fix a warning

svn path=/trunk/; revision=7712
2007-06-10 18:10:38 +00:00
Jens Granseuer
a5189eddb9 fix passing and parsing of command line args
2007-06-10  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (init_appearance_data), (main):
	* appearance.h: fix passing and parsing of command line args

	* appearance-style.c: (update_color_buttons_from_settings),
	(check_color_schemes_enabled): fix leaks

	* appearance.glade: revert response_id sillyness from last commit

svn path=/trunk/; revision=7711
2007-06-10 17:37:00 +00:00
Jens Granseuer
19cfd08b3d add some more checks so we don't try to strcmp NULL strings (fixes bug
2007-06-10  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): add some more checks so
	we don't try to strcmp NULL strings (fixes bug #445908)

svn path=/trunk/; revision=7710
2007-06-10 17:22:16 +00:00
Denis Washington
6c21c71036 Add all missing color schemes options from gnome-theme-manager, including
2007-06-09  Denis Washington  <denisw@svn.gnome.org>

	* appearance.glade:
	* appearance-style.c:
	Add all missing color schemes options from gnome-theme-manager, including a Reset To Defaults button.

svn path=/trunk/; revision=7708
2007-06-09 14:34:33 +00:00
Denis Washington
f4ee5fb273 Fix the appearance capplet windows not reacting to gtk+ theme changes.
2007-06-09  Denis Washington  <denisw@svn.gnome.org>

	* theme-thumbnail.c: (generate_gtk_theme_thumbnail):
	Fix the appearance capplet windows not reacting to gtk+ theme changes.

svn path=/trunk/; revision=7707
2007-06-09 14:17:58 +00:00
Jens Granseuer
8ccc187c76 add initial lockdown bits from theme-manager, delete button sensitivity
2007-06-07  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (is_locked_down),
	(theme_changed_on_disk_cb), (theme_selection_changed_cb),
	(themes_init): add initial lockdown bits from theme-manager,
	delete button sensitivity updates, and preliminary support
	for reacting to metatheme changes

svn path=/trunk/; revision=7704
2007-06-07 19:11:36 +00:00
Jens Granseuer
7144393cbc modify the theme change callback to return more useful information and add
2007-06-07  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (handle_change_signal),
	(gnome_theme_is_writable),
	(gnome_theme_info_register_theme_change):
	* gnome-theme-info.h:
	modify the theme change callback to return more useful
	information and add a function to determine whether a given
	theme is writable

svn path=/trunk/; revision=7703
2007-06-07 19:08:19 +00:00
Jens Granseuer
893ab11dd0 update for changes in thumbnailer API
2007-06-06  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (theme_thumbnail_generate),
	(theme_queue_for_thumbnail), (theme_thumbnail_done_cb): update
	for changes in thumbnailer API

svn path=/trunk/; revision=7701
2007-06-06 16:25:25 +00:00
Jens Granseuer
5a510b1c3f remove obsolete files
2007-06-06  Jens Granseuer  <jensgr@gmx.net>

	* Bonobo_Control_Capplet_generic.oaf.in:
	* wrapper-script.in: remove obsolete files

svn path=/trunk/; revision=7700
2007-06-06 16:24:17 +00:00
Jens Granseuer
94e474bcd7 remove caching from the thumbnailer since all of the current users work
2007-06-06  Jens Granseuer  <jensgr@gmx.net>

	* theme-thumbnail.c: (message_from_child),
	(generate_theme_thumbnail), (generate_theme_thumbnail_async),
	(theme_thumbnail_factory_init):
	* theme-thumbnail.h: remove caching from the thumbnailer since
	all of the current users work around it anyway, and resources
	aren't managed properly

svn path=/trunk/; revision=7699
2007-06-06 16:22:51 +00:00
Jens Granseuer
f7873f1304 some more house-keeping
2007-06-06  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (safe_strcmp), (get_data_from_hash_by_name),
	(read_icon_theme), (handle_change_signal), (update_theme_index),
	(gnome_theme_meta_info_compare):
	* gnome-theme-info.h: some more house-keeping

svn path=/trunk/; revision=7698
2007-06-06 16:05:55 +00:00
Jens Granseuer
6bfc75101d don't destroy the window on "delete-event"
2007-06-06  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (style_response_cb), (style_init): don't
	destroy the window on "delete-event"

	* appearance-themes.c: (theme_load_from_gconf),
	(theme_thumbnail_generate), (theme_queue_for_thumbnail),
	(theme_get_selected), (theme_set_custom_from_selected),
	(theme_remove_custom), (theme_thumbnail_done_cb),
	(theme_selection_changed_cb), (theme_custom_cb),
	(theme_details_changed_cb), (themes_init): hook up more of the
	customization functionality; don't unref generated thumbnails
	because they are still held in a cache by the thumbnailer

svn path=/trunk/; revision=7696
2007-06-05 22:20:33 +00:00
Jens Granseuer
e57c99d8e0 add a parameter to circumvent the internal thumbnail cache to the
2007-06-06  Jens Granseuer  <jensgr@gmx.net>

	* theme-thumbnail.c: (generate_theme_thumbnail_async):
	* theme-thumbnail.h: add a parameter to circumvent the internal
	thumbnail cache to the asynchronous generator

svn path=/trunk/; revision=7695
2007-06-05 22:16:51 +00:00
Jens Granseuer
f5fe47e66e add capplets/appearance/gnome-theme-package.xml to generated files
2007-06-05  Jens Granseuer  <jensgr@gmx.net>

	* configure.in: add capplets/appearance/gnome-theme-package.xml
	to generated files

	* capplets/appearance/Makefile.am:
	* capplets/appearance/gnome-theme-package.xml.in: move theme
	package mime type over from the theme-manager (closes bug #444336)

svn path=/trunk/; revision=7693
2007-06-05 18:32:05 +00:00
Jens Granseuer
a84a68182a major resource handling fixup and initial bits for handling custom
2007-06-04  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (desktop_init), (desktop_shutdown):
	* appearance-desktop.h:
	* appearance-font.c: (font_init), (font_shutdown):
	* appearance-font.h:
	* appearance-main.c: (main_window_response), (main):
	* appearance-style.c: (style_init), (conv_to_widget_cb),
	(conv_from_widget_cb):
	* appearance-style.h:
	* appearance-themes.c:
	* appearance-themes.h:
	* appearance.h: major resource handling fixup and initial bits
	for handling custom metathemes

svn path=/trunk/; revision=7689
2007-06-04 20:23:47 +00:00
Jens Granseuer
3aaf0a7472 remove obsolete files remove leftover bits from bug #386413 to make
2007-06-02  Jens Granseuer  <jensgr@gmx.net>

	* at-startup-session.c:
	* at-startup-session.h: remove obsolete files
	* main.c: (at_enable_toggled): remove leftover bits from bug
	#386413 to make distcheck pass

svn path=/trunk/; revision=7682
2007-06-02 12:02:22 +00:00
Jens Granseuer
d64a72b4b3 fix duplicate mnemonic
2007-05-30  Jens Granseuer  <jensgr@gmx.net>

	* appearance.glade: fix duplicate mnemonic

svn path=/trunk/; revision=7679
2007-05-30 17:36:26 +00:00
Jens Granseuer
76d0c77d85 simplify, clean up, and fix a few leaks
2007-05-30  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (safe_strcmp), (add_data_to_hash_by_name),
	(handle_change_signal), (update_common_theme_dir_index),
	(gtk2_dir_changed), (keybinding_dir_changed),
	(metacity_dir_changed), (common_theme_dir_changed),
	(common_icon_theme_dir_changed), (top_theme_dir_changed),
	(top_icon_theme_dir_changed), (real_add_top_theme_dir_monitor),
	(gnome_theme_info_find_by_type_helper),
	(gnome_theme_info_find_by_type),
	(gnome_theme_icon_info_find_all_helper),
	(gnome_theme_icon_info_find_all), (gnome_theme_icon_info_compare),
	(gnome_theme_meta_info_new),
	(gnome_theme_meta_info_find_all_helper),
	(gnome_theme_meta_info_find_all), (gnome_theme_meta_info_compare),
	(gnome_theme_info_register_theme_change): simplify, clean up, and fix
	a few leaks

svn path=/trunk/; revision=7677
2007-05-29 23:17:39 +00:00
Jens Granseuer
6fc827db4d recognize both "gtk-color-scheme" and "gtk_color_scheme" (fixes thumbnail
2007-05-29  Jens Granseuer  <jensgr@gmx.net>

	* gtkrc-utils.c: (gtkrc_get_color_scheme): recognize both
	"gtk-color-scheme" and "gtk_color_scheme" (fixes thumbnail generation
	for e.g. the Mist metatheme)

svn path=/trunk/; revision=7676
2007-05-29 19:20:07 +00:00
Jens Granseuer
8ad25db4a1 remove property editor for the deprecated GtkOptionMenu, now that all
2007-05-28  Jens Granseuer  <jensgr@gmx.net>

	* gconf-property-editor.c:
	* gconf-property-editor.h: remove property editor for the deprecated
	GtkOptionMenu, now that all users are upgraded to GtkComboBox

svn path=/trunk/; revision=7674
2007-05-28 20:19:32 +00:00
Jens Granseuer
bd8a7ca464 drop unnecessary strlen (generate_theme_thumbnail_async): save some casts
2007-05-28  Jens Granseuer  <jensgr@gmx.net>

	* theme-thumbnail.c: (generate_theme_thumbnail): drop unnecessary strlen
	(generate_theme_thumbnail_async): save some casts
	(generate_gtk_theme_thumbnail): don't leak the theme name

svn path=/trunk/; revision=7671
2007-05-28 18:56:22 +00:00
Jens Granseuer
47099c43e3 minor code simplification/cleanup
2007-05-28  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (style_init), (find_string_in_model),
	(conv_to_widget_cb), (update_color_buttons_from_string): minor
	code simplification/cleanup

svn path=/trunk/; revision=7670
2007-05-28 14:02:46 +00:00