1. 05 Sep, 2004 2 commits
  2. 04 Sep, 2004 2 commits
  3. 01 Sep, 2004 7 commits
    • Matthias Clasen's avatar
      Document the return value. · f50cab88
      Matthias Clasen authored
      2004-09-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible):
      	Document the return value.
      f50cab88
    • Matthias Clasen's avatar
      Make it possible to specify additional modules to load via a setting. · 8189921f
      Matthias Clasen authored
      2004-09-01  Matthias Clasen  <mclasen@redhat.com>
      
      	Make it possible to specify additional modules to load
      	via a setting.  (#117236, Alex Graveley)
      
      	* gtk/gtkmodules.h:
      	* gtk/gtkmodules.c: New files which contain the module
      	handling code which was previously in gtkmain.[hc].
      	Additionally, the code now looks for the gtk-modules
      	setting, which can specify additional modules to load.
      
      	* gtk/gtkmain.c:
      	* gtk/gtkmain.h: Remove all the module handling code.
      
      	* gtk/gtkdebug.h: Add a debug flag for modules.
      
      	* gtk/gtk.h: Include gtkmodules.h
      
      	* gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h
      	(gtk_c_sources): Add gtkmodules.c
      
      	* gtk/gtksettings.c: Add the gtk-modules setting.
      
      	* gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
      8189921f
    • Søren Sandmann's avatar
      Make sure children of the toolbar are given positive dimensions. (149540, · 0ac4f283
      Søren Sandmann authored
      Wed Sep  1 19:11:44 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
      	children of the toolbar are given positive dimensions. (149540,
      	Felipe Heidrich).
      0ac4f283
    • Matthias Clasen's avatar
      Protect the unistd.h include by HAVE_UNISTD_H. · 951e6a1e
      Matthias Clasen authored
      2004-09-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilesystemunix.c:
      	* gtk/gtkfilechooserbutton.c: Protect the unistd.h include
      	by HAVE_UNISTD_H.
      951e6a1e
    • Matthias Clasen's avatar
      Make accel labels ellipsize correctly. (#151559, Christian Persch) · 7fdd4828
      Matthias Clasen authored
      Wed Sep  1 02:38:48 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make
      	accel labels ellipsize correctly.  (#151559, Christian Persch)
      7fdd4828
    • Matthias Clasen's avatar
      Don't leak the iter of a running animation. (#151542) · 018c353d
      Matthias Clasen authored
      Wed Sep  1 00:55:56 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkimage.c (gtk_image_clear): Don't leak the iter
      	of a running animation.  (#151542)
      018c353d
    • Matthias Clasen's avatar
      Only start a drag if the left button is pressed. (#151490, Frederic · 3c752563
      Matthias Clasen authored
      Tue Aug 31 23:24:49 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcalendar.c (gtk_calendar_main_button): Only start
      	a drag if the left button is pressed.  (#151490, Frederic Croszat)
      3c752563
  4. 31 Aug, 2004 1 commit
    • Jonathan Blandford's avatar
      constrain cell area to passed in cell_area, #147867 · 08bc7206
      Jonathan Blandford authored
      Tue Aug 31 17:07:41 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtktreeviewcolumn.c
              (gtk_tree_view_column_cell_process_action): constrain cell area to
              passed in cell_area, #147867
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): if
              ellipsizing, get_size is only 3 chars wide.
      
              * docs/tree-column-sizing.png: Add Matthias's excellent image.
      08bc7206
  5. 30 Aug, 2004 2 commits
    • Matthias Clasen's avatar
      Make it compile. · 5210bf17
      Matthias Clasen authored
      2004-08-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler): Make it compile.
      
      2004-08-27  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #151112, Olexiy Avramchenko:
      
      	* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout):
      	* gtk/gtkiconview.c (scroll_timeout, layout_callback)
      	(gtk_icon_view_item_accessible_idle_do_action):
      	* gtk/gtkcombobox.c (list_popup_resize_idle, popdown_idle)
      	(popup_idle): Protect idle callbacks and timeouts with
      	GDK_THREADS_ENTER/_LEAVE.
      
      	* gtk/gtkfilechooserbutton.c (update_dialog_idle): New function to
      	call update_dialog() from an idle with the necessary protection.
      5210bf17
    • Matthias Clasen's avatar
      Changes to make sure input methods respect the editability of entries and · 729aaa06
      Matthias Clasen authored
      
      Mon Aug 30 01:34:42 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Changes to make sure input methods respect the editability
      	of entries and text views. #114173, Noah Levitt.
      
      	* gtk/gtkentry.c (popup_targets_received): Make the Input
      	Methods menuitem insensitive if we're not editable.
      
      	* gtk/gtkentry.c (gtk_entry_delete_surrounding_cb):
      	* gtk/gtkentry.c (gtk_entry_preedit_changed_cb):
      	* gtk/gtkentry.c (gtk_entry_commit_cb): Don't change anything
      	if we're not editable.
      
      	* gtk/gtkentry.c (gtk_entry_focus_out):
      	* gtk/gtkentry.c (gtk_entry_focus_in): Only send focus_in and
      	focus_out to the im context if we're editable.
      
      	* gtk/gtkentry.c (gtk_entry_set_property): Reset the im context
      	if the entry just became non-editable.
      
      	* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler):
      	Use gtk_text_buffer_delete_interactive() to not delete
      	non-editable portions of text.
      729aaa06
  6. 27 Aug, 2004 2 commits
    • Matthias Clasen's avatar
      Don't crash if model is not set. Noted by Mariano Suarez-Alvarez. · a15842e6
      Matthias Clasen authored
      Thu Aug 26 23:58:11 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't crash
      	if model is not set. Noted by Mariano Suarez-Alvarez.
      a15842e6
    • Matthias Clasen's avatar
      Provide information about how an adjustment change in a range widget · 01bc5631
      Matthias Clasen authored
      Thu Aug 26 22:44:12 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Provide information about how an adjustment change in a range
      	widget happened. Add a "slider-moved" signal which reports how
      	a user is interacting with the range, whether they are clicking
      	on a stepper or the trough, or dragging the slider.  (#133263,
      	Thomas Fitzsimmons)
      
      	* gtk/gtkmarshalers.list: Add signal type BOOLEAN:ENUM,DOUBLE.
      	* gtk/gtkrange.c (gtk_range_class_init): Add "change-value"
      	signal.
      	(gtk_range_internal_set_value): Rename to
      	gtk_range_real_change_value.  Add GtkScrollType parameter.  Emit
      	the change-value signal when the range's value changes.
      	(update_slider_position, gtk_range_scroll_event, step_back,
      	step_forward, page_back, page_forward, scroll_begin,
      	scroll_end): Change gtk_range_internal_set_value to
      	gtk_range_real_change_value.
      	* gtk/gtkrange.h (struct _GtkRangeClass): Declare change_value
      	function.
      01bc5631
  7. 26 Aug, 2004 3 commits
    • Bill Haneman's avatar
      Fix for #131226, allow selection of singleton list items in multi-select · 3124567f
      Bill Haneman authored
      lists, via keyboard.  [on behalf of Padraig O'Briain]
      3124567f
    • Manish Singh's avatar
      remove unused gdk_font_charset_for_locale() function. · 800574e3
      Manish Singh authored
      Wed Aug 25 17:24:17 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkfont-x11.c: remove unused gdk_font_charset_for_locale()
              function.
      
              * gdk/x11/gdkinput-x11.c (_gdk_input_common_init): remove unused
              variables num_extensions and extensions.
      
              * gtk/gtkhsv.c: remove unused gtk_hsv_get_focus_gc() function.
      800574e3
    • Manish Singh's avatar
      initialize path so we don't potentially use an undefined pointer. · 95674320
      Manish Singh authored
      Wed Aug 25 17:14:58 2004  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_search_activate): initialize
              path so we don't potentially use an undefined pointer.
      
              * gtk/gtkfilechooserdefault.c (shortcuts_list_create): add G_CALLBACK
              cast for tree_view_keybinding_cb.
      
              * gtk/gtkfilechooserdefault.c (location_entry_create): cast to
              GTK_FILE_CHOOSER_ENTRY for _gtk_file_chooser_entry_set_file_part()
              calls.
      
              * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_start_editing):
              cast to GTK_COMBO_BOX for gtk_combo_box_set_active_iter() call.
      
              * gtk/gtkselection.c (selection_get_text_plain): make len a gsize,
              since that's what g_convert_with_fallback() expects.
      95674320
  8. 25 Aug, 2004 7 commits
    • Jonathan Blandford's avatar
      activate the typeahead entry on enter. · c2008c9a
      Jonathan Blandford authored
      Wed Aug 25 16:14:34 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtktreeview.c (gtk_tree_view_search_activate): activate the
              typeahead entry on enter.
      c2008c9a
    • Matthias Clasen's avatar
      Steal ATTACHED_MENUS list so its tail isn't freed when we re-set it, · 58034d80
      Matthias Clasen authored
      2004-08-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenu.c (gtk_menu_attach_to_widget): Steal ATTACHED_MENUS
      	list so its tail isn't freed when we re-set it, noticed
      	by Hans Petter Jansson.
      58034d80
    • Matthias Clasen's avatar
      Fix a typo, noticed by Tim Janik. · c1ce74bb
      Matthias Clasen authored
      2004-08-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtksizegroup.c (gtk_size_group_add_widget): Fix
      	a typo, noticed by Tim Janik.
      c1ce74bb
    • Jonathan Blandford's avatar
      Change the Down button to be end-justified, so that clicking on it is a · 50efeb81
      Jonathan Blandford authored
      Wed Aug 25 15:15:56 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Change the Down
              button to be end-justified, so that clicking on it is a stable
              operation.
      50efeb81
    • Jonathan Blandford's avatar
      Don't handle the event if we have no children. · 8bc41273
      Jonathan Blandford authored
      Tue Aug 24 02:06:37 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtktreeview.c
              (gtk_tree_view_real_expand_collapse_cursor_row): Don't handle the
              event if we have no children.
      
              * gtk/gtkfilechooserdefault.c (trap_activate_cb):
              (tree_view_keybinding_cb):Since GtkTreeView has a keybinding
               attached to '/', we need to catch keypresses before the TreeView
               gets them.
              (gtk_file_chooser_default_class_init): add '/' to be a keybinding
              to the C-l dialog.
              (location_entry_create): Clear the text to "" when loading a file.
              This has a much better feel than putting the currently selected
              in.
              * #include <errno.h>
      8bc41273
    • Matthias Clasen's avatar
      Use get_file_info() rather than trying get_folder() and checking for an · e4ef01a7
      Matthias Clasen authored
      2004-08-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserdefault.c (check_is_folder): Use get_file_info() rather
      	than trying get_folder() and checking for an error directly because older
      	versions of the gnome-vfs backend don't return an error
      	immediately.  (#150852, Zack Cerza )
      e4ef01a7
    • Matthias Clasen's avatar
      2.5.2 · 17cf0705
      Matthias Clasen authored
      17cf0705
  9. 24 Aug, 2004 5 commits
  10. 23 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Fix #150822, reported by Christian Persch · a578e113
      Matthias Clasen authored
      2004-08-23  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #150822, reported by Christian Persch
      
      	* gtk/gtklabel.c (gtk_label_ensure_layout): Set the layout width
      	appropriately when ellipsized.
      	(gtk_label_size_allocate): Only set the layout width if there
      	is a layout.
      a578e113
  11. 22 Aug, 2004 8 commits
    • Philip Langdale's avatar
      Two signals (gtk_action_sync_property and gtk_action_sync_sensitive) were · 515c055c
      Philip Langdale authored
      2004-08-22  Philip Langdale  <plangdale@vmware.com>
      
      	* gtk/gtkaction.c (gtk_action_disconnect_proxy): Two signals
      	(gtk_action_sync_property and gtk_action_sync_sensitive) were
      	not being correctly disconnected, leading to actions continuing
      	to affect disconnected proxies. (#150607)
      515c055c
    • Soeren Sandmann's avatar
      gtk/gtkexpander.c · c49739a0
      Soeren Sandmann authored
      Sun Aug 22 16:55:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkexpander.c
      	* gtk/gtkalignment.c:
      	* gtk/gtktexttag.c
      	Make enums match property names. Found by a script by Tommi
      	Komulainen.
      
      	* gtk/gtkpaned.c (gtk_paned_class_init): fix min/max mixup.
      
      Sun Aug 22 16:09:49 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.h (struct _GtkListStore):
      	* gtk/gtkliststore.c (gtk_list_store_init):
      	* gtk/gtkliststore.c (gtk_list_store_insert):
      	* gtk/gtkliststore.c (gtk_list_store_remove):
      	Restore length field; PyGTK and maybe others use it directly.
      c49739a0
    • Soeren Sandmann's avatar
      Restore length field; PyGTK and maybe others use it directly. · 34110c42
      Soeren Sandmann authored
      Sun Aug 22 16:09:49 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.h (struct _GtkListStore):
      	* gtk/gtkliststore.c (gtk_list_store_init):
      	* gtk/gtkliststore.c (gtk_list_store_insert):
      	* gtk/gtkliststore.c (gtk_list_store_remove):
      	Restore length field; PyGTK and maybe others use it directly.
      34110c42
    • Soeren Sandmann's avatar
      s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/ · 53f4405a
      Soeren Sandmann authored
      
      Sun Aug 22 15:46:56 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkpaned.c (gtk_paned_class_init):
      	s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/
      
      	* gtk/gtkfontbutton.c (gtk_font_button_class_init):
      	s/PROP_SHOW_SIZE/PROP_SHOW_STYLE/
      
      	Both pointed out by Tommi Komulainen.
      53f4405a
    • Soeren Sandmann's avatar
      Use PROP_MAX_POSITION, not PROP_MIN_POSITION for the max_position · b371e715
      Soeren Sandmann authored
      Sun Aug 22 13:44:53 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkpaned.c (gtk_paned_class_init): Use PROP_MAX_POSITION,
      	not PROP_MIN_POSITION for the max_position property. Fix pointet
      	out by Tommi Komulainen.
      b371e715
    • Soeren Sandmann's avatar
      Normalize the position so we don't create paths with off-list indices. · 9c34ec2e
      Soeren Sandmann authored
      Sun Aug 22 13:32:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.c (gtk_list_store_insert): Normalize the
      	position so we don't create paths with off-list
      	indices. (#150320).
      9c34ec2e
    • Soeren Sandmann's avatar
      Use the correct tree path (#150289, Morten Welinder). · 6b4ef37c
      Soeren Sandmann authored
      Sun Aug 22 12:04:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Use the
      	correct tree path (#150289, Morten Welinder).
      6b4ef37c
    • Matthias Clasen's avatar
      Fix #150406, reported by Fernando San Martín Woerner, patch by Gustavo · 07b5626f
      Matthias Clasen authored
      Sun Aug 22 00:08:44 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Fix #150406, reported by Fernando San Martín Woerner, patch
      	by Gustavo Carneiro.
      
      	* gtk/gtkentrycompletion.c
      	(gtk_entry_completion_default_completion_func): Check that
      	column is of type G_TYPE_STRING before proceeding.
      07b5626f