1. 21 Nov, 2005 3 commits
  2. 19 Nov, 2005 1 commit
    • Matthias Clasen's avatar
      Fix crashes in connection with pathbar scrolling (#321560, Bogdan Nicula) · 6e4a379e
      Matthias Clasen authored
      2005-11-18  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix crashes in connection with pathbar scrolling (#321560,
      	Bogdan Nicula)
      
      	* gtk/gtkpathbar.c (gtk_path_bar_update_slider_buttons):
      	Stop scrolling when desensitising slider buttons.
      	(gtk_path_bar_scroll_timeout, gtk_path_bar_slider_button_press):
      	And use it here.
      
      	* gtk/gtkpathbar.h (struct _GtkPathBar): Add a separate
      	scrolling_down flag.
      6e4a379e
  3. 18 Nov, 2005 3 commits
  4. 17 Nov, 2005 2 commits
  5. 16 Nov, 2005 2 commits
    • Michael Natterer's avatar
      call gtk_window_process_updates() so the animation keeps running even if · 81be0b43
      Michael Natterer authored
      2005-11-16  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkimage.c (animation_timeout): call
      	gtk_window_process_updates() so the animation keeps running even
      	if the main loop is busy with sources that eat a lot of cpu with
      	high priority. Fixes bug #321444.
      
      	(gtk_image_new_from_animation): document the fact that the
      	animation will stop running if the main loop is busy with sources
      	that have priorities higher than G_PRIORITY_DEFAULT.
      
      	* tests/testimage.c: added test case that shows an animation even
      	though a cpu-eating idle function is running.
      81be0b43
    • Michael Natterer's avatar
      new internal function which destroys the display's event source. Also · 6e802acd
      Michael Natterer authored
      2005-11-16  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/x11/gdkevents-x11.c (_gdk_events_uninit): new internal
      	function which destroys the display's event source. Also removes
      	the source from the global display_sources list and unrefs it.
      
      	* gdk/x11/gdkprivate-x11.h: declare the function.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose): call it
      	instead of half-destroying the source here.
      6e802acd
  6. 15 Nov, 2005 3 commits
  7. 14 Nov, 2005 4 commits
  8. 12 Nov, 2005 4 commits
  9. 11 Nov, 2005 4 commits
  10. 10 Nov, 2005 9 commits
    • Matthias Clasen's avatar
      Add show-popup and hide-popup signals and emit them when the popup is · e0cad47a
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c: Add show-popup and hide-popup signals and
      	emit them when the popup is shown or hidden.  (#162531, Tommi
      	Komulainen)
      e0cad47a
    • Matthias Clasen's avatar
      Another erroneous semicolon. · b94e9ee5
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_motion_resize_column): Another
      	erroneous semicolon.
      b94e9ee5
    • Matthias Clasen's avatar
      Remove an erroneous semicolon. · 6556787e
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkcolor-x11.c (gdkx_colormap_get): Remove an erroneous
      	semicolon.
      6556787e
    • Matthias Clasen's avatar
      Don't corrupt odd keymaps (#316638, Kean Johnston) · 83e2e23f
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	Don't corrupt odd keymaps (#316638, Kean Johnston)
      
      	* gdk/x11/gdkkeys-x11.c (set_symbol): Auxiliary function to
      	handle frobbing keymaps with odd numbers of syms/code.
      
      	* gdk/x11/gdkkeys-x11.c (update_keymaps): Use set_symbol() to
      	frob the keymap.
      83e2e23f
    • Matthias Clasen's avatar
      Improve navigation to parent folders. (#318444, Andrei Yurkevich) · 938d34c0
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	Improve navigation to parent folders.  (#318444, Andrei Yurkevich)
      
      	* gtk/gtkpathbar.[hc]: Add a child_path argument to
      	the path_clicked signal.
      	* gtk/gtkfilechooserdefault.c (path_bar_clicked): Select the
      	child_path, if it is provided.
      	* gtk/marshalers.list (path_bar_clicked): Add the necessary
      	glue.
      938d34c0
    • Matthias Clasen's avatar
      Fix some compiler warnings. (#321141, Kjartan Maraas) · 14c284c3
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenu.c: Fix some compiler warnings. (#321141,
      	Kjartan Maraas)
      14c284c3
    • Matthias Clasen's avatar
      Implement a getter for headers-clickable. (#163851, Richard Hult) · cfd7c13b
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c: Implement a getter for headers-clickable.
      	(#163851, Richard Hult)
      cfd7c13b
    • Michael Natterer's avatar
      Applied patch from maemo-gtk that addresses many issues wrt display · 8bdc0bf9
      Michael Natterer authored
      2005-11-10  Michael Natterer  <mitch@imendio.com>
      
      	Applied patch from maemo-gtk that addresses many issues wrt
      	display migration and display closing (bug #85715).
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): don't just set the
      	default display to NULL when it's closed. Instead set the most
      	recently opened display as new default (if one exists).
      
      	* gdk/gdkpango.c (on_renderer_display_closed): fixed signature
      	of this callback.
      
      	* gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still
      	exist before unrefing them.
      
      	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen
      	is closed, allow destruction of the root window.
      
      	* gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to
      	dispose(), free stuff that was leaked before.
      
      	* gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if
      	the xsettings_client still exists before destroying it.
      
      	* gdk/x11/gdkkeys-x11.c: added finalization and free the allocated
      	X resources.
      
      	* gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new
      	dispose() implementation.
      
      	* gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to
      	dispose() and check if it still exists before unrefing it. Set
      	their pointers to NULL/None *after* upchaining in dispose(),
      	because X11 implementations of members of the parent class still
      	need them for their own destruction.
      
      	* gdk/x11/gdkvisual-x11.c: removed finalize() implementation which
      	was g_error()ing when finalizing a visual.
      
      	* gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use
      	get_clipboard_widget() because it would create the widget if it
      	doesn't exist. Use g_object_get_data() directly instead.
      
      	* gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature
      	of this callback.
      8bdc0bf9
    • Simos Xenitellis's avatar
      1571574c
  11. 09 Nov, 2005 4 commits
    • Tim Janik's avatar
      patch from maemo-gtk that changes GtkRange to render its arrows · 401468a9
      Tim Janik authored
      Wed Nov  9 16:29:42 2005  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkrange.c: patch from maemo-gtk that changes GtkRange
              to render its arrows insensitive when the adjustment is in
              its min or max position. this makes range arrow behaviour
              consistent with spin button behaviour. (#321056)
      401468a9
    • Tor Lillqvist's avatar
      gdk/gdkinternals.h Add new GDK_DEBUG_DRAW flag to the GdkDebugFlag enum. · 3b9a63ec
      Tor Lillqvist authored
      2005-11-09  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/gdkinternals.h
      	* gdk/gdk.c (gdk_debug_keys[]): Add new GDK_DEBUG_DRAW flag to
      	the GdkDebugFlag enum.
      
      	* gdk/win32/gdkdrawable-win32.c: Use DRAW to trigger GDK_NOTEs in
      	this file instead of MISC. Now asking for MISC will give mainly
      	window manipulation debugging output.
      3b9a63ec
    • Tor Lillqvist's avatar
      Remove unnecessary includes. · 9b5c5f9d
      Tor Lillqvist authored
      2005-11-09  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkwindow-win32.c: Remove unnecessary includes.
      
      	(_gdk_win32_get_adjusted_client_rect): Remove this two-line
      	function which was used only in one place.
      
      	(get_outer_rect): Use _gdk_win32_adjust_client_rect().
      
      	(gdk_window_set_geometry_hints): If we have identical minimum and
      	maximum size hints, remove the resize and maximize
      	decorations/functions. (#104514)
      
      	If we have a maximum size hint, remove the maximize
      	decoration/function but ensure the resize decoration/function is
      	available. Otherwise ensure both resize and maximize
      	decorations/functions are there.
      
      	(set_or_clear_style_bits): Factored out common code from
      	gdk_window_set_decorations() and gdk_window_set_functions().
      
      	Hack the window style setting once more: Only touch the window
      	style bits corresponding to the GdkWMDecoration or GdkWMFunction
      	parameter bitmasks. Hopefully this finally is the correct thing to
      	do. We used to clear all other bits than those that were being
      	set, or set all other bits than those that were being cleared.
      
      	Take into account that adding or removing decorations leaves the
      	window's outer size unchanged, i.e., the client area's size and
      	position change. This is apparently not what we want, so change
      	also the window's (outer) position and size appropriately so that
      	the client area's position and size stay constant.
      
      	gtk-demo's color selector dialog is now non-resizable like on X11
      	(I tested with metacity in GNOME). Torn off menus are shrinkable
      	vertically but have a maximum size, and are not maximizable or
      	minimizable, like on X11.
      
      	(gdk_window_set_decorations, gdk_window_set_functions): Let
      	set_or_clear_decorations() do most of the job.
      
      	* gdk/win32/gdkprivate-win32.h: Remove declaration of
      	_gdk_win32_get_adjusted_client_rect().
      9b5c5f9d
    • Tor Lillqvist's avatar
      gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32) Store the type · 64f1e837
      Tor Lillqvist authored
      2005-11-09  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32)
      	* gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_init,
      	gdk_window_get_type_hint, gdk_window_get_type_hint): Store the
      	type hint. Implement gdk_window_get_type_hint() by just returning
      	the hint stored.
      64f1e837
  12. 08 Nov, 2005 1 commit