1. 30 Jan, 2003 5 commits
    • Owen Taylor's avatar
      Remove gtk+.spec.in from EXTRA_DIST, and from dist rules. (#102231) · c6b21200
      Owen Taylor authored
      Thu Jan 30 16:30:54 2003  Owen Taylor  <otaylor@redhat.com>
      
              * Makefile.am (EXTRA_DIST): Remove gtk+.spec.in from
              EXTRA_DIST, and from dist rules. (#102231)
      c6b21200
    • Daniel Elstner's avatar
      New helper function that sets the icon's and label's packing options and · e12d5fb2
      Daniel Elstner authored
      2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
      
      	* gtk/gtktoolbar.c (set_child_packing_and_visibility): New helper
      	function that sets the icon's and label's packing options and
      	visibility based on toolbar->style.
      
      	(gtk_toolbar_internal_insert_element):
      	(gtk_real_toolbar_style_changed): Make use of
      	set_child_packing_and_visibility() to clean up the code and get
      	the packing right for icon-only/text-only toolbars. (#104679)
      
      	(get_first_child): Remove, and use gtk_bin_get_child() instead.
      e12d5fb2
    • Matthias Clasen's avatar
      Replace PAGE_HORIZONTALLY_HACK_VALUE by GTK_MOVEMENT_HORIZONTAL_PAGES. · e40cc693
      Matthias Clasen authored
      2003-01-30  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.c: Replace PAGE_HORIZONTALLY_HACK_VALUE by
      	GTK_MOVEMENT_HORIZONTAL_PAGES.  (#68947)
      
      	* gtk/gtkenums.h: Add GTK_MOVEMENT_HORIZONTAL_PAGES to GtkMovementStep.
      e40cc693
    • Owen Taylor's avatar
      Remove the attempt-to-allocate then free code. To handle multiple people · a04c0bb3
      Owen Taylor authored
      Thu Jan 30 16:01:29 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkrgb.c (gdk_rgb_try_colormap): Remove the
              attempt-to-allocate then free code. To handle multiple
              people allocating colors at the same time, we need
              to just go ahead and try. (#102213, Shivram U)
      a04c0bb3
    • Daniel Elstner's avatar
      Explicitely draw an opaque rectangle using the background color rather · 9ca772ac
      Daniel Elstner authored
      2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
      
      	* gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque
      	rectangle using the background color rather than relying on
      	gdk_window_clear_area(), so that the palette works properly with
      	pixmap themes.
      
      	* demos/gtk-demo/colorsel.c: Install an "expose_event" handler
      	to fill the drawing area in the background color.
      9ca772ac
  2. 29 Jan, 2003 3 commits
  3. 28 Jan, 2003 1 commit
  4. 27 Jan, 2003 4 commits
  5. 24 Jan, 2003 2 commits
  6. 23 Jan, 2003 3 commits
    • GMT 2003  Tony Gale's avatar
      Learn to spell Library · 299b947c
      GMT 2003 Tony Gale authored
      Thu Jan 23 21:15:29 GMT 2003  Tony Gale <gale@gtk.org>
      
              * docs/faq/gtk-faq.sgml: Learn to spell Library
      299b947c
    • GMT 2003  Tony Gale's avatar
      docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a Composite · c4b771b8
      GMT 2003 Tony Gale authored
      Thu Jan 23 20:56:56 GMT 2003  Tony Gale <gale@gtk.org>
              * Sebastian Rittau  <srittau@jroger.in-berlin.de>:
      
                 docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a
                 Composite widget" to modern standards. (I.e. use gobject instead of
                 glib, derive from GtkTable instead of GtkVBox.) Bugzilla #103869.
      
              * docs/tutorial/gtk-tut.sgml, examples/tictactoe: Fixup tic-tac-toe
              code in Appendix C to reflect above changes.
      
              * examples/rangewidgets/rangewidgets.c: From Roger Leigh
              auto resize on page size change
      c4b771b8
    • Daniel Elstner's avatar
      Override hide_all in addition to show_all in order to keep them symmetric. · 06116092
      Daniel Elstner authored
      2003-01-23  Daniel Elstner  <daniel.elstner@gmx.net>
      
      * gtk/gtktoolbar.c (gtk_toolbar_hide_all): Override hide_all
      in addition to show_all in order to keep them symmetric. (#102201)
      06116092
  7. 22 Jan, 2003 2 commits
  8. 21 Jan, 2003 2 commits
  9. 20 Jan, 2003 1 commit
  10. 19 Jan, 2003 1 commit
    • Tor Lillqvist's avatar
      Merge from stable: · d867b9a8
      Tor Lillqvist authored
      2003-01-19  Tor Lillqvist  <tml@iki.fi>
      
      	Merge from stable:
      
      	Fix for #103614 and some other problems with GtkFileSelection on
      	Windows:
      
      	* gtk/fnmatch.c (get_char): Need to use g_unichar_tolower(), not
      	g_ascii_tolower(). Windows file names are case-insensitive for all
      	Unicode letters.
      
      	* gtk/gtkfilesel.c: Instead of checking for G_OS_WIN32 or
      	G_WITH_CYGWIN, check G_PLATFORM_WIN32. Move inclusion of gtkintl.h
      	earlier, as it includes config.h unconditionally, and gtkprivate.h
      	redefines GTK_LOCALEDIR.
      	(struct _CompletionDirSent): Ifdef out the fields not used on
      	Windows.
      	(compare_utf8_filenames, compare_sys_filenames): Need different
      	comparison implementation for UTF-8 file names and system locale
      	file names on Win32. Cannot simply use g_ascii_strcasecmp(), but
      	need to casefold all Unicode letters.
      	(cmpl_completion_matches, open_dir, correct_parent): Ifdef out
      	variables not used on Win32 to avoid warnings about unused
      	variables.
      	(open_ref_dir): Use g_path_skip_root() to skip past potential
      	drive letter in front of the leading (back)slash.
      	(open_new_dir): Ifdef out use of CompletionDirSent fields not
      	there on Win32.
      	(correct_parent): Bypass inode check also on Cygwin.
      
      	Fix bug noticed by Alex Shaduri: Tooltips and other
      	GDK_WINDOW_TEMP windows were activated. This looked very odd, and
      	was a regression from earlier versions.
      
      	* gdk/win32/gdkwindow-win32.c (show_window_internal): Fine-tune
      	behaviour. Don't ever activate GDK_WINDOW_TEMP windows.
      	(gdk_window_move, gdk_window_resize): Add debug logging.
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): When we get a
      	WM_SIZE message for a non-visible (withdrawn) window, don't clear
      	the GDK_WINDOW_STATE_WITHDRAWN bit. The window is still withdrawn
      	even if its size changes.
      d867b9a8
  11. 16 Jan, 2003 1 commit
  12. 15 Jan, 2003 2 commits
  13. 14 Jan, 2003 5 commits
    • Matthias Clasen's avatar
      Add a <StockItem> to the itemfactory example. (#103211) · 7cebc87d
      Matthias Clasen authored
      2003-01-15  Matthias Clasen  <maclas@gmx.de>
      
      	* examples/menu/itemfactory.c:
      	* docs/tutorial/gtk-tut.sgml: Add a <StockItem> to the itemfactory
      	example.  (#103211)
      7cebc87d
    • Murray Cumming's avatar
      Fixes #102168. · 5c466a9f
      Murray Cumming authored
      2002-12-29  Murray Cumming  <murrayc@usa.net>
      
      	Fixes #102168.
      
      	* gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c:
      	Actually implement the GtkTreeDragSource::row_draggable virtual
      	function in GtkListStore and GtkTreeStore instead of just checking
      	whether it's implemented at all. This means that DnD isn't broken by
      	gtkmm's virtual function wrappers. The alternative would be to
      	hard-code the TRUE return value into gtkmm's wrappers, but that's
      	part of GTK+'s implementation, not it's API.
      5c466a9f
    • Kristian Rietveld's avatar
      fix compiler warning. · f35b13f6
      Kristian Rietveld authored
      Tue Jan 14 23:42:29 2002  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtktreeview.c: fix compiler warning.
      f35b13f6
    • Kristian Rietveld's avatar
      The full changelog for this commit is too long to paste here, so to avoid · 1fb04c5f
      Kristian Rietveld authored
      annoying everybody I will write a short summary here.
      
      Fixes for: #102890, #103198, #102618, #93629, #100172, #101235, #96650,
      #102379.
      
      Other than that also a ListStore fix and a TreeView scrolling fix.
      
      Those interested in the hairy details can checkout gtk+/ChangeLog.
      1fb04c5f
    • Matthias Clasen's avatar
      Skip invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and · 740f871a
      Matthias Clasen authored
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
      	invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
      	GTK_MOVEMENT_WORDS.
      
      	* gtk/gtktextiter.c,
      	gtk/gtktextiter.h: Add some variant movement functions which
      	skip invisible chars, and do some cleanups.
      
      	* gtk/gtk-sections.txt: Add new GtkTextIter functions.
      740f871a
  14. 12 Jan, 2003 1 commit
    • Tor Lillqvist's avatar
      Merge from stable: · 4a3c812b
      Tor Lillqvist authored
      2003-01-12  Tor Lillqvist  <tml@iki.fi>
      
      	Merge from stable:
      
      	* gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
      	as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
      	lookup.
      
      	* gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
      	gdk.def.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
      
      	* gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
      	gtk-demo}.exe and share/gtk-2.0.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
      	Implement by setting or clearing the WS_EX_TOOLWINDOW extended
      	window style.
      	(gdk_window_set_type_hint): Add all cases to the switch (not all
      	do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
      	calling gdk_window_set_skip_taskbar_hint(). This means that GTK
      	won't know that the skip_taskbar hint is on for the window, is
      	this bad?
      4a3c812b
  15. 09 Jan, 2003 1 commit
    • Manish Singh's avatar
      #include <stdlib.h> for putenv, <string.h> for strlen. · bd6ac8c6
      Manish Singh authored
      Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
              <string.h> for strlen.
      
              * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
              <string.h> for strrchr.
      
              * tests/testgtk.c (create_saved_position): "x" and "y" properties
              for widgets no longer exist, use gtk_window_move instead.
      
              * test/testtextbuffer.c (check_get_set_text): cast strlen to
              int for g_error.
      bd6ac8c6
  16. 08 Jan, 2003 1 commit
  17. 07 Jan, 2003 1 commit
  18. 06 Jan, 2003 2 commits
    • Matthias Clasen's avatar
      Add a comment that the just_selected_element is unused. · f50f45bc
      Matthias Clasen authored
      2003-01-07  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.h (struct _GtkTextView): Add a comment that
      	the just_selected_element is unused.
      
      	* gtk/gtktextview.c (extend_selection): New helper function to
      	find the range that should be added to the selection.
      	(selection_motion_event_handler):
      	(gtk_text_view_start_selection_drag):
      	(gtk_text_view_end_selection_drag):
      	(selection_motion_event_handler):
      	(selection_scan_timeout): Support select-by-words/lines.
      	(gtk_text_view_button_press_event): Start a selection drag on
      	double/triple clicks.  (#78599)
      f50f45bc
    • Matthias Clasen's avatar
      Implement a utility function proposed in #102534: · bc70dc94
      Matthias Clasen authored
      2003-01-06  Matthias Clasen  <maclas@gmx.de>
      
      	Implement a utility function proposed in #102534:
      
      	* gtk/gtktextbtree.h:
      	* gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
      	(_gtk_text_btree_place_cursor): Now a simple wrapper around
      	_gtk_text_btree_select_range().
      
      	* gtk/gtktextbuffer.h:
      	* gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
      	(gtk_text_buffer_place_cursor): Now a simple wrapper around
      	gtk_text_buffer_select_range().
      bc70dc94
  19. 05 Jan, 2003 2 commits
    • Havoc Pennington's avatar
      fix a stray bracket that was breaking the build · 4b881c09
      Havoc Pennington authored
      2003-01-05  Havoc Pennington  <hp@pobox.com>
      
      	* configure.in: fix a stray bracket that was breaking the build
      4b881c09
    • Tor Lillqvist's avatar
      Use correct DLL and import library names, with GTK_API_VERSION in name, · 0973b993
      Tor Lillqvist authored
      2003-01-05  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: Use correct DLL and import library names, with
      	GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
      	(DEVZIP): Add gdk-pixbuf-query-loaders.exe.
      
      	* configure.in: Improve check for dimm.h.
      
      	* configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
      	gdk-pixbuf/Makefile.am.
      
      	* gdk-pixbuf/makefile.mingw.in
      	* gdk-pixbuf/pixops/makefile.mingw.in
      	* gdk/makefile.mingw.in
      	* gdk/win32/makefile.mingw.in
      	* gtk/makefile.mingw.in: Remove. Not maintained anyway.
      
      	* gdk-pixbuf/Makefile.am
      	* gdk-pixbuf/pixops/Makefile.am
      	* gdk/Makefile.am
      	* gdk/win32/Makefile.am
      	* gtk/Makefile.am
      	* configure.in: Remove makefile.mingw{,.in} from here, too.
      
      	* README.win32: Updates. Don't mention the now removed
      	makefile.mingw files.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add a couple of missing entries.
      
      	* gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
      
      	* gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
      	earlier.
      
      	* gdk/win32/rc/Makefile.am: Add hack to help
      	build/win32/lt-compile-resource decide which kind of libtool
      	object file to produce.
      0973b993