1. 25 Oct, 2002 4 commits
    • Owen Taylor's avatar
      Fix sensitivity of file operation buttons and buttons inside fileop · 547b0bd9
      Owen Taylor authored
      Fri Oct 25 14:51:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c: Fix sensitivity of file operation
              buttons and buttons inside fileop dialogs to update
              properly based on the contents of the entries.
              (#74267, based on part of a patch from Muktha
              Narayan)
      
              * 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.
      547b0bd9
    • Soeren Sandmann's avatar
      New GtkPaned keyboard navigation. (Shift-)F8 now cycles the available · ff914ce3
      Soeren Sandmann authored
      Fri Oct 25 18:17:39 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkpaned.[ch]: New GtkPaned keyboard navigation. (Shift-)F8
      	now cycles the available handles instead of toggling focus on and
      	off. Fixes #87160, reported by Calum Benson.
      ff914ce3
    • 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
    • Matthias Clasen's avatar
      Fix doc comment. · 1a4c94b9
      Matthias Clasen authored
      	* gdk/x11/gdkcursor-x11.c: Fix doc comment.
      
      	* gdk/gdkdnd.c: Add missing includes.
      1a4c94b9
  2. 24 Oct, 2002 1 commit
  3. 23 Oct, 2002 4 commits
  4. 22 Oct, 2002 10 commits
    • Kristian Rietveld's avatar
      Another feature to create truly ugly TreeViews!: style properties for the · ecb42dc7
      Kristian Rietveld authored
      Wed Oct 23 01:03:43 2002  Kristian Rietveld  <kris@gtk.org>
      
              Another feature to create truly ugly TreeViews!: style properties
              for the even/odd colors used for row hinting. (#71595, reported
              by Owen Taylor).
      
              * gtk/gtktreeview.c (gtk_tree_view_class_init): add even_row_color
              and odd_row_color style properties.
      
              * gtk/gtkstyle.c (get_darkened_gc): support darken_count == 0 case,
              (gtk_default_draw_flat_box): rework cell coloring code to support
              user-provided even/odd row colors.
      
      Wed Oct 23 01:01:52 2002  Kristian Rietveld  <kris@gtk.org>
      
              Cache signal IDs to speed up signal emission. This is a good speedup
              because GtkTreeModel emits a big number of signals.
      
              * gtk/gtktreemodel.c (gtk_tree_model_base_init): save IDs returned
              by g_signal_new,
              (gtk_tree_model_row_changed): use g_signal_emit instead of
              g_signal_emit_by_name,
              (gtk_tree_model_row_inserted): ditto,
              (gtk_tree_model_row_has_child_toggled): ditto,
              (gtk_tree_model_row_deleted): ditto,
              (gtk_tree_model_rows_reordered): ditto.
      
      Wed Oct 23 00:56:15 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeselection.c (model_changed): new function,
              (gtk_tree_selection_selected_foreach): monitor changes in the model,
              bail out if the model has been changed from the foreach func.
              (#50263, reported by Havoc Pennington).
      
              * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
              free anchor if applicable (#94868, reported and testcase provided by
              Daniel Elstner).
      ecb42dc7
    • Matthias Clasen's avatar
      Gdk API doc updates. · f900039c
      Matthias Clasen authored
      f900039c
    • Owen Taylor's avatar
      Multihead safety fixes, handle displays being closed. (#81651, based on · f1b8a1ce
      Owen Taylor authored
      Tue Oct 22 16:37:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktooltips.c: Multihead safety fixes, handle
              displays being closed. (#81651, based on patch
              from Erwann Chenede)
      
              * gtk/gtktoolbar.c (gtk_toolbar_init): Fix typo
              from the last commit.
      f1b8a1ce
    • Owen Taylor's avatar
      Fix handling of getting the default style/icon size from the correct · 8042766f
      Owen Taylor authored
      Tue Oct 22 15:55:08 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktoolbar.c: Fix handling of getting the
              default style/icon size from the correct
              GtkSettings. (#82184, reported by Vitaly Tishkov,
              help from Soeren Sandmann)
      8042766f
    • Owen Taylor's avatar
      Actively monitor the screen of the parent. (#80281) · 745f20a6
      Owen Taylor authored
      Tue Oct 22 15:32:31 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c: Actively monitor the screen of the
              parent. (#80281)
      
              * gtk/gtkentry.c: Fix missing prototype from the
              last commit.
      745f20a6
    • Owen Taylor's avatar
      Reset the layout, since it holds a reference to the font on a particular · 720d59d4
      Owen Taylor authored
      Tue Oct 22 15:46:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c (gtk_entry_unrealize): Reset the
              layout, since it holds a reference to the font on
              a particular screen.
      720d59d4
    • Owen Taylor's avatar
      Include config.h (#96441, Morten Welinder) · 0bfa8fe5
      Owen Taylor authored
      Tue Oct 22 15:13:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkimmulticontext.c: Include config.h
              (#96441, Morten Welinder)
      0bfa8fe5
    • Owen Taylor's avatar
      When compiling our on fnmatch.c, #define fnmatch _gtk_fnmatch (#92890, · a0263ec8
      Owen Taylor authored
      Tue Oct 22 15:03:41 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/fnmatch.h: When compiling our on fnmatch.c,
              #define fnmatch _gtk_fnmatch (#92890, Jacob Berkman)
      a0263ec8
    • Owen Taylor's avatar
      Produce C-m, not C-j for return. Handle Escape. · 5c91c3a0
      Owen Taylor authored
      Fri Oct 18 16:47:02 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkevents-x11.c (translate_key_event): Produce
              C-m, not C-j for return. Handle Escape.
      5c91c3a0
    • Matthias Clasen's avatar
      It is called GtkStatusbar, not GtkStatusBar. This was changed accidentally · 18518c09
      Matthias Clasen authored
      	* gtk/gtkstatusbar.c (gtk_statusbar_get_type):
      	(gtk_statusbar_class_init): It is called GtkStatusbar, not
      	GtkStatusBar. This was changed accidentally during deprecation
      	cleanup and caused links in the API docs to break.  (#96390)
      18518c09
  5. 21 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Return "" for entry->invisible_char == 0, otherwise N copies of · f95cd8a3
      Owen Taylor authored
      Mon Oct 21 14:04:39 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c (gtk_entry_get_public_chars): Return
              "" for entry->invisible_char == 0, otherwise N copies
              of entry->invisible_char. (#95486, Vitaly Tishkov)
      
              * gtk/gtkentry.c: Fix a bunch of places where entry->text
              instead of layout->text was being used for computation
              of offsets/indices in the layout. Using layout->text
              is necessary because when the entry is invisible, it
              doesn't correspond to entry->text.
      f95cd8a3
  6. 20 Oct, 2002 2 commits
    • Soeren Sandmann's avatar
      gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c, gtkmenushell.h, · 4b08e835
      Soeren Sandmann authored
      Sun Oct 20 23:58:03 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c,
      	gtkmenushell.h, gtkmenushell.h
      
      	- make the delay before submenus appear below menu bars a
      	  GtkSetting
      	- make the delay before submenus pops up a GtkSetting
      	- make the stay up triangle slightly larger
      	- don't pop up the first submenu immediately.
      	- make the default delay for submenus 225 ms, and 0 for menubars.
      	- make the default delay before popping down inside the stay-up
      	  triangle 1000 ms
      
      	Fixes #74950
      4b08e835
    • Owen Taylor's avatar
      Add a scrollbar_spacing style property (#81396, based on a patch from · 6a82d4c6
      Owen Taylor authored
      Sun Oct 20 14:58:02 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
              Add a scrollbar_spacing style property (#81396, based
              on a patch from Anders Carlsson)
      6a82d4c6
  7. 19 Oct, 2002 1 commit
  8. 18 Oct, 2002 3 commits
    • Owen Taylor's avatar
      Handle Return and KP_Enter. · a5803ca5
      Owen Taylor authored
      Fri Oct 18 16:47:02 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkevents-x11.c (translate_key_event): Handle
              Return and KP_Enter.
      a5803ca5
    • Owen Taylor's avatar
      Reset use_text_format to %TRUE for a %NULL text string. (#94157, once · ac98d231
      Owen Taylor authored
      Fri Oct 18 15:38:50 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkprogressbar.c (gtk_progress_bar_set_text):
              Reset use_text_format to %TRUE for a %NULL text string.
              (#94157, once again).
      ac98d231
    • Owen Taylor's avatar
      Fix use of uninitialized variable. · 30faa38a
      Owen Taylor authored
      Thu Oct 17 17:17:05 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcheckbutton.c (gtk_check_button_size_request):
              Fix use of uninitialized variable.
      
      Thu Oct 17 14:38:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkaccellabel.c (gtk_accel_label_expose_event):
              Align the baseline of the accelerator label with the
              first baseline of the main label of the menu item. (#76593)
      
      Wed Oct 16 18:25:24 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkevents-x11.c (translate_key_event):
              Use gdk_keymap_translate_keyboard_state() rather than
              XLookupString() to get the keysymbol, since XLookupString
              can confuse the input method handling. (#93575)
      
              * gdk/x11/gdkkeys-x11.c: Rewrite the handling of
              key translation for the non-XKB case to properly
              handle Shift_Lock, Caps_Lock, Num_Lock according
              to the Xlib spec. (#67066)
      30faa38a
  9. 17 Oct, 2002 5 commits
    • Havoc Pennington's avatar
      fix compiler warnings · 74e51bc1
      Havoc Pennington authored
      2002-10-17  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
      	compiler warnings
      74e51bc1
    • Soeren Sandmann's avatar
      fix typo to make it compile · fc2b515e
      Soeren Sandmann authored
      Thu Oct 17 22:37:57 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
      	it compile
      fc2b515e
    • Havoc Pennington's avatar
      add g_return_if_fail for monitor number <= 0 · 727eb8af
      Havoc Pennington authored
      2002-10-16  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/x11/gdkscreen-x11.c (gdk_screen_get_monitor_geometry): add
      	g_return_if_fail for monitor number <= 0
      
      	* gtk/gtkmenu.c (gtk_menu_position): handle case where pointer
      	is outside the screen.
      
      	* gtk/gtkwindow.c (get_monitor_center): factor out
      	the code to position a window in center
      	(gtk_window_compute_configure_request): use here
      	(gtk_window_constrain_position): use here, the
      	code here wasn't multihead-aware
      
      	* gdk/x11/gdkevents-x11.c (get_real_window): function to
      	return the window the event describes, rather than the window
      	that received the event.
      	(gdk_event_translate): use result of that function for
      	filling in GdkEvent::window, which only matters for
      	MapNotify/UnmapNotify and ConfigureNotify, in practice.
      
      	Unbreaks various things using SubstructureNotifyMask.
      727eb8af
    • 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
    • Soeren Sandmann's avatar
      Take arrows into account when clamping the offset. Fixes #95758. · a9d26e14
      Soeren Sandmann authored
      Thu Oct 17 22:09:05 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenu.c (gtk_menu_scroll_to): Take arrows into
      	account when clamping the offset. Fixes #95758.
      a9d26e14
  10. 16 Oct, 2002 3 commits
  11. 15 Oct, 2002 2 commits
  12. 14 Oct, 2002 4 commits
    • Owen Taylor's avatar
      === Released 2.1.1 === · bd14a247
      Owen Taylor authored
      Mon Oct 14 19:17:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.1.1 ===
      bd14a247
    • Owen Taylor's avatar
      Version 2.1.1, interface age 0, binary age 101. · fc149611
      Owen Taylor authored
      Mon Oct 14 18:50:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Version 2.1.1, interface age 0, binary age 101.
      
              * NEWS: Updates
      fc149611
    • Kristian Rietveld's avatar
      Behaviour change, apply changes if the entry of the editable gets a focus · bd20ab01
      Kristian Rietveld authored
      Tue Oct 15 00:53:14 2002  Kristian Rietveld  <kris@gtk.org>
      
              Behaviour change, apply changes if the entry of the editable gets
              a focus out event (#82405).
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
              new function,
              (gtk_cell_renderer_text_start_editing): stop editing and apply
              changes on focus-out.
      
      Tue Oct 15 00:47:35 2002  Kristian Rietveld  <kris@gtk.org>
      
              Fixes an *evil* GtkTreeModelSort bug, #93629.
      
              * gtk/gtktreemodel.c (release_row_references): return if the
              refs->list is NULL.
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): if we
              are swapping two rows (re-insertion on row_changed), also *emit*
              a rows_reordered signal. oops.
      
      Tue Oct 15 00:45:03 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkliststore.c (gtk_list_store_remove_silently): free
              the actual link after the node has been removed (#92014).
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_column_finalize):
              free the cell_list and the child if the exists (#92014).
      
      Tue Oct 15 00:40:25 2002  Kristian Rietveld  <kris@gtk.org>
      
              Don't accept drops if the model has been sorted, #93758)
      
              * gtk/gtkliststore.c (gtk_list_store_row_drop_possible): return
              FALSE if the list has been sorted.
      
              * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): check
              if drag_dest is a TreeStore, return FALSE if the tree has been
              sorted.
      
      Tue Oct 15 00:33:59 2002  Kristian Rietveld  <kris@gtk.org>
      
              Compiler warning fixage, (#85858, #85859, #85860, #85872)
      
              * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_render):
              s/guint/GtkCellRendererState/.
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
              ditto.
      
              * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render),
              (gtk_cell_renderer_toggle_activate): ditto.
      
              * gtk/gtkliststore.c (gtk_list_store_get_flags): a
              s/guint/GtkTreeModelFlags/ on the return type.
      bd20ab01
    • Owen Taylor's avatar
      - Make GtkXIMInfo structures per-screen (they were a mix between · af2c20ac
      Owen Taylor authored
      Mon Oct 14 15:10:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * modules/input/gtkimcontextxim.c:
              - Make GtkXIMInfo structures per-screen (they were
                a mix between per-display and per-context before)
              - Make signal connections info->settings one-per-info
               - Handle a GdkDisplay being closed, by destroying
                all XIC, calling XCloseIM on the XIM. (#87482)
      af2c20ac