Commit graph

201 commits

Author SHA1 Message Date
Jens Granseuer
bf8ec9cf36 constify arg to fix a compiler warning
2007-02-22  Jens Granseuer  <jensgr@gmx.net>

	* gtkrc-utils.c: (gtkrc_find_named):
	* gtkrc-utils.h: constify arg to fix a compiler warning

svn path=/trunk/; revision=7320
2007-02-22 19:17:18 +00:00
Jens Granseuer
204c1c0418 update selected_fg_color from the correct slot. Fixes bug 410764.
2007-02-22  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-details.c: (color_select): update selected_fg_color
	from the correct slot. Fixes bug 410764.

svn path=/trunk/; revision=7319
2007-02-22 19:11:24 +00:00
Thomas Wood
1d751d6664 Patch by: Matthias Clasen <mclasen@redhat.com>
2007-02-08  Thomas Wood  <thos@gnome.org>

	Patch by: Matthias Clasen <mclasen@redhat.com>

	* gnome-theme-details.c: (gtk_theme_update_remove_button),
	(update_color_scheme_tab), (gtk_theme_selection_changed),
	(color_select), (revert_color_scheme_key),
	(gnome_theme_details_init), (update_color_buttons_from_string),
	(gnome_theme_details_update_from_gconf): Listens for changes in the
	gtk-color-scheme property of GtkSettings. Fixes bug 405210.

svn path=/trunk/; revision=7261
2007-02-08 00:23:12 +00:00
Kjartan Maraas
3daf545d0c Fix compiler warnings. Correct order of args to a gnome_vfs_xfer function.
2007-01-29  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-theme-details.c: (update_color_scheme_tab), (remove_theme),
	(gnome_theme_details_init):
	* gnome-theme-installer.c: (extract_files_error_dialog):
	* gnome-theme-manager.c: (get_lockdown_status):
	Fix compiler warnings. Correct order of args to a gnome_vfs_xfer
	function.

svn path=/trunk/; revision=7198
2007-01-29 09:20:09 +00:00
Thomas Wood
908ab38dfa Patch by: Alberto Ruiz <aruiz@synaptia.net>
2007-01-26  Thomas Wood  <thos@gnome.org>

	Patch by: Alberto Ruiz <aruiz@synaptia.net>

	* gnome-theme-installer.c: (transfer_done_cb),
	(gnome_theme_install_from_uri): Fixes on the suffix checks.

svn path=/trunk/; revision=7185
2007-01-26 17:32:20 +00:00
Thomas Wood
a93ef521a7 Fix a compiler warning
2007-01-23  Thomas Wood  <thos@gnome.org>

	* gnome-theme-installer.c: (transfer_done_cb): Fix a compiler warning

svn path=/trunk/; revision=7172
2007-01-23 13:59:59 +00:00
Thomas Wood
2748e5206c Add a Revert button to the color schemes tab
2007-01-19  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (update_color_scheme_tab),
	(gnome_theme_details_update_from_gconf):
	* gnome-theme-manager.c: (gtk_theme_key_changed):
	* theme-properties.glade:

	Add a Revert button to the color schemes tab

svn path=/trunk/; revision=7156
2007-01-19 17:54:55 +00:00
Thomas Wood
13c68a2e1e - Remove seperate color scheme saving UI - Add support for
2007-01-19  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (update_color_scheme_tab), (color_select),
	(toggle_color_scheme_key):
	* gnome-theme-manager.c: (free_all), (load_meta_themes),
	(meta_theme_setup_info), (meta_theme_selection_changed),
	(update_themes_from_disk), (add_custom_row_to_meta_theme),
	(themes_equal), (update_settings_from_gconf_idle),
	(update_settings_from_gconf), (gtk_theme_key_changed),
	(setup_dialog):
	* gnome-theme-save.c: (write_theme_to_disk):
	* theme-properties.glade:

	- Remove seperate color scheme saving UI
	- Add support for gtk-color-scheme key in metatheme info

2007-01-19  Thomas Wood  <thos@gnome.org>

	* gnome-theme-apply.c: (gnome_meta_theme_set):
	* gnome-theme-info.c: (gnome_theme_read_meta_theme),
	(gnome_theme_meta_info_new), (gnome_theme_meta_info_free),
	(gnome_theme_meta_info_print), (gnome_theme_meta_info_compare):
	* gnome-theme-info.h:

	Add support for saving and applying the gtk-color-scheme key

svn path=/trunk/; revision=7152
2007-01-19 01:33:26 +00:00
Thomas Wood
9414debff0 Patch by: Jens Granseuer <jensgr@gmx.net>
2007-01-12  Thomas Wood  <thos@gnome.org>

	Patch by:  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-details.c: (color_scheme_combobox_changed): Fix build with
	gcc 2 (c89 fixes). Fixes bug 394707.

svn path=/trunk/; revision=7132
2007-01-12 09:42:22 +00:00
Rodrigo Moya
bd7afef624 added missing EXTRA_DIST files.
2007-01-08  Rodrigo Moya <rodrigo@gnome-db.org>

	* Makefile.am: added missing EXTRA_DIST files.

svn path=/trunk/; revision=7115
2007-01-08 23:21:23 +00:00
Thomas Wood
e6ac3bd2d2 Patch by: Alberto Ruiz <aruiz@synaptia.net>
2007-01-08  Thomas Wood  <thos@gnome.org>

	Patch by: Alberto Ruiz <aruiz@synaptia.net>

	* gnome-theme-installer.c: (gnome_theme_install_from_uri): Accept .gtp
	as a file extension

svn path=/trunk/; revision=7111
2007-01-08 22:31:06 +00:00
Jan Arne Petersen
ffd0842e4b Updated CLEANFILES Removed from svn (built file). Updated svn:ignore
2007-01-08  Jan Arne Petersen <jap@gnome.org>

	* Makefile.am: Updated CLEANFILES
	* gnome-theme-package.xml: Removed from svn (built file).
	* ./: Updated svn:ignore properties.


svn path=/trunk/; revision=7109
2007-01-08 22:17:00 +00:00
Thomas Wood
2c6c2daf8a Add Save/Delete dialogs for colour schemes.
2007-01-08  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (color_select),
	(color_scheme_combobox_changed), (gnome_theme_details_init),
	(update_color_buttons_from_string),
	(gnome_theme_details_update_from_gconf):
	* theme-properties.glade:

	Add Save/Delete dialogs for colour schemes.

svn path=/trunk/; revision=7106
2007-01-08 20:07:38 +00:00
Thomas Wood
be72b736f8 Patch by: Alberto Ruiz <aruiz@synaptia.net>
2007-01-08  Thomas Wood  <thos@gnome.org>

	Patch by: Alberto Ruiz <aruiz@synaptia.net>

	* configure.in:
	* capplets/theme-switcher/gnome-theme-installer.desktop.in.in:
	* capplets/theme-switcher/gnome-theme-package.xml:
	* capplets/theme-switcher/gnome-theme-package.xml.in:
	* capplets/theme-switcher/Makefile.am:
	* po/POTFILES.in:

	Add support for opening .gtp (application/x-gnome-theme-package) files.
	Fixes bug 393697 (Theme packages should have their own mime type.)

svn path=/trunk/; revision=7100
2007-01-08 17:05:24 +00:00
Thomas Wood
e5d3aa030a Correct function decleration
2007-01-08  Thomas Wood  <thos@gnome.org>

	* gtkrc-utils.h: Correct function decleration
	* gnome-theme-details.c: (update_color_scheme_tab), (color_select),
	(toggle_color_scheme_key):
	* theme-properties.glade:

	Add custom colour scheme saving UI

svn path=/trunk/; revision=7094
2007-01-08 11:23:37 +00:00
Thomas Wood
f4ddd4914a Enable a message when the current theme does not support colour schemes
2007-01-07  Thomas Wood  <thos@gnome.org>

	* Makefile.am:
	* gnome-theme-details.c: (gtk_theme_update_remove_button),
	(remove_theme), (color_select), (toggle_color_scheme_key),
	(gnome_theme_details_init):
	* gnome-theme-manager.c: (main):
	* gtkrc-utils.c:
	* gtkrc-utils.h:
	* theme-properties.glade:

	Enable a message when the current theme does not support colour schemes

svn path=/trunk/; revision=7092
2007-01-07 22:08:02 +00:00
Thomas Wood
239be66ce1 Based on patch by: Gabor Kelemen <kelemeng@gnome.hu>
2007-01-07  Thomas Wood  <thos@gnome.org>

	Based on patch by: Gabor Kelemen <kelemeng@gnome.hu>

	* gnome-theme-installer.c: (transfer_done_cb): Fixes bug 360449 (Avoid
	markup in translatable messages)

svn path=/trunk/; revision=7084
2007-01-07 16:31:17 +00:00
Rodrigo Moya
46ce80e7b4 removed double gnome_vfs_file_info_unref/g_free calls.
2007-01-07  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-theme-details.c (gtk_theme_update_remove_button): removed
	double gnome_vfs_file_info_unref/g_free calls.

svn path=/trunk/; revision=7079
2007-01-07 15:20:54 +00:00
Thomas Wood
4292506da6 Applied patch from bug 326337 (leaks in the theme manager)
2007-01-07  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (gtk_theme_update_remove_button): Applied patch
	from bug 326337 (leaks in the theme manager)

svn path=/trunk/; revision=7078
2007-01-07 13:36:19 +00:00
Thomas Wood
d88f83a12c Applied theme manager part of the patch from bug 382730 (fix build with
2007-01-11  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (gnome_theme_details_init): Applied theme
	manager part of the patch from bug 382730 (fix build with c89 compilers)

svn path=/trunk/; revision=7069
2007-01-06 22:40:47 +00:00
Thomas Wood
91b5f3ecef Set minimum size request on the treeview rather than the entire window
2007-01-11  Thomas Wood  <thos@gnome.org>

       * theme-properties.glade: Set minimum size request on the treeview
       rather than the entire window (fixes bug 393236).

svn path=/trunk/; revision=7062
2007-01-06 20:34:51 +00:00
Christian Persch
e44d9096e8 Fixes #393117
2007-01-05  Christian Persch <chpe@gnome.org>

	Fixes #393117

	* gnome-theme-manager.c (main): get a reference to the GnomeProgram
	and free it when appropriate. Fixes leak.

	* gnome-theme-details.c (gtk_theme_update_remove_button): fixed leaks.

svn path=/trunk/; revision=7044
2007-01-05 13:12:09 +00:00
Thomas Wood
3a8a2fc975 Fix some HIG issues with strings
2007-01-03  Thomas Wood  <thos@gnome.org>

	* theme-properties.glade: Fix some HIG issues with strings

svn path=/trunk/; revision=7042
2007-01-03 23:48:51 +00:00
Thomas Wood
b67414e40e - HIG fixes to the color scheme tab, from suggestions in Bug 382517 -
2006-12-18  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c:
	* theme-properties.glade:

	- HIG fixes to the color scheme tab, from suggestions in Bug 382517
	- Rename "Theme Details" button to "Customize"
2006-12-18 14:26:39 +00:00
Kjartan Maraas
6a31b18343 Plug a few leaks. Bug #376949.
2006-12-08  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-theme-manager.c: (meta_theme_selection_changed):
	Plug a few leaks. Bug #376949.
2006-12-08 17:17:29 +00:00
Thomas Wood
6205745414 - Cleanup some of the install code - Implement bug 325300 - Theme manager
2006-12-03  Thomas Wood  <thos@gnome.org>

	* gnome-theme-installer.c: (theme_properties_free),
	(file_theme_type), (missing_utility_message_dialog),
	(extract_files_error_dialog), (transfer_done_targz_idle_cb),
	(transfer_done_tarbz2_idle_cb), (transfer_done_cb),
	(gnome_theme_install_from_uri), (gnome_theme_installer_run):

	- Cleanup some of the install code
	- Implement bug 325300 - Theme manager should be able to handle archives
	  with icon, gtk+ and metacity themes
	- Implement bug 326103 - Allow installing a theme from a directory
2006-12-03 14:57:45 +00:00
Thomas Wood
14b930cf5d Applied patch from bug 378680 (leak in file_theme_type() in
2006-11-27  Thomas Wood  <thos@gnome.org>

	* gnome-theme-installer.c: (file_theme_type): Applied patch from
	bug 378680 (leak in file_theme_type() in theme-switcher)
2006-11-27 09:44:06 +00:00
Thomas Wood
ce90ac9adc (gnome_theme_installer_run): Open transfer dialog with transient parent
2006-11-13  Thomas Wood  <thos@gnome.org>

	(gnome_theme_installer_run): Open transfer dialog with transient
	parent set

	* gnome-theme-details.c: (remove_theme), (color_select),
	(toggle_color_scheme_key), (gnome_theme_details_init),
	(update_color_buttons_from_string),
	(gnome_theme_details_update_from_gconf):
	* gnome-theme-installer.c: (gnome_theme_install_from_uri),
	* gnome-theme-installer.h:
	* gnome-theme-manager.c: (free_all),
	(gnome_theme_manager_drag_data_received_cb), (main):
	* gnome-theme-manager.h:
	* gnome-theme-save.c: (save_dialog_response):
	* theme-properties.glade:

	- Add a colours tab to change gtk-color-scheme setting
2006-11-13 16:01:42 +00:00
Thomas Wood
ba49c1df5f Hopefully fix bug 352490
2006-10-27  Thomas Wood  <thos@gnome.org>

	* gnome-theme-installer.c: (transfer_done_cb): Hopefully fix bug
	352490
2006-10-27 12:52:22 +00:00
Thomas Wood
8ec1c4b758 Add an install-theme command line option. Fixes bug 354581 - Theme manager
2006-10-02  Thomas Wood  <thos@gnome.org>

        * gnome-theme-manager.c: (load_meta_themes), (main): Add an
        install-theme command line option. Fixes bug 354581 - Theme manager
        has no CLI tool to install themes.
2006-10-02 22:12:30 +00:00
Thomas Wood
717180a49e Allows the text in the details dialog lists to ellipsise, and sets a
2006-09-30  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (setup_tree_view):
	* theme-properties.glade:

	Allows the text in the details dialog lists to ellipsise, and sets a minimum width
	for the dialog. Fixes bug 355269 (Theme manager dialog width)
2006-09-30 16:17:46 +00:00
Thomas Wood
99185b38d9 Fixes bug 331835 (Missing maximize button) by making the main window
2006-08-28  Thomas Wood  <thos@gnome.org>

        * theme-properties.glade: Fixes bug 331835 (Missing maximize button)
        by making the main window Normal rather than Dialog.
        * ChangeLog: Converted to utf-8!
2006-08-28 20:48:25 +00:00
Thomas Wood
55a7bb8a47 Applied first two patches from bug 351521
2006-08-21  Thomas Wood  <thos@gnome.org>

        * gnome-theme-manager.c: (queue_pixbuf_generation),
        (pixbuf_idle_func), (load_meta_themes): Applied first two patches from bug 351521
2006-08-21 22:13:51 +00:00
Rob Bradford
3e77c9e063 Fixes #346041
2006-07-27  Rob Bradford <robster@debian.org>

	Fixes #346041

	* gnome-theme-manager.[ch]:
	* theme-properties.glade: added support for locking down theme.
2006-07-27 13:21:27 +00:00
Thomas Wood
189a2f4f7e Don't attempt to load window manager theme name from an unknown window
2006-07-25  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (window_theme_selection_changed),
	(gnome_theme_details_update_from_gconf): Don't attempt to load window
	manager theme name from an unknown window manager (fixes bug 333276 -
	gnome-theme-manager crashes with xgl/compiz)
2006-07-25 09:39:35 +00:00
Sebastien Bacher
88e52ddfad don't use the Application category for the .desktops, use the HardwareSettings
one for some, patch by Vincent Fretin <vincent.fretin@gmail.com>
(Closes: #344321)
2006-07-23 10:52:01 +00:00
Thomas Wood
dfc458487c Made the installation message dialog more HIG compliant, as per comments
2006-07-14  Thomas Wood  <thos@gnome.org>

        * gnome-theme-installer.c:
        (transfer_done_cb): Made the installation message dialog more HIG
        compliant, as per comments from bug 167045. Also reinstated the fix
        for bug 316800.
        (gnome_theme_installer_run): Remove invalid, and also duplicate, check
        for the tar utility.
2006-07-14 16:10:41 +00:00
Thomas Wood
b8af9cdaa6 Fix Bug 167045 - Strange wording in gnome-control-center theme manager
2006-06-13  Thomas Wood  <thos@gnome.org>

	* gnome-theme-installer.c: (transfer_done_cb): Fix Bug 167045 -
	Strange wording in gnome-control-center theme manager messages
2006-06-13 20:51:44 +00:00
Thomas Wood
7bbf1f9953 - Added option to save current background when saving a custom theme.
2006-04-28  Thomas Wood  <thos@gnome.org>

	* gnome-theme-save.c: (write_theme_to_disk), (save_theme_to_disk),
	(save_dialog_response):
	* theme-properties.glade:

	- Added option to save current background when saving a custom theme.
	Fixes bug 330302 - Saved themes should remember wallpaper.
	- Also implements some of the UI changes for the save dialog, suggested
	in bug 100622
2006-04-28 19:03:07 +00:00
Thomas Wood
270a4b8345 Fix bug 317375 - theme-manager (saving) sometimes needlessly asks whether
2006-04-27  Thomas Wood  <thos@gnome.org>

	* gnome-theme-save.c: (str_remove_slash),
	(setup_directory_structure):

	Fix bug 317375 - theme-manager (saving) sometimes needlessly asks
	whether to overwrite
2006-04-27 21:59:26 +00:00
Thomas Wood
a2609c1513 Fix bug 139692 - Some characters cannot be given as the theme name
2006-04-26  Thomas Wood  <thos@gnome.org>

	* gnome-theme-save.c: (str_remove_slash),
	(setup_directory_structure), (write_theme_to_disk),
	(gnome_theme_save_show_dialog):

	Fix bug 139692 - Some characters cannot be given as the theme name
2006-04-26 20:21:46 +00:00
Thomas Wood
ea5a631565 - Remove redundant theme-install dialog - Fix bug 138795 (file dialog
2006-04-25  Thomas Wood  <thos@gnome.org>

	* Makefile.am:
	* gnome-theme-installer.c: (gnome_theme_install_from_uri),
	(gnome_theme_installer_run_cb), (gnome_theme_installer_run):
	* gnome-theme-installer.h:
	* gnome-theme-manager.c:
	(gnome_theme_manager_drag_data_received_cb):
	* theme-install.glade:

	- Remove redundant theme-install dialog
	- Fix bug 138795 (file dialog forgets last browsed to or installed from
	  location)
2006-04-25 21:30:45 +00:00
Thomas Wood
31a5fd7828 Remove drag and drop information text, and add Install buttons to each tab
2006-04-19  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (gnome_theme_details_init),
	(gnome_theme_details_reread_themes_from_disk):
	* gnome-theme-installer.c: (gnome_theme_installer_run_cb):
	* gnome-theme-installer.h:
	* gnome-theme-manager.c: (setup_dialog):
	* theme-properties.glade:

	Remove drag and drop information text, and add Install buttons to each
	tab in the details window. Closes bug 99535 - [ui-review] Theme manager UI issues
2006-04-19 10:48:04 +00:00
Thomas Wood
9c24be1b1e Applied patch from bug 170058 - bzip2 location hardcoded
2006-04-10  Thomas Wood  <thos@gnome.org>

	* gnome-theme-installer.c: (transfer_done_targz_idle_cb),
	(transfer_done_tarbz2_idle_cb), (transfer_done_cb): Applied patch from
	bug 170058 - bzip2 location hardcoded
2006-04-10 17:56:59 +00:00
Thomas Wood
b062d0c301 Patch from Sergey Al. Safonov <spoof@spoofa.info> to fix bug 314658 -
2006-04-09  Thomas Wood  <thos@gnome.org>

	* gnome-theme-manager.c: (setup_meta_tree_view): Patch from Sergey Al.
	Safonov <spoof@spoofa.info> to fix bug 314658 - Theme chooser main
	window too wide for 800x600
2006-04-09 16:23:13 +00:00
David Seseño
a7fa1e8b9a Set the search column of the treeview. Fixes #321379.
2006-01-03  David Seseño <david@alderia.com>

	* gnome-theme-manager.c (setup_dialog): Set the search column of the
	treeview. Fixes #321379.
2006-01-03 10:24:03 +00:00
Guillaume Desmottes
9d88a0bb5e Fixes bug #147665
2006-01-03  Guillaume Desmottes <cass@skynet.be>

	Fixes bug #147665

	* gnome-theme-manager.[ch] (update_font_button_state,
	update_background_button_state): new functions.
	(background_key_changed): call the 2 above functions to update
	the background from metathemes that include a background.
2006-01-03 10:06:50 +00:00
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
Ed Catmur
4c13b49727 Fixes #319358
2005-10-24  Ed Catmur <ed@catmur.co.uk>

	Fixes #319358

	* gnome-theme-installer.c (install_dialog_response): make it
	work for file:// URIs.
2005-10-24 09:29:34 +00:00