2007-04-03 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-details.c: (update_color_buttons_from_string):
don't crash if the color string is mangled, and close a small
memory leak
svn path=/trunk/; revision=7439
2007-03-21 Bastien Nocera <hadess@hadess.net>
* gnome-keybinding-properties.c: (reload_key_entries):
Prepend the directory name before loading the files, otherwise, we're
loading them from the current directory, spotted by Fernando Herrera
<fherrera@onirica.com> (Closes: #420796)
svn path=/trunk/; revision=7411
2007-03-21 Federico Mena Quintero <federico@novell.com>
Fix the gnome-settings-daemon part of
https://bugzilla.novell.com/show_bug.cgi?id=217790 and
http://bugzilla.gnome.org/show_bug.cgi?id=378338: try to figure
out the DPI value from the X server or the user's GConf settings.
Should also fix https://bugzilla.novell.com/show_bug.cgi?id=240246.
* gnome-settings-daemon/gnome-settings-xsettings.c (gnome_xft_settings_get): Call
get_dpi_from_gconf_or_server() to figure out a reasonable DPI
value; don't unconditionally get it from GConf.
(get_dpi_from_gconf_or_server): New function. If the user has
ever set the /desktop/gnome/font_rendering/dpi value in GConf, we
use its value. Otherwise, we ask the X server. We constrain the
X server's response to a range of reasonable DPI values, since
some servers lie about the screen's phisical dimensions --- the
user would get unusably huge or tiny fonts otherwise.
* capplets/font/main.c (dpi_load): First, see if the DPI value is actually set
in GConf. If it is, it means that the user has changed it at
least once. In that case, just use the value. Otherwise, find
the value from the X server in a similar way to what we do in
gnome-settings-daemon.
svn path=/trunk/; revision=7409
2007-03-20 Priit Laes <plaes@svn.gnome.org>
* gnome-da-capplet.c: Glue code to tie everything together.
* gnome-da-capplet.h: Added widgets and defines for default mediaplayer.
* gnome-da-xml.c: (gnome_da_xml_load_xml), (gnome_da_xml_free): Added
mediaplayer data parser.
* gnome-da-item.c: Changed occurrences of MailItem to SimpleItem, so we
can also use it for mediaplayers.
* gnome-da-item.h: Ditto.
* gnome-default-applications-properties.glade: Make Multimedia tab visible
and change the UI to include our favorite mediaplayer selector.
* gnome-default-applications.xml.in: Add some media players to the list.
Introduces preferred media application support. Bug #362578.
svn path=/trunk/; revision=7403
2007-03-19 Jens Granseuer <jensgr@gmx.net>
Based on a patch by: Bastien Nocera <hadess@hadess.net>
* Makefile.am: don't try to build about-me if it's been disabled in
configure and make is run in the subdir (closes bug #408552)
svn path=/trunk/; revision=7399
2007-03-19 Bastien Nocera <hadess@hadess.net>
* capplets/keybindings/00-multimedia-key.xml.in:
* capplets/keybindings/01-desktop-key.xml.in:
* capplets/keybindings/50-metacity-desktop-key.xml.in:
* capplets/keybindings/50-metacity-key.xml.in:
* capplets/keybindings/Makefile.am:
* capplets/keybindings/gnome-keybinding-properties.c:
(create_dialog), (should_show_key), (count_rows_foreach),
(ensure_scrollbar), (append_keys_to_tree), (parse_start_tag),
(append_keys_to_tree_from_file), (reload_key_entries),
(setup_dialog):
* po/POTFILES.in: Make all the keybindings be external to the keybindings
capplet itself. This allows applications to add their own keybindings
without recompilation (Closes: #410758)
svn path=/trunk/; revision=7397
2007-03-18 Jens Granseuer <jensgr@gmx.net>
* gnome-keyboard-properties-xkblt.c:
(xkb_layouts_prepare_selected_tree): use a radio button instead of a
checkbox to indicate the default layout. Fixes#389469.
svn path=/trunk/; revision=7392
2007-03-04 Jens Granseuer <jensgr@gmx.net>
Patch by: Andreas Koehler <andi5.py@gmx.net>
* gnome-about-me.glade: use proper shadow type for the address fields
(fixes bug #414061)
svn path=/trunk/; revision=7362
2007-03-04 Benjamin Berg <benjamin@sipsolutions.net>
* gnome-theme-details.c: (update_color_scheme_tab):
Free the engine and color scheme lists.
Removed some bogus old code that caused the current theme to be
checked instead of the new one.
svn path=/trunk/; revision=7360
2007-03-04 Thomas Wood <thos@gnome.org>
* gnome-theme-info.c: (gnome_theme_read_meta_theme): Don't try and open null
filenames
* theme-thumbnail.c: (message_from_capplet): Reset the gtk_color_scheme after
a thumbnail has been generated.
svn path=/trunk/; revision=7359
2007-03-04 Thomas Wood <thos@gnome.org>
Patch by: Thomas Zajic <zlatko@gmx.at>
* gnome-mouse-properties.c: (populate_tree_model): Add two popular cursor
sizes to the filter, and sort "Pointers" list alphabetically.
svn path=/trunk/; revision=7358
2007-03-04 Thomas Wood <thos@gnome.org>
* Makefile.am:
* gtkrc-utils.c: (gtkrc_get_details):
* gtkrc-utils.h:
Move gtkrc-utils from capplets/theme-switcher to capplets/common.
* gnome-theme-info.c: (gnome_theme_read_meta_theme): Search the gtkrc for
the colour scheme if none was found in the metatheme file. Fixes a problem
when comparing two metathemes which only differ by the colour scheme setting.
svn path=/trunk/; revision=7356
2007-02-28 Thomas Wood <thos@gnome.org>
* gnome-theme-details.c: (load_theme_names): Replace a deprecated function
(color_select), (gnome_theme_details_init): Rename color_select() to gtk_color_scheme_changed()
svn path=/trunk/; revision=7345
2007-02-28 Thomas Wood <thos@gnome.org>
* gnome-theme-apply.c: (gnome_meta_theme_set): Set the gtk-color-scheme even
if it is blank.
* theme-thumbnail.c: (create_image), (handle_bytes),
(generate_theme_thumbnail), (generate_theme_thumbnail_async),
(theme_thumbnail_factory_init): Set the gtk-color-scheme when creating the
thumbnail.
svn path=/trunk/; revision=7344
2007-02-27 Jens Granseuer <jensgr@gmx.net>
* gnome-about-me-password.c: (stop_passwd),
(free_passwd_resources), (passdlg_process_response): another attempt
at fixing bug #411697. The previous commit fell a bit short
svn path=/trunk/; revision=7343
2007-02-25 Jens Granseuer <jensgr@gmx.net>
* Makefile.am:
* gnome-about-me.c: (about_me_image_clicked_cb): change default dir for
the image chooser to $datadir/pixmaps/faces (same as gdm) and add a
bookmark for ~/Pictures if available (fixes bug #408305)
svn path=/trunk/; revision=7333
2007-02-22 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-details.c: (color_select): color components in
GdkColor are guint16 not guint8, so format accordingly. Fixes bug
398331.
svn path=/trunk/; revision=7321
2007-02-19 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (clear_old_model): clear GConf client
cache before reloading since cached values don't pass the schema name
along which can make entries vanish from the list (fixes bug 394776)
svn path=/trunk/; revision=7309