1. 01 Feb, 2002 5 commits
  2. 31 Jan, 2002 6 commits
    • Jonathan Blandford's avatar
      unref the model after the last use, not before. · 5759992c
      Jonathan Blandford authored
      Thu Jan 31 18:46:10 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
      	model after the last use, not before.
      5759992c
    • Owen Taylor's avatar
      Install a Default RC file that sets the tooltips color to yellow. (#58542) · cb26587f
      Owen Taylor authored
      Thu Jan 31 14:50:16 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkrc.default gtk/Makefile.am: Install a Default
              RC file that sets the tooltips color to yellow. (#58542)
      
              * gtk/gtksettings.c (gtk_settings_class_init): make
              the default theme "Default", not NULL.
      cb26587f
    • Owen Taylor's avatar
      Fix another missing static. · 16072555
      Owen Taylor authored
      Thu Jan 31 11:33:52 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkproperty-x11.c (insert_atom_pair): Fix
              another missing static.
      
              * gtk/gtkimmodule.c (n_loaded_contexts): And another.
      
              * gdk/x11/Makefile.am gdk/x11/gxid_lib.c: Don't
              build gxid sources at all except in the vanishingly
              rare case of --with-xinput=xfree.
      16072555
    • Mark McLoughlin's avatar
      make static. · 60dd9e54
      Mark McLoughlin authored
      2002-01-31  Mark McLoughlin  <mark@skynet.ie>
      
              * gdk/gdkimage.c: (scratch_image_info_for_depth): make static.
      
              * gdk/x11/gdkimage-x11.c: (get_full_image): ditto.
      
              * gdk/x11/gxid_lib.[ch]: (_gxid_claim_device), (_gxid_release_device):
              renamed from gxid_(claim|release)_device.
      
              * gdk/x11/gdkinput-gxi.c: (_gdk_input_enable_window),
              (_gdk_input_disable_window): upd for gxid change.
      
              * gtk/gtkimage.c: (animation_timeout): make static.
      
              * gtk/gtkstyle.c: (draw_thin_shadow), (draw_spin_entry_shadow): make
              static.
      
              * gtk/gtktextutil.c: (bidi_menu_entries): make static.
      60dd9e54
    • Owen Taylor's avatar
      Handle the case where bin->child is NULL. (#70153, Padraig O'Briain) · bb3ddb39
      Owen Taylor authored
      Thu Jan 31 10:21:05 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.c (gtk_plug_focus): Handle the case where
              bin->child is NULL. (#70153, Padraig O'Briain)
      
              * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
              Actually call gettext() on the labels; previously they
              were marked with N_() but we never called gettext().
      bb3ddb39
    • Jonathan Blandford's avatar
      save last minute changes before committing. · 9725d995
      Jonathan Blandford authored
      Wed Jan 30 20:15:49 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
      	changes before committing.
      9725d995
  3. 30 Jan, 2002 15 commits
    • Jonathan Blandford's avatar
      only emit the signal if an interesting column changes. · 78d39ef5
      Jonathan Blandford authored
      Wed Jan 30 18:46:14 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_set_valist): only emit the
      	signal if an interesting column changes.
      
      	* gtk/gtktreestore.c: ditto.
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_cursor): change behavior so
      	that it no longer grabs
      78d39ef5
    • Manish Singh's avatar
      remove unused variable. · 2cfa52b1
      Manish Singh authored
      2002-01-30  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkhandlebox.c (gtk_handle_box_destroy): remove unused
              variable.
      
              * gtk/gtkwindow.c (gtk_window_get_icon): function returns a value,
              so return NULL with g_return_val_if_fail instead of g_return_if_fail.
      2cfa52b1
    • Matthias Clasen's avatar
      Add bug number to my last entry. · 53e72650
      Matthias Clasen authored
      53e72650
    • Matthias Clasen's avatar
    • Anders Carlsson's avatar
      Allow a -1 icon size. · 95ab2a72
      Anders Carlsson authored
      2002-01-30  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkstyle.c (gtk_default_render_icon): Allow a -1 icon size.
      95ab2a72
    • Tim Janik's avatar
      fix revrted bug fix. (use a define for max digits). · bb974b6b
      Tim Janik authored
      Wed Jan 30 20:29:01 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkscale.c (gtk_scale_set_digits): fix revrted bug fix.
              (use a define for max digits).
      bb974b6b
    • Owen Taylor's avatar
      Try to make sure that we have some focused widget on map. (#50339) · 2a9af2ff
      Owen Taylor authored
      Wed Jan 30 13:55:59 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_show): Try to make
      	sure that we have some focused widget on map. (#50339)
      
      	* gtk/gtkdialog.c (gtk_dialog_map): Handling picking
      	a focus widget here differently so that if a
      	response button gets picked, it's the default one.
      
      	* tests/testgtk.c (make_message_dialog): Set the
      	default response for the dialogs.
      2a9af2ff
    • Owen Taylor's avatar
      1.3.13 · 4e8a284f
      Owen Taylor authored
      Tue Jan 29 22:52:36 2002  Owen Taylor  <otaylor@redhat.com>
      
              * 1.3.13
      
              * configure.in: Micro version 13, interface, binary
              age 0. Require GLIB-1.3.13, Pango 0.24.
      
              * docs/Makefile.am (EXTRA_DIST): Add widget_geometry.txt,
              sizing-test.txt, tree-column-sizing.txt
      
              * docs/Makefile.am (EXTRA_DIST): Don't distribute
              Changes-1.2.txt, Changes-2.0.txt, README.linux-fb,
              since they are no longer canonical.
      
              * gtk/gtk.def: Convert spaces to tabs in front of
              gtk_widget_set_accel_path in case it matters.
      
              * NEWS: Updated for 1.3.13.
      4e8a284f
    • Owen Taylor's avatar
      Export gtk_widget_set_accel_path(). · eb5f7ace
      Owen Taylor authored
      Tue Jan 29 22:31:07 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.[ch] gtkmenuitem.c gtkitemfactory.c: Export
              gtk_widget_set_accel_path().
      
              * gtk/gtk.def: Add gtk_widget_set_accel_path.
      eb5f7ace
    • 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
      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
  4. 29 Jan, 2002 14 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
    • 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