1. 02 Jan, 2002 4 commits
    • Anders Carlsson's avatar
      Rename gtk_tree_view_queue_draw_node to _gtk_tree_view_queue_draw_node. · 88edb0e5
      Anders Carlsson authored
      2002-01-03  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c: Rename gtk_tree_view_queue_draw_node to
      	_gtk_tree_view_queue_draw_node.
      	(gtk_tree_view_row_has_child_toggled): Only redraw one node.
      
      	* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func):
      	sort_column_id can be 0.
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_real_select_node):
      	Only redraw one the node being selected.
      
      	* gtk/gtktreeprivate.h: Add _gtk_tree_view_queue_draw_node.
      88edb0e5
    • Tim Janik's avatar
      don't ignore realized but visible && !mapped resize containers (which is · bc879373
      Tim Janik authored
      Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
              realized but visible && !mapped resize containers (which is
              possible with unset CHILD_VISIBLE now).
      bc879373
    • jacob berkman's avatar
      automake still doesn't support libsomething_la_LDFLAGS, so fix the build · 11ae67f9
      jacob berkman authored
      2002-01-02  jacob berkman  <jacob@ximian.com>
      
      	* gtk/Makefile.am (LDFLAGS): automake still doesn't support
      	libsomething_la_LDFLAGS, so fix the build again
      11ae67f9
    • Havoc Pennington's avatar
      propagate exposes to no window children not in the buffer window. · 290e4efd
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_expose_event): propagate
      	exposes to no window children not in the buffer window.
      	(gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab
      	- is this the right way to do it?
      	(gtk_text_view_focus): add focus method, just chains up for now,
      	I'm not sure why the GtkContainer implementation doesn't work
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill
      	in the text line for the child anchor segment
      
      	* tests/testtext.c (do_add_focus_children): add another test
      	example (to put focusable buttons into the widget)
      290e4efd
  2. 01 Jan, 2002 4 commits
    • Havoc Pennington's avatar
      move README.linux-fb in here · e7153de0
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/framebuffer.sgml: move README.linux-fb in here
      
      	* gtk/tmpl/gtkpreview.sgml: explain what to use instead
      
      	* gtk/tmpl/gtkseparator.sgml: typo fix
      
      	* gtk/tmpl/gtkstock.sgml: add some overview docs
      
      	* gtk/Makefile.am (content_files): add new files
      
      	* gtk/changes-1.2.sgml: move Changes-1.2.txt in here
      
      	* gtk/changes-2.0.sgml: move Changes-2.0.txt in here
      
      	* gdk/tmpl/threads.sgml: mention gdk_threads_init() in the
      	overview docs, copy in the examples from the FAQ
      
      	* gtk/gtk-docs.sgml: change DTD to 3.1, and add
      	question_index.sgml and changes-1.2, changes-2.0
      
      	* gtk/tmpl/gtkdrawingarea.sgml: fixups to reflect 2.0 changes
      
      	* gtk/question_index.sgml: new section with question-based
      	index of the manual
      
      	* gtk/text_widget.sgml: fix some cross-references
      
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* docs/README.linux-fb: note that this file is obsolete
      
      	* docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these
      	files that they should not be edited and look in the reference
      	manual instead. Probably these files should just be replaced by
      	the note, and their main contents deleted.
      
      	* gtk/gtktextview.c: docs
      
      	* gtk/gtktextmark.c: docs
      
      	* gtk/gtktextchild.c: docs
      
      	* gtk/gtktextbuffer.c: docs stuff
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe
      	give people more leads in sorting out PRIMARY vs. CLIPBOARD
      e7153de0
    • Tor Lillqvist's avatar
      Append EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource. · c8940d6f
      Tor Lillqvist authored
      2002-01-01  Tor Lillqvist  <tml@iki.fi>
      
      	* demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to
      	../gdk-pixbuf/gdk-pixbuf-csource.
      
      2001-12-31  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error
      	handling.
      	(gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall.
      
      	* gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc
      	-Wall.  Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in
      	one more place.
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc
      	-Wall.
      
      	* gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32.
      c8940d6f
    • Havoc Pennington's avatar
      docs updates, mention that invisible property isn't implemented · 07e5b7f6
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
      	property isn't implemented
      
      	* gtk/text_widget.sgml: small tweaks
      
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
      	fix
      07e5b7f6
    • Havoc Pennington's avatar
      Replace call to gtk_widget_size_request() that expected to actually · 6ee899e5
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (changed_handler): Replace call to
      	gtk_widget_size_request() that expected to actually compute the
      	request with a direct use of widget_class->size_request, so we get
      	our size request right; fixes remaining part of #63065 reported by
      	Matthias Clasen
      6ee899e5
  3. 31 Dec, 2001 5 commits
  4. 30 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Additions. · d925a72d
      Matthias Clasen authored
              * gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml,
              gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkimcontextsimple.sgml: Additions.
      
              * gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks.
      d925a72d
  5. 29 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      GDK instead of Gdk. · 5b291073
      Matthias Clasen authored
              * gdk-pixbuf/porting-from-imlib.sgml: GDK instead of Gdk.
      
              * gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml: Replace references to
              deprecated functions.
      
              * gdk/tmpl/event_structs.sgml, gdk/tmpl/gcs.sgml,
              gdk/tmpl/images.sgml: Replace references to deprecated functions.
      
              * gdk/tmpl/properties.sgml, gdk/tmpl/selections.sgml: Additions.
      
              * gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c:
              Minor documentation tweaks.
      5b291073
  6. 28 Dec, 2001 1 commit
  7. 27 Dec, 2001 6 commits
    • Owen Taylor's avatar
      Make interpretation of misc->xpad/ypad consistent with GtkLabel. Do · 6d51fcd9
      Owen Taylor authored
      Thu Dec 27 16:05:30 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation
              of misc->xpad/ypad consistent with GtkLabel. Do
              directional flipping when interpreting misc->xalign/yalign.
              Fix off-by-one error for negative x,y. (#67472, reported
              by Mathieu Lacage)
      6d51fcd9
    • Owen Taylor's avatar
      Remove optimization that was causing problems because we called · 7aeb18a5
      Owen Taylor authored
      Thu Dec 27 15:45:41 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_style_internal):
      	Remove optimization that was causing problems because
      	we called gtk_widget_size_request() before we called
      	gtk_widget_queue_resize() so RESIZE_NEEDED was not
      	set. Optimization shouldn't mattter now that we
      	are smart about needlessly size requesting or allocating
      	widgets. (#67598, reported by Jacob Berkman)
      7aeb18a5
    • Owen Taylor's avatar
      Call gdk_window_get_pointer() on menu->bin_window not menu->window, so we · 095d7c33
      Owen Taylor authored
      Thu Dec 27 15:38:20 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
              Call gdk_window_get_pointer() on menu->bin_window not
              menu->window, so we get the correct window for the
              menu item. (#65213, Guillermo S. Romero)
      095d7c33
    • Owen Taylor's avatar
      Allow unsetting the title by setting to NULL. Move docs inline. Update the · aae695ab
      Owen Taylor authored
      Thu Dec 27 15:13:44 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
      	the title by setting to NULL. Move docs inline.
      	Update the title if the tearoff window already
      	exists. Code cleanup. (Fixes #65190, reported by
      	Vitaly Tishkov.)
      aae695ab
    • Owen Taylor's avatar
      gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key · 95f4d72e
      Owen Taylor authored
      Thu Dec 27 14:04:22 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtksocket.c (gtk_socket_key_press_event):
      	gtk/gtkplug.c (gtk_plug_key_press_event): Don't do
      	special handling of key presses unless we are doing
      	iter-app embedding. (Fixes #67590, Anders Carlsson)
      95f4d72e
    • Kristian Rietveld's avatar
      fix a few places where I was confused between modelsort iters and other · 2282ef41
      Kristian Rietveld authored
      Thu Dec 27 16:37:04 2001  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted),
              (gtk_tree_model_sort_sort_level),
              (gtk_tree_model_sort_insert_value): fix a few places where
              I was confused between modelsort iters and other iters. This was
              really going to happen someday ;)
      2282ef41
  8. 26 Dec, 2001 5 commits
    • Kristian Rietveld's avatar
      ensure we are unprelighted before reordering · 51ba1729
      Kristian Rietveld authored
      Wed Dec 26 23:41:41 2001  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure
              we are unprelighted before reordering
      
              * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we
              need to break out of the for loop, not return
      
              * gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to
              be pretty stable now, though it still needs some more code
              cleanups.
      51ba1729
    • Owen Taylor's avatar
      Document the fact that gtk_paned_set_handle_size() has been removed. · c56a3caa
      Owen Taylor authored
      Wed Dec 26 12:32:31 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* docs/Changes-2.0.txt: Document the fact that
      	gtk_paned_set_handle_size() has been removed.
      
      	* gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro,
      	since it pointed to gtk_paned_set_handle_size(), which
      	was removed. (#66760, Matt Wilson)
      c56a3caa
    • Owen Taylor's avatar
      Connect gtk_drag_hightlight_expose _after_, so it works with widgets that · 1a0be4a6
      Owen Taylor authored
      Wed Dec 26 12:28:24 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c (gtk_drag_highlight): Connect
              gtk_drag_hightlight_expose _after_, so it works with
              widgets that paint there entire background. (#66735)
      1a0be4a6
    • Owen Taylor's avatar
      Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.) · b48e255d
      Owen Taylor authored
      Wed Dec 26 12:17:06 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.c (gtk_plug_size_allocate): Assign the
              allocation to widget->allocation. (Fixes #67290,
              Chris Phelps.)
      b48e255d
    • Owen Taylor's avatar
      (#67542, reported by Anders Carlsson) · e1033f5f
      Owen Taylor authored
      Wed Dec 26 11:49:01 2001  Owen Taylor  <otaylor@redhat.com>
      
              (#67542, reported by Anders Carlsson)
      
              * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
              rc_style->font_desc with defaul style instead of replacing
              it.
      
              * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
              font descriptions in RC styles by calling
              pango_font_description_merge().
      e1033f5f
  9. 24 Dec, 2001 1 commit
  10. 23 Dec, 2001 1 commit
    • Owen Taylor's avatar
      1.3.12, interface, binary age 0. · cd607046
      Owen Taylor authored
      Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: 1.3.12, interface, binary age 0.
      
              * configure.in: Require new versions of Glib, Pango, ATK.
      
              * NEWS: Updated.
      
              * configure.in: Make explicit what libtool we are executing.
              (Tomas Ogren)
      
              * gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes.
      
              * gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix
              parameter names for docs.
      
      Sat Dec 22 22:35:29 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_realize)
                gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK.
      
              * gtk/gtkentry.c (gtk_entry_key_release)
                gtk/gtktextview.c (gtk_text_view_key_release_event): Pass
              key release events to the input method.
      
              * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
              Handle release of Control/Shift to end hex sequence.
      
              * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):         Handle key releases as well as presses.
      cd607046
  11. 20 Dec, 2001 3 commits
    • Matthias Clasen's avatar
      Forgotten log entry. · cd7243df
      Matthias Clasen authored
      cd7243df
    • Matthias Clasen's avatar
      More precise documentation about underscores and mnemonics. (#66380) · 3aabcd28
      Matthias Clasen authored
              * gtk/gtklabel.c (gtk_label_new_with_mnemonic),
              gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise
              documentation about underscores and mnemonics. (#66380)
      
              * gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix
              cyclic reference in docs.
      
              * gtk/gtklabel.c (gtk_label_set_justify): Correct documentation
              of default value. (#65402)
      
              * gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale):
              Markup fixes.
      
              * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
              gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
              gdk-pixdata.c: Markup fixes.
      
              * gtk/text_widget.sgml: More precise wording. (#63388)
      
              * gtk/tmpl/gtksignal.sgml (GTK_SIGNAL_OFFSET): Add docs.
      
              * gtk/resources.sgml: Fix markup of mail URLs.
      
              * gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkobject.sgml: Markup fixes.
      
              * gtk/tmpl/gtktoolbar.sgml (gtk_toolbar_{prepend,append}_element):
              Expand documentation. (#60471)
      
              * gtk/tmpl/gtkmain.sgml: Remove misleading information about
              gtk_set_locale().  (#65758)
      3aabcd28
    • Anders Carlsson's avatar
      Don't call map here. · ecfd1aff
      Anders Carlsson authored
      2001-12-20  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_realize): Don't call
      	map here.
      ecfd1aff
  12. 18 Dec, 2001 3 commits
  13. 17 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      Add Unicode control char menu, based on patch from Dov. Bug #63495 · 8a44bc04
      Havoc Pennington authored
      2001-12-06  Havoc Pennington  <hp@redhat.com>
      
              Add Unicode control char menu, based on patch from Dov.
              Bug #63495
      
              * gtk/gtkentry.c (gtk_entry_commit_cb): share code via
              gtk_entry_enter_text
              (gtk_entry_enter_text): function to do "typing in text"
              (popup_targets_received): add the Unicode menu items
      
              * gtk/gtktextview.c (popup_targets_received): add missing mnemonic
              on Input Methods item, and add the unicode menu items.
      
              * gtk/gtktextutil.h, gtk/gtktextutil.c: private utilities to be
              used in GtkEntry and GtkTextView - may become public later.
      8a44bc04
  14. 16 Dec, 2001 1 commit
    • Kjartan Maraas's avatar
      Fix a typo. Fix a typo. · b1a099e9
      Kjartan Maraas authored
      2001-12-16  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gtk/gtkprogressbar.c: Fix a typo.
      	* gtk/gtkpaned.c: Fix a typo.
      b1a099e9
  15. 15 Dec, 2001 2 commits
    • Darin Adler's avatar
      Fix some warnings. · 20a870a6
      Darin Adler authored
      	* gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in
      	g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *).
      	* gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL
      	* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local.
      	* gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local.
      	* gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment):
      	Restructure loop to get rid of uninitialized variable warning. Also
      	gives a tiny efficiency gain.
      20a870a6
    • Murray Cumming's avatar
      Fixed first arg type of GtkScale's format_value signal's function pointer. · e1bb381e
      Murray Cumming authored
      * Fixed first arg type of GtkScale's format_value signal's
      function pointer.
      e1bb381e
  16. 14 Dec, 2001 1 commit