1. 07 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Use octal escapes rather than literal UTF-8. · f9d1107b
      Owen Taylor authored
      Fri Dec  6 19:00:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * demos/gtk-demo/testview.c tests/testgtk.c
              tests/testtext.c tests/testtextbuffer.c: Use
              octal escapes rather than literal UTF-8.
      f9d1107b
  2. 20 Nov, 2002 1 commit
    • Manish Singh's avatar
      add -DGTK_DISABLE_DEPRECATED. #undef it at the top of gtktypebuiltins.c. · bc035915
      Manish Singh authored
      Tue Nov 19 17:05:51 2002 Manish Singh  <yosh@gimp.org>
      
      	* gtk/Makefile.am: add -DGTK_DISABLE_DEPRECATED. #undef it at the
      	top of gtktypebuiltins.c.
      
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkpreview.c
      	* gtk/gtksignal.c
      	* gtk/gtktext.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c
      	* gtk/gtktypeutils.c: #undef GTK_DISABLE_DEPRECATED, deprecated widgets
      	and compat code.
      
      	* gtk/gtkcolorsel.c: move gtk_color_selection_set_color implementation
      	to set_color_internal, and use that. The deprecated function now
      	merely wraps it.
      
      	* gtk/gtkfontsel.c: same as above, except with
      	gtk_font_selection_get_font.
      
      	* gtk/gtknotebook.c: same as above, except with
      	gtk_notebook_set_homogeneous, and gtk_notebook_set_tab_{border,
      	hborder,vborder}.
      
      	* gtk/gtkprogressbar.c: same as above, except with
      	gtk_progress_bar_set_{bar_stype,discrete_blocks,activity_step,
      	activity_blocks}.
      
      	* gtk/gtkstyle.c: same as above, except with gtk_style_get_font.
      
      	* gtk/gtkwidget.c: same as above, except with gtk_widget_set_usize.
      
      	* gtk/gtkitemfactory.h: declare compatibility functions for deprecated
      	GtkMenuFactory stuff if GTK_COMPILATION, since they are used
      	internally by the compat code.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	use of deprecated gtk_check_menu_item_set_show_toggle (it is a noop
      	now).
      
      	* gtk/gtkmain.c: replaced deprecated GTK_TYPE_* with G_TYPE_*.
      
      	* gtk/gtkobject.c: replaced various deprecated functions. In set and
      	get_property, use g_object_{set,get}_data with "user_data" instead
      	of gtk_object_{set,get}_user_data.
      
      	* gtk/gtkprogress.h: API declared if GTK_COMPILATION
      
      	* gtk/gtkprogress.c: port get_type to GObject API.
      
      	* gtk/gtktypeutils.h: declare GtkArg stuff and gtk_type_init,
      	if GTK_COMPILATION.
      
      	* gtk/gtkwidget.c: define gtk_widget_queue_clear in terms of
      	gtk_widget_queue_draw instead of the other way around.
      
      	* tests/Makefile.am: define -DGTK_DISABLE_DEPRECATED
      
      	* tests/testgtk.c
      	* tests/testselection.c
      	* tests/testsocket.c: #undef GTK_DISABLE_DEPRECATED, makes use of
      	deprecated stuff.
      bc035915
  3. 19 Nov, 2002 1 commit
  4. 13 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      - comment out check_inconsistent_aa_bits[]. · 6bd08ac8
      Soeren Sandmann authored
      Wed Nov 13 14:01:44 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkstyle.c:
      
                - comment out check_inconsistent_aa_bits[].
      
                - use fg/bg with a generated aa color to draw check and option
      	    marks in menu items.
      
      	  - use text/base to draw check and option buttons, except when
      	    state is ACTIVE, in which case we use fg/bg with a generated
      	    aa color.
      
      	* tests/testgtk.c (menu_items): Add three check items.
      6bd08ac8
  5. 10 Nov, 2002 1 commit
  6. 08 Nov, 2002 2 commits
    • Matthias Clasen's avatar
      Draw grips in all edges. · d98e464b
      Matthias Clasen authored
      	* tests/testgtk.c (create_resize_grips): Draw grips in all edges.
      d98e464b
    • Owen Taylor's avatar
      Use g_get_application_name() instead of g_get_prgname() as the default · b179b5eb
      Owen Taylor authored
      Fri Nov  8 17:08:54 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_new): Use
              g_get_application_name() instead of g_get_prgname()
              as the default window title when set.
      
              * gdk/x11/gdkwindow-x11.c gdk/x11/gdkdisplay-x11.[ch]:x
              Set g_get_application_name() as the title for the
              leader window the first time we create a window
              pointing to it.
      
              * tests/testgtk.c (main): Call g_set_application_name();
      
              * configure.in (GDK_PIXBUF_VERSION): Require GLib-2.1.3
      b179b5eb
  7. 07 Nov, 2002 1 commit
    • Anders Carlsson's avatar
      Add resize grips test. · 74bab1cc
      Anders Carlsson authored
      2002-11-07  Anders Carlsson  <andersca@gnu.org>
      
      	* tests/testgtk.c (create_resize_grips): Add resize grips test.
      74bab1cc
  8. 25 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Warn if loading <ImageItem> image fails. · e49f5d89
      Owen Taylor authored
      Fri Oct 25 10:50:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkitemfactory.c (gtk_item_factory_create_item):
              Warn if loading <ImageItem> image fails.
      
              * tests/testgtk.c: Fix data for "apple" inline pixbuf
              to be valid.
      e49f5d89
  9. 23 Oct, 2002 1 commit
    • Owen Taylor's avatar
      When popping up the list without any selected items, hack the focus on the · 3d4c27d0
      Owen Taylor authored
      Tue Oct 22 20:02:22 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcombo.c: When popping up the list without
              any selected items, hack the focus on the list to
              avoid triggering a bug in GtkList when clicking
              on focused-but-not-selected items (#86700,
              Zimler Attila, Matthias Clasen) and to keep
              GtkWindow from selecting the first item.
      
              * tests/testgtk.c (create_list): Make the initial
              setting of the selection mode correspond to the option
              menu.
      3d4c27d0
  10. 17 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Make the widgets work reasonably when they don't have children -- draw the · de89785a
      Owen Taylor authored
      Thu Oct 17 16:13:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcheckbutton.c gtk/gtkradiobutton.c: Make
              the widgets work reasonably when they don't have
              children -- draw the focus around the indicator,
              and position the indicator symmetrically.
              (#74830, Dave Camp)
      
              * tests/testgtk.c: Add no-child portions to check and radio
              button tests.
      de89785a
  11. 13 Oct, 2002 2 commits
    • Manish Singh's avatar
      Deprecation cleanup · 37278865
      Manish Singh authored
      Sun Oct 13 16:20:41 2002  Manish Singh  <yosh@gimp.org>
      
              * tests/pixbuf-randomly-modified.c tests/prop-editor.c
              tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c
              tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c
              tests/testselection.c tests/testsocket.c tests/testsocket_common.c
              tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c
              tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c
              tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c
              tests/treestoretest.c: Deprecation cleanup
      
              * tests/Makefile.am: Added disable deprecation flags
      37278865
    • Soeren Sandmann's avatar
      remove references to non-existing properties GtkWindow::allow_shrink and · c7346aa2
      Soeren Sandmann authored
      Sun Oct 13 17:21:15 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* tests/testgtk.c (window_controls), tests/testgtk.c
      	(create_tooltips): remove references to non-existing properties
      	GtkWindow::allow_shrink and GtkWidget::width
      c7346aa2
  12. 09 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add GO_FORWARD and GO_BACK with both left and right arrows depending on · 7eecad56
      Owen Taylor authored
      Wed Oct  9 17:06:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkiconfactory.c (add_size_and_dir_with_fallback):
              Add GO_FORWARD and GO_BACK with both left and right
              arrows depending on the direction. (#92211,
              Kenneth Christiansen)
      
              * tests/testgtk.c (create_flipping): Add forward/back button
              pairs in default, RTL, LTR configurations.
      7eecad56
  13. 07 Oct, 2002 2 commits
    • Owen Taylor's avatar
      Use a pixbuf to set the drag icon, combine code to create drag icons · 123d1fb8
      Owen Taylor authored
      Mon Oct  7 16:28:11 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcolorsel.c (palette_drag_begin): Use
              a pixbuf to set the drag icon, combine code
              to create drag icons (Fixes #80092, #80093)
      
              * gtk/gtkcolorsel.c (get_screen_color): Don't warn
              on failure to grab keyboard/mouse. (#80085)
      
              * gtk/gtkcolorsel.c (palette_press): Return FALSE,
              so DND initiation is possible.
      
              * gtk/gtkcolorsel.c (palette_release): Set the color
              from the palette on release, not press.
      
              * tests/testgtk.c (create_color_selection): Use
              gtk_widget_show_all()
      123d1fb8
    • Owen Taylor's avatar
      - Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks, · 253458ec
      Owen Taylor authored
      Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.[ch] gdk/gdkinternals.h
              gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c
              gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:
      
              - Replace GdkPointerHooks with a multihead-safe
                GdkDisplayPointerHooks, leave GdkPointerHooks
                around for singlehead.
              - Add gdk_display_get_pointer() to get the pointer
                location with the screen it is on.
      
              * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
              Change gdk_screen_get_window_at_pointer() to
              gdk_display_get_window_at_pointer().
      
              * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
              tests/testgtk.c: Use gdk_display_get_window_at_pointer(),
              not gdk_screen_get_window_at_pointer().
      
              * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
              safe.
      
              * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
              since it is useful for writing code that doesn't
              know the dcurrent state but needs a clean colormap.
      
              * gtk/gtkrc.c: When loading the settings for a particular
              screen, only reset toplevels on that screen.
      
              * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
              that should have been #ifndef GTK_MULTIHEAD_SAFE.
      253458ec
  14. 04 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Improve checks on public entry points, including, among other things · 47bed428
      Owen Taylor authored
      Fri Oct  4 17:13:03 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c: Improve checks on public entry points,
              including, among other things checking whether drag
              contexts passed in are source or dest. (Fixes
              #76762, Alexey A. Malyshev)
      
              * tests/testtext.c tests/testgtk.c tests/testdnd.c:
              Fix uninstalled operation for new pixbuf changes.
      
              * gtk/stock-icons/Makefile.am (pixbuf_csource):
              Fix makefile for uninstalled operation.
      47bed428
  15. 03 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add a 'type' parameter, make public. · ef33adff
      Owen Taylor authored
      Thu Oct  3 14:13:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.c (gdk_event_new): Add a 'type'
              parameter, make public.
      
              * gdk/gdkevents.c (gdk_event_copy): Copy the screen.
      
              * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c
              gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c:
              _gdk_event_new() => gdk_event_new().
      
              * gdk/win32/gdkevents-win32.c (real_window_procedure):
              Fix event_private->screen breakage that results from evil
              encapsulation breakage here.
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c
              gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c
              gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c
              gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c
              gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c
              gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c
              tests/testgtk.c: Remove most usage of stack-allocated
              GdkEvent structures.
      
              * gtk/gtktreeview.c: Use a cut-and-paste of the full
              send_focus_event() from gtkwindow.c that does the necessary
              notification of the ::has-focus property and setting of
              the HAS_FOCUS flag.x
      
              * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing
              an extraneous use of a GdkEvent.
      ef33adff
  16. 25 Sep, 2002 1 commit
    • Havoc Pennington's avatar
      fix GtkWindowMnemonic to have a separate typedef · 1689117c
      Havoc Pennington authored
      2002-09-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate
      	typedef
      
      	* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor
      	FULLSCREEN state
      
      	* tests/testgtk.c (get_state_controls): add
      	fullscreen/unfullscreen test
      
      	* gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable
      
      	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused
      	variable
      
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused
      	variable
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_window_manager_changed): emit
      	window_manager_changed signal
      
      	* gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add
      	window_manager_changed signal
      
      	* gdk/x11/gdkevents-x11.c
      	(gdk_x11_screen_get_window_manager_name): new function
      
      	* gtk/gtkwindow.c (gtk_window_class_init): add type_hint,
      	skip_taskbar_hint, skip_pager_hint properties
      	(gtk_window_set_skip_taskbar_hint):
      	(gtk_window_get_skip_taskbar_hint):
      	(gtk_window_set_skip_pager_hint):
      	(gtk_window_get_skip_pager_hint):
      	(gtk_window_fullscreen):
      	(gtk_window_unfullscreen): new functions
      
      	* gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state
      
      	* gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint
      	values
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint):
      	(gdk_window_set_skip_pager_hint):
      	(gdk_window_fullscreen):
      	(gdk_window_unfullscreen): new functions
      	(set_initial_hints): set fullscreen here if appropriate
      1689117c
  17. 30 Jul, 2002 1 commit
  18. 20 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Renames: · 28c2b0a3
      Owen Taylor authored
      Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
              tests/*.c: Renames:
      
               gdk_get_default_display => gdk_display_get_default
               gdk_get_default_screen  => gdk_screen_get_default
               gdk_open_display        => gdk_display_open
      28c2b0a3
  19. 18 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display(). · 621fb746
      Owen Taylor authored
      Tue Jun 18 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
              gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
              gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
              (#85671)
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
              gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c
              gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c
              gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c:
              Adapt to above change.
      621fb746
  20. 20 May, 2002 1 commit
    • Owen Taylor's avatar
      Set the private LEAVE_PENDING flag to fix problem where with menu items · a80d4be5
      Owen Taylor authored
      Mon May 20 12:59:14 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktooltips.c: Set the private LEAVE_PENDING
              flag to fix problem where with menu items with
              submenus, tooltips were getting stuck. (Effectively
              disables tooltips for menu items with submenus.)
              (Bug #75961, Soeren Sandmann)
      
              * tests/testgtk.c: Set a tooltip on a menu item
              with a submenu.
      a80d4be5
  21. 15 May, 2002 1 commit
    • Owen Taylor's avatar
      Special case menu items to pop down on motion. (#75961) · 70d78734
      Owen Taylor authored
      Wed May 15 17:12:50 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktooltips.c: Special case menu items to
              pop down on motion. (#75961)
      
              * tests/testgtk.c (create_item_factory): Add tooltips
              to the File menu.
      
              * gtk/gtkentry.c (update_im_cursor_location): Fix
              cursor locations passed to the IM context.
              (#80027, Yao Zhang)
      70d78734
  22. 30 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Make it work, even if the window is already realized or mapped. · 087fd22c
      Owen Taylor authored
      Tue Apr 30 18:42:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_set_screen): Make it
              work, even if the window is already realized or
              mapped.
      
              * tests/testgtk.c: Erwann's multihead changes, slightly
              dumbed down. (Removed logic for pulling windows onto
              the current screen, people can click twice on the demo
              to destroy and create again.)
      
              * tests/prop-editor.c: Set the screen on the property
              editor if the edited object is a widget.
      087fd22c
  23. 08 Apr, 2002 1 commit
  24. 04 Apr, 2002 2 commits
  25. 04 Mar, 2002 1 commit
    • 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
  26. 03 Mar, 2002 2 commits
    • 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
      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
  27. 01 Mar, 2002 1 commit
    • Owen Taylor's avatar
      include gdkkeysysms.h if compiling gdk_keyval_convert_case. · fce84d05
      Owen Taylor authored
      Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkkeys.c: include gdkkeysysms.h if
              compiling gdk_keyval_convert_case.
      
              * gtk/gtkmenubar.c (gtk_menu_bar_cycle_focus): Implement
              <Control>Tab <Control><Shift>Tab to cycle between
              all menu bars in a toplevel once one is up.
      
              * tests/testgtk.c: Add a second menubar, this
              example is already full of crack anyways.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Padd
              unhandled events up to the parent menu shell.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Only
              pop up the menu if the parent menu shell is still active.
      
              * gtk/gtkcontainer.[ch] (_gtk_container_focus_sort): Add a
              old_focus argument, export privately.
      fce84d05
  28. 21 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Implement "fuzzy" key binding lookups; allow matches on key and level but · 708e1a95
      Owen Taylor authored
      Wed Feb 20 14:26:47 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
              allow matches on key and level but not group. Also, implement
              ignoring "consumed modifiers correctly."
      
              * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using
              GtkKeyHash.
      
              * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings
      
              * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in
              the group for key release events as well as key press events.
      
              * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Rename unused_modifiers to consumed_modifiers, make the docs and
              non-Xkb implementation match the Xkb implementation.
      
              * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate
              doc and parameter name changes.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              XkbTranslateKeyCode doesn't handle LockMask, we need to handle
              it ourselves.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force
              <Shift>Tab to give GDK_ISO_Left_Tab, since we need consistency
              to allow dealing with ISO_Left_Tab.
      
              * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c
              gtk/gtkpaned.c gtk/gtkcombo.c  gtk/gtknotebook.c:
              Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab
              or <Shift>Tab both are equivalent as a binding specifier.)
      
              * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate
              GTK_RUN_ACTION, so you can bind an accelerator to it.
      
              * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call
              gdk_unicode_to_keyval on the mnemonic character.
      
              * tests/testgtk.c: Add a test for the new fuzzy key binding matching.
      708e1a95
  29. 17 Feb, 2002 2 commits
  30. 10 Feb, 2002 1 commit
    • Hans Breuer's avatar
      don't reduce the scroll rect size by the scroll amount · 6d33d1c7
      Hans Breuer authored
      2002-02-10  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkgeometry-win32.c : don't reduce the scroll
      	rect size by the scroll amount
      
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/win32/gdkselection-win32.c : added some casts to
      	make it compile with msvc's strict type checking
      
      	* gtk/fnmatch.c : #include <ctype.h> again for tolower
      	prototype. The fnmatch() code assumes to be in the crt
      	locale though it is feeded by utf8 strings from gtkfilesel.c
      
      	* gtk/gtkfilesel.c : let ->cmpl_text be a strdup managed by
      	_CompletionDir instead of referencing already freed memory
      
      	* gtk/gtktooltips.c (gtk_tooltips_init) : fix typo to
      	gtk_rc_parse_string (theDefaultTooltipColor) once as it
      	was intended
      
      	* tests/makefile.msc : added more tests
      
      	* tests/testgtk.c (create_list) : don't try to load gtkenums.h
      	from the current directory use ../gtk/gtkenums.h instead
      6d33d1c7
  31. 09 Feb, 2002 1 commit
  32. 02 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Fix ordering of priorities so that priorities take precendence over the · 5288e079
      Owen Taylor authored
      Fri Feb  1 17:48:51 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkrc.c (gtk_rc_get_style): Fix ordering of
              priorities so that priorities take precendence over
              the ordering by type. (#70205)
      
              * test/testgtkrc tests/testgtk.c (create_rc_file): Add
              some labels to test priorities in testgtkrc.
      5288e079
  33. 01 Feb, 2002 1 commit
  34. 31 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Try to make sure that we have some focused widget on map. (#50339) · 2947596c
      Owen Taylor authored
      Wed Jan 30 13:55:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_show): Try to make
              sure that we have some focused widget on map. (#50339)
      
              * gtk/gtkdialog.c (gtk_dialog_map): Handling picking
              a focus widget here differently so that if a
              response button gets picked, it's the default one.
      
              * tests/testgtk.c (make_message_dialog): Set the
              default response for the dialogs.
      2947596c