1. 18 Apr, 2003 8 commits
  2. 17 Apr, 2003 1 commit
  3. 15 Apr, 2003 1 commit
  4. 14 Apr, 2003 1 commit
    • Michael Natterer's avatar
      added checks to ensure that the iter is not reordered to its own position. · b45f8ef2
      Michael Natterer authored
      2003-04-14  Michael Natterer  <mitch@gimp.org>
      
      	* gtk/gtkliststore.c (gtk_list_store_move): added checks to ensure
      	that the iter is not reordered to its own position. Prevents model
      	corruption for the case that the store contains only a single item
      	(fixes bug #108387).
      
      	Unrelated:
      
      	* gtk/gtkliststore.c (gtk_list_store_insert): g_list_alloc() the
      	new list element later so we don't leak it if we decide to return
      	early.
      
      	* gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
      	set selection->tree_view->priv->anchor to NULL after freeing it.
      b45f8ef2
  5. 12 Apr, 2003 1 commit
    • Matthias Clasen's avatar
      Document. · 913e6e9e
      Matthias Clasen authored
      2003-04-13  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_cell_get_position): Document.
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_select_range):
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_[sg]et_expand):
      	* gtk/gtkbutton.c (gtk_button_[sg]et_focus_on_click): Document
      	these as 2.4 additions.
      913e6e9e
  6. 09 Apr, 2003 2 commits
  7. 07 Apr, 2003 3 commits
  8. 02 Apr, 2003 3 commits
    • Matthias Clasen's avatar
      Only use files from the current directory if it looks like the srcdir. · 0d925661
      Matthias Clasen authored
      2003-04-03  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/main.c (demo_find_file): Only use files from the
      	current directory if it looks like the srcdir.  (#109357)
      0d925661
    • Soeren Sandmann's avatar
      add property focus_on_click · b5d8a668
      Soeren Sandmann authored
      Wed Apr  2 23:02:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkbutton.[ch] (gtk_button_class_init): add property
      	focus_on_click
      
      	* gtk/gtkwindow.c (gtk_window_focus): make arrow keyboard
      	navigation not wrap around.
      b5d8a668
    • Matthias Clasen's avatar
      Return 0 if lower == upper. (#109155) · 8653097b
      Matthias Clasen authored
      2003-04-02  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkprogress.c (gtk_progress_get_percentage_from_value):
      	Return 0 if lower == upper.  (#109155)
      	(gtk_progress_get_current_percentage): Use
      	gtk_progress_get_percentage_from_value().
      8653097b
  9. 31 Mar, 2003 4 commits
  10. 30 Mar, 2003 1 commit
  11. 29 Mar, 2003 4 commits
    • Matthias Clasen's avatar
      Set state of labels back to normal before reparenting back. (#102387) · e042bc63
      Matthias Clasen authored
      2003-03-29  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state
      	of labels back to normal before reparenting back.  (#102387)
      e042bc63
    • Matthias Clasen's avatar
      Set a default window title to match the GtkFontSelectionDialog behavior. · b9c6a4fd
      Matthias Clasen authored
      2003-03-29  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): Set
      	a default window title to match the GtkFontSelectionDialog behavior.
      
      	(gtk_color_selection_dialog_new): Don't call
      	gtk_window_set_title() if title is NULL.  (bug #101975, Daniel Elstner)
      b9c6a4fd
    • Matthias Clasen's avatar
      Fix for bug #78499: · 490ebddc
      Matthias Clasen authored
      2003-03-29  Matthias Clasen  <maclas@gmx.de>
      
      	Fix for bug #78499:
      
      	* gtk/gtkentry.h (struct _GtkEntry): Add flags select_words and
      	select_lines.
      
      	* gtk/gtkentry.c (gtk_entry_button_press): Set select_words and
      	select_lines on double/triple click.
      
      	* gtk/gtkentry.c (gtk_entry_motion_notify): Implement
      	select-by-words and select-by-lines behaviour.
      490ebddc
    • Matthias Clasen's avatar
      Fixes for bug #56248: · feefa270
      Matthias Clasen authored
      2003-03-29  Matthias Clasen  <maclas@gmx.de>
      
              Fixes for bug #56248:
      
      	* gtk/gtknotebook.c (stop_scrolling): New function to remove the
      	timer and queue a redraw.
      	(gtk_notebook_grab_notify):
      	(gtk_notebook_state_changed): New functions to call stop_scrolling()
      	if necessary.
      	(gtk_notebook_button_release): Use stop_scrolling().
      	(gtk_notebook_draw_arrow): Fix drawing of insensitive arrows.
      
      	* gtk/gtkrange.c (stop_scrolling): New function to remove the
      	grab, remove the timer and queue a redraw.
      	(gtk_range_grab_notify):
      	(gtk_range_state_changed): New functions to call stop_scrolling()
      	if necessary.
      	(gtk_range_button_release): Use stop_scrolling().
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_grab_notify):
      	(gtk_spin_button_state_changed): Redraw after stop_spinning.
      	(gtk_spin_button_stop_spinning): Reset click_child to correct the
      	drawing of the arrows.
      	(gtk_spin_button_button_release): Use a local copy of click_child,
      	since stop_spinning() resets it.
      feefa270
  12. 28 Mar, 2003 1 commit
  13. 26 Mar, 2003 1 commit
  14. 24 Mar, 2003 1 commit
  15. 20 Mar, 2003 1 commit
  16. 16 Mar, 2003 1 commit
  17. 15 Mar, 2003 1 commit
    • Tor Lillqvist's avatar
      Use the signed GET_X_LPARAM() and GET_Y_LPARAM() to extract x and y · 935dca85
      Tor Lillqvist authored
      2003-03-14  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c: Use the signed GET_X_LPARAM() and
      	GET_Y_LPARAM() to extract x and y coordinates from an LPARAM or
      	DWORD, and not the unsigned HIWORD() and LOWORD(). Systems with
      	multiple monitors can have negative coordinates on some of the
      	monitors. (partial fix for #99496, Arnaud Charlet)
      935dca85
  18. 14 Mar, 2003 1 commit
  19. 13 Mar, 2003 3 commits
    • Sven Neumann's avatar
      removed redundant calls to g_object_notify(). · 34276445
      Sven Neumann authored
      2003-03-13  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
      	removed redundant calls to g_object_notify().
      	(gtk_cell_renderer_pixbuf_get_size): removed redundant casts, see
      	bug #108236.
      
      	* gtk/gtktextiter.c (_gtk_text_iter_get_segment_char)
      	(_gtk_text_iter_get_segment_byte): return 0, not NULL (these
      	functions return an integer value).
      34276445
    • Tor Lillqvist's avatar
      On WM_MOUSEMOVE, the test whether we have actually moved (and thus · b2698b3a
      Tor Lillqvist authored
      2003-03-13  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
      	WM_MOUSEMOVE, the test whether we have actually moved (and thus
      	shouldn't generate an GDK event) moved after the call to
      	propagate() and translate_mouse_coords(). Otherwise we were
      	testing wrong values. (#108115, Allin Cottrell)
      	(gdk_event_translate): On WM_?BUTTONUP, set current_{x,y} the same
      	way as in WM_?BUTTONDOWN and WM_MOUSEMOVE.
      b2698b3a
    • Tor Lillqvist's avatar
      if a grab cursor is used, must copy the HCURSOR with CopyCursor(), as it · 1e072f62
      Tor Lillqvist authored
      2003-03-13  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor
      	is used, must copy the HCURSOR with CopyCursor(), as it is OK to
      	destroy the GdkCursor after calling gdk_pointer_grab(). Set the
      	cursor right away with SetCursor(), as we won't get any
      	WM_SETCURSOR messages while the mouse is captured.
      	(gdk_display_pointer_ungrab): Correspondingly, destroy the copy
      	with DestroyCursor() when no longer used. (#108114, Allin Cottrell)
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
      	WM_SYSCHAR, return FALSE from the window procedure to prevent the
      	DefWindowProc from being called. Otherwise Windows would beep,
      	thinking you are tring to access a (nonexistent) menu when you
      	press Alt-something. Don't do this for Alt-Space,
      	though. (#107454, Martyn Russell)
      
      	* gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes.
      1e072f62
  20. 11 Mar, 2003 1 commit