Commit graph

37 commits

Author SHA1 Message Date
William Jon McCann
9d4a90d798 Add support for per-monitor backgrounds
https://bugzilla.gnome.org/show_bug.cgi?id=147808
2009-12-09 22:15:20 -05:00
Matthias Clasen
3a88e51353 [appearance] Make slideshows visually distinct
The patch fixes the tooltips to not lie about the backgrounds, and adds a
stacked frame decoration around slide shows.

This patch adds two little buttons below the slide show that let you step
through the frames of the slide show, to see whats in it.

Fixes http://bugzilla.gnome.org/show_bug.cgi?id=591375
2009-08-25 13:02:19 -04:00
William Jon McCann
68993660c6 Add link buttons to get more themes/backgrounds online
Fixes #http://bugzilla.gnome.org/show_bug.cgi?id=323323
2009-08-25 11:44:33 -04:00
Thomas Wood
e5d8d840d5 [appearance] migrate appearance capplet to GtkBuilder
This removes the dependency on the deprecated libglade library.
2009-07-11 12:53:27 +01: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
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
bba36b9e37 Use GnomeDesktopThumbnailFactory instead of GnomeThumbnailFactory
Fri Oct 24 14:44:16 2008  Søren Sandmann  <sandmann@redhat.com>

	* Use GnomeDesktopThumbnailFactory instead of
	GnomeThumbnailFactory


svn path=/trunk/; revision=9093
2008-10-24 18:44:52 +00:00
Rodrigo Moya
ece517cf9c Patch by Nirbheek Chauhan
2008-09-05  Rodrigo Moya <rodrigo@gnome-db.org>

	Patch by Nirbheek Chauhan

	* configure.in:
	* capplets/appearance/appearance-themes.c:
	* capplets/appearance/appearance.h: removed last gnome-vfs leftovers.

svn path=/trunk/; revision=8925
2008-09-05 11:50:53 +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
6cfdc46460 figure out where GTK+ expects its theme engines and make that info
2008-04-19  Jens Granseuer  <jensgr@gmx.net>

	* configure.in: figure out where GTK+ expects its theme engines and
	make that info available to interested capplets

2008-04-19  Jens Granseuer  <jensgr@gmx.net>

	* gtkrc-utils.c: (gtkrc_get_details): accept NULL for the
	symbolic_colors parameter if the caller doesn't want that information

2008-04-19  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* appearance-themes.c: (theme_validate),
	(theme_message_area_update), (themes_init):
	* appearance.h: show a warning message when the selected theme is
	incomplete (e.g. missing icon theme or gtk theme engine)

svn path=/trunk/; revision=8658
2008-04-19 10:30:34 +00:00
Jens Granseuer
bdf68d23a0 remove accidentally committed (and broken) desktop effects changes
svn path=/trunk/; revision=8641
2008-04-08 18:56:46 +00:00
Rodrigo Moya
a8008dc1e5 Updated NEWS from 2.22 branch
svn path=/trunk/; revision=8638
2008-04-08 12:04:49 +00:00
Jens Granseuer
f70ad15ad5 Patch by: Patrick Wade <patrick.wade@sun.com>
2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Patrick Wade <patrick.wade@sun.com>

	* appearance-themes.c: (custom_font_cb),
	(theme_message_area_response_cb), (theme_message_area_update),
	(themes_init), (themes_shutdown):
	* appearance.h: allow the user to revert a font change proposed by a
	metatheme (bug #519065)

svn path=/trunk/; revision=8598
2008-03-27 19:29:13 +00:00
Jens Granseuer
326eeb16b7 don't leak the enum groups
2007-08-31  Jens Granseuer  <jensgr@gmx.net>

	* appearance-font.c: (enum_group_destroy), (cb_show_details),
	(font_init), (font_shutdown):
	* appearance.h: don't leak the enum groups

svn path=/trunk/; revision=8061
2007-08-31 17:00:38 +00:00
Jens Granseuer
b7ad0952dc use thumbnail factory to store and retrieve metatheme thumbs (bug #448968)
2007-08-03  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_props_load_wallpaper), (wp_add_image),
	(wp_scale_type_changed), (wp_shade_type_changed),
	(wp_update_preview), (wp_load_stuffs), (desktop_init),
	(desktop_shutdown):
	* appearance-main.c: (init_appearance_data),
	(main_window_response):
	* appearance-themes.c: (theme_get_mtime), (theme_thumbnail_update),
	(theme_get_thumbnail_from_cache), (theme_thumbnail_done_cb),
	(theme_thumbnail_generate):
	* appearance.h:
	* gnome-wp-xml.c: (gnome_wp_load_legacy), (gnome_wp_xml_load_xml):
	use thumbnail factory to store and retrieve metatheme thumbs
	(bug #448968)

svn path=/trunk/; revision=7955
2007-08-03 19:53:14 +00:00
Jens Granseuer
3bb830b0ac add a shortcut to the user's special Pictures folder to the file chooser
2007-07-31  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_file_open_dialog), (desktop_init):
	* appearance.h: add a shortcut to the user's special Pictures folder to
	the file chooser and default to it (bug #461093), and reduce casting

svn path=/trunk/; revision=7941
2007-07-31 21:15:02 +00:00
Denis Washington
11cd98e2d1 Don't store the cell renderer in AppearanceData, it is only needed by
2007-07-29  Denis Washington  <denisw@svn.gnome.org>

	* appearance.h:
	* appearance-desktop.c: (desktop_init):
	Don't store the cell renderer in AppearanceData, it is only needed by
	desktop_init().

svn path=/trunk/; revision=7927
2007-07-29 17:45:51 +00:00
Denis Washington
35872177c1 Added controls for applying suggested backgrounds and/or fonts from
2007-07-29  Denis Washington  <denisw@svn.gnome.org>

	* data/appearance.glade:
	* appearance-themes.c: (theme_message_area_response_cb),
	(theme_message_area_update), (theme_selection_changed_cb),
	(themes_init), (themes_shutdown):
	* gedit-message-area.[ch]:
	* theme-util.h:
	Added controls for applying suggested backgrounds and/or fonts from
	metathemes. Copied over some code from gedit for the message area
	(GeditMessageArea).

	* Makefile.am:
	Added gedit-message-area.[ch].

svn path=/trunk/; revision=7921
2007-07-29 13:56:10 +00:00
Jens Granseuer
14ba88579a add option to add wallpapers via the command line (closes bug #456337)
2007-07-12  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_load_stuffs), (desktop_init),
	(desktop_shutdown):
	* appearance-desktop.h:
	* appearance-main.c: (main):
	* appearance.h: add option to add wallpapers via the command line
	(closes bug #456337)

svn path=/trunk/; revision=7853
2007-07-12 20:52:15 +00:00
Denis Washington
11756d2e52 Placeholder thumbnails for gtk+, metacity and icon themes.
2007-06-26  Denis Washington  <denisw@svn.gnome.org>

	* gtk-theme-thumbnailing.png:
	* icon-theme-thumbnailing.png:
	* window-theme-thumbnailing.png:
	Placeholder thumbnails for gtk+, metacity and icon themes.

	* Makefile.am: Add new files.

	* appearance.h:
	* appearance-style.h:
	* appearance-style.c: (style_init), (style_shutdown), (prepare_list):
	Use the new placeholder thumbnails for the details window's theme lists.

	* appearance-main.c: Call new style_shutdown ().

svn path=/trunk/; revision=7781
2007-06-26 14:45:57 +00:00
Denis Washington
304ee0d357 Adjusted for the API changes in theme-thumbnail.c. Thumbnail requestes are
2007-06-25  Denis Washington  <denisw@svn.gnome.org>

	* appearance-themes.c:
	Adjusted for the API changes in theme-thumbnail.c. Thumbnail requestes are
	now directly queued by generate_*_async(), so do not maintain an own queue
	anymore.

	* appearance-style.c:
	Use the new asynchronous thumbnail generation functions, and replace all
	occurrences of "metacity_themes_list" with the correct "window_themes_list".

	* appearance.h:
	Remove "theme_queue", it is not needed anymore.

svn path=/trunk/; revision=7776
2007-06-25 15:22:45 +00:00
Jens Granseuer
122df3a8d0 implement theme saving
2007-06-24  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* appearance-themes.c: (theme_selection_changed_cb),
	(theme_save_cb), (themes_init), (themes_shutdown):
	* appearance.glade:
	* appearance.h:
	* theme-save.c:
	* theme-save.h:
	* theme-util.h: implement theme saving

svn path=/trunk/; revision=7771
2007-06-24 11:04:27 +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
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
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
Denis Washington
3a908d7a99 Replace the background treeview with an icon view that only shows the
* appearance.h:
* appearance-desktop.c:
* appearance.glade:
* gnome-wp-item.c:
* Makefile.am:
* wp-cellrenderer.[ch]:
Replace the background treeview with an icon view that only shows the 
thumbnails. Tooltips are to be done.


svn path=/trunk/; revision=7593
2007-05-10 16:31:18 +00:00
Jens Granseuer
709cb35f29 add implementation for fonts tab
2007-05-04  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* appearance-font.c:
	* appearance-font.h:
	* appearance-main.c: (init_appearance_data), (main):
	* appearance.glade:
	* appearance.h:
	* subpixel-bgr.png:
	* subpixel-rgb.png:
	* subpixel-vbgr.png:
	* subpixel-vrgb.png:

	add implementation for fonts tab

svn path=/trunk/; revision=7550
2007-05-04 17:18:34 +00:00
Thomas Wood
207ce87995 Remove WID() macro, which has an incompatible definition in
2007-05-04  Thomas Wood  <thos@gnome.org>

	* appearance-desktop.c: (wp_add_images), (wp_dragged_image),
	(desktop_init):
	* appearance-main.c: (main):
	* appearance-themes.c: (themes_init):
	* appearance-ui.c: (set_toolbar_style), (set_have_icons),
	(ui_init):
	* appearance.h:
	Remove WID() macro, which has an incompatible definition in capplet-utils.h

svn path=/trunk/; revision=7549
2007-05-04 17:11:12 +00:00
Denis Washington
608cac39ef Ported Jens Gransauer's patch for bug #332810 to the appearance capplet
* appearance.h:
* appearance-desktop.c:
Ported Jens Gransauer's patch for bug #332810 to the appearance capplet 
and applied it.

svn path=/trunk/; revision=7543
2007-05-03 13:57:09 +00:00
Denis Washington
e3dafbb585 Implement the the Desktop tab. Drag and drop still has to be done.
* appearance.glade:
* appearance-desktop.c:
* appearance-desktop.h:
* appearance-main.h:
* Makefile.am:
* gnome-wp-*.[ch]:

Implement the the Desktop tab. Drag and drop still has to be done.

svn path=/trunk/; revision=7536
2007-05-02 14:04:53 +00:00
Jens Granseuer
0a17b8dc43 we don't need to unref the GConfPropertyEditors
2007-05-01  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main):
	* appearance-ui.c: (ui_init):
	* appearance-ui.h:
	* appearance.h: we don't need to unref the GConfPropertyEditors

svn path=/trunk/; revision=7531
2007-05-01 13:53:13 +00:00
Jens Granseuer
e794639a0c fill the Preferences tab with life
2007-05-01  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main):
	* appearance-ui.c:
	* appearance-ui.h:
	* appearance.h:
	* appearance.glade:

	fill the Preferences tab with life

svn path=/trunk/; revision=7530
2007-05-01 13:02:29 +00:00
Jens Granseuer
93bc8933ef include config.h before anything else and add a GConfClient reference to
2007-05-01  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (init_appearance_data), (main):
	* appearance.h:

	include config.h before anything else and add a GConfClient
	reference to the AppearanceData struct

svn path=/trunk/; revision=7529
2007-05-01 10:25:29 +00:00
Thomas Wood
1b63c9b245 Include config.h and add some comments.
2007-04-30  Thomas Wood  <thos@gnome.org>

	* appearance-main.c: (main):
	* appearance.h:

	Include config.h and add some comments.

svn path=/trunk/; revision=7528
2007-04-30 17:50:37 +00:00
Thomas Wood
068d417c59 Add license headers
2007-04-30  Thomas Wood  <thos@gnome.org>

	* appearance-main.c:
	* appearance-themes.c:
	* appearance-themes.h:
	* appearance.h:

	Add license headers


svn path=/trunk/; revision=7520
2007-04-30 16:51:31 +00:00
Thomas Wood
b98e469088 Add some code for a new appearance capplet
2007-04-30  Thomas Wood  <thos@gnome.org>

	* capplets/appearance/Makefile.am:
	* capplets/appearance/appearance-main.c:
	* capplets/appearance/appearance-themes.c:
	* capplets/appearance/appearance-themes.h:
	* capplets/appearance/appearance.glade:
	* capplets/appearance/appearance.h:

	Add some code for a new appearance capplet

svn path=/trunk/; revision=7518
2007-04-30 14:33:05 +00:00