1. 05 Jun, 2004 1 commit
    • Matthias Clasen's avatar
      Add a note about the !CAN_FOCUS quirk in the button size allocation code. · d287b713
      Matthias Clasen authored
      2004-06-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* docs/widget_geometry.txt: Add a note about the !CAN_FOCUS
      	quirk in the button size allocation code.
      
      	* gtk/gtkbutton.c (gtk_button_size_allocate): Give the space
      	requested for drawing the focus indicator to the child in the
      	!CAN_FOCUS case. This should fix issues which the Gimp has with
      	the button allocation changes in 2.4.2.
      d287b713
  2. 04 Jun, 2004 2 commits
  3. 03 Jun, 2004 2 commits
  4. 02 Jun, 2004 8 commits
    • Soeren Sandmann's avatar
      Fix the stay up algorithm for combo boxes to better handle the "click" · 64bb108e
      Soeren Sandmann authored
      Wed Jun  2 01:56:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
              * gtk/gtkmenu.c: Fix the stay up algorithm for combo boxes to
              better handle the "click" case. bug  Better fix for #141169.
      64bb108e
    • Federico Mena Quintero's avatar
      Bail out if the model is empty. Fixes #143536. · aff289b8
      Federico Mena Quintero authored
      2004-06-02  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the
      	model is empty.  Fixes #143536.
      aff289b8
    • Matthias Clasen's avatar
      Don't close the dialog on focus out of the size entry. (#143505, David · a3d59719
      Matthias Clasen authored
      2004-06-02  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't
      	close the dialog on focus out of the size entry.  (#143505,
      	David Hawthorne)
      a3d59719
    • Federico Mena Quintero's avatar
      Fix #138807. · 3127f29e
      Federico Mena Quintero authored
      2004-06-02  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #138807.
      
      	* gtk/fnmatch.c (_gtk_fnmatch): Take a no_leading_period argument.
      	(gtk_fnmatch_intern): Likewise; also implement this option.
      
      	* gtk/gtkprivate.h (_gtk_fnmatch): Updated prototype.
      
      	* gtk/gtkfilesel.c (find_completion_dir): Pass TRUE for the
      	no_leading_period argument of _gtk_fnmatch().
      	(attempt_file_completion): Likewise.
      
      	* gtk/gtkfilefilter.c (gtk_file_filter_filter): Pass FALSE for the
      	no_leading_period argument of _gtk_fnmatch().
      3127f29e
    • Matthias Clasen's avatar
      Remove leftover debug code. · 0f313841
      Matthias Clasen authored
      Wed Jun  2 00:47:11 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkselection.c (_gtk_selection_request): Remove leftover
      	debug code.
      0f313841
    • Matthias Clasen's avatar
      Don't allow unless selection mode is multiple. (#142634, John Finlay) · ad4ca1ea
      Matthias Clasen authored
      Wed Jun  2 00:17:07 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't
      	allow unless selection mode is multiple.  (#142634, John Finlay)
      ad4ca1ea
    • Matthias Clasen's avatar
      Rename function parameters from index to index_ to prevent clash with BSD · d5f3cb14
      Matthias Clasen authored
      Tue Jun  1 23:14:46 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktoolbar.h:
      	* gtk/gtktoolbar.c:
      	* gtk/gtkentrycompletion.h:
      	* gtk/gtkentrycompletion.c:
      	* gtk/gtkcombobox.h:
      	* gtk/gtkcombobox.c: Rename function parameters from
      	index to index_ to prevent clash with BSD index().  (#143001)
      d5f3cb14
    • Matthias Clasen's avatar
      Handle accel_closure being NULL on an accel label. (#139641, Sam · 018511c3
      Matthias Clasen authored
      Tue Jun  1 22:45:42 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
      	NULL on an accel label. (#139641, Sam Stephenson, patch by
      	Michael Natterer)
      
      Tue Jun  1 22:19:55 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (theme_subdir_load):  Prevent icon
      	lookup finding icons in the wrong prefix.  (#143328,
      	Mark McLoughlin)
      018511c3
  5. 01 Jun, 2004 2 commits
    • Soeren Sandmann's avatar
      Make menus only stay up if you release within 500 milliseconds. · 01a5698e
      Soeren Sandmann authored
      Wed Jun  2 00:39:58 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_button_release): Make menus
      	only stay up if you release within 500 milliseconds.
      	(gtk_menu_shell_button_press): Set the activate_time to the event
      	time when a button is pressed.
      
      	* gtk/gtkmenu.c (gtk_menu_motion_notify, gtk_menu_enter_notify):
      	Interprete button releases as activate when we have seen both an
      	enter an a motion event.
      01a5698e
    • Federico Mena Quintero's avatar
      Don't insert a dummy node if there is no parent node. Fixes #143362. · aa377644
      Federico Mena Quintero authored
      2004-06-01  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilesystemmodel.c (do_files_removed): Don't insert a
      	dummy node if there is no parent node.  Fixes #143362.
      aa377644
  6. 31 May, 2004 4 commits
    • Federico Mena Quintero's avatar
      Change to the newly-created folder. Fixes #138932. (trap_activate_cb): · 53684f70
      Federico Mena Quintero authored
      2004-05-31  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (renderer_edited_cb): Change to the
      	newly-created folder.  Fixes #138932.
      	(trap_activate_cb): Only return TRUE if we did handle the event.
      	Fixes #143359; patch by jylefort@brutele.be.
      53684f70
    • Matthias Clasen's avatar
      Typo fix. · fedc8f25
      Matthias Clasen authored
      fedc8f25
    • Matthias Clasen's avatar
      Make detached handleboxes work when their parent is minimized, porting the · 684ce0c6
      Matthias Clasen authored
      Mon May 31 02:16:37 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkhandlebox.c: Make detached handleboxes work when their
      	parent is minimized, porting the fix from 1.2.  (#1923, #57182)
      
      Mon May 31 02:03:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkwindow.c (gtk_window_show): Make moving realized,
      	unmapped windows work.
      684ce0c6
    • Matthias Clasen's avatar
      Fix a typo. · 83f413b1
      Matthias Clasen authored
      Mon May 31 00:27:33 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Fix
      	a typo.
      
      Mon May 31 00:23:55 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_set_preview_widget):
      	Refer to ::update-preview, not ::selection-changed.
      83f413b1
  7. 29 May, 2004 1 commit
  8. 28 May, 2004 2 commits
  9. 27 May, 2004 8 commits
  10. 26 May, 2004 1 commit
  11. 24 May, 2004 1 commit
    • Robert Ögren's avatar
      Don't propagate mouse events to windows that want extended input events. · fb88ec72
      Robert Ögren authored
      2004-05-11  Robert Ögren  <gtk@roboros.com>
      
      	* gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse
      	events to windows that want extended input events. (#142943)
      	(gdk_event_translate): Move check for extended input devices to
      	propagate, new parameter to propagate.
      	(gdk_pointer_grab, gdk_display_pointer_ungrab): Enable calls to
      	_gdk_input_(un)grab_pointer. (#142943)
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Check for
      	input grab. [Fix missing update of impl in "dijkstra" event
      	propagation loop] Drop the parallel "impl" pointer, just use a
      	cast. Don't propagate beyond windows that want normal input
      	events. (#142943)
      	(gdk_input_grab_pointer, gdk_input_ungrab_pointer): Limited
      	implementation of input grab. (#142943)
      fb88ec72
  12. 22 May, 2004 1 commit
  13. 18 May, 2004 4 commits
    • Matthias Clasen's avatar
      Check for XFIXES extension. · 7b8616bf
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* configure.in: Check for XFIXES extension.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
      	a gboolean have_xfixes member.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Register
      	XFIXES events and set have_xfixes.
      
      	* gdk/gdkevents.h (GdkEventType): Add GDK_OWNER_CHANGE.
      	(GdkEventOwnerChange): New event struct for owner change events.
      	(GdkOwnerChange): New enum for the reason field of GdkEventOwnerChange.
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Translate
      	XFixesSelectionNotify events into GdkEventOwnerChange events.
      
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_selection_notification):
      	(gdk_display_request_selection_notification): New api
      	to support selection ownership notification.
      
      	* gtk/gtkclipboard.h:
      	* gtk/gtkclipboard.c (_gtk_clipboard_handle_event): New private
      	api to handle owner change events.
      	(clipboard_peek): Refactored out the body of
      	gtk_clipboard_get_for_display() for use in _gtk_clipboard_handle_event().
      
      	* gtk/gtkmain.c (gtk_main_do_event): Handle GDK_OWNER_CHANGE events
      	by calling _gtk_clipboard_handle_event().
      7b8616bf
    • Matthias Clasen's avatar
      Include glib/gi18n-lib.h and only define the P_() macros ourselves. · 261d5404
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkintl.h: Include glib/gi18n-lib.h and only define
      	the P_() macros ourselves.
      261d5404
    • Matthias Clasen's avatar
      Restrict the width of the popup to be no larger than the monitor. · 460dfabb
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
      	Restrict the width of the popup to be no larger than the
      	monitor.  (#142678, DmD Ljungmark)
      460dfabb
    • Matthias Clasen's avatar
      Document the arguments of the ::move-cursor signal. (#142725) · d9ee96cf
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): Document the
      	arguments of the ::move-cursor signal.  (#142725)
      d9ee96cf
  14. 17 May, 2004 3 commits
    • Matthias Clasen's avatar
      Allocate space for the focus rectangle only if necessary. (#142668, · a4555370
      Matthias Clasen authored
      2004-05-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkbutton.c (gtk_button_size_request)
      	(gtk_button_size_allocate, _gtk_button_paint): Allocate
      	space for the focus rectangle only if necessary.  (#142668,
      	Michael Natterer)
      a4555370
    • Matthias Clasen's avatar
      Remove two useless lines. (#142479, Morten Welinder) · 478ea44a
      Matthias Clasen authored
      	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
      	lines.  (#142479, Morten Welinder)
      478ea44a
    • Matthias Clasen's avatar
      Add a Q_() macro. · d9d8bda5
      Matthias Clasen authored
      Sun May 16 22:27:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkintl.h (Q_): Add a Q_() macro.
      
      	* gtk/gtkcellrendererprogress.h: Remove GTK_PROGRESS_CELL_UNKNOWN
      	and GTK_PROGRESS_CELL_FAILED. With the ability the set the label,
      	they are not really needed.
      
      	* gtk/gtkcellrendererprogress.c: Use the xpad and ypad properties
      	instead of hardwired padding, use Q_() for the default label,
      	compute a reasonable minimal size.  (#142571, #142572, #142573,
      	Tommi Komulainen, Christian Persch)
      d9d8bda5