2008-02-05 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* gdk/win32/gdkevents-win32.c:
Refactored some of the window hiding/showing code from
WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
under WM_ACTIVATE was causing the application to go into
a weird state when the user right-clicked on the taskbar
entry of a window that was minimized. (#505928)
svn path=/branches/gtk-2-10/; revision=19472
2008-02-05 Cody Russell <bratsche@gnome.org>
Merged from trunk:
* gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
Properly ref/unref windows and parents. (#506769)
svn path=/branches/gtk-2-10/; revision=19471
2008-02-05 Cody Russell <bratsche@gnome.org>
Merged from trunk:
* gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
Fixes a regression caused by #164537 patch where transient
windows that are hidden get shown (incorrectly) when their
parents are minimized. (#504984)
svn path=/branches/gtk-2-10/; revision=19470
2008-02-05 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* gtk/gtkpaned.c (gtk_paned_set_position):
Change queue_resize() to queue_draw(), and add a check for
child2 != NULL in case someone calls this before there is
a child packed in there. (#144269 again)
svn path=/branches/gtk-2-10/; revision=19469
008-02-05 Cody Russell <cody@jhu.edu>
* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkwindow-win32.[ch]: Force non-modal transient dialogs
to iconify with their parents on Win32. Maintain a list of transient
children, and whenever a window is hidden or restored we now do the
same thing to all connected transient windows above and below the
current window in the chain. See comment under WM_ACTIVATE for the
reasons why. (#164537, #371036, #405178)
svn path=/branches/gtk-2-10/; revision=19467
2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
Merge from trunk:
* gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
Ciccani which fixes the mixing of gdk and cairo rendering.
svn path=/branches/gtk-2-10/; revision=19162
2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
Merge from trunk:
* gdk/directfb/gdkgc-directfb.c:
* gdk/directfb/gdkdrawable-directfb.c:
* gdk/directfb/gdkdirectfb.h:
* gdk/directfb/gdkwindow-directfb.c:
* gdk/directfb/gdkprivate-directfb.h: Committed several patches
(window_flip_group, no_background_pixmap_fix, opt_temp_region2,
blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
which are expected to improve the performance of the DirectFB backend.
Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
svn path=/branches/gtk-2-10/; revision=19133
2007-12-4 Cody Russell <cody@jhu.edu>
Merge from trunk:
* modules/engines/ms-windows/msw_style.c: Draw focus rect for
buttons with relief set to GTK_RELIEF_NONE. (#487954)
svn path=/branches/gtk-2-10/; revision=19106
2007-12-4 Cody Russell <cody@jhu.edu>
Merge from trunk:
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
Disable beeps when backspacing in textviews by default on
Win32 systems. (#490624, Daniel Atallah)
svn path=/branches/gtk-2-10/; revision=19105
2007-12-4 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
On Windows, queue a redraw of child2 whenever we set
the pane handle position. This is unfortunately kind
of hacky, but solves the visual artifacts that were
occuring on at least certain types of child widgets
(e.g., text views and tree views) that are inside
horizontal or vertical panes. (#144269)
svn path=/branches/gtk-2-10/; revision=19104
2007-10-05 Murray Cumming <murrayc@murrayc.com>
* gtk/gtkprintoperation.c: (print_pages_idle):
Revert the change on 2007-04-29 (Also check
the default handler when deciding whether to emit the
paginate signal. (#345345, Yevgen Muntyan)).
This stopped printing from working in gtkmm, and is apparently
not appropriate anyway. Bug #482089.
svn path=/branches/gtk-2-10/; revision=18886
2007-08-27 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* modules/engines/ms-windows/msw_style.c: Correct draw_box()
function to check detail for "notebook". This fixes a problem
where notebooks without visible headers were not styling
correctly. (#470033, Daniel Atallah and Cody Russell)
svn path=/branches/gtk-2-10/; revision=18690
2007-08-16 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* gdk/win32/cursor.bdf: Committing changes to the source
bdf font file that I forgot to commit yesterday for #458088.
svn path=/branches/gtk-2-10/; revision=18640
2007-08-15 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* gdk/win32/xcursors.h: Modified the sb_h_double_arrow and
sb_v_double_arrow mouse cursors to match the ones that Windows
uses for split container controls. This allows our paned
widgets to be more easily identified as paned widgets on
Windows, since we don't have any prelighting on the draggable
pane part. (#458088)
svn path=/branches/gtk-2-10/; revision=18638
2007-08-15 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* gtk/gtkcontainer.c: Another documentation fix that I forgot to
commit yesterday. (#459340, Guillaume Cottenceau)
svn path=/branches/gtk-2-10/; revision=18620
2007-08-09 Sven Neumann <sven@gimp.org>
* modules/printbackends/file/gtkprintbackendfile.c: change the
file extension when the file format is changed in the Print dialog
(#356630).
svn path=/branches/gtk-2-10/; revision=18601
2007-07-23 Ross Burton <ross@openedhand.com>
* gtk/gtkscrolledwindow.c:
Correctly redraw when gtk-scrolled-window-placement is changed
after the widget is realised (#458102)
svn path=/branches/gtk-2-10/; revision=18524
2007-07-16 Matthias Clasen <mclasen@redhat.com>
Merge from trunk:
* io-tiff.c: Revert the last change, it was wrong
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Redo the last
change in a different way.
svn path=/branches/gtk-2-10/; revision=18480
2007-07-12 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
so that when a transient child window is closed (particularly when
there are 3 or more levels of transient windows), the correct window
receives focus rather than a seemingly random window. (#112404)
svn path=/branches/gtk-2-10/; revision=18462
2007-07-04 Tor Lillqvist <tml@novell.com>
* gtk/gtkstatusicon.c: On Win32 call
gtk_status_icon_button_press() in an idle callback and not
directly from the window procedure to avoid "g_main_loop_run():
called recursively from within a source's check() or prepare()
member, iteration not possible" warnings.
svn path=/branches/gtk-2-10/; revision=18376
2007-07-03 Matthias Clasen <mclasen@redhat.com>
* io-tiff.c (tiff_image_parse): Always set an error
when returning NULL. (453365, Michael Chudobiak)
svn path=/branches/gtk-2-10/; revision=18366
2007-07-03 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Be
more careful when calling g_propagate_error(). (#453365,
Michael Chudobiak)
svn path=/branches/gtk-2-10/; revision=18358
2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
Merge from trunk:
* gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not
cache the icon pixbufs but rely on the GtkIconTheme not to
hit the disk cache too much (should tentatively fix#426987).
2007-06-26 Cody Russell <bratsche@gnome.org>
svn path=/branches/gtk-2-10/; revision=18291
2007-06-26 Cody Russell <bratsche@gnome.org>
Merge from trunk:
* modules/engines/ms-windows/xp_theme.[ch]
* modules/engines/ms-windows/msw_style.c: Add support for
drawing checkboxes with inconsistent states. (Tor, #164809)
svn path=/branches/gtk-2-10/; revision=18247
2007-06-25 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
attempted overly simple fix for #445284, as it causes a
regression. (For instance, in GIMP the tool cursor gets used also
for the right-click menu in image windows.) A more complex fix is
needed to more completely emulate X11 behaviour.
svn path=/branches/gtk-2-10/; revision=18224