1. 01 Jul, 2005 5 commits
  2. 30 Jun, 2005 7 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
    • Matthias Clasen's avatar
      Updates · 546e045c
      Matthias Clasen authored
      546e045c
  3. 28 Jun, 2005 5 commits
  4. 27 Jun, 2005 11 commits
    • Francisco Javier F. Serrador's avatar
      Updated Spanish translation. · e93418a1
      Francisco Javier F. Serrador authored
      2005-06-28  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
      
      	* es.po: Updated Spanish translation.
      e93418a1
    • 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
    • Priit Laes's avatar
      Translation updated by Ivar Smolin. · e9adf47a
      Priit Laes authored
      2005-06-27  Priit Laes  <plaes@cvs.gnome.org>
      
      	* et.po: Translation updated by Ivar Smolin.
      e9adf47a
    • 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
    • Matthias Clasen's avatar
      Unregister XIM callbacks here. (#309054) · 1b8d849b
      Matthias Clasen authored
      2005-06-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
      	Unregister XIM callbacks here.  (#309054)
      
      	* modules/input/gtkimcontextxim.h: Small cleanup.
      1b8d849b
    • Matthias Clasen's avatar
      Pay attention to the scroll offset when drawing the box. (#308834, Tom von · 92e32270
      Matthias Clasen authored
      2005-06-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
      	scroll offset when drawing the box.  (#308834, Tom von
      	Schwerdtner)
      92e32270
  5. 26 Jun, 2005 8 commits
  6. 25 Jun, 2005 3 commits
    • Marcel Telka's avatar
      Updated Slovak translation. · 89ea42aa
      Marcel Telka authored
      2005-06-25  Marcel Telka  <marcel@telka.sk>
      
      	* sk.po: Updated Slovak translation.
      89ea42aa
    • Matthias Clasen's avatar
      Add a GrabBroken event to GDK, and a grab-broken-event signal to · 9b356ea0
      Matthias Clasen authored
      2005-06-25  Matthias Clasen  <mclasen@redhat.com>
      
      	Add a GrabBroken event to GDK, and a grab-broken-event
      	signal to GtkWidget.  (#107320, Simon Cooke, initial patch
      	by John Ehresman)
      
      	* gdk/gdkevents.h: Add a GDK_GRAB_BROKEN event type,
      	define a GdkEventGrabBroken event struct.
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
      	Generate GrabBroken events in response to WM_KILLFOCUS.
      
      	* gdk/x11/gdkmain-x11.c: Generate GrabBroken events
      	when a grab is broken by the window becoming unviewable,
      	or by another grab from the same client.
      
      	* gtk/gtkwidget.h (GtkWidgetClass): Add grab_broken_event.
      
      	* gtk/gtkwidget.c (gtk_widget_event_internal): Translate
      	GrabBroken events into grab_broken_event signals.
      
      	* gtk/gtkmain.c (gtk_main_do_event): Propagate GrabBroken
      	events.
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Deactivate
      	the menu when the grab is broken.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_grab_broken): Stop
      	the color picker if the grab is broken.
      
      	* gtk/gtkpaned.c (gtk_paned_grab_broken): Stop the drag if
      	the grab is broken.
      9b356ea0
    • Matthias Clasen's avatar
      Add some new stock items. (#166480, Kristof Vansant) · effe3785
      Matthias Clasen authored
      2005-06-25  Matthias Clasen  <mclasen@redhat.com>
      
      	Add some new stock items.  (#166480, Kristof Vansant)
      
      	* gtk/stock-icons/stock_fullscreen_16.png:
      	* gtk/stock-icons/stock_fullscreen_24.png:
      	* gtk/stock-icons/stock_leave_fullscreen_16.png:
      	* gtk/stock-icons/stock_leave_fullscreen_24.png:
      	* gtk/stock-icons/stock_info_16.png:
      	* gtk/stock-icons/stock_info_24.png: New icons.
      
      	* gtk/stock-icons/Makefile.am: Add new icons.
      
      	* gtk/gtkstock.h: Define names for the new icons.
      
      	* gtk/gtkstock.c (builtin_items): Register new stock items.
      
      	* gtk/gtkiconfactory.c (get_default_icons): Register new
      	stock icons.
      effe3785
  7. 24 Jun, 2005 1 commit