1. 08 Jul, 2005 3 commits
  2. 07 Jul, 2005 4 commits
    • Matthias Clasen's avatar
      Don't generate events on destroyed windows. · 5a997f0f
      Matthias Clasen authored
      2005-07-07  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
      	generate events on destroyed windows.
      5a997f0f
    • Matthias Clasen's avatar
      Implement Drag-and-Drop to the file list. (#145121, Sven Neumann) · 1df38871
      Matthias Clasen authored
      2005-07-07  Matthias Clasen  <mclasen@redhat.com>
      
      	Implement Drag-and-Drop to the file list.  (#145121, Sven Neumann)
      
      	* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb)
      	(file_list_drag_drop_cb, file_list_drag_motion_cb): New functions
      	to handle drag-and-drop on the file list.
      	(create_file_list): Set up drag-and-drop handlers on the file list.
      1df38871
    • Matthias Clasen's avatar
      Fix #157787, reported by Jonathan Blandford: · 8cc4fe41
      Matthias Clasen authored
      2005-07-07  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #157787, reported by Jonathan Blandford:
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_current_folder): Don't leave a
      	"trail" behind when set_current_folder is called explicitly.
      	(gtk_file_chooser_default_update_current_folder): New function
      	that is called to update the current folder in response to
      	user actions.
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Add a boolean
      	keep_trail argument, and don't leave a "trail" behind unless
      	it is set.
      8cc4fe41
    • Manish Singh's avatar
      change_orientation() should return void, remove unused variable in · 362f9824
      Manish Singh authored
      2005-07-06  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/menus.c: change_orientation() should return void,
              remove unused variable in do_menus().
      362f9824
  3. 06 Jul, 2005 3 commits
  4. 05 Jul, 2005 7 commits
  5. 04 Jul, 2005 1 commit
  6. 03 Jul, 2005 3 commits
    • Hans Breuer's avatar
      updated <io.h> for open() use G_PI instead of M_PI · 19e9165d
      Hans Breuer authored
      2005-07-03  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc[.in] : updated
      	* gtk/gtkiconcache.c : <io.h> for open()
      	* gtk/gtkstyle.c : use G_PI instead of M_PI
      
      	* gdk/win32/gdkcursor-win32.c : implement gdk_cursor_new_from_name()
      	by mapping the lower case win32 api name to the respective cursor.
      	E.g. pass "wait" to get the IDC_WAIT cursor. Also allows to load
      	cursors from named resources in the executable.
      	(gdk_cursor_get_image) : just return NULL for now.
      
      	* gdk/win32/gdkgeometry-win32.c : implement gdk_window_move_region()
      	by delegation to ScollWindowEx(), untested.
      
      	* gdk/win32/gdkwindow-win32.c : stub for gdk_window_set_urgency_hint()
      19e9165d
    • Matthias Clasen's avatar
      Hmm, when committing my vertical menubar patch, I forgot the · 1d1b9c7a
      Matthias Clasen authored
      2005-07-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkimagemenuitem.c: Hmm, when committing my vertical
      	menubar patch, I forgot the GtkImageMenuItem changes. And I
      	managed to do 2 releases without noticing that...
      1d1b9c7a
    • Matthias Clasen's avatar
      Correct the blurb for the icon-sizes setting. String change. (#309355, · 1d6b47e3
      Matthias Clasen authored
      2005-07-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Correct the
      	blurb for the icon-sizes setting. String change.
      	(#309355, Benjamin Berg)
      1d6b47e3
  7. 01 Jul, 2005 3 commits
  8. 30 Jun, 2005 6 commits
    • Manish Singh's avatar
      declare _gdk_xgrab_check_button_event. · 5cc0696d
      Manish Singh authored
      Thu Jun 30 14:17:24 2005  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkprivate-x11.h: declare _gdk_xgrab_check_button_event.
      
              * gtk/gtkbutton.c: fix signature of gtk_button_grab_broken.
      5cc0696d
    • Matthias Clasen's avatar
      Avoid infinite loop if a mask is zero. (#309222, David Saxton) · 8833e0d3
      Matthias Clasen authored
      2005-06-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkvisual-x11.c (gdk_visual_decompose_mask): Avoid
      	infinite loop if a mask is zero.  (#309222, David Saxton)
      8833e0d3
    • Matthias Clasen's avatar
      Clarify the code, gcc 4 complains about predecrement in MAX(). · 58824aa9
      Matthias Clasen authored
      2005-06-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child):
      	Clarify the code, gcc 4 complains about predecrement in MAX().
      58824aa9
    • Matthias Clasen's avatar
      Don't prematurely unregister callbacks. · 9e4d008d
      Matthias Clasen authored
      2005-06-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Don't
      	prematurely unregister callbacks.
      9e4d008d
    • Matthias Clasen's avatar
      Updates · 6a283871
      Matthias Clasen authored
      6a283871
    • Matthias Clasen's avatar
      Handle broken grabs. · 87cafe5b
      Matthias Clasen authored
      2005-06-29  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkbutton.c (gtk_button_grab_broken): Handle broken
              grabs.
      
              * gtk/gtkrange.c (gtk_range_grab_broken): Handle broken
              grabs.
      
              * gdk/gdkevents.h: Add a boolean to specify wether the broken
              grab was implicit.
      
              * gdk/x11/gdkdisplay-x11.c (gdk_display_pointer_is_grabbed):
              As the documentation states, don't return TRUE for
              implicit grabs.
      
              * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
              a boolean field to store wether a pointer grab is implicit.
      
              * gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_button_event):
              Track implicit grabs.
      
              * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
              _gdk_xgrab_check_button_event for button events.
      87cafe5b
  9. 28 Jun, 2005 3 commits
  10. 27 Jun, 2005 7 commits
    • Matthias Clasen's avatar
      Ignore GrabBroken events which are caused by overgrabbing inside the · b2343762
      Matthias Clasen authored
      2005-06-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Ignore
      	GrabBroken events which are caused by overgrabbing inside
      	the application; menus rely on these for their operation.
      
      	* gdk/gdkevents.h (struct _GdkEventGrabBroken): Add a
      	grab_window field.
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Set
      	grab_window to NULL when generating GrabBroken events for
      	WM_KILLFOCUS messages.
      
      	* gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_unmap)
      	(_gdk_xgrab_check_destroy): Set grab_window to NULL when
      	generating GrabBroken events when the grab window becomes
      	unviewable or is destroyed.
      
      	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab):
      	Generate GrabBroken events when overriding a grab inside
      	the application. In this case, set grab_window to the new
      	grab_window.
      b2343762
    • Matthias Clasen's avatar
      Continue to activate even if we can't grab the keyboard. · f49eab12
      Matthias Clasen authored
      2005-06-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkbutton.c (gtk_real_button_activate): Continue
      	to activate even if we can't grab the keyboard.
      	(gtk_button_finish_activate): Only ungrab when we have
      	a keyboard grab.  (#172998, William Jon McCann)
      f49eab12
    • Matthias Clasen's avatar
      Avoid a segfault. (#309054) · c719b4bf
      Matthias Clasen authored
      2005-06-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
      	Avoid a segfault. (#309054)
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
      	fields for grab timestamps.
      
      	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab):
      	Store grab timestamps when grabbing.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard_ungrab)
      	(gdk_display_pointer_ungrab): Don't unset the grab_window
      	if the timestamps indicate that the ungrab will fails.
      c719b4bf
    • Matthias Clasen's avatar
      Cancel menus when they are grab-shadowed by something thats not a submenu. · ddd27f21
      Matthias Clasen authored
      2005-06-27  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkmenu.c (gtk_menu_grab_notify): Cancel menus when
              they are grab-shadowed by something thats not a
              submenu.  (#145416, Euan MacGregor)
      ddd27f21
    • Owen Taylor's avatar
      Fix indentation. · 3b1269f5
      Owen Taylor authored
      2005-06-27  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtk[hv]ruler.c (gtk_[hv]ruler_draw_ticks):
              Fix indentation.
      3b1269f5
    • Kjartan Maraas's avatar
      Fix leaks Same Closes bug #308953. · 8eb4666f
      Kjartan Maraas authored
      2005-06-27  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gtk/gtkhruler.c: (gtk_hruler_draw_ticks): Fix leaks
      	* gtk/gtkvruler.c: (gtk_vruler_draw_ticks): Same
      	Closes bug #308953.
      8eb4666f
    • Matthias Clasen's avatar
      Use GMappedFile. · d4c43a42
      Matthias Clasen authored
      2005-06-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Use
      	GMappedFile.
      
      	* configure.in: Require GLib 2.7.1
      d4c43a42