1. 22 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Require Pango 1.5.1 (for ellipsisation). · ccb1f08e
      Matthias Clasen authored
      Thu Jul 22 01:05:16 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* configure.in: Require Pango 1.5.1 (for ellipsisation).
      
      	* gtk/gtklabel.h:
      	* gtk/gtklabel.c (gtk_label_class_init): Add a new :ellipsise
      	property which controls ellipsisation of the label.  (#125250,
      	Tim Van Wassenhove, patch by James M. Cape)
      
      	* tests/testellipsise.c: Simple test for ellipsisation.
      ccb1f08e
  2. 15 Mar, 2004 1 commit
  3. 11 Mar, 2004 2 commits
    • Owen Taylor's avatar
      Fix a missing return value. · 796d15ef
      Owen Taylor authored
      Thu Mar 11 14:07:18 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtklabel.c (gtk_label_focus): Fix a missing return
              value.
      796d15ef
    • Owen Taylor's avatar
      Back out the put-labels-into-the-standard-focus-chain patches from bug · b5ddc23b
      Owen Taylor authored
      Thu Mar 11 13:58:24 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the
              put-labels-into-the-standard-focus-chain patches
              from bug #59707.
      
              * gtk/gtklabel.c (gtk_label_focus): Only put the
              label in the tab chain when the control key is pressed.
      b5ddc23b
  4. 06 Mar, 2004 1 commit
  5. 01 Mar, 2004 1 commit
    • Owen Taylor's avatar
      Handle dynamically resolved bidi direction when drawing the cursor. · fa4514af
      Owen Taylor authored
      Mon Mar  1 12:23:06 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtklabel.c: Handle dynamically resolved bidi direction
              when drawing the cursor. (#118541)
      
              * gtk/gtkentry.c (get_better_cursor_x): Use entry->resolved_dir;
      
              * gtk/gtkentry.c (draw_insertion_cursor): Fix up
              some confusion in parameter ordering.
      fa4514af
  6. 26 Feb, 2004 1 commit
    • Owen Taylor's avatar
      hu Feb 26 15:43:43 2004 Owen Taylor <otaylor@redhat.com> · 0459484c
      Owen Taylor authored
              * gtk/gtkstyle.[ch]: Export insertion cursor drawing functionality
              in a simplified form as gtk_draw_insertion_cursor().
              (#99031, request from Alex Larsson)
      
              * gtk/gtktextdisplay.c gtk/gtkentry.c gtk/gtklabel.c:
              Adapt to new gtk_draw_insertion_cursor().
      
              * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init)
              gtk/gtkstyle.c (gtk_style_class_init): Add some missed
              Since: 2.4.
      
              * gtk/gtkiconfactory.c (icon_size_settings_changed)
                gtk/gtkicontheme.c (do_theme_change)
                gtk/gtkrc.c (_gtk_rc_context_get_default_font_name)
              * gtk/gtksettings.c (gtk_settings_notify):
              _gtk_rc_reset_styles => gtk_rc_reset_styles.
      0459484c
  7. 25 Feb, 2004 1 commit
  8. 04 Feb, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #59707. · 9a98cd8f
      Federico Mena Quintero authored
      2004-02-04  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #59707.
      
      	* gtk/gtklabel.c (gtk_label_focus): Removed, so we don't ignore
      	the focus chain.
      	(gtk_label_button_press): Fix prototype.
      	(gtk_label_button_release): Likewise.
      	(gtk_label_motion): Likewise.
      
      	* tests/testgtk.c (create_message_dialog): For the dialog with
      	only GTK_BUTTONS_CLOSE, make GTK_RESPONSE_CLOSE the default.
      9a98cd8f
  9. 03 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Right-justify labels in rtl mode. (#129071, chinen@jp.ibm.com) · 362158dc
      Matthias Clasen authored
      Tue Feb  3 02:04:44 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtklabel.c (gtk_label_ensure_layout): Right-justify labels
      	in rtl mode.  (#129071, chinen@jp.ibm.com)
      
      Tue Feb  3 02:01:25 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Exchange the
      	meaning GTK_MENU_DIR_PARENT/CHILD and GTK_MENU_DIR_PREV/NEXT in rtl
      	mode.  (#107528)
      362158dc
  10. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  11. 04 Dec, 2003 1 commit
  12. 31 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Deprecate gtk_paned_computed_position(). (#97077) · 2435e831
      Matthias Clasen authored
      2003-01-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
      
      	* gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
      	and gtk_input_* functions.  (#71596)
      
      	* gtk/gtkentry.c (gtk_entry_move_cursor):
      	* gtk/gtklabel.c (gtk_label_move_cursor): Handle
      	GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
      
      	* gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs().  (#79803)
      
      	* gtk/gtkitemfactory.h:
      	* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate.
      	(#69244)
      
      	* gtk/tmpl/gtkmain.sgml: Deprecate the gtk_timeout_*, gtk_idle_*
      	and gtk_input_* functions.  (#71596)
      2435e831
  13. 10 Dec, 2002 1 commit
    • Soeren Sandmann's avatar
      new default color scheme based on the GNOME stock icon palette. (#80691, · 439d61b9
      Soeren Sandmann authored
      Tue Dec 10 12:40:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenuitem.c, gtk/gtkstyle.c, gtk/gtkrc.c: new default
      	color scheme based on the GNOME stock icon palette. (#80691,
      	Tuomas Kuosmanen, Garrett LeSage, Owen Taylor)
      
      	* gtk/gtknotebook.c (gtk_notebook_real_remove): take a new
      	parameter, "destroying", and don't emit the switch-page signals
      	when it is true (fix #64832, reported by Jarred Keuch)
      
      	* gtk/gtklabel.c (gtk_label_set_property): remove unused
      	variable.
      439d61b9
  14. 12 Nov, 2002 1 commit
    • Owen Taylor's avatar
      Add _gtk_window_unset_focus_and_default(), use to clear the focus and · ff9c2c56
      Owen Taylor authored
      Tue Nov 12 15:13:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.c gtk/gtkwindow.[ch]: Add
              _gtk_window_unset_focus_and_default(), use to clear
              the focus and default out of parts of the widget
              heirarchy that we are hiding.
      
              * gtk/gtkwidget.c (gtk_widget_propagate_screen_changed_recurse):
              Fix typo that was resulting in missed screen-change
              notifies.
      
              * gtk/gtkwindow.c (do_focus_change): Allow for
              widget->window == NULL.
      
              * gtk/gtklabel.c (gtk_label_screen_changed): Clear the
              layout here not in hierarchy changed to handle the case
              where the toplevel was moved between screens.
      ff9c2c56
  15. 05 Oct, 2002 1 commit
    • Manish Singh's avatar
      deprecation cleanup · 8b6a832f
      Manish Singh authored
      Sat Oct  5 16:11:22 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkmisc.[ch] gtk/gtklabel.[ch] gtk/gtkimage.[ch]
              gtk/gtkdrawingarea.[ch] gtk/gtknotebook.[ch]: deprecation cleanup
      8b6a832f
  16. 02 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf · 6cb79658
      Owen Taylor authored
      Wed Oct  2 17:46:53 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
              gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf
              as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual
              function to draw_pixbuf. (#60582)
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]):
              Note that these functions are obsolete in the docs.
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
              Remove all the sanity checks now we make it clear
              that it is obsolete name for gdk_draw_pixbuf().
      
              * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c
                gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c
                tests/testrgb.c: Use gdk_draw_pixbuf() everywhere.
      
              * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix
              some warnings.
      
              * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed
              bit from last gdk_event_get_screen() change.
      
              * gdk/gdkevents.c: Couple of small fixes.i
      6cb79658
  17. 30 Sep, 2002 1 commit
  18. 27 Sep, 2002 1 commit
    • Owen Taylor's avatar
      ri Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com> · f3f02c0e
      Owen Taylor authored
              * gtk/gtklabel.c : Replaced instances where strlen (label->label) is
              used to get a byte code with strlen (label->text) as label->text
              contains the actual display text, while label->label contains
              markup / mnemonics. (#92683, Patch from Shivram U
              <shivaram.upadhyayula@wipro.com>, with some additions.)
      
              * gtk/gtklabel.c (gtk_label_set_uline_text_internal):
              Fix a leftover, now incorrect comment.
      f3f02c0e
  19. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	gtk/gtkwindow.c:
      
      	Minor documentation fixes
      
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
      	 #73306)
      77eee887
  20. 05 Aug, 2002 1 commit
  21. 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
  22. 14 May, 2002 1 commit
    • Owen Taylor's avatar
      Set the width of the layout to the actual wrap width (our requisition) not · 11aed263
      Owen Taylor authored
      Tue May 14 16:44:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtklabel.c (gtk_label_ensure_layout): Set
              the width of the layout to the actual wrap width
              (our requisition) not the width we set when calculating
              the width. This results in the lines being justified
              within the correct area. (#79157, Anders Carlsson)
      
              * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
              registered parameter types of "accel_activate" and
              "accel_changed" signals. (Patch from Murray Cumming, #78798)
      
              * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
              binary-version and type to correspond to the
              current ordering in _gtk_get_module_path.
              (#78746, Sergey Kuzminov)
      
              * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
              pointing to the GTK_PATH documentation.
      
              * gtk/Makefile.am (uninstall-local): Delete
              key themes as well. (#81286, Kristian Rietveld.)
      11aed263
  23. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  24. 12 Apr, 2002 1 commit
  25. 03 Mar, 2002 1 commit
    • 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
  26. 25 Feb, 2002 1 commit
    • 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
  27. 24 Feb, 2002 1 commit
    • 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
  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. 14 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Patch from Bill Haneman and Padraig O'Briain to add cursor_aspect_ratio · 8f5c2c76
      Owen Taylor authored
      Thu Feb 14 16:46:48 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.c gtk/gtktextdisplay.c gtk/gtklabel.c
      	gtk/gtkstyle.[ch] gtk/gtkwidget.c: Patch from Bill
      	Haneman and Padraig O'Briain to add cursor_aspect_ratio
      	style property to GtkWidget to allow theming the aspect
      	ratio of the cursor.
      
      	* gtk/gtkentry.c gtk/gtktextview.c gtk/gtklabel.c
      	gtk/gtkwidget.c tests/testgtkrc: Move cursor-color style property
      	to GtkWidget.
      8f5c2c76
  30. 08 Feb, 2002 1 commit
    • Darin Adler's avatar
      isspace -> g_ascii_isspace Remove gdki8n.h include. Remove <ctype.h> · 6ec06edb
      Darin Adler authored
      	* demos/gtk-demo/main.c: (load_file): isspace -> g_ascii_isspace
      	* gdk/x11/gdkim-x11.c: Remove gdki8n.h include.
      	* gdk/x11/gdkkeys-x11.c: Remove <ctype.h> include.
      	* gdk/x11/gdkmain-x11.c: Remove <ctype.h> include.
      	* gtk/fnmatch.c: Remove <ctype.h> include.
      	* gtk/gtkaccelgroup.c: Remove <ctype.h> include.
      	* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): toupper ->
      	g_unichar_toupper, toupper -> g_unichar_totile
      	* gtk/gtkbindings.c: Remove <ctype.h> include.
      	* gtk/gtkfontsel.c: Remove <ctype.h> include.
      	* gtk/gtkiconfactory.c: Remove <ctype.h> include.
      	* gtk/gtkinputdialog.c: Remove <ctype.h> include.
      	* gtk/gtklabel.c: Remove <ctype.h> include.
      	* gtk/gtkmain.c: Remove <ctype.h> include.
      	* gtk/gtkmenu.c: Remove <ctype.h> include.
      	* gtk/gtkoldeditable.c: Remove <ctype.h> include.
      	* gtk/gtkrc.c: Remove <ctype.h> include.
      	* gtk/gtktextbtree.c: Remove <ctype.h> include.
      	* gtk/gtktextiter.c: Remove <ctype.h> include.
      	* gtk/gtktextsegment.c: Remove <ctype.h> include.
      6ec06edb
  31. 28 Jan, 2002 1 commit
  32. 27 Jan, 2002 1 commit
  33. 12 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      sgml fixes · c627d729
      Havoc Pennington authored
      2002-01-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/running.sgml: sgml fixes
      
      	* gtk/tmpl/gtksignal.sgml: sgml fixes
      
      	* gtk/tmpl/gtklabel.sgml: do the intro section
      
      2002-01-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtklabel.c: put in more links to Pango markup format docs
      	(gtk_label_set_justify): mention gtk_misc_set_alignment
      c627d729
  34. 20 Dec, 2001 1 commit
    • 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
  35. 12 Dec, 2001 1 commit
  36. 11 Dec, 2001 1 commit
  37. 06 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Fix docs. (#66383) · 31df9723
      Matthias Clasen authored
              * gtk/gtklabel.c: Fix docs. (#66383)
      
              * gtk/gtkbbox.c (gtk_button_box_set_child_secondary): Fix docs.
              (#66278, #66280)
      
              * gdk/gdkwindow.h (gdk_window_get_deskrelative_origin),
              gdk/gdkimage.h (gdk_image_get): Deprecate. (#66208)
      
              * gtk/gtkcolorsel.c (gtk_color_selection_set_update_policy):
              Don't emit a g_warning() about being deprecated. (#66208)
      
              * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_widget): Add docs.
      
              * gtk/gtkcontainer.c: Doc fixes.
      
              * gtk/gtkliststore.c (gtk_list_store_clear): Add docs; misc doc fixes.
      
              * gtk/gtkstyle.c (gtk_style_attach): Add docs.
      
              * gdk-pixbuf.h (gdk_pixbuf_ref, gdk_pixbuf_unref,
              gdk_pixbuf_animation_ref, gdk_pixbuf_animation_unref):
              Deprecate. (#66208)
      
              * gtk/tmpl/gtklabel.sgml: Remove redundant docs. (#66383)
      
              * gtk/tree_widget.sgml: Typo fix. (#66256)
      
              * gdk-pixbuf/Makefile.am (SCAN_OPTIONS): Add --deprecated-guards.
      
              * gtk/tmpl/gtktext.sgml, gtk/tmpl/gtktree.sgml,
              gtk/tmpl/gtktreeitem.sgml: Updates.
      31df9723
  38. 03 Dec, 2001 1 commit
    • Alexander Larsson's avatar
      Return FALSE from expose handlers. · c7cd3421
      Alexander Larsson authored
      2001-12-03  Alex Larsson  <alexl@redhat.com>
      
      	* gtk/gtkaccellabel.c:
      	* gtk/gtkarrow.c:
      	* gtk/gtkcolorsel.c:
      	* gtk/gtkcontainer.c:
      	* gtk/gtklabel.c:
      	* gtk/gtktextview.c:
      	* gtk/gtktogglebutton.c:
      	* gtk/gtktreeview.c:
      	* gtk/gtkwindow.c:
      	Return FALSE from expose handlers.
      c7cd3421
  39. 19 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Change default for justify to GTK_JUSTIFY_LEFT. Assuming that multiline · 96e6febe
      Owen Taylor authored
      Mon Nov 19 14:08:18 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_init): Change default for
      	justify to GTK_JUSTIFY_LEFT. Assuming that multiline
      	labels are most often wrapped labels, this gives better
      	compatibility with GTK+-1.2, where justification was
      	ignored for wrapped labesl and is a more sensible
      	default in any case. (#64489)
      
      	* gtk/gtklabel.c (gtk_label_class_init): Fix default
      	for wrap property to FALSE.
      96e6febe