Commit graph

313 commits

Author SHA1 Message Date
Benjamin Berg
346c3022b6 Only delete the theme if the user pressed OK (bug #578694)
2009-04-11  Benjamin Berg  <benjamin@sipsolutions.net>

	* theme-util.c: (theme_delete):
	Only delete the theme if the user pressed OK (bug #578694)

svn path=/trunk/; revision=9408
2009-04-11 16:20:38 +00:00
Jens Granseuer
d0b55a8864 after removing an image set the cursor to the newly selected wallpaper so
2009-03-18  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_remove_wallpaper): after removing an
	image set the cursor to the newly selected wallpaper so that
	keyboard navigation works as expected (bug #575075)

svn path=/trunk/; revision=9373
2009-03-18 21:00:11 +00:00
Jens Granseuer
a84019b447 release 2.25.92
2009-03-02  Jens Granseuer  <jensgr@gmx.net>

	* NEWS:
	* configure.in: release 2.25.92

svn path=/trunk/; revision=9304
2009-03-02 21:57:20 +00:00
Jens Granseuer
805d3406f1 fix message markup appearing in dialog (bug #572453)
2009-02-19  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_real): fix message markup
	appearing in dialog (bug #572453)

svn path=/trunk/; revision=9277
2009-02-19 19:36: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
Luca Ferretti
c25d4f239d reviewed by: Jens Granseuer
2009-01-28  Luca Ferretti  <elle.uca@libero.it>

	reviewed by: Jens Granseuer

	* data/appearance.glade:
	* gnome-wp-info.c: (gnome_wp_info_new): Use "Desktop Background"
	instead "Wallpaper" as per GDP glossary (Fixes bug #569382)	


svn path=/trunk/; revision=9218
2009-01-28 20:56:06 +00:00
Jens Granseuer
a62dabe380 don't define GNOME_DESKTOP_USE_UNSTABLE_API globally
2009-01-25  Jens Granseuer  <jensgr@gmx.net>

	* configure.in: don't define GNOME_DESKTOP_USE_UNSTABLE_API globally

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

	* Makefile.am:
	* gnome-wp-info.h:
	* gnome-wp-item.h: define GNOME_DESKTOP_USE_UNSTABLE_API in Makefile
	instead of individual headers

svn path=/trunk/; revision=9208
2009-01-25 11:25:09 +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
0e14d6efaf don't leak the filename
2008-11-29  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (file_theme_type): don't leak the filename

svn path=/trunk/; revision=9155
2008-11-29 09:53:18 +00:00
Jens Granseuer
23b2f39aae really remove the temporary directory when the transfer is cancelled
2008-11-27  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (transfer_cancel_cb): really remove the
	temporary directory when the transfer is cancelled

svn path=/trunk/; revision=9150
2008-11-27 19:50:53 +00:00
Jens Granseuer
4bf0fec262 Patch by: Maxim Ermilov <zaspire@rambler.ru>
2008-11-20  Jens Granseuer  <jensgr@gmx.net>

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

	* gnome-wp-xml.c: (gnome_wp_xml_get_bool): use g_ascii_strcasecmp
	instead of the deprecated g_strcasecmp (bug #560424)

svn path=/trunk/; revision=9146
2008-11-20 18:16:59 +00:00
Kjartan Maraas
6422a5d50c Add missing argument to capplet_init().
2008-11-09  Kjartan Maraas  <kmaraas@gnome.org>

	* appearance-main.c: (init_appearance_data):
	Add missing argument to capplet_init().

svn path=/trunk/; revision=9137
2008-11-09 10:01:01 +00:00
Jens Granseuer
f67e103d19 don't initialize gettext and gtk twice
2008-11-08  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (init_appearance_data), (main): don't
	initialize gettext and gtk twice

svn path=/trunk/; revision=9136
2008-11-08 11:37:05 +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
Søren Sandmann Pedersen
1b2850962d +Sat Oct 25 23:11:58 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* appearance.h: Don't define GNOME_DESKTOP_USE_UNSTABLE_API
+
+	* appearance-main.c: Don't include gnome-desktop-thumbnail.h
+


svn path=/trunk/; revision=9117
2008-10-26 03:12:07 +00:00
Søren Sandmann Pedersen
6a34b073f1 +Fri Oct 24 18:31:25 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* main.c (main): Use capplet_init() instead of gnome_program_init()
+
+Fri Oct 24 18:46:11 2008  Søren Sandmann  <sandmann@redhat.com>
+
+	* appearance-main.c: Get rid of gnome includes
+
+Fri Oct 24 18:32:16 2008  Søren Sandmann  <sandmann@redhat.com>
+
+	* appearance-main.c (main): Use capplet_init()
+


svn path=/trunk/; revision=9109
2008-10-24 22:50:58 +00:00
Vincent Untz
6a3b82a1f6 post-release bump to 2.24.1.
2008-09-24  Vincent Untz  <vuntz@gnome.org>

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

==================== 2.24.0.1 ====================

2008-09-24  Vincent Untz  <vuntz@gnome.org>

svn path=/trunk/; revision=9058
2008-10-11 13:34:47 +00:00
Jens Granseuer
c32f08efb1 Patch by: Matthias Clasen <mclasen@redhat.com>
2008-10-07  Jens Granseuer  <jensgr@gmx.net>

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

	* appearance-main.c: (main_window_response):
	* appearance-style.c: (style_response_cb): connect the help buttons
	to the most appropriate sections in the user guide (bug #554957)

svn path=/trunk/; revision=9043
2008-10-07 16:15:00 +00:00
Jens Granseuer
ae314d20c2 revert r9025 and reinstate the help buttons
2008-10-07  Jens Granseuer  <jensgr@gmx.net>

	* data/appearance.glade: revert r9025 and reinstate the help buttons

svn path=/trunk/; revision=9042
2008-10-07 16:09:55 +00:00
Jens Granseuer
3eea54d597 really remove the non-working help button (bug #473181)
2008-09-29  Jens Granseuer  <jensgr@gmx.net>

	* data/appearance.glade: really remove the non-working help button
	(bug #473181)

svn path=/trunk/; revision=9025
2008-09-29 20:37:41 +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
03df9b6cfd make sure the GConf to widget conversion funtion has all the data it needs
2008-09-24  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (conv_to_widget_cb), (prepare_list): make sure
	the GConf to widget conversion funtion has all the data it needs
	when it is called for the first time. Fixes a possible crash when
	starting the capplet (bug #553541)

svn path=/trunk/; revision=8998
2008-09-24 16:26:41 +00:00
Jens Granseuer
a69f7a2d11 set GtkAdjustment page size to 0 to avoid problems due to newly enforced
2008-09-21  Jens Granseuer  <jensgr@gmx.net>

	* capplets/appearance/data/appearance.glade:
	* capplets/keyboard/gnome-keyboard-properties.glade:
	* capplets/network/gnome-network-preferences.glade:
	set GtkAdjustment page size to 0 to avoid problems due to newly
	enforced value boundaries in GTK+ 2.14.  See bug #551740 for a
	description of the problem.

svn path=/trunk/; revision=8986
2008-09-21 14:20:10 +00:00
Jens Granseuer
77134e824c don't fail if the destination files already exist and the user tries to
2008-09-18  Jens Granseuer  <jensgr@gmx.net>

	* theme-save.c: (write_theme_to_disk): don't fail if the destination
	files already exist and the user tries to overwrite them (bug #552671)

svn path=/trunk/; revision=8972
2008-09-18 16:33:19 +00:00
Jens Granseuer
d9ec606ca0 when a hidden theme is selected, and therefore becomes visible, create a
2008-08-22  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (conv_to_widget_cb), (create_thumbnail),
	(prepare_list): when a hidden theme is selected, and therefore
	becomes visible, create a thumbnail for it (bug #547301)

svn path=/trunk/; revision=8879
2008-08-22 17:12:03 +00:00
Jens Granseuer
ace6f32345 remove help button as long as we don't have any help to show (bug #473181)
2008-08-14  Jens Granseuer  <jensgr@gmx.net>

	* data/appearance.glade: remove help button as long as we don't have
	any help to show (bug #473181)

svn path=/trunk/; revision=8861
2008-08-14 17:57:51 +00:00
Jens Granseuer
9dec28d959 when adding an unknown theme to the list because it has been selected use
2008-08-12  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (conv_to_widget_cb), (prepare_list): when
	adding an unknown theme to the list because it has been selected use
	the corresponding default icon to represent it

svn path=/trunk/; revision=8856
2008-08-12 21:36:19 +00:00
Jens Granseuer
7a1896a34b make theme installation from GIO-supported sources work (including drag
2008-07-29  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main):
	* appearance-themes.c: (theme_drag_data_received_cb):
	* theme-installer.c: (gnome_theme_install),
	(gnome_theme_installer_run):
	* theme-installer.h: make theme installation from GIO-supported
	sources work (including drag and drop) (bug #545335)

svn path=/trunk/; revision=8827
2008-07-29 21:10:04 +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
946ecfafb6 Fix build for the previous change
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* theme-installer.c (cleanup_tmp_dir):
	* theme-util.c (theme_delete): Fix build for the previous change


svn path=/trunk/; revision=8806
2008-07-28 13:28:05 +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
Jens Granseuer
dfb3ffda0c don't delete ~/.icons when deleting the last icon theme (bug #543763)
2008-07-20  Jens Granseuer  <jensgr@gmx.net>

	* theme-util.c: (theme_delete): don't delete ~/.icons when deleting
	the last icon theme (bug #543763)

svn path=/trunk/; revision=8791
2008-07-20 09:38:36 +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
Jens Granseuer
d6c6b7362c Patch by: Matthias Clasen <mclasen@redhat.com>
2008-06-21  Jens Granseuer  <jensgr@gmx.net>

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

	* at-properties.desktop.in.in:
	* main.c: (setup_dialog): use standard icon name from the icon naming
	spec (bug #539336)

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

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

	* appearance-main.c: (main):
	* data/gnome-appearance-properties.desktop.in.in: use standard icon
	name from the icon naming spec (bug #539339)

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

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

	* gnome-keybinding-properties.c: (setup_dialog):
	* keybinding.desktop.in.in: update icon name to use what
	gnome-icon-theme uses (bug #539338)

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

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

	* gnome-keyboard-properties.c: (main):
	* keyboard.desktop.in.in: use standard icon name from the icon naming
	spec (bug #539340)

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

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

	* gnome-window-properties.c: (main):
	* window-properties.desktop.in.in: update icon name to use what
	gnome-icon-theme uses (bug #539343)

svn path=/trunk/; revision=8767
2008-06-21 10:20:57 +00:00
Thomas Wood
59701e3a60 Delay the creation of the wallpaper file chooser dialog to save time on
2008-06-01  Thomas Wood  <thos@gnome.org>

	* appearance-desktop.c: (wp_props_wp_selected), (wp_load_stuffs),
	(wp_select_after_realize), (desktop_init), (desktop_shutdown):

	Delay the creation of the wallpaper file chooser dialog to save time on
	start up.

svn path=/trunk/; revision=8743
2008-06-01 22:27:55 +00:00
Søren Sandmann
1cf5fbe409 Make sure the data we produce is actually a list of uris, not a list of
Sat May 31 02:05:32 2008  Søren Sandmann  <sandmann@redhat.com>

	* appearance-desktop.c (wp_drag_get_data): Make sure the data we
	produce is actually a list of uris, not a list of paths. (Prevents
	crash when someone drags a thumbnail back into the list).
	
	* appearance-desktop.c (wp_add_image): Be robust against NULL
	filenames; this can happen if someone drops an http url on the
	dialog.


svn path=/trunk/; revision=8736
2008-05-31 06:07:40 +00:00
Søren Sandmann Pedersen
1917d0261b +Sat May 31 00:41:20 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* gnome-wp-item.c (options_lookup): The gconf string is "zoom",
+	not "zoomed".
+


svn path=/trunk/; revision=8735
2008-05-31 04:44:16 +00:00
Søren Sandmann Pedersen
2140bc90be +Fri May 30 23:01:57 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* gnome-wp-item.c (set_bg_properties): Update to match API change
+	in libgnome-desktop.
+


svn path=/trunk/; revision=8734
2008-05-31 04:41:14 +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
Jens Granseuer
2a6e126db2 also delete the directory itself
2008-05-24  Jens Granseuer  <jensgr@gmx.net>

	* theme-util.c: (directory_delete_recursive): also delete the
	directory itself

svn path=/trunk/; revision=8723
2008-05-24 16:46:45 +00:00
Jens Granseuer
dbe40b95fc fix up last commit
2008-05-24  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (cleanup_tmp_dir): fix up last commit

svn path=/trunk/; revision=8722
2008-05-24 16:40:59 +00:00
Jens Granseuer
2c323085cb Based on a patch by: Lincoln de Sousa <lincoln@minaslivre.org>
2008-05-24  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Lincoln de Sousa <lincoln@minaslivre.org>

	Port the last remaining bits of gnome-vfs to gio (bug
	#524401).

	* appearance-main.c: (init_appearance_data):
	* theme-installer.c: (cleanup_tmp_dir), (file_theme_type),
	(transfer_cancel_cb), (gnome_theme_install_real),
	(transfer_done_cb): use gio instead of gnome-vfs

	* theme-util.c:
	* theme-util.h: make file_delete_recursive public

	* gnome-wp-info.c: include string.h to avoid warning

svn path=/trunk/; revision=8721
2008-05-24 16:34:05 +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
33afa2a334 also show a missing theme engine in the GTK themes list and offer to
2008-05-08  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (style_message_area_response_cb),
	(update_message_area), (gtk_theme_changed), (style_init):
	* appearance.h:
	* data/appearance.glade: also show a missing theme engine in the
	GTK themes list and offer to install it via packagekit

svn path=/trunk/; revision=8698
2008-05-08 19:10:14 +00:00
Jens Granseuer
a780f374cb Add support for installing missing GTK+ theme engines via packagekit (bug
2008-05-07  Jens Granseuer  <jensgr@gmx.net>

	Add support for installing missing GTK+ theme engines via
	packagekit (bug #511065)

	* appearance-themes.c: (theme_message_area_response_cb),
	(theme_message_area_update): when we detect a missing engine,
	check if packagekit is available on the session bus. If it is show
	an install button to pull the corresponding package
	* appearance.h:
	* theme-util.c: (packagekit_available), (theme_install_file):
	* theme-util.h: add support functions

svn path=/trunk/; revision=8695
2008-05-07 20:19:36 +00:00
Jens Granseuer
fcfc55091e Patch by: Lincoln de Sousa <lincoln@minaslivre.org>
2008-05-07  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Lincoln de Sousa <lincoln@minaslivre.org>

	* theme-save.c: (setup_directory_structure), (write_theme_to_disk):
	replace some more gnome-vfs by gio (part of bug #524401)

svn path=/trunk/; revision=8694
2008-05-07 19:54:43 +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
259efe4102 even more gio migration
2008-05-04  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (desktop_init):
	* gnome-wp-info.c: (gnome_wp_info_new), (gnome_wp_info_free):
	* gnome-wp-info.h:
	* gnome-wp-item.c: (gnome_wp_item_new),
	(gnome_wp_item_update_description):
	* gnome-wp-item.h: even more gio migration

svn path=/trunk/; revision=8689
2008-05-04 13:39:46 +00:00