1. 31 Mar, 2003 4 commits
  2. 30 Mar, 2003 1 commit
  3. 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
  4. 28 Mar, 2003 1 commit
  5. 26 Mar, 2003 1 commit
  6. 24 Mar, 2003 1 commit
  7. 20 Mar, 2003 1 commit
  8. 16 Mar, 2003 1 commit
  9. 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
  10. 14 Mar, 2003 1 commit
  11. 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
  12. 11 Mar, 2003 1 commit
  13. 09 Mar, 2003 1 commit
  14. 08 Mar, 2003 2 commits
    • Matthias Clasen's avatar
      Bug #107664 continued: · 3db24eb8
      Matthias Clasen authored
      2003-03-08  Matthias Clasen  <maclas@gmx.de>
      
      	Bug #107664 continued:
      
      	* gdk/x11/gdkinputprivate.h:
      	* gdk/x11/gdkinput-none.c (_gdk_input_window_none_event): Remove.
      	(_gdk_input_other_event): Return gboolean.
      	* gdk/x11/gdkinput-xfree.c (_gdk_input_window_none_event): Remove.
      	(_gdk_input_other_event): Return gboolean.
      	* gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Return gboolean.
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Make return_val
      	gboolean, remove pointless call to _gdk_input_window_none_event.
      
      	* gdk/win32/gdkinput-win32.[hc] (_gdk_input_other_event): Return gboolean.
      	(_gdk_input_window_none_event): Remove.
      
      	* gtk/gtktextiter.c (_gtk_text_iter_get_indexable_segment):
      	(_gtk_text_iter_get_any_segment):
      	(_gtk_text_iter_get_segment_byte):
      	(_gtk_text_iter_get_segment_char):
      	(_gtk_text_iter_get_text_line):
      	(_gtk_text_iter_get_btree): Fix 0/NULL confusion.
      	* gdk/x11/gdkdnd-x11.c (motif_target_table_check): Return gint.
      	* gdk/win32/gdkfont-win32.c (gdk_font_equal):
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_get_deskrelative_origin):
      	(gdk_window_get_origin):
      	* gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Fix 0/FALSE confusion.
      3db24eb8
    • Matthias Clasen's avatar
      Trivial cleanups (bug #107664) · d03b2741
      Matthias Clasen authored
      d03b2741
  15. 06 Mar, 2003 2 commits
    • Matthias Clasen's avatar
      Return gboolean, not gint. (#107664, Morten Welinder) · 285a25da
      Matthias Clasen authored
      2003-03-06  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint.
      	(#107664, Morten Welinder)
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin):
      	* gdk/x11/gdkfont-x11.c (gdk_font_equal):
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
      	Fix TRUE/1 and FALSE/0 confusion.  (#107664, Morten Welinder)
      
      	* io-gif.c (gif_read): Fix 0/FALSE confusion (#107664, Morten Welinder)
      285a25da
    • Matthias Clasen's avatar
      Fix NULL/FALSE confusion (#107648, Morten Welinder) · ce58806c
      Matthias Clasen authored
      2003-03-06  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextmark.c (gtk_text_mark_get_buffer):
      	* gtk/gtkeditable.c (gtk_editable_get_chars):
      	* gtk/gtkctree.c (gtk_ctree_find_node_ptr):
      	* demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
      	(#107648, Morten Welinder)
      ce58806c
  16. 04 Mar, 2003 1 commit
  17. 03 Mar, 2003 2 commits
    • Jonathan Blandford's avatar
      add props · 557b99b7
      Jonathan Blandford authored
      557b99b7
    • Jonathan Blandford's avatar
      handle rtl code. · 0d93b643
      Jonathan Blandford authored
      Sun Mar  2 23:35:57 2003  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
      	handle rtl code.
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
      
      	* gtk/gtktreeview.c: (invalidate_column),
      	(invalidate_last_column),
      	(gtk_tree_view_get_real_requested_width_from_column),
      	(gtk_tree_view_size_allocate_columns),
      	(gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
      	(gtk_tree_view_button_release_drag_column),
      	(gtk_tree_view_update_current_reorder),
      	(gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
      	(gtk_tree_view_key_press), (gtk_tree_view_header_focus),
      	(gtk_tree_view_get_background_xrange),
      	(gtk_tree_view_get_arrow_xrange),
      	(gtk_tree_view_is_expander_column),
      	(gtk_tree_view_set_column_drag_info),
      	(gtk_tree_view_move_cursor_left_right):
      	Add RTL support.
      
      	* gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
      	expand flag.
      
      	* gtk/gtktreeviewcolumn.c:
      	(gtk_tree_view_column_class_init),
      	(gtk_tree_view_column_set_property),
      	(gtk_tree_view_column_get_property),
      	(gtk_tree_view_column_set_expand),
      	(gtk_tree_view_column_get_expand),
      	(gtk_tree_view_column_cell_process_action):
      	Add support for expand flag
      0d93b643
  18. 02 Mar, 2003 2 commits
  19. 28 Feb, 2003 2 commits
    • Matthias Clasen's avatar
      Replace uses of gtk_object_new by g_object_new. · 656db08e
      Matthias Clasen authored
      2003-03-01  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment):
      	(gtk_scrolled_window_set_hadjustment): Replace uses of
      	gtk_object_new by g_object_new.
      656db08e
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  20. 26 Feb, 2003 1 commit
    • Jonathan Blandford's avatar
      account for RTL code. · b355dfea
      Jonathan Blandford authored
      Tue Feb 25 21:55:17 2003  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_position): account for RTL
      	code.
      b355dfea
  21. 24 Feb, 2003 1 commit
    • Sven Neumann's avatar
      fixed documentation. · 3e1a690c
      Sven Neumann authored
      2003-02-24  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
      3e1a690c
  22. 21 Feb, 2003 1 commit
  23. 20 Feb, 2003 1 commit
    • Matthias Clasen's avatar
      Check if line_ancestor_parent is NULL. (#102711, Manuel Clos) · 452de5d6
      Matthias Clasen authored
      2003-02-20  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
      	Check if line_ancestor_parent is NULL.  (#102711, Manuel Clos)
      
      	* gtk/gtktextview.c (gtk_text_view_scroll_to_iter):
      	(gtk_text_view_update_adjustments): Make sure cursor stays visible
      	during horizontal scrolling.  (#75270)
      452de5d6
  24. 19 Feb, 2003 2 commits
  25. 18 Feb, 2003 1 commit
  26. 17 Feb, 2003 1 commit