1. 27 Feb, 2002 1 commit
    • Owen Taylor's avatar
      ue Feb 26 18:58:49 2002 Owen Taylor <otaylor@redhat.com> · df915120
      Owen Taylor authored
              * gtk/gtkaccelgroup.c (gtk_accelerator_set_default_mod_mask):
              OR in the three default modifiers to any value passed
              in by the caller, so that the caller won't break the
              the default bindings. (#70142, Jody Goldberg, though he
              wasn't in favor of this particular way of solving it.)
      df915120
  2. 26 Feb, 2002 23 commits
    • Owen Taylor's avatar
      Append mnemonics rather than prepending them so that the order is · 386f8d1f
      Owen Taylor authored
      Tue Feb 26 18:47:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_add_mnemonic): Append
              mnemonics rather than prepending them so that the
              order is typically forward rather than typically
              backward. (Partial fix for #52395)
      386f8d1f
    • Soeren Sandmann's avatar
      Draw arrows better (without extra baseline) · ad64579c
      Soeren Sandmann authored
      Wed Feb 27 00:45:39 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkarrow.c, gtk/gtkmenuitem.c, gtk/gtkrange.c
      	gtk/gtkspinbutton.c gtk/gtkstyle.c: Draw arrows better (without
      	extra baseline)
      ad64579c
    • Owen Taylor's avatar
      Display any "g_unicode_isgraph()" char literally, not just latin1. · 1e9f8b7c
      Owen Taylor authored
      Tue Feb 26 18:38:17 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_refetch):
      	Display any "g_unicode_isgraph()" char literally,
      	not just latin1. (#65679)
      1e9f8b7c
    • Owen Taylor's avatar
      Don't to focus insensitive widgets. (#68203) · d1be9aea
      Owen Taylor authored
      Tue Feb 26 18:01:10 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.c (gtk_widget_grab_focus): Don't
              to focus insensitive widgets. (#68203)
      
              * gtk/gtkentry.c (gtk_entry_state_changed): Clear any
              current selection if we become insensitive. (#68203)
      
              * gtk/gtkentry.c (gtk_entry_grab_focus): Don't
              select the text if the entry isn't editable. (#67203)
      
              * gtk/gtkentry.c: Activate keybindings when not editable,
              but supress keybindings that change the text. (#65848, #68203)
      
              * gtk/gtkentry.c (gtk_entry_set_property): Reset the
              IM context for the entry when it is made not editable.
      d1be9aea
    • Owen Taylor's avatar
      Emit ::color_changed every time we notify current_color. (Brute force fix · e7171e19
      Owen Taylor authored
      Tue Feb 26 17:04:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcolorsel.c (update_color): Emit ::color_changed
              every time we notify current_color. (Brute force
              fix for #72470, Matthias Clasen). Some fixes to improve
              reentrancy.
      e7171e19
    • Owen Taylor's avatar
      use the cursor position _after_ deleting the text as the position to · 87ab3ced
      Owen Taylor authored
      Tue Feb 26 15:04:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c (gtk_entry_enter_text): use
              the cursor position _after_ deleting the text
              as the position to insert at. (#72717, Jan Mynarik)
      87ab3ced
    • Vitaly Tishkov's avatar
      gtk/gtktreemodel.c misprints in documentation for · a2cd6749
      Vitaly Tishkov authored
      2002-02-26            Vitaly Tishkov       <tvv@sparc.spb.su>
      
              * gtk/gtktreemodel.c
      	misprints in documentation for gtk_tree_row_reference_inserted()
              and gtk_tree_path_new () are fixed
      a2cd6749
    • Kristian Rietveld's avatar
      take into account that a path from a rowref can be NULL. (#72623 and · 07d3ebd0
      Kristian Rietveld authored
      Tue Feb 26 19:47:16 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (validate_visible_area): take into account
              that a path from a rowref can be NULL. (#72623 and #72650)
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_render_or_focus):
              let focus_rectangle be the same as cell_area for empty cells (#69900)
      07d3ebd0
    • Owen Taylor's avatar
      Fix double free. · f255d50b
      Owen Taylor authored
      Tue Feb 26 11:51:56 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): Fix
              double free.
      f255d50b
    • Owen Taylor's avatar
      Handle a keyval of 0, by returning an empty list. (#72617, Kevin Breit) · 9b1ce99c
      Owen Taylor authored
      Tue Feb 26 10:38:14 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
              a keyval of 0, by returning an empty list. (#72617,
              Kevin Breit)
      9b1ce99c
    • Richard Hult's avatar
      Fix #72586. Silently accept empty tree. (gtk_tree_view_collapse_all): · 23558e0a
      Richard Hult authored
      2002-02-26  Richard Hult  <rhult@codefactory.se>
      
      	* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix
      	#72586. Silently accept empty tree.
      	(gtk_tree_view_collapse_all): Likewise.
      23558e0a
    • Andraz Tori's avatar
      Updated Slovenian translation · 1ab0dcf5
      Andraz Tori authored
      1ab0dcf5
    • Stanislav Visnovsky's avatar
      Updated Slovak translation. · 00404d7c
      Stanislav Visnovsky authored
      2002-02-26  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
      	* sk.po: Updated Slovak translation.
      00404d7c
    • Andraz Tori's avatar
      Updated Slovenian translation · a04b416d
      Andraz Tori authored
      a04b416d
    • Andraz Tori's avatar
      Updated Slovenian translation · e8e41237
      Andraz Tori authored
      e8e41237
    • Christian Rose's avatar
      Fixed Swedish translation. · bad992c1
      Christian Rose authored
      2002-02-26  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Fixed Swedish translation.
      bad992c1
    • Tor Lillqvist's avatar
      A couple of name changes. · a12c1c8d
      Tor Lillqvist authored
      2002-02-26  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtk.def: A couple of name changes.
      a12c1c8d
    • Owen Taylor's avatar
      Fix double set of bindings for page-up/down. (#72605, Tor Lillquist) · 86e7c7df
      Owen Taylor authored
      Mon Feb 25 22:10:47 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): Fix
      	double set of bindings for page-up/down. (#72605, Tor Lillquist)
      
      	* gtk/gtkmenu.c (gtk_menu_key_press): Remove consumed modiifers
      	when setting up accelerator to make accelerators look prettier.
      	(#65416, Guillermo S. Romero)
      86e7c7df
    • Tor Lillqvist's avatar
      Implement the functions that until now just were non-functional stubs. For · 93fa867e
      Tor Lillqvist authored
      2002-02-26  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkkeys-win32.c: Implement the functions that until
      	now just were non-functional stubs. For "hardware keycodes", we
      	use Windows virtual keycodes. Not scancodes, although that at
      	first might seem more low-level and a better match to X11
      	keycodes.
      
      	The Windows API is really mixed up and confused with respect to
      	scancodes and virtual keycodes. (Surprised?) Some scancodes are
      	generated by two keys on the keyboard (!), and although the
      	keyboard messages do have a flag to indicate which key the user
      	pressed, other API that take a scan code as input don't let you
      	specify which actual key you mean.
      
      	(update_keymap): Function to build a X11-like representation of
      	the keyboard. Each key has four keysyms: two levels (nonshifted
      	and shifted) and two groups (normal and with AltGr).
      
      	(gdk_keymap_get_direction): Use the codepage corresponding to the
      	thread's input locale, not the system codepage.
      
      	* gdk/win32/gdkglobals-win32.c
      	* gdk/win32/gdkmain-win32.c
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkwindow-win32.h
      	* gdk/win32/gdkwindow-win32.c: Remove the input_locale and
      	charset_info fields from GdkWindowImplWin32. Input locale is
      	per-thread in Windows, and as GDK on Windows really only works
      	when the GDI interaction all happens in just one thread anyway,
      	this state can be global. Use globals _gdk_input_locale and
      	_gdk_input_codepage instead. Set these based on the thread's input
      	locale (keyboard layout, or which IME is active).
      
      	* gdk/win32/gdkevents-win32.c: Set the group and hardware_keycode
      	fields in GDK key events. On input locale change messages, set
      	the global state variables, and inform update_keymap() that it
      	has to rebuild the keymap.
      93fa867e
    • Tor Lillqvist's avatar
      Implement the functions that until now just were non-functional stubs. For · c410128c
      Tor Lillqvist authored
      2002-02-26  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkkeys-win32.c: Implement the functions that until
      	now just were non-functional stubs. For "hardware keycodes", we
      	use Windows virtual keycodes. Not scancodes, although that at
      	first might seem more low-level and a better match to X11
      	keycodes.
      
      	The Windows API is really mixed up and confused with respect to
      	scancodes and virtual keycodes. (Surprised?) Some scancodes are
      	generated by two keys on the keyboard (!), and although the
      	keyboard messages do have a flag to indicate which key the user
      	pressed, other API that take a scan code as input don't let you
      	specify which actual key you mean.
      
      	(update_keymap): Function to build a X11-like representation of
      	the keyboard. Each key has four keysyms: two levels (nonshifted
      	and shifted) and two groups (normal and with AltGr).
      
      	(gdk_keymap_get_direction): Use the codepage corresponding to the
      	thread's input locale, not the system codepage.
      
      	* gdk/win32/gdkglobals.h
      	* gdk/win32/gdkmain-win32.c
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkwindow-win32.h
      	* gdk/win32/gdkwindow-win32.c: Remove the input_locale and
      	charset_info fields from GdkWindowImplWin32. Input locale is
      	per-thread in Windows, and as GDK on Windows really only works
      	when the GDI interaction all happens in just one thread anyway,
      	this state can be global. Use globals _gdk_input_locale and
      	_gdk_input_codepage instead. Set these based on the thread's input
      	locale (keyboard layout, or which IME is active).
      
      	* gdk/win32/gdkevents-win32.c: Set the group and hardware_keycode
      	fields in GDK key events. On input locale change messages, set
      	the global state variables, and inform update_keymap() that it
      	has to rebuild the keymap.
      c410128c
    • Matthias Clasen's avatar
      Fix typos in pkg-config invokations. (#72476) · 14a2eb78
      Matthias Clasen authored
      
      	* docs/tutorial/gtk-tut.sgml: Fix typos in pkg-config
      	invokations.  (#72476)
      
      	Fixes for #72478:
      
      	* gtk/tmpl/gtkprogressbar.sgml: Add note about new GtkProgressBar
      	API to introduction.
      
      	* gtk/gtk-sections.txt: Reorder GtkProgressBar functions to move
      	undeprecated API to top.
      14a2eb78
    • Andraz Tori's avatar
      Updated Slovenian translation · c0c90c9e
      Andraz Tori authored
      c0c90c9e
    • Owen Taylor's avatar
      Set the keyboard-mode flag before popping up the tooltip so that pop it up · 2bb933f9
      Owen Taylor authored
      Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
              flag before popping up the tooltip so that pop it up
              in the right place. (#71917, Narayani Pattipati)
      2bb933f9
  3. 25 Feb, 2002 12 commits
    • Kristian Rietveld's avatar
      call _gtk_tree_view_column_cell_set_dirty when visible, so this column · 2544d7b7
      Kristian Rietveld authored
      Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
              _gtk_tree_view_column_cell_set_dirty when visible, so this column
              gets some space allocated. (#70996)
      
              * gtk/gtkliststore.c (gtk_list_store_get_path): add simple
              optimization for the tail case
              (gtk_list_store_real_set_value): remove unneeded _get_path calls
      2544d7b7
    • Owen Taylor's avatar
      Fix precendence problem. (Sven Neumann) · 9953d390
      Owen Taylor authored
      Mon Feb 25 12:47:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Fix precendence problem. (Sven Neumann)
      9953d390
    • Christian Rose's avatar
      Updated Swedish translation. · 4e49e2e4
      Christian Rose authored
      2002-02-25  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      4e49e2e4
    • Owen Taylor's avatar
      Convert over to using an GtkInvisible - selections don't work properly · 3ce82058
      Owen Taylor authored
      Sun Feb 24 23:23:28 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* tests/testselection.c (main): Convert over to using
      	an GtkInvisible - selections don't work properly
      	with now NO_WINDOW GtkToggleButton. (Example really
      	should be using GtkClipboard.)
      
      	* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
      	Fix  problems if sizeof(GdkAtom) != sizeof(Atom). (Unlikely)
      
      	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Set
      	actual_length when converting atoms as well.
      	(Gregory Merchan, #72074)
      3ce82058
    • Havoc Pennington's avatar
      add dx/dy to child allocation, don't subtract them. Also, copy code from · f9debe2f
      Havoc Pennington authored
      2002-02-24  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_value_changed): add dx/dy to
      	child allocation, don't subtract them. Also, copy code from CList
      	to recursively adjust the child allocation, instead of just
      	adjusting immediate children. #69115
      f9debe2f
    • Havoc Pennington's avatar
      change to pass in the cursor direction always, not just when we need an · 8ddb92e4
      Havoc Pennington authored
      2002-02-24  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): change to pass in
      	the cursor direction always, not just when we need an arrow, so we
      	can flip the cursor around its axis for RTL. Resolves #72372
      
      	* gtk/gtkentry.c (gtk_entry_draw_cursor): update for
      	draw_insertion_cursor change
      
      	* gtk/gtklabel.c (gtk_label_draw_cursor): ditto
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): ditto
      8ddb92e4
    • Alexander Larsson's avatar
      Always NULL out bg_pixmap, even when it used to be None or parent · 3e7279cf
      Alexander Larsson authored
      2002-02-24  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
      	Always NULL out bg_pixmap, even when it used to be None
      	or parent relative.
      3e7279cf
    • Havoc Pennington's avatar
      parent_class variable was GtkObjectClass instead of GObjectClass · 0ca2aa50
      Havoc Pennington authored
      2002-02-24  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextbuffer.c (parent_class): parent_class variable was
      	GtkObjectClass instead of GObjectClass
      
      	* gtk/gtktextview.c (widget_to_buffer): fix this the way
      	buffer_to_widget was fixed, to avoid duplicating
      	the code that computes text_window->allocation.x/y
      0ca2aa50
    • Owen Taylor's avatar
      Fix off-by-one error. (Pointed out by Anders Carlsson) · 8ae6ab42
      Owen Taylor authored
      Sun Feb 24 21:18:20 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
      	off-by-one error. (Pointed out by Anders Carlsson)
      8ae6ab42
    • Matthias Clasen's avatar
      Forgotten ChangeLog. · 4beaa9e4
      Matthias Clasen authored
      4beaa9e4
    • Matthias Clasen's avatar
      More GTK+ 2.0 updates. · 9f136301
      Matthias Clasen authored
      	* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
      	 GTK+ 2.0 updates.
      
      	* docs/tutorial/Makefile.am: build and dist the new tutorial, not
      	the old Linuxdoc one.
      9f136301
    • Kristian Rietveld's avatar
      free iter before going to done · 4d06c9d0
      Kristian Rietveld authored
      Mon Feb 25 01:14:26 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktextlayout.c (find_display_line_above): free iter before
              going to done
      
              * gtk/gtktreeview.c (validate_visible_area): free above_path,
              (set_destination_row): free path before returning,
              (gtk_tree_view_set_drag_dest_row): free current_dest
      4d06c9d0
  4. 24 Feb, 2002 4 commits
    • Owen Taylor's avatar
      Take border width into account. · 60c1630e
      Owen Taylor authored
      Sun Feb 24 14:15:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextview.c (widget_to_buffer): Take border
              width into account.
      
              * gtk/gtklabel.c (get_label_wrap_width): Don't use GdkFont
              to compute wrap width ... GdkFont will pull in X11 core
              fonts.
      60c1630e
    • Matthias Warkus's avatar
      Updated for release. · a93987de
      Matthias Warkus authored
      a93987de
    • Hasbullah Bin Pit's avatar
      Updated Malay Translation. · 55359006
      Hasbullah Bin Pit authored
      2002-02-24  Hasbullah Bin Pit <sebol@ikhlas.com>
      
      * ms.po: Updated Malay Translation.
      55359006
    • Owen Taylor's avatar
      Released 1.3.15. · 2bf3857a
      Owen Taylor authored
      Sun Feb 24 00:06:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * Released 1.3.15.
      
              * configure.in: Version 1.3.15, binary, interface age 0.
      
              * NEWS: Updates
      
              * configure.in: Update version requirements.
      2bf3857a