Commit graph

41 commits

Author SHA1 Message Date
William Jon McCann
07c4a415df Remove interface tab
Fixes http://bugzilla.gnome.org/show_bug.cgi?id=592756
2009-11-09 20:35:17 +00:00
William Jon McCann
ed2fa03585 Fix more parentless modal dialogs 2009-08-23 23:25:28 -04:00
Thomas Wood
dbbe37f0bc [appearance] unref the GtkBuilder object if loading failed
Unref the GtkBuilder object if the ui description file could not be loaded.
This prevents the GtkBuilder object from being leaked.
2009-07-12 00:38:26 +01: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
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
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
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
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
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
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
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
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
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
839c7da1e9 add a comment for translators (bug #473379)
2007-09-16  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main): add a comment for translators (bug #473379)

svn path=/trunk/; revision=8114
2007-09-16 15:39:33 +00:00
Jens Granseuer
5e58d70e8f shave off a number of unnecessary casts
2007-08-07  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_add_images), (wp_dragged_image),
	(desktop_init):
	* appearance-main.c: (main):
	* appearance-style.c: (update_color_buttons_from_settings),
	(check_color_schemes_enabled), (update_cursor_size_scale),
	(prepare_list), (style_init):
	* appearance-ui.c: (ui_init): shave off a number of unnecessary casts

svn path=/trunk/; revision=7975
2007-08-07 21:46:06 +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
ebff839891 default to showing the background tab if wallpapers were given on the
2007-07-29  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main): default to showing the background tab
	if wallpapers were given on the command line

svn path=/trunk/; revision=7930
2007-07-29 20:21: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
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
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
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
Thomas Wood
ff9e869641 Move style tab into new window
2007-05-13  Thomas Wood  <thos@gnome.org>

	* appearance-main.c: (init_appearance_data):
	* appearance-themes.c: (themes_init), (theme_activated_cb):
	* appearance.glade:

	Move style tab into new window

svn path=/trunk/; revision=7605
2007-05-13 15:20:18 +00:00
Thomas Wood
88c4cb5314 - Add files for Style tab - Implement changing gtk and metacity themes
2007-05-07  Thomas Wood  <thos@gnome.org>

	* Makefile.am:
	* appearance-main.c: (main):
	* appearance-style.c:
	* appearance-style.h:
	- Add files for Style tab
	- Implement changing gtk and metacity themes

	* appearance.glade: Change "Themes" to "Theme" and name some widgets

svn path=/trunk/; revision=7570
2007-05-07 19:09:24 +00:00
Thomas Wood
ad9086bde7 - Change GtkWindow to GtkDialog - Add Help and Close buttons - Set theme
2007-05-07  Thomas Wood  <thos@gnome.org>

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

	- Change GtkWindow to GtkDialog
	- Add Help and Close buttons
	- Set theme list scrolling policy to automatic

svn path=/trunk/; revision=7568
2007-05-07 17:19:34 +00:00
Jens Granseuer
b95cceffb9 set application icon
2007-05-06  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main): set application icon

svn path=/trunk/; revision=7563
2007-05-06 20:14:56 +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
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
Jens Granseuer
bcbee706e8 use GNOMECC_GLADE_DIR like the other capplets do move initialization to a
2007-04-30  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am: use GNOMECC_GLADE_DIR like the other capplets
	do
	* appearance-main.c: (init), (main): move initialization to
	a separate function, fix glade file location, leak less
	memory, and init g_threads

svn path=/trunk/; revision=7521
2007-04-30 16:55:29 +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