1. 19 Dec, 2002 1 commit
    • Kristian Rietveld's avatar
      the rand variable should be static to avoid conflicts with rand(). · 4a19c3da
      Kristian Rietveld authored
      Thu Dec 19 03:58:36 2002  Kristian Rietveld  <kris@gtk.org>
      
              * tests/testtreeflow.c: the rand variable should be static to
              avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
              fix pointed out by Matthias Clasen).
      
      Thu Dec 19 03:56:23 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
              started editing, we handled this key signal, so return TRUE.
              (#100532, reported by Soeren Sandmann).
      4a19c3da
  2. 18 Dec, 2002 2 commits
  3. 17 Dec, 2002 6 commits
    • Owen Taylor's avatar
      === Released 2.1.5 === · 7c2e5d92
      Owen Taylor authored
      Mon Dec 16 22:38:11 2002  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.1.5 ===
      
              * configure.in: GTK+-2.1.5, interface age 2, binary age 105.
      
              * NEWS: Updated.
      
              * gtk/Makefile.am (gtk_c_sources): Remove reference to fnmatch.h
      7c2e5d92
    • Owen Taylor's avatar
      Don't use AC_CHECK_LIB() when checking for FreeType, Pango, Atk since that · 0216952a
      Owen Taylor authored
      Mon Dec 16 22:12:01 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Don't use AC_CHECK_LIB() when
              checking for FreeType, Pango, Atk since that get
              the ordering wrong. Instead, set LIBS ourself
              and call AC_TRY_LINK_FUNC(). (#98406)
      0216952a
    • Owen Taylor's avatar
      Call gtk_entry_set_position_internal() that takes a new "reset_IM" · 24899adb
      Owen Taylor authored
      Mon Dec 16 21:39:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c (gtk_entry_enter_text): Call
              gtk_entry_set_position_internal() that takes a
              new "reset_IM" parameter, so that we avoid the
              problem where committing text would reset the
              input method. (#74381, Kang Jeong-Hee)
      24899adb
    • Tor Lillqvist's avatar
      Implement two missing functions (#101369) · 85e7cab2
      Tor Lillqvist authored
      2002-12-17  Tor Lillqvist  <tml@iki.fi>
      
      	Implement two missing functions (#101369)
      
      	* gdk/gdk.def: Add here, too.
      85e7cab2
    • Matthias Clasen's avatar
      Fix a few doc comments. Link to style properties. · 5d347cad
      Matthias Clasen authored
      2002-12-17  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcontainer.c: Fix a few doc comments.
      	* gtk/tmpl/gtkrc.sgml: Link to style properties.
      
      	* gtk/tmpl/gtkcontainer.sgml: Add bits about child properties.
      
      	* gtk/tmpl/gtkwidget.sgml: Add bits about style properties.
      
      	* gdk/tmpl/pixmaps.sgml:
      	* gdk/tmpl/windows.sgml:
      	* gdk/tmpl/drawing.sgml:
      	* gdk/tmpl/gcs.sgml:
      	* gtk/tmpl/gtktextview.sgml:
      	* gtk/tmpl/gtkrc.sgml:
      	* gtk/tmpl/gtkiconfactory.sgml:
      	* gtk/tmpl/gtkaccelgroup.sgml: Remove ids which are now
      	generated by gtk-doc.
      5d347cad
    • Tor Lillqvist's avatar
      Minor cosmetics. · 7ed6dc1d
      Tor Lillqvist authored
      2002-12-17  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkglobals-win32.c: Minor cosmetics.
      
      	Implement two missing functions (#101369)
      
      	* gdk/win32/gdkevents-win32.c
      	(gdk_display_add_client_message_filter): Implement by calling
      	gdk_add_client_message_filter(), no separate displays on Windows,
      	at least not yet.
      
      	* gdk/win32/gdkgc-win32.c (gdk_gc_get_screen): Implement by
      	returning the only screen so far, _gdk_screen.
      7ed6dc1d
  4. 16 Dec, 2002 3 commits
    • Owen Taylor's avatar
      Get rid of incorrect calls to g_value_init(). (#100669, Johan Dahlin, · 1a1b91e8
      Owen Taylor authored
      Mon Dec 16 16:18:15 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktexttag.c (gtk_text_tag_get_property): Get rid
              of incorrect calls to g_value_init(). (#100669, Johan
              Dahlin, James Henstridge)
      1a1b91e8
    • Soeren Sandmann's avatar
      Implement Owen's susggestion from #80764. Fixes #101314. · a04d5979
      Soeren Sandmann authored
      Mon Dec 16 17:20:02 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkaccellabel.c: Implement Owen's susggestion from
      	#80764. Fixes #101314.
      a04d5979
    • Owen Taylor's avatar
      Some fixes for modal hint setting based on a patch from Arvind Samptur · 6669d0c5
      Owen Taylor authored
      Sun Dec 15 18:47:30 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Some fixes for modal hint setting based on a patch
      	from Arvind Samptur (#100416)
      
      	* gtk/gtkdialog.c (gtk_dialog_run): Call gtk_window_set_modal
      	before showing the window for efficiency.
      
      	* gtk/gtkwindow.c (gtk_window_realize): Ignore the EWMH
      	constraint that the transient-for hint must always be
      	set on windows with the modal hint and just always set
      	the modal hint.
      
      	* gtk/gtkwindow.c (gtk_window_set_modal): Update the
      	modal hint on the GdkWindow when the window is realized.
      6669d0c5
  5. 15 Dec, 2002 7 commits
    • Owen Taylor's avatar
      Add a missed bug number · 0c9448f0
      Owen Taylor authored
      0c9448f0
    • Owen Taylor's avatar
      Hard-code GTK_BINARY_VERSION=2.2.0 for now; should stay the same until we · aa1715a8
      Owen Taylor authored
      Sun Dec 15 18:39:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Hard-code GTK_BINARY_VERSION=2.2.0 for
              now; should stay the same until we branch for 2.3.
      aa1715a8
    • Owen Taylor's avatar
      Pass TRUE for search_sensitive - prevents a problem where after hitting · 66a228fb
      Owen Taylor authored
      Sun Dec 15 18:14:16 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item):
              Pass TRUE for search_sensitive - prevents a problem
              where after hitting Alt-F to bring up the File menu,
              the mnemonics for the items in the menu might not
              be usable. (#89336)
      66a228fb
    • Owen Taylor's avatar
      Fix a bug with checking the private flag on the wrong window; improve the · 880f14ff
      Owen Taylor authored
      Sat Dec 14 22:18:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
              Fix a bug with checking the private flag on the wrong
              window; improve the answer on failure a bit; push
              an error trap around the X operations. (#100933)
      880f14ff
    • Owen Taylor's avatar
      Don't call status_window_set_text() if the status window doesn't already · aeb608af
      Owen Taylor authored
      Sat Dec 14 22:03:21 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/gtkimcontextxim.c (status_window_hide): Don't
      	call status_window_set_text() if the status window doesn't
      	already exist. (#100933, reported by Anand Subra)
      
      	* modules/input/gtkimcontextxim.c (status_window_show):
      	Don't bother creating the status window here, wait for
      	the set_text(). (Fixes a warning)
      aeb608af
    • Matthias Clasen's avatar
      Use g_printf instead of system printf. (#99327) · 8ba71578
      Matthias Clasen authored
      2002-12-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcalendar.c:
      	* gtk/gtkfilesel.c:
      	* gtk/gtkfontsel.c:
      	* gtk/gtkhruler.c:
      	* gtk/gtkinputdialog.c:
      	* gtk/gtkprogress.c:
      	* gtk/gtktreemodel.c:
      	* gtk/gtkvruler.c:
      	* gtk/queryimmodules.c:
      	* gtk/theme-bits/decompose-bits.c:
      	* gdk-pixbuf/gdk-pixbuf-csource.c:
      	* gdk-pixbuf/make-inline-pixbuf.c:
      	* gdk-pixbuf/queryloaders.c:
      	* gdk/gdkkeynames.c:
      	* gdk/gdkrgb.c:
      	* gdk/linux-fb/gdkfbmanager.c:
      	* gdk/win32/gdkevents-win32.c:
      	* gdk/win32/gdkmain-win32.c:
      	* gdk/win32/gdkproperty-win32.c:
      	* gdk/x11/gdkmain-x11.c: Use g_printf instead of system
      	printf.  (#99327)
      8ba71578
    • Matthias Clasen's avatar
      Add docs. · d745218d
      Matthias Clasen authored
      	* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
      	(gtk_container_child_get_valist):
      	(gtk_container_child_get_property):
      	(gtk_container_child_set_valist):
      	(gtk_container_child_set_property):
      	(gtk_container_add_with_properties):
      	(gtk_container_child_set):
      	(gtk_container_child_get): Add docs.
      
      	* gtk/gtkwindow.c (gtk_window_activate_default):
      	(gtk_window_activate_focus): Add docs.
      d745218d
  6. 14 Dec, 2002 9 commits
    • Matthias Clasen's avatar
      Made Xinerama-aware. (#85711) · 1fafff6c
      Matthias Clasen authored
      2002-12-14  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Made
      	Xinerama-aware.  (#85711)
      1fafff6c
    • Owen Taylor's avatar
      Add a new binding signal, "move_scroll", and use it to hook up · 08a08cf1
      Owen Taylor authored
      Sat Dec 14 14:19:16 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c: Add a new binding signal, "move_scroll",
              and use it to hook up Home/End/Page_Up/Page_Down keybindings.
              (#80484, Narayana Pattipati, Marius Andreiana)
      
              * gtk/gtkmenu.c (gtk_menu_scroll_item_visible): Fix some
              bugs in the computation of when an item is visible. (#99545)
      
              * gtk/gtkbindings.[ch] (_gtk_binding_signal_new) gtk/gtkmenushell.c:
              Move here, export privately.
      
              * gtk/gtkmenushell.c (_gtk_menu_shell_select_last): Export
              privately.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_select_item): Don't
              select the item if it is already selected.
      08a08cf1
    • Chema Celorio's avatar
      minor coding style fix. · c7c9ec32
      Chema Celorio authored
      Sat Dec 14 01:51:05 2002  Chema Celorio  <chema@celorio.com>
      
      	* gtk/gtkdialog.c (gtk_dialog_add_buttons_valist): minor coding
      	style fix.
      c7c9ec32
    • Soeren Sandmann's avatar
      Don't recalculate the acceleration label in an idle handler. · 41e9cfcd
      Soeren Sandmann authored
      Sat Dec 14 01:22:05 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkaccellabel.[ch] (gtk_accel_label_refetch): Don't
      	recalculate the acceleration label in an idle handler.
      41e9cfcd
    • Owen Taylor's avatar
      Handle the case where the pointer isn't on the same screen as the widget · ad3ca843
      Owen Taylor authored
      Sat Dec 14 01:00:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c (gtk_menu_position): Handle the case
              where the pointer isn't on the same screen as the widget
              by centering the menu on the widget's screen. (#94563)
      ad3ca843
    • Owen Taylor's avatar
      Comitting missed ChangeLog from earlier commit.. · c24ec778
      Owen Taylor authored
      Fri Dec 13 23:10:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkclist.c: Fix a problem with the focus row
              ending up off the list when rows were deleted
              (#94812, Christian Reis, Jon Nelson).
      c24ec778
    • Owen Taylor's avatar
      If the screen for the menu changes while the menu is torn off, move the · 4f14fc15
      Owen Taylor authored
      Fri Dec 13 22:55:27 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c (menu_change_screen): If the screen
              for the menu changes while the menu is torn off, move
              the tearoff along with it. (#85669)
      
              * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): When
              reattaching, get rid of the get rid of the tearoff window.
      4f14fc15
    • Owen Taylor's avatar
      Handle the case where the pointer is moved between screens during a handle · 30b328e7
      Owen Taylor authored
      Fri Dec 13 21:35:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkhandlebox.c (gtk_handle_box_motion): Handle
              the case where the pointer is moved between screens
              during a handle box drag by resetting the original
              location. (#94562)
      
              * gtk/gtkinputdialog.c (gtk_input_dialog_get_private):
              Fix a leftover variable name from cut-and-paste.
      30b328e7
    • Owen Taylor's avatar
      Change the Escape key binding to only close if the dialog contains a · 59f712ad
      Owen Taylor authored
      Fri Dec 13 18:57:20 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdialog.c: Change the Escape key binding to only close
              if the dialog contains a cancel button.  (Patch from
              James Willcox, #74221)
      59f712ad
  7. 13 Dec, 2002 4 commits
    • Owen Taylor's avatar
      Use g_utf8_collate_key() to sort in human-friendly order. (#94473) · 137ad5b9
      Owen Taylor authored
      Fri Dec 13 18:22:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (compare_cmpl_dir): Use
              g_utf8_collate_key() to sort in human-friendly order.
              (#94473)
      137ad5b9
    • Owen Taylor's avatar
      System fnmatch wasn't going to be UTF-8 clean, neither was our version. · 73b15ba3
      Owen Taylor authored
      Fri Dec 13 17:45:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/fnmatch.c gtk/gtkprivate.h gtk/gtkfilesel.c:
              System fnmatch wasn't going to be UTF-8 clean, neither
              was our version. Redo our fnmatch.c to be UTF-8, add
              test cases, fix all sorts of bugs inherited
              from the antique GNU fnmatch code. Change interface
              to get rid of fnmatch.h constants. Fixes basic
              non-workingness of filesel with non-ASCII filenames.
      
              * gtk/fnmatch.h: No longer needed.
      73b15ba3
    • Owen Taylor's avatar
      Const warning fix. · 72ecdb5c
      Owen Taylor authored
      Thu Dec 12 20:07:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (cmpl_completion_fullname): Const
              warning fix.
      72ecdb5c
    • Owen Taylor's avatar
      Include "." and ".." in the list of entries; they are needed for correct · 829c6708
      Owen Taylor authored
      Thu Dec 12 19:51:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (open_new_dir): Include "."
              and ".." in the list of entries; they are needed for
              correct handling of .<TAB>, ..<TAB>; were lost
              with the GDir conversion. (Francisco Bustamante,
              #89972)
      
              * gtk/gtkfilesel.c (open_new_dir): If we hit
              EOF unexpectedly, that's OK... a file was just
              deleted while we were reading the directory.
      829c6708
  8. 12 Dec, 2002 7 commits
  9. 11 Dec, 2002 1 commit
    • Tor Lillqvist's avatar
      gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new, gdk_bitmap_create_from_data, · 5fc015b4
      Tor Lillqvist authored
      2002-12-11  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new,
      	gdk_bitmap_create_from_data, gdk_pixmap_create_from_data)
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image):
      	Functions now take a GdkDrawable instead of GdkWindow parameter,
      	like in X11 and linux-fb backends (#100780)
      
      	* gdk/win32/gdkwindow-win32.c (get_default_title): Do use
      	g_get_application_name() (I now have a fresh enough GLib).
      5fc015b4