Commit graph

351 commits

Author SHA1 Message Date
Matthias Clasen
8f60c01f29 Fix some theme thumbnail rendering gotchas
The theme thumbnail rendering code gets the rendering of folder icons somewhat
wrong, ie it frequently shows a gnome-fs-directory icon from gnome even if the
actual theme has a folder icon. Improve things by using modern GtkIconTheme
api in a better way.
2009-07-18 01:08:38 -04:00
Thomas Wood
5d882a3bdd Automatically generate .gitignore files with git.mk
Add git.mk and include it in all Makefiles to generate .gitignore files
2009-07-16 00:38:51 +01:00
Jens Granseuer
45f198113a [common] don't unref NULL GConf entries 2009-05-20 23:20:04 +02:00
Jens Granseuer
aee9b4affd [common] Fix theme engine detection on non-UNIX platforms
Use g_module_build_path to construct the module name so we don't break
on platforms that don't use the .so suffix (bug #581156)
2009-05-03 15:57:30 +02:00
Jens Granseuer
2fc7fe1247 close gtkrc files after use so we don't run out of file descriptors (bug
2009-04-14  Jens Granseuer  <jensgr@gmx.net>

	* gtkrc-utils.c: (gtkrc_get_details): close gtkrc files after use so
	we don't run out of file descriptors (bug #578835)

svn path=/trunk/; revision=9412
2009-04-14 21:58:01 +00:00
Jens Granseuer
4ced2119f6 search the GTK+ icon theme search path for icon themes, not just selected
2009-03-19  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_init): search the GTK+ icon theme
	search path for icon themes, not just selected directories (fixes
	bug #575906)

svn path=/trunk/; revision=9374
2009-03-19 18:44:01 +00:00
Thomas Hindoe Paaboel Andersen
49cfd993c1 Replace gdk_pixbuf_unref with g_object_unref
svn path=/trunk/; revision=9253
2009-02-09 13:52:54 +00:00
Vincent Untz
950c137ea5 post-release bump to 2.25.91
2009-02-04  Vincent Untz  <vuntz@gnome.org>

	* configure.in: post-release bump to 2.25.91

svn path=/trunk/; revision=9237
2009-02-04 22:30:58 +00:00
Jens Granseuer
65d2e5c3e5 add GnomeThemeElement parameter to the ThemeChangedCallback so that the
2009-01-25  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (handle_change_signal), (update_theme_index),
	(update_common_theme_dir_index):
	* gnome-theme-info.h: add GnomeThemeElement parameter to the
	ThemeChangedCallback so that the receiver can determine what part of
	the theme changed (part of bug #568595)

2009-01-25  Jens Granseuer  <jensgr@gmx.net>

	Fix newly installed themes appearing twice in the GTK themes list if
	the package contains themes for both GTK and metacity (bug #568595)

	* appearance-style.c: (changed_on_disk_cb): check the new
	GnomeThemeElement parameter instead of the theme properties to
	determine what part of the theme changed
	* appearance-themes.c: (theme_changed_on_disk_cb): use new callback
	signature

svn path=/trunk/; revision=9206
2009-01-25 11:05:45 +00:00
Bastien Nocera
a4f0969525 upd 2.25.3
2008-12-18  Bastien Nocera  <hadess@hadess.net>

	* NEWS: upd
	* configure.in: 2.25.3


svn path=/trunk/; revision=9178
2008-12-18 19:30:08 +00:00
Rodrigo Moya
8640021f19 prepare for 2.25.2 release.
2008-12-02  Rodrigo Moya <rodrigo@gnome-db.org>

	* NEWS:
	* *ChangeLog: prepare for 2.25.2 release.

svn path=/trunk/; revision=9158
2008-12-02 16:37:29 +00:00
Jens Granseuer
ffaf3ebc86 don't recognize "" as a valid engine for certain odd GTK themes (see bug
2008-11-30  Jens Granseuer  <jensgr@gmx.net>

	* gtkrc-utils.c: (gtkrc_get_details): don't recognize "" as a valid
	engine for certain odd GTK themes (see bug #315286 for an example)

svn path=/trunk/; revision=9157
2008-11-30 12:58:38 +00:00
Jens Granseuer
3b04b8642c don't try to delete the directory twice; fixes cleaning up after theme
2008-11-27  Jens Granseuer  <jensgr@gmx.net>

	* capplet-util.c: (directory_delete_recursive): don't try to delete
	the directory twice; fixes cleaning up after theme installations, for
	example (bug #562371)

svn path=/trunk/; revision=9151
2008-11-27 19:52:54 +00:00
Jens Granseuer
f5c26281b7 Patch by: Maxim Ermilov <zaspire@rambler.ru>
2008-11-20  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Maxim Ermilov <zaspire@rambler.ru>

	capplets/sound/mixer-support.[ch]:
	capplets/appearance/*.[ch]:
	capplets/common/*.[ch]:
	capplets/keybindings/egg*.[ch]:
	capplets/keyboard/gnome-keyboard-properties-a11y.h:
	shell/control-center.c:
	typing-break/*.[ch]:
	only include top-level headers for glib and GTK+ (bug #561562)

svn path=/trunk/; revision=9148
2008-11-20 18:43:38 +00:00
Vincent Untz
d35680790c post-release bump to 2.25.2.
2008-11-05  Vincent Untz  <vuntz@gnome.org>

	* configure.in: post-release bump to 2.25.2.

svn path=/trunk/; revision=9134
2008-11-05 14:54:05 +00:00
Jens Granseuer
be828108f8 fix error handling even more - don't free the error twice
2008-10-26  Jens Granseuer  <jensgr@gmx.net>

	* capplet-util.c: (capplet_help): fix error handling even more - don't
	free the error twice

svn path=/trunk/; revision=9119
2008-10-26 12:22:51 +00:00
Jens Granseuer
ce8999af55 fix error handling
2008-10-26  Jens Granseuer  <jensgr@gmx.net>

	* capplet-util.c: (capplet_help): fix error handling

svn path=/trunk/; revision=9118
2008-10-26 10:26:11 +00:00
Søren Sandmann Pedersen
3a227fbc66 +Fri Oct 24 19:16:46 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* gnome-about-me.c (main): Remove unused GnomeProgram variable
+
+Fri Oct 24 19:19:46 2008  Søren Sandmann  <sandmann@redhat.com>
+
+	* sound-properties-capplet.c (setup_dialog): Delete code for
+	legacy config options
+	
+Fri Oct 24 19:18:37 2008  Søren Sandmann  <sandmann@redhat.com>
+
+	* capplet-util.c: Include <stdlib.h>
+	* capplet-util.h: Delete COPY_FROM_LEGACY macro
+
+Fri Oct 24 19:16:10 2008  Søren Sandmann  <sandmann@redhat.com>
+
+	* gnome-keyboard-properties.c (main): Remove copying of legacy settings
+


svn path=/trunk/; revision=9112
2008-10-24 23:22:41 +00:00
Søren Sandmann Pedersen
d552cfc0f3 +Fri Oct 24 19:04:38 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* gconf-property-editor.c: Delete unused function
+	gconf_property_editor_new_filename() 
+


svn path=/trunk/; revision=9111
2008-10-24 23:05:28 +00:00
Søren Sandmann
34590d63b1 Only call set_translation_domain() if the context is non-NULL
Fri Oct 24 18:38:47 2008  Søren Sandmann  <sandmann@redhat.com>

	* capplet-util.c (capplet_init): Only call
	set_translation_domain() if the context is non-NULL


svn path=/trunk/; revision=9107
2008-10-24 22:39:00 +00:00
Søren Sandmann
06a74d0ef1 Use capplet_init()
Fri Oct 24 18:28:54 2008  Søren Sandmann  <sandmann@redhat.com>

	* sound-properties-capplet.c (main): Use capplet_init()

Fri Oct 24 18:29:14 2008  Søren Sandmann  <sandmann@redhat.com>

	* capplet-util.c: Call g_option_context_set_translation_domain on
	the context.


svn path=/trunk/; revision=9106
2008-10-24 22:29:43 +00:00
Søren Sandmann
2f8de6c511 ==> common/ChangeLog <==
Fri Oct 24 18:22:06 2008  Søren Sandmann  <sandmann@redhat.com>

	* capplet-util.[ch]: Add new capplet_init() function

==> default-applications/ChangeLog <==
Fri Oct 24 18:22:22 2008  Søren Sandmann  <sandmann@redhat.com>

	* gnome-da-capplet.c (main): Use new capplet_init() function



svn path=/trunk/; revision=9105
2008-10-24 22:22:58 +00:00
Søren Sandmann Pedersen
18c19b9be3 +Fri Oct 24 17:21:56 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* capplet-stock-icons.c (capplet_register_stock_icons): Get rid of
+	gnome_program_locate_file()
+


svn path=/trunk/; revision=9099
2008-10-24 21:27:14 +00:00
Søren Sandmann Pedersen
5978fd729c +Fri Oct 24 17:17:47 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* Get rid of a number of unnecessary gnome.h includes
+
+	* capplets/keybindings/gnome-keybinding-properties.c: Use
+	gtk_init() instead of gnome_program_init().
+
+	* A couple of formatting fixes
+


svn path=/trunk/; revision=9098
2008-10-24 21:19:15 +00:00
Søren Sandmann
1616422ded Use gtk_show_uri() instead of gnome_help_display_desktop()
Fri Oct 24 15:42:11 2008  Søren Sandmann  <sandmann@redhat.com>

	* Use gtk_show_uri() instead of gnome_help_display_desktop()


svn path=/trunk/; revision=9094
2008-10-24 19:42:26 +00:00
Kjartan Maraas
1d11ba802c Add CAPPLET_CFLAGS to INCLUDES to make it build.
2008-10-11  Kjartan Maraas  <kmaraas@gnome.org>

	* Makefile.am: Add CAPPLET_CFLAGS to INCLUDES to make
	it build.

svn path=/trunk/; revision=9059
2008-10-11 13:37:41 +00:00
Kjartan Maraas
b67f53a8ff Fix GCC warnings from -Wformat-security.
2008-10-11  Kjartan Maraas  <kmaraas@gnome.org>

	* gconf-property-editor.c: (peditor_image_set_filename):
	Fix GCC warnings from -Wformat-security.

svn path=/trunk/; revision=9057
2008-10-11 13:34:08 +00:00
Jens Granseuer
608b720123 use translated names for icon themes if available (bug #554272)
2008-09-29  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (read_icon_theme): use translated names for
	icon themes if available (bug #554272)

svn path=/trunk/; revision=9023
2008-09-29 20:02:49 +00:00
Vincent Untz
1aee7c2ad6 post-release bump to 2.24.1.
2008-09-24  Vincent Untz  <vuntz@gnome.org>

	* configure.in: post-release bump to 2.24.1.

svn path=/trunk/; revision=9001
2008-09-24 16:50:50 +00:00
Jens Granseuer
8f77ccc2ad properly initialize the callback data (bug #550263)
2008-09-02  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_job_schedule): properly
	initialize the callback data (bug #550263)

svn path=/trunk/; revision=8914
2008-09-02 15:22:43 +00:00
Jens Granseuer
87c639d9bf don't leak the theme engine path
2008-08-16  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gtk_theme_info_missing_engine): don't leak
	the theme engine path

svn path=/trunk/; revision=8868
2008-08-16 13:18:27 +00:00
Jens Granseuer
72c4c5e6bd Keep track of hidden themes, too, so that e.g. we don't erroneously show
2008-08-16  Jens Granseuer  <jensgr@gmx.net>

	Keep track of hidden themes, too, so that e.g. we don't erroneously
	show "GTK theme missing" when a metatheme references a hidden GTK
	theme (part of bug #547301)

	* gnome-theme-info.c: (gnome_theme_read_meta_theme),
	(read_icon_theme), (read_cursor_theme): don't skip hidden themes,
	initialize the hidden property
	(gnome_theme_info_find_all_helper): only return non-hidden themes
	* gnome-theme-info.h: add hidden property to all theme types

svn path=/trunk/; revision=8865
2008-08-16 10:48:20 +00:00
Jens Granseuer
71e3280c3c make sure we have a notification theme before trying to save it (bug
2008-08-12  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): make sure we have a
	notification theme before trying to save it (bug #547448)

svn path=/trunk/; revision=8855
2008-08-12 16:45:22 +00:00
Jens Granseuer
05ce6eaabe if the metatheme loaded doesn't define a notification theme don't set it
2008-08-03  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): if the metatheme loaded
	doesn't define a notification theme don't set it to "standard" (bug
	#546036)

svn path=/trunk/; revision=8834
2008-08-03 08:23:24 +00:00
Jens Granseuer
ff258486a6 make the file transfer dialog work with GFiles instead gchar paths
2008-07-29  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_job_destroy),
	(file_transfer_job_schedule), (file_transfer_dialog_copy_async):
	make the file transfer dialog work with GFiles instead gchar paths
	internally

2008-07-29  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_from_uri): file transfer
	dialog now uses GFiles internally, so update the caller

svn path=/trunk/; revision=8826
2008-07-29 20:21:47 +00:00
Bastien Nocera
2cac70eea3 Remove libsounds and esound usage, check for libcanberra instead (Closes:
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* configure.in: Remove libsounds and esound usage, check for
	libcanberra instead (Closes: #542979)

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* theme-util.c:
	* theme-util.h: Remove the directory deletion helpers, and
	move them to the common sub-directory

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* capplet-util.c (directory_delete_recursive),
	(capplet_file_delete_recursive):
	* capplet-util.h: Move directory deletion helper function
	from the appearance capplet into a common directory

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* sound-properties-capplet.c (create_dialog), (setup_dialog),
	(get_legacy_settings):
	* sound-properties.glade:
	* sound-theme-definition.h:
	* sound-theme-file-utils.[ch]:
	* sound-theme.[ch]: Remove separate bell settings tab, remove
	libsounds dependency, add freedesktop sound theme support through
	libcanberra (Closes: #542979)


svn path=/trunk/; revision=8802
2008-07-27 23:32:35 +00:00
Matthias Clasen
536abe1a33 Bug 533611 - add notification themes to the metatheme format
* appearance-themes.c: When loading a metatheme from GConf, read
        the notification theme from /apps/notification-daemon/theme.

        * appearance-theme-save.c: When saving a metatheme to disk,
        save the notification theme with the key NotificationTheme.

        * appearance-theme-util.h: Add a define for the GConf key
        used for notification theme.


        * gnome-theme-apply.c: When applying a metatheme, apply
        the notification theme, too.

        * gnome-theme-info.h: Add a notification_theme_name field
        to the metatheme info struct.

        * gnome-theme-info.c: When reading a metatheme from a keyfile,
        handle notification themes.


svn path=/trunk/; revision=8781
2008-07-15 18:23:31 +00:00
Thomas Wood
4da6d2f501 Remove some redundant and unused code
2008-06-01  Thomas Wood  <thos@gnome.org>

	* capplet-util.c:
	* capplet-util.h:

	Remove some redundant and unused code

svn path=/trunk/; revision=8742
2008-06-01 16:57:56 +00:00
Jens Granseuer
90d606a496 return to using paths instead of URIs since most of the code using them
2008-05-24  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_read_meta_theme),
	(read_icon_theme), (read_cursor_theme), (read_cursor_fonts),
	(update_theme_index): return to using paths instead of URIs since
	most of the code using them expects paths

2008-05-24  Jens Granseuer  <jensgr@gmx.net>

	* theme-util.c: (theme_is_writable), (theme_delete): expect
	a path instead of an URI in theme_info->path

svn path=/trunk/; revision=8724
2008-05-24 17:19:26 +00:00
Thomas Wood
e544be375b Allow the data property to be read as well as written.
2008-05-18  Thomas Wood  <thos@gnome.org>

	* gconf-property-editor.c: (gconf_property_editor_class_init),
	(gconf_property_editor_get_prop): Allow the data property to be
	read as well as written.

svn path=/trunk/; revision=8718
2008-05-18 21:33:07 +00:00
Jens Granseuer
4edaa68a86 use G_DEFINE_TYPE to get rid of the boilerplate code and remove a number
2008-05-18  Jens Granseuer  <jensgr@gmx.net>

	* gconf-property-editor.c: (gconf_property_editor_init),
	(gconf_property_editor_class_init),
	(gconf_property_editor_finalize), (gconf_peditor_new),
	(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
	(gconf_peditor_new_string_valist), (gconf_peditor_new_color),
	(gconf_peditor_new_combo_box),
	(gconf_peditor_new_combo_box_with_enum),
	(gconf_peditor_new_select_radio),
	(gconf_peditor_new_numeric_range),
	(gconf_peditor_widget_set_guard), (gconf_peditor_new_enum_toggle),
	(peditor_image_set_filename), (peditor_image_clicked_cb),
	(gconf_peditor_new_image),
	(gconf_peditor_new_select_radio_with_enum): use G_DEFINE_TYPE to
	get rid of the boilerplate code and remove a number of unnecessary
	casts

svn path=/trunk/; revision=8717
2008-05-17 21:53:39 +00:00
Vincent Untz
5e14bcf311 post-release bump to 2.23.3
2008-05-17  Vincent Untz  <vuntz@gnome.org>

	* configure.in: post-release bump to 2.23.3

svn path=/trunk/; revision=8716
2008-05-17 16:56:46 +00:00
Jens Granseuer
bfeca03824 remove unused files
2008-05-17  Jens Granseuer  <jensgr@gmx.net>

	* bonobo-property-editor-range.c:
	* bonobo-property-editor-range.h: remove unused files

svn path=/trunk/; revision=8711
2008-05-17 09:06:40 +00:00
Søren Sandmann
8c9c2abbac Delete this directory since it's not used any more
Fri May 16 21:55:52 2008  Søren Sandmann  <sandmann@redhat.com>

	* libbackground: Delete this directory since it's not used any
	more


svn path=/trunk/; revision=8708
2008-05-17 02:00:50 +00:00
Jens Granseuer
140deb2526 split out the check for the missing theme engine because we also need it
2008-05-07  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gtk_theme_info_missing_engine),
	(gnome_theme_meta_info_validate):
	* gnome-theme-info.h: split out the check for the missing theme
	engine because we also need it for the packagekit support

svn path=/trunk/; revision=8696
2008-05-07 20:23:19 +00:00
Jens Granseuer
15fbcb3bde fix error code when GTK engine is missing, and fix the function signature
2008-05-06  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_meta_info_validate): fix error
	code when GTK engine is missing, and fix the function signature

svn path=/trunk/; revision=8693
2008-05-06 18:37:55 +00:00
Jens Granseuer
3c71eb6319 move metatheme validation code here from the appearance capplet and add
2008-05-06  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* gnome-theme-info.c: (gnome_theme_info_error_quark),
	(gnome_theme_meta_info_free), (gnome_theme_meta_info_validate):
	* gnome-theme-info.h: move metatheme validation code here from the
	appearance capplet and add proper error codes

2008-05-06  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* appearance-themes.c: (theme_message_area_update): move metatheme
	validation code to common/gnome-theme-info.c

svn path=/trunk/; revision=8692
2008-05-06 17:41:57 +00:00
Jens Granseuer
9297cec083 doesn't need gnome-vfs any longer
2008-05-04  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-test.c: (main): doesn't need gnome-vfs any longer

svn path=/trunk/; revision=8690
2008-05-04 13:44:45 +00:00
Jens Granseuer
a9e90ad542 always use URIs instead for info->path; since gio cleanly distinguishes
2008-05-01  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (read_cursor_theme), (read_cursor_fonts),
	(update_theme_index): always use URIs instead for info->path; since
	gio cleanly distinguishes path/uri (contrary to gnome-vfs), the
	random mix we have right now is becoming a nuisance

svn path=/trunk/; revision=8684
2008-05-01 14:11:38 +00:00
Jens Granseuer
d714ff7e49 port from gnome-vfs to gio (part of bug #524401)
2008-05-01  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c:
	* gnome-theme-info.c: (get_file_type), (add_theme_to_hash_by_name),
	(get_theme_from_hash_by_name), (gnome_theme_read_meta_theme),
	(read_icon_theme), (gdk_pixbuf_from_xcursor_image),
	(read_cursor_theme), (handle_change_signal), (update_theme_index),
	(update_gtk2_index), (update_keybinding_index),
	(update_metacity_index), (update_common_theme_dir_index),
	(update_meta_theme_index), (update_icon_theme_index),
	(update_cursor_theme_index), (gtk2_dir_changed),
	(keybinding_dir_changed), (metacity_dir_changed),
	(common_theme_dir_changed), (common_icon_theme_dir_changed),
	(add_common_theme_dir_monitor),
	(add_common_icon_theme_dir_monitor),
	(remove_common_theme_dir_monitor),
	(remove_common_icon_theme_dir_monitor), (top_theme_dir_changed),
	(top_icon_theme_dir_changed), (real_add_top_theme_dir_monitor),
	(add_top_theme_dir_monitor), (add_top_icon_theme_dir_monitor),
	(gnome_theme_init):
	* gnome-theme-info.h:
	* gnome-theme-test.c: (main): port from gnome-vfs to gio (part of
	bug #524401)

2008-05-01  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init): update for changes in the
	theme-info API

2008-05-01  Jens Granseuer  <jensgr@gmx.net>

	* theme-method.c: (vfs_module_init):
	* themus-properties-view.c: (themus_properties_view_init),
	(themus_properties_view_set_location):
	* themus-theme-applier.c: (main): update users of the theme-info
	API

svn path=/trunk/; revision=8681
2008-05-01 09:08:07 +00:00