1. 30 Jan, 2002 7 commits
    • Owen Taylor's avatar
      Consistently use GdkModifierType. (#66950, Mark Patton) · a75a0d49
      Owen Taylor authored
      Tue Jan 29 21:50:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkaccelmap.[ch] gtk/gtkbindings.[ch] gtk/gtkwidget.[ch]:
              Consistently use GdkModifierType. (#66950, Mark Patton)
      
              * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock):
              For consistency with gtk_button_new_from_stock(), fall back
              to gtk_image_menu_item_new_with_mnemnonic(). (#65944,
              Havoc Pennington)
      
              * gtk/gtkitemfactory.[ch] (gtk_item_factory_path_from_widget):
              Make G_CONST_RETURN. (#68527, Matt Wilson)
      a75a0d49
    • Owen Taylor's avatar
      Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, · 36655ffa
      Owen Taylor authored
      Tue Jan 29 19:51:05 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkenums.h: Deprecate GtkPreviewType,
              GtkSignalRunType, GtkSideType, GtkSubmenuPlacement, GtkSubmenuDirection
              (#68183, Matthias Clasen)
      
              * gtk/gtkmenuitem.h: Remove _gtk_menu_item_set_placement() from
              the public header to avoid having to use GtkSubmenuPlacement.
      
              * gtk/{gtkmenuitem.c,gtkmenubar.c,gtkmenushell.c}: #define
              GTK_MENU_INTERNALS to preserve access to GtkSubmenu*.
      
              * gdk/gdki18n.h: Deprecate contents. (Darin Adler.)
      36655ffa
    • Owen Taylor's avatar
      Document that the end points are included in the range. (#69783, Jeffrey · 9602e6c3
      Owen Taylor authored
      Tue Jan 29 20:56:13 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtk[vh]scale.c (gtk_[vh]scale_new_with_range): Document
              that the end points are included in the range. (#69783,
              Jeffrey Baker)
      9602e6c3
    • Owen Taylor's avatar
      Revert the last changes to make the number of digits only effect drawing, · ebebafc0
      Owen Taylor authored
      Tue Jan 29 20:38:04 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkscale.[ch]: Revert the last changes to make the
              number of digits only effect drawing, instead, don't
              round unless we are in the 'draw_value' mode -- this
              is the behavior of GTK+-1.2, and keeps the behavior that
              if the user sees a displayed value, it is the correct value.
      ebebafc0
    • Owen Taylor's avatar
      ue Jan 29 19:51:05 2002 Owen Taylor <otaylor@redhat.com> · ea4135b0
      Owen Taylor authored
              * gtk/gtkenums.h: Deprecate GtkPreviewType,
              GtkSignalRunType, GtkSideType, GtkSubmenuPlacement, GtkSubmenuDirection
              (#68183, Matthias Clasen)
      
              * gtk/gtkmenuitem.h: Remove _gtk_menu_item_set_placement() from
              the public header to avoid having to use GtkSubmenuPlacement.
      
              * gtk/{gtkmenuitem.c,gtkmenubar.c,gtkmenushell.c}: #define
              GTK_MENU_INTERNALS to preserve access to GtkSubmenu*.
      
              * gdk/gdki18n.h: Deprecate contents. (Darin Adler.)
      ea4135b0
    • Owen Taylor's avatar
      Fix wrong usage of g_value_set/get_object for PROP_TABS and memory leak in · f40f1d91
      Owen Taylor authored
      Tue Jan 29 19:32:47 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextview.c (gtk_text_view_get/set_property):
              Fix wrong usage of g_value_set/get_object for PROP_TABS
              and memory leak in getter for PROP_TABS. (Jeff Franks)
      f40f1d91
    • Owen Taylor's avatar
      Document that a size of (GtkIconSize)-1 means don't scale. · 6488296f
      Owen Taylor authored
      Tue Jan 29 19:04:41 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkstyle.c (gtk_style_render_icon): Document that
              a size of (GtkIconSize)-1 means don't scale.
      
              * gtk/gtkstyle.c (gtk_default_render_icon): Obey the
              -1 convention.
      
              * gtk/gtkimage.c (gtk_image_expose): Pass in -1 to
              gtk_style_render_icon() to make sure that we catch it
              obviously if the style's render function tries to
              scale.
      6488296f
  2. 29 Jan, 2002 19 commits
    • Havoc Pennington's avatar
      Optimize exposes of partial insensitive images. · 708b3f40
      Havoc Pennington authored
      Tue Jan 29 18:50:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkimage.c (gtk_image_expose): Optimize exposes of
              partial insensitive images.
      
      2002-01-24  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtkimage.c (gtk_image_expose): create insensitive version of
              the image regardless of storage type, #63305
      
              * demos/gtk-demo/images.c: add toggle button to demonstrate that
              GtkImage makes its contents insensitive
      708b3f40
    • Owen Taylor's avatar
      Call _gdk_draw_pixbuf(), thus enabling using this function for pixbufs · ccb90778
      Owen Taylor authored
      Tue Jan 29 17:40:02 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
              Call _gdk_draw_pixbuf(), thus enabling using this function
              for pixbufs with alpha. (#68801)
      
              * gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Move
              implementation of gdk_pixbuf_render_to_drawable()
              to here.
      ccb90778
    • Owen Taylor's avatar
      Patch from Jacob Berkman to fix problem when the height/width of a layout · d3b83098
      Owen Taylor authored
      Tue Jan 29 17:16:17 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtklayout.c: Patch from Jacob Berkman to fix problem
              when the height/width of a layout was set before the
              adjustments were added. (#66294)
      
              * gtk/gtktreeview.c: Warning cleanups.
      d3b83098
    • Owen Taylor's avatar
      Small fix to size of torn off window (#60271, Detlef Reichl) · c12b1607
      Owen Taylor authored
      Tue Jan 29 16:35:04 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
      	fix to size of torn off window (#60271, Detlef Reichl)
      
      	* gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
      	by Ross Burton)
      c12b1607
    • Kristian Rietveld's avatar
      free cursor_path after usage · 6284428f
      Kristian Rietveld authored
      Tue Jan 29 18:50:46 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
              cursor_path after usage
              (gtk_tree_view_real_start_interactive_search): use new g_signal
              and g_object calls
              (gtk_tree_view_search_dialog_destroy): use g_object calls and free
              selected_iter if set
              (gtk_tree_view_search_position_func): rework so it will never ever
              appear offscreen (#68492)
              (gtk_tree_view_search_move): use new g_object calls
              (gtk_tree_view_search_init): free selected_iter if set, use new
              g_object calls
              (gtk_tree_view_leave_notify): don't destroy interactive search
              dialog
      
      Tue Jan 29 23:07:03 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
              send focus in event
              (gtk_tree_view_search_dialog_destroy): send focus out event (#66466)
      6284428f
    • Chyla Zbigniew's avatar
    • Anders Carlsson's avatar
      Show correct size in the size entry. · 1ae1f1ba
      Anders Carlsson authored
      2002-01-29  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
      	size in the size entry.
      1ae1f1ba
    • Owen Taylor's avatar
      Use gtk_tree_view_set_cursor() instead of · eb508600
      Owen Taylor authored
      Tue Jan 29 16:11:55 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
      	gtk_tree_view_set_cursor() instead of gtk_tree_selection_select_iter().
      
      	* gtk/gtkfontsel.c (gtk_font_selection_init): Add mnemonic to
      	preview field. (#52433, patch from Anders Carlsson)
      
      	* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Remove the
      	dialog separator. (#69558, Alex Larsson, patch from Anders Carlsson)
      eb508600
    • Owen Taylor's avatar
      Switch over to GtkTreeView from GtkCList. Remove the entries above the · 833b99fc
      Owen Taylor authored
      Tue Jan 29 15:24:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfontsel.[ch]: Switch over to GtkTreeView from
              GtkCList. Remove the entries above the font/face lists
              since they were a little confusing. (Not sure about this
              change, so the code is still there the entries are
              just hidden.) (#68890)
      
              * gtk/gtkfilesel.c: Switch over to GtkTreeView from
              GtkCList. Add mnemonics for fileops. Allow Control/Shift
              Tab to focus out.
      
              * gtk/gtkfilesel.c: Make fileop dialogs transient-for
              the fileselector. (#69336, patch from Melvin Hadasht)
      
              * gtk/gtkgamma.c (button_clicked_callback): Fix handling
              of gamma dialog a bit. (#69336, Matthias Clasen.)
      833b99fc
    • Owen Taylor's avatar
      Return boolean (and FALSE from focus_in / focus_out handlers. (#69528, · 53ca7137
      Owen Taylor authored
      Tue Jan 29 14:56:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtksocket.c (toplevel_focus_out_handler): Return boolean
              (and FALSE from focus_in / focus_out handlers. (#69528,
              Padraig O'Briain)
      53ca7137
    • Owen Taylor's avatar
      Remove the scary startup warning. · b2388ec7
      Owen Taylor authored
      Tue Jan 29 14:47:54 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmain.c (gtk_init_check): Remove the scary startup
              warning.
      b2388ec7
    • Owen Taylor's avatar
      Add <Control>Tab bindings for "move-focus" so that Control-Tab to escape · 854372b9
      Owen Taylor authored
      Tue Jan 29 14:24:49 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_class_init): Add <Control>Tab
              bindings for "move-focus" so that Control-Tab to escape from
              something that eats Tab just works if not otherwise overriden.
      
              * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range)
              * gtk/gtkvscale.c (gtk_vscale_new_with_range)
              * gtk/gtkhscale.c (gtk_hscale_new_with_range): Use a page_size
              of zero for the adjustment, since at times we think that the range
              is lower to upper - page_size. A page size equally to the
              step_increment is, in any case, not meaningful.
      854372b9
    • Tor Lillqvist's avatar
      Add comment about gtk-1-3-win32-production branch currently being ahead in · cac17ab7
      Tor Lillqvist authored
      2002-01-29  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Add comment about gtk-1-3-win32-production branch
       	currently being ahead in functionality and code cleanliness (in
       	gdk/win32). Just in case somebody looks at the code in gdk/win32
       	here and starts fixing it, when it is going to change soonish
       	anyway.
      cac17ab7
    • Sven Neumann's avatar
      don't install an empty icon_set if none of the image files could be found · 16ce67f8
      Sven Neumann authored
      2002-01-29  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkrc.c: don't install an empty icon_set if none of the image
      	files could be found in the pixmap_path (bug #69398).
      16ce67f8
    • Sven Neumann's avatar
      fixed a segfault that showed up when using the color picker. · 2c0e16e4
      Sven Neumann authored
      2002-01-29  Sven Neumann  <sven@gimp.org>
      
      	* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
      	that showed up when using the color picker.
      2c0e16e4
    • Tim Janik's avatar
      fix default value for ::digits property, leave as 1 as per havoc's · c8a1ae5b
      Tim Janik authored
      Tue Jan 29 11:51:14 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkscale.[hc]: fix default value for ::digits property,
              leave as 1 as per havoc's request.
              don't apply the draw_digits value to range->round_digits,
              so we don't perform gross quantization by default.
      c8a1ae5b
    • Havoc Pennington's avatar
      fix assertion failure by creating the line data, but not validating it at · 5d82c0a4
      Havoc Pennington authored
      2002-01-25  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtktextbtree.c (_gtk_text_btree_delete): fix assertion
              failure by creating the line data, but not validating it at this
              stage. Also, remove old code related to the "bogus newline" mess
              that removed all tags from the last char in the buffer if you
              tried to delete it.
              (_gtk_text_line_data_new): put this here and prepend underscore,
              remove from gtktextlayout.c
      5d82c0a4
    • Chyla Zbigniew's avatar
    • Owen Taylor's avatar
      modules/input/imhangul.c modules/input/imhangul-defs.h po/POTFILES.in. Add · 1de50ecf
      Owen Taylor authored
      Mon Jan 28 19:57:39 2002  Owen Taylor  <otaylor@redhat.com>
      
              * modules/input/imhangul.c modules/input/imhangul-defs.h
              po/POTFILES.in. Add port of Emacs korean-hangul input
              method from Yusuke Tabata (#67665)
      1de50ecf
  3. 28 Jan, 2002 14 commits