1. 05 Mar, 2002 6 commits
    • Owen Taylor's avatar
      Build the docbook version, not the old linuxdoc version. · e81022da
      Owen Taylor authored
      Tue Mar  5 16:53:05 2002  Owen Taylor  <otaylor@redhat.com>
      
              * docs/faq/Makefile.am: Build the docbook version, not
              the old linuxdoc version.
      e81022da
    • Owen Taylor's avatar
      Update version to 2.0.0 · ec09f3ab
      Owen Taylor authored
      Tue Mar  5 15:47:54 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in test/makefile.msc **.pc.in **/*.am:
      	Update version to 2.0.0
      
              * gtk/Makefile.am (MAINTAINERCLEANFILES): Add stamp
              files.
      
              * configure.in (GDK_PIXBUF_VERSION): Require GLib 2.0.0,
              Pango, Atk, 1.0.0.
      
              * m4macros/gtk-2.0.m4: Default to 2.0.0 as the minimum
              version.
      ec09f3ab
    • Havoc Pennington's avatar
      don't assign yoffset here, just let it get updated in response to the · 049771c5
      Havoc Pennington authored
      2002-03-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_size_allocate): don't assign
      	yoffset here, just let it get updated in response to the
      	value_changed. Fixes #72479
      049771c5
    • Owen Taylor's avatar
      ue Mar 5 10:39:03 2002 Owen Taylor <otaylor@redhat.com> · ef668573
      Owen Taylor authored
              * Makefile.am (loaderdir): Put the modules into the
              GTK_BINARY_VERSION directory for consistency with
              immodules and theme engines.
      ef668573
    • Owen Taylor's avatar
      Don't use this same functions as idle callbacks and directly, to avoid · 3305137f
      Owen Taylor authored
      Tue Mar  5 10:29:09 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktreeview.c (do_presize_handler)
      	gtk/gtktreeview.c (do_validate_rows): Don't use this
      	same functions as idle callbacks and directly, to avoid
      	threading deadlocks. (#72392, Scott Guilbeaux)
      
      	* gtk/gtktable.c (gtk_table_size_request_init): Fix
      	row/column confusion from recent patch. (#73505,
      	Vitaly Tishkov.)
      3305137f
    • Christian Rose's avatar
      Updated Swedish translation. · 1e521035
      Christian Rose authored
      2002-03-05  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      1e521035
  2. 04 Mar, 2002 10 commits
    • Matthias Clasen's avatar
      Make color selection and selection examples work. · 0b46f4ab
      Matthias Clasen authored
      
      	* docs/tutorial/gtk-tut.sgml: Make color selection and selection
      	examples work.
      
      	* tests/testselection.c (selection_toggled, selection_clear):
      	Use selection_widget as selection owner - otherwise clearing the
      	selection doesn't work.
      0b46f4ab
    • Matthias Clasen's avatar
      Move GtkOldEditable to the "Deprecated" section. (#68408) · 5b374044
      Matthias Clasen authored
      	* gtk/gtk-docs.sgml: Move GtkOldEditable to the "Deprecated"
      	section.  (#68408)
      
      	* gtk/tmpl/gtktreeview.sgml: Close linkend attribute.  (#73364)
      5b374044
    • Owen Taylor's avatar
      Fixes for non XKB operation. (#73103) · b543bbff
      Owen Taylor authored
      Mon Mar  4 12:43:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for non XKB operation. (#73103)
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Fix problem where GDK_Tab was converted to GDK_ISO_Left_Tab
              always, not just if Shift was pressed.
      
              * gdk/x11/gdkkeys-x11.c gdk/x11/gdkprivate-x11.c
              gdk/x11/gdkevents-x11.c: Move determination of group
              to _gdk_x11_get_group_for_state(), fix to handle non-XKB.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Only
              add in SHIFT_MASK | LOCK_MASK to consumed_modifiers if the shifted
              and unshifted keysyms are different. Only add in group_switch_mask
              if the group-switched and non-group-switched keysyms are diferent.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              When calling XKeycodeToKeysym, use group * keysyms_per_keycode / 2
              not group * keysyms_per_keycode. (Tor Lillquist)
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Remove the hack to fudge the return value for GDK_Tab + Shift
              since that didn't work -- it didn't affect the reverse mapping.
              Instead fudge the non-XKB keymap instead.
      b543bbff
    • Owen Taylor's avatar
      Fix memory leak. (#73370, Paolo Maggi). · 0c54d4be
      Owen Taylor authored
      Mon Mar  4 11:02:18 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfilesel.c (gtk_file_selection_get_selections): Fix
      	memory leak. (#73370, Paolo Maggi).
      0c54d4be
    • Owen Taylor's avatar
      Fix docs in terms of what out of range @page_num does. (#73371, Vitaly · 2a0aa82b
      Owen Taylor authored
      Mon Mar  4 10:35:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtknotebook.c (gtk_notebook_set_current_page): Fix docs
              in terms of what out of range @page_num does. (#73371,
              Vitaly Tishkov.)
      2a0aa82b
    • Stanislav Visnovsky's avatar
      Updated Slovak translation. · f38cb2a1
      Stanislav Visnovsky authored
      2002-03-04  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
      	* sk.po: Updated Slovak translation.
      f38cb2a1
    • Havoc Pennington's avatar
      const fix · 3a1ca763
      Havoc Pennington authored
      2002-03-02  Havoc Pennington  <hp@pobox.com>
      
      	* demos/gtk-demo/editable_cells.c (cell_edited): const fix
      3a1ca763
    • Manish Singh's avatar
      shut up CVS · 85f9871f
      Manish Singh authored
      85f9871f
    • Owen Taylor's avatar
      Fix to properly take the default window into account by setting a flag and · d3a43f73
      Owen Taylor authored
      Sun Mar  3 18:47:13 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_parse_geometry): Fix
              to properly take the default window into account by
              setting a flag and in gtk_window_compute_configure_request_size ()
              multiplying by the increments and adding in the base
              size. (#72393)
      
              * tests/testgtk.c (create_gridded_geometry): Add a
              test for gridded geometry and for gtk_window_parse_geometry().
      d3a43f73
    • Hans Breuer's avatar
      don't build gtk.defs anymore · 86dec809
      Hans Breuer authored
      2002-03-04  Hans Breuer  <hans@breuer.org>
      
      	* gtk/makefile.msc.in : don't build gtk.defs anymore
      86dec809
  3. 03 Mar, 2002 24 commits
    • Tor Lillqvist's avatar
      Remove obsolete Win32-only declaration of · 963b3178
      Tor Lillqvist authored
      2002-03-04  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkrc.h: Remove obsolete Win32-only declaration of
      	gtk_win32_get_installation_directory().
      963b3178
    • Owen Taylor's avatar
      Back out changes to propagate keys to parent menu shells, since that broke · 8627dbda
      Owen Taylor authored
      Sun Mar  3 17:03:30 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.c gtk/gtkmenubar.[ch]: Back out
              changes to propagate keys to parent menu shells, since
              that broke stuff; rather implement ::cycle-focus as
              a key binding on GtkMenuShell rather than on GtkMenuBar.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_class_init): Add
              add bindings for ::cycle-focus. (In gtkmenubar.c, were
              mistakently bound to ::move-focus.)
      8627dbda
    • Tor Lillqvist's avatar
      Minor edits. · d9f81213
      Tor Lillqvist authored
      2002-03-03  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Minor edits.
      d9f81213
    • Tor Lillqvist's avatar
      Update to match a recent configure-generated config.h · afd73d29
      Tor Lillqvist authored
      2002-03-03  Tor Lillqvist  <tml@iki.fi>
      
      	* config.h.win32.in: Update to match a recent configure-generated
      	config.h
      afd73d29
    • Owen Taylor's avatar
      When increasing the row or column requisitions to make them sufficient for · fb90bb01
      Owen Taylor authored
      Sun Mar  3 15:16:07 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktable.c: When increasing the row or column
              requisitions to make them sufficient for spanning widgets,
              favor rows or columns with expandable children in them.
              (#1261, Jonathan Blandford.)
      fb90bb01
    • Owen Taylor's avatar
      Centralize lookup and caching of cursor GC's here. · c848fbbc
      Owen Taylor authored
      Sun Mar  3 14:26:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkstyle.[ch] (_gtk_get_insertion_cursor_gc):
              Centralize lookup and caching of cursor GC's here.
      
              * gtk/gtkentry.[ch] gtk/gtktextview.[ch] gtk/gtktextdisplay.c
              gtk/gtklabel.c: Move to using _gtk_get_insertion_cursor_gc().
      
              * gtk/gtkentry.c (gtk_entry_expose): Draw cursors
              under the text, not over the text.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): add
              a secondary-cursor-color property.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): Decrease
              the default aspect ratio to 1/25 (0.04).
      
              * tests/testgtkrc (bell_duration): Comment out
              cursor color setting.
      c848fbbc
    • Andraz Tori's avatar
      Updated Slovenian translation · 5d5cfcd4
      Andraz Tori authored
      5d5cfcd4
    • Soeren Sandmann's avatar
      change offset of cursor corner of navigation region from (-2, 2) to (-2, · f280f6d0
      Soeren Sandmann authored
      Sun Mar  3 20:48:12 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
      	offset of cursor corner of navigation region from (-2, 2) to
      	(-2, 0).
      f280f6d0
    • jacob berkman's avatar
      add sanitize-la.sh · 50b36492
      jacob berkman authored
      2002-03-03  jacob berkman  <jacob@ximian.com>
      
      	* Makefile.am (EXTRA_DIST): add sanitize-la.sh
      50b36492
    • Anders Carlsson's avatar
      Fix tyop in docs. · a71bd6c9
      Anders Carlsson authored
      2002-03-03  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_move_resize): Fix tyop
      	in docs.
      a71bd6c9
    • Kristian Rietveld's avatar
      move edit ifs above _set_cursor code, don't collapse/expand row on double · 3263de0e
      Kristian Rietveld authored
      Sat Mar  2 03:49:31 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): move edit
              ifs above _set_cursor code, don't collapse/expand row on double
              click, only activate (#63269)
              (validate_visible_area): add two missing lines (#73161, #73162)
      3263de0e
    • Owen Taylor's avatar
      Fix typo where pangoxft was being required instead of pangox. (Reported by · d69b02ec
      Owen Taylor authored
      Sun Mar  3 12:13:56 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Fix typo where pangoxft was being
      	required instead of pangox. (Reported by Miles
      	Lane)
      d69b02ec
    • Owen Taylor's avatar
      When in split cursor mode, always add the cursor as both strong and weak · c78f465b
      Owen Taylor authored
      Sun Mar  3 11:12:16 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextlayout.c (add_cursor): When in split cursor
      	mode, always add the cursor as both strong and weak
      	so that it is drawn with the correct non-split color.
      c78f465b
    • Owen Taylor's avatar
      Fix install location. · 8b4034d8
      Owen Taylor authored
      Sun Mar  3 11:05:13 2002  Owen Taylor  <otaylor@redhat.com>
      
              * modules/input/Makefile.am (moduledir): Fix
              install location.
      8b4034d8
    • Owen Taylor's avatar
      add missing dependency of objects on gtkmarshalers.h. · 74b53eed
      Owen Taylor authored
      Sun Mar  3 10:28:32 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/Makefile.am: add missing dependency of objects on
              gtkmarshalers.h.
      
              * gtk/Makefile.am gtk/gtk-boxed.defs: Remove completely
              out of date and unused gtk-boxed.defs and the accompanying
              Makefile rule to generate the complete gtk.defs.
      74b53eed
    • Hans Breuer's avatar
      make rewrite_event_for_window() static gtk_rc_clear_realized_style() · 751705f9
      Hans Breuer authored
      2002-03-03  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkmain.c : make rewrite_event_for_window() static
      	* gtk/gtkrc.c : gtk_rc_clear_realized_style() static
      
      	* gtk/makefile.msc.in : adapt to makeenums build changes
      
      	* gtk.def : sorted alphabetical again
      751705f9
    • Sven Neumann's avatar
      lowercase configure --help output. · 32dea2db
      Sven Neumann authored
      2002-03-03  Sven Neumann  <sven@gimp.org>
      
      	* m4macros/gtk-2.0.m4: lowercase configure --help output.
      32dea2db
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · ad51485d
      Kjartan Maraas authored
      2002-03-03  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      ad51485d
    • Jonathan Blandford's avatar
      Write documentation Write documentation · 4a20e66f
      Jonathan Blandford authored
      Sun Mar  3 01:36:21 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/tmpl/gtktreeviewcolumn.sgml: Write documentation
      	* gtk/tmpl/gtktreeview.sgml: Write documentation
      4a20e66f
    • Tim Janik's avatar
      added compile time switch to put the tree views into a hpaned for owen to · f0b58ab8
      Tim Janik authored
      Sun Mar  3 06:39:19 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkfilesel.c: added compile time switch to put the tree views
              into a hpaned for owen to play with.
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free):
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func),
              (gtk_tree_view_column_finalize):
              * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func),
              (gtk_tree_store_set_sort_func), (gtk_tree_store_finalize):
              * gtk/gtktreeselection.c (gtk_tree_selection_finalize):
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func),
              (gtk_tree_model_sort_set_default_sort_func),
              (gtk_tree_model_sort_set_sort_func):
              * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_sort_func), (gtk_list_store_finalize):
              add reentrancy protection around destroy() function invocation.
      
              * gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix
              destroy function invocation (which was missing).
      f0b58ab8
    • Owen Taylor's avatar
      Fixes for uninstalled operation with module suffixes other than .so and in · b47b15f6
      Owen Taylor authored
      Sat Mar  2 23:08:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for uninstalled operation with module suffixes
              other than .so and in general for platforms like AIX where
              the module suffix isn't predictable. (#72185, problems
              reported by Miroslaw Dobrzanski-Neumann)
      
              * modules/input/Makefile.am (gtk.immodules): Query .la
              files rather than shared objects in .libs when creating the
              uninstalled gtk.immodules file.
      
              * gtk/gtkmain.c (_gtk_find_module): Look for .la files
              after looking for the normal soname extension to handle
              cases where the soname extension isn't predictable,
              like AIX.
      
              * gtk/gtkthemes.c (gtk_theme_engine_load): Don't
              call g_module_build_path... leave that to
              gtk_rc_find_module_in_path.
      
              * demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init):
              tests/testgtk.c (test_init): tests/testtext.c (test_init)
              tests/testdnd.c (test_init): Point gdk-pixbuf to .la
              files rather than poking in .libs for .so files.
      
              * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove
              .libs from GDK_PIXBUF_MODULEDIR.
      b47b15f6
    • Owen Taylor's avatar
      If we can't load the module using the g_module_build_path() filename, try · b3c0813b
      Owen Taylor authored
      Sat Mar  2 22:11:10 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-pixbuf-io.c (_gdk_pixbuf_load_module): If we
              can't load the module using the g_module_build_path()
              filename, try loading it as a .la file.
      
              * test-loaders.c: Look for modules in current directory
              rather than .libs, so we find the right .la files.
      
              * test-loaders.c: Back out some accidental commits.
      b3c0813b
    • Owen Taylor's avatar
      Handle NO_WINDOW widgets with windows that are children of widget->window. · 76cf3d95
      Owen Taylor authored
      Sat Mar  2 20:58:30 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_reparent): Handle NO_WINDOW
      	widgets with windows that are children of widget->window.
      	(#50279)
      
      	* tests/testgtk.c: Add eventboxes to the example so that
      	we are reparenting between different GdkWindows.
      76cf3d95
    • Owen Taylor's avatar
      Shell script used to strip dependencies out of .la files. · 809a11fe
      Owen Taylor authored
             * gdk/Makefile.am gtk/Makefile.am sanitize-la.sh: Shell script
              used to strip dependencies out of .la files.
      809a11fe