2007-10-25 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (gnome_theme_init): revert this part from the
last commit since this was already handled by rev 8166
svn path=/trunk/; revision=8200
2007-10-25 Denis Washington <denisw@svn.gnome.org>
More fixes regarding integration of cursor themes into metathemes.
* appearance/appearance-themes.c: Take cursor size into account in
theme_is_equal(), and also watch the cursor theme/size gconf keys for
changes.
* common/gnome-theme-apply.c: Fix the cursor size being only being
updated if the cursor theme changed too.
* common/gnome-theme-info.c: Also watch
/usr/share/cursors/xorg-x11
for cursor themes (path used by Gentoo Linux).
svn path=/trunk/; revision=8198
2007-10-24 Jens Granseuer <jensgr@gmx.net>
This change hopefully fixes bug #484797 which I suspect is caused by
the capplet getting stale data from from the themes module which in
turn is caused by deleted themes being freed but not removed from the
hash cache.
* gnome-theme-info.c: (update_common_theme_dir_index): actually remove
theme data from the hash when the theme gets deleted; also don't
unconditionally cast to icon theme
svn path=/trunk/; revision=8194
2007-10-14 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (gnome_theme_init): fix invalid use after free I
caused with the last commit
svn path=/trunk/; revision=8170
2007-09-29 Jens Granseuer <jensgr@gmx.net>
* theme-thumbnail.c: (generate_gtk_theme_thumbnail),
(generate_theme_thumbnail_async),
(generate_gtk_theme_thumbnail_async): move the code for setting the
color scheme for gtk thumbnails to the gtk-specific function. This
means we will probably extract it twice for most thumbnails, but it
makes for much cleaner code. Also add the scheme bit to the synchronous
version.
svn path=/trunk/; revision=8144
2007-09-25 Jens Granseuer <jensgr@gmx.net>
* theme-thumbnail.c: patch up an outdated comment about how the
thumbnailer protocol works
svn path=/trunk/; revision=8137
2007-09-25 Jens Granseuer <jensgr@gmx.net>
Prevent lots of thumbs from being created with the color scheme of the
currently active theme (see comment #15 in bug 460023). Maybe it also
helps with some of the other color-related issues.
* theme-thumbnail.c: (create_gtk_theme_pixbuf),
(generate_theme_thumbnail_async): when creating GTK theme thumbnails,
explicitly pass the theme's color scheme to override the xsetting
svn path=/trunk/; revision=8135
2007-08-21 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (gnome_theme_info_find_by_type_helper):
Properly check all stored themes if necessary. This fixes cases where
e.g. a metacity theme in ~/.themes would hide a GTK theme with the
same name in the system theme dir
svn path=/trunk/; revision=8032
2007-08-21 Luca Cavalli <loopback@slackit.org>
* file-transfer-dialog.c: (format_uri_for_display),
(file_transfer_dialog_set_prop): add new function similar to
gnome_vfs_format_uri_for_display but that hides the password if
needed. Taken from gedit by Paolo Maggi. Closes bug #339551.
svn path=/trunk/; revision=8027
2007-08-17 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (read_cursor_fonts): fix double-free, and make
the builtins non-static to save relocations
svn path=/trunk/; revision=8013
2007-08-08 Jens Granseuer <jensgr@gmx.net>
* theme-thumbnail.c: (create_meta_theme_pixbuf):
Create the icon theme representative before the GTK stock button. Since
we explicitly set the icon theme for the first, this ensures both are
drawn with the same icon theme. Before it was possible when changing
icon themes (especially on slower machines) that the GtkSettings were
not yet updated and the stock button still used the old theme.
svn path=/trunk/; revision=7981
2007-08-07 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (read_cursor_theme): make sure we don't run off
the end of the array
svn path=/trunk/; revision=7972
2007-08-07 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (read_cursor_theme),
(gnome_theme_cursor_info_free): copy the name for the default cursor,
too, lest we crash on free, and only unref the thumbnail if we have
one
svn path=/trunk/; revision=7971
2007-08-04 Denis Washington <denisw@svn.gnome.org>
* common/gnome-theme-info.c: (read_cursor_theme), (look_for_cursor_theme):
Also load the "default" cursor theme as GnomeThemeCursorInfo so
we know about the available sizes. (bug #462409)
* appearance/appearance-style.c: (prepare_list):
Only add a "Default Pointer" list item if there is
no such GnomeThemeCursorInfo.
svn path=/trunk/; revision=7960
2007-08-02 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (gnome_theme_color_scheme_parse): no need for an
expensive parse to initialize the colors
svn path=/trunk/; revision=7949
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-30 Thomas Wood <thos@gnome.org>
* appearance-style.c: (update_color_buttons_from_string),
(check_color_schemes_enabled), (color_button_clicked_cb),
(style_init):
* data/appearance.glade:
Add tooltip foreground and background colours to the list of recognised
symbolic colours.
2007-07-30 Thomas Wood <thos@gnome.org>
* gnome-theme-info.c: (gnome_theme_color_scheme_parse): Add tooltip foreground
and background colours to the list of recognised symbolic colours.
svn path=/trunk/; revision=7933
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-28 Denis Washington <denisw@svn.gnome.org>
* gnome-theme-info.c: (read_icon_theme):
Prevent cursor themes from being recognized as icon themes.
svn path=/trunk/; revision=7913
2007-07-26 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (peditor_tree_view_widget_changed),
(gconf_peditor_new_tree_view): connect to the GtkTreeViewSelection::changed
signal instead of GtkTreeView::cursor_changed, so we actually get notified
whenever the selection changes
svn path=/trunk/; revision=7899
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-25 Denis Washington <denisw@svn.gnome.org>
* gnome-theme-info.c: (add_common_icon_theme_dir_monitor),
(look_for_cursor_theme):
Fix abug introduced by the changes in revision 7856 which caused
cursor themes to not being found anymore.
svn path=/trunk/; revision=7882
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-29 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (peditor_string_value_changed): compare the
string from the widget against the converted gconf value, not the
unmodified one
svn path=/trunk/; revision=7807
2007-06-25 Denis Washington <denisw@svn.gnome.org>
* theme-thumbnail.[ch]:
Generate all types of thumbnails in a seperate process, not just those for
metathemes.
svn path=/trunk/; revision=7774