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
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
* 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-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
20007-11-12 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-theme-info.c:
* gnome-theme-info.h: re-added GnomeThemeElement to the "public" API,
since it's used in gnome-theme-test.
svn path=/trunk/; revision=8279
2007-10-28 Jens Granseuer <jensgr@gmx.net>
Switch to using a common theme struct that includes a type descriptor
so we can avoid many of the theme type casts. This should also make
adding support for live cursor theme changes a little easier.
* gnome-theme-info.c: (add_theme_to_hash_by_name),
(remove_theme_from_hash_by_name), (get_theme_from_hash_by_name),
(gnome_theme_compare), (gnome_theme_free),
(add_default_cursor_theme), (gdk_pixbuf_from_xcursor_image),
(read_cursor_theme), (look_for_cursor_theme),
(read_current_cursor_font), (read_cursor_fonts),
(handle_change_signal), (update_theme_index),
(update_common_theme_dir_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), (top_theme_dir_changed),
(top_icon_theme_dir_changed), (real_add_top_theme_dir_monitor),
(gnome_theme_info_new), (gnome_theme_info_free),
(gnome_theme_info_find), (gnome_theme_info_find_all_helper),
(gnome_theme_icon_info_new), (gnome_theme_icon_info_find),
(gnome_theme_icon_info_find_all), (gnome_theme_cursor_info_new),
(gnome_theme_cursor_info_find), (gnome_theme_cursor_info_find_all),
(gnome_theme_meta_info_new), (gnome_theme_meta_info_free),
(gnome_theme_meta_info_find), (gnome_theme_meta_info_find_all),
(gnome_theme_color_scheme_parse), (gnome_theme_init):
* gnome-theme-info.h: Use CursorThemeCommonInfo wherever possible,
remove some unused code.
2007-10-28 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (changed_on_disk_cb):
* appearance-themes.c: (theme_changed_on_disk_cb): adapt to changes in
theme change notification
2007-10-28 Jens Granseuer <jensgr@gmx.net>
* theme-method.c: (theme_changed_callback): adapt to modified
callback signature
svn path=/trunk/; revision=8224
2007-07-30 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (color_button_clicked_cb): fix cut'n'paste errors
for the tooltip colors and use new color enum
* data/appearance.glade: repair the mess glade3 made of the file
2007-07-30 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (gnome_theme_color_scheme_parse),
(gnome_theme_color_scheme_equal):
* gnome-theme-info.h: add symbolic colors enum and use it
svn path=/trunk/; revision=7936
2007-07-28 Denis Washington <denisw@svn.gnome.org>
* common/gnome-theme-info.h:
* common/gnome-theme-info.c: (look_in_cursor_theme),
(gnome_theme_cursor_info_free):
Read a cursor theme's name from it's index.theme file if it has one.
* appearance/appearance-style.c: (prepare_list):
Show readable_name in cursor theme list instead of name.
svn path=/trunk/; revision=7914
2007-07-26 Denis Washington <denisw@svn.gnome.org>
* appearance/data/appearance.glade:
* appearance/appearance-style.c:
* appearance/appearance-themes.c: (theme_load_from_gconf),
(cursor_theme_changed), (prepare_list), (style_init):
* appearance/theme-save.c: (write_theme_to_disk):
* appearance/theme-util.h:
* common/gnome-theme-apply.c: (gnome_meta_theme_set):
* common/gnome-theme-info.c:
(add_common_icon_theme_dir_monitor),
(gnome_theme_init):
* common/gnome-theme-info.h:
Re-add basic support for cursor themes for X servers without the Xcursor
extension, like the one on Solaris.
svn path=/trunk/; revision=7890
2007-07-01 Denis Washington <denisw@svn.gnome.org>
* gnome-theme-info.[ch]:
Add support for cursor themes (GnomeThemeCursorInfo); probably still a bit
rough around the edges, but it works.
svn path=/trunk/; revision=7823
2007-06-07 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (handle_change_signal),
(gnome_theme_is_writable),
(gnome_theme_info_register_theme_change):
* gnome-theme-info.h:
modify the theme change callback to return more useful
information and add a function to determine whether a given
theme is writable
svn path=/trunk/; revision=7703
2007-05-25 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (read_icon_theme):
* gnome-theme-info.h:
add a "readable_name" property for icon themes, and make sure "name"
points to the internal theme name
svn path=/trunk/; revision=7660
2005-10-11 Muktha <muktha.narayan@wipro.com>
* gnome-theme-info.h:
* gnome-theme-manager.h:
* gnome-theme-manager.c (apply_font_clicked):
* gnome-theme-info.c (gnome_theme_read_meta_theme)
(gnome_theme_meta_info_free) (gnome_theme_meta_info_print)
(gnome_theme_meta_info_compare): Update the desktop font in
addition to the application font when 'apply font' in large print
themes is selected. Fixes#123551.
2003-03-27 Andrew Sobala <aes@gnome.org>
* gnome-theme-info.c: (gnome_theme_read_meta_theme),
(update_common_theme_dir_index):
s/read_meta_theme/gnome_theme_read_meta_theme/; enable the reading of
themes that just use [X-GNOME-Metatheme] without pretending to be a
.desktop file
* gnome-theme-info.h: exposed gnome_theme_read_meta_theme
Thu Jan 2 08:57:54 2003 Jonathan Blandford <jrb@gnome.org>
* gnome-theme-manager.c: correctly merge disk updates and the
current setup.
* TODO: Add a TODO
Tue Nov 5 15:48:33 2002 Jonathan Blandford <jrb@gnome.org>
* gnome-theme-info.c: Change the file format a bunch.
Tue Nov 5 15:48:20 2002 Jonathan Blandford <jrb@gnome.org>
* gnome-theme-manager.c (read_themes): make more robust.
Fri Nov 1 11:01:16 2002 Jonathan Blandford <jrb@gnome.org>
* gnome-theme-manager.c: Rewrote to handle metathemes and icon
themes. The WM stuff was previously broken, too.
* gnome-theme-installer.[ch]: Extract this code out to it's own
file.
Fri Nov 1 11:03:34 2002 Jonathan Blandford <jrb@gnome.org>
* gnome-theme-info.[ch]: Moved theme-common, and gave more
features.