2007-03-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
make the selected printer visible. (#418403, Nickolay V. Shmyrev,
patch by Christian Persch)
svn path=/branches/gtk-2-10/; revision=17532
2007-03-15 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilechooserdefault.c (find_good_size_from_style):
PANGO_PIXELS() gives us device units, which are *points* in
pangocairo's parlance, but we want actual pixels. So, get the
screen's resolution to compute the actual number of pixels.
Fixes bug #418585.
svn path=/branches/gtk-2-10/; revision=17529
2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
Merge from trunk:
* gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
unused GError; do not allocate GtkRecentData and use a variable
on the stack. (#418673, Morten Welinder)
svn path=/branches/gtk-2-10/; revision=17526
2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
* gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
(gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
from recursion, which can happen for example if the app tries to
reload an icon from within a theme-changed handler. (#418531)
svn path=/branches/gtk-2-10/; revision=17522
2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
Merge from trunk:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.c: Share between the widgets
the recent chooser function for getting the filtered, sorted
and clamped list of recent files from the manager. (#418219)
* gtk/gtkrecentchoosermenu.c: Use the newly defined
_gtk_recent_chooser_get_items() function; remove some
pointer indirections.
* gtk/gtkrecentchooserdefault.c: Reload the items every time
a property affecting the view is changed; move the objects
unref and the source removal into the dispose function; use
the newly defined _gtk_recent_chooser_get_items()
function. (see #338843)
svn path=/branches/gtk-2-10/; revision=17517
2007-03-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
the background of the panel window on style changes. (#402144,
Benjamin Berg)
svn path=/branches/gtk-2-10/; revision=17493
2007-03-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
Handle the row reference path being NULL. (#410565, Joe Markus
Clarke, patch by Chris Wilson)
svn path=/branches/gtk-2-10/; revision=17488
2007-03-12 Kristian Rietveld <kris@gtk.org>
Merge from trunk:
* gtk/gtkfilechooserdefault.c (check_save_entry): immediately
bail out if current_folder is NULL. (#350988, lots of reporters,
modified patch by Jan Darmochwal).
svn path=/branches/gtk-2-10/; revision=17480
2007-03-10 Kristian Rietveld <kris@gtk.org>
Updated fix for #356515, merged from trunk:
* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
a focus-in event to the tree view after hiding the search dialog;
only hide the search dialog and send the focus events when the
dialog is currently visible.
svn path=/branches/gtk-2-10/; revision=17465
2007-03-10 Kristian Rietveld <kris@gtk.org>
Merge from trunk:
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
(gtk_tree_model_sort_real_unref_node): when (un)reffing an
element, also (un)ref its parent elements. (Fixes#364946,
reported by many, testcase by Andreas Koehler).
svn path=/branches/gtk-2-10/; revision=17458
2007-03-10 Kristian Rietveld <kris@gtk.org>
Merge from trunk:
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
(gtk_tree_model_sort_sort_level): ref count nodes the proper way,
(gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
(gtk_tree_model_sort_free_level): bring zero ref count loops in
sync,
(gtk_tree_model_sort_free_level): free child levels before
decreasing the zero ref count of the current level,
(gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
is > 0.
svn path=/branches/gtk-2-10/; revision=17456
2007-03-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c: Initialize the do_preview
field of PrintResponseData. (#396703, Christian Persch)
svn path=/branches/gtk-2-10/; revision=17454
2007-03-08 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
to an idle to avoid deadlock with xcb-ified libX11. (#413032,
Sebastian Dröge)
svn path=/branches/gtk-2-10/; revision=17437
2007-03-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_real_insert_page):
Set child visibility to FALSE here; it will be turned
back on in switch_page. (#413664, Carlos Garnacho)
svn path=/branches/gtk-2-10/; revision=17435
2007-03-08 Kristian Rietveld <kris@gtk.org>
Revert revision 17315:
* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
a focus-in event to the tree view after hiding the search dialog.
(#356515, Rich Burridge, Peter Parente).
svn path=/branches/gtk-2-10/; revision=17431
2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
stored in the current theme with the name
"gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
icons as reported by SHGetFileInfoW. (#412221)
svn path=/branches/gtk-2-10/; revision=17422
2007-03-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
focus around the arrow if there is no label widget.
(#124045, Cody Russell)
svn path=/branches/gtk-2-10/; revision=17420
2007-03-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombo.c: (gtk_combo_init):
* gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
(gtk_combo_box_menu_setup):
Set names on the popup widgets to make them themable. (#414975,
Benjamin Berg)
svn path=/branches/gtk-2-10/; revision=17418
2007-03-07 Guillaume Savaton <llumeao@gmail.com>
* Added Esperanto (eo) translation in po/
* Added Esperanto (eo) translation stub in po-properties/
* Added eo to ALL_LINGUAS in configure.in
svn path=/branches/gtk-2-10/; revision=17415
2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
* gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
(do_theme_change), (gtk_icon_theme_set_custom_theme),
(load_themes):
Be careful not to trigger a style reset before we have loaded
any icon themes. (#414875).
svn path=/branches/gtk-2-10/; revision=17403
2007-03-06 Tor Lillqvist <tml@novell.com>
* gdk/Makefile.am
* gdk-pixbuf/Makefile.am
* gtk/Makefile.am: Further fixes for building on Win32 outside
srcdir. (#413492, Mathias Hasselmann)
svn path=/branches/gtk-2-10/; revision=17396
2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
* configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
breaking the build.
svn path=/branches/gtk-2-10/; revision=17389
2007-03-01 Murray Cumming <murrayc@murrayc.com>
* gtk/gtksettings.c: (gtk_settings_get_property): Fix the build, by
converting the case statement to an if else. I am only guessing that
this is the desired logic.
svn path=/branches/gtk-2-10/; revision=17372
2007-03-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c: Always store gtk-color-scheme
values from all sources in the ColorSchemeData struct
and ignore the property_value for gtk-color-scheme.
This fixes#412596, reported by Thomas Wood.
svn path=/branches/gtk-2-10/; revision=17371
2007-02-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c: Make color scheme update properly
when changing themes. (#402131, Benjamin Berg)
svn path=/branches/gtk-2-10/; revision=17367
2007-02-26 Matthias Clasen <mclasen@redhat.com>
Apply a patch by Carlos Garnacho to fix several problems
with filechooser size handling (#325477, #151169, 143213,
#153785)
* gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
(browse_widgets_create): Don't force the paned position to 200.
(find_good_size_from_style): Take the size of the extra widget
into account.
* gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
Accept a minimal width parameter. Update all callers.
svn path=/branches/gtk-2-10/; revision=17358