1. 06 Dec, 2003 2 commits
  2. 05 Dec, 2003 2 commits
    • Manish Singh's avatar
      Applied patch from Ross McFarland <rwmcfa1@neces.com>, initialize *count_p · 532062df
      Manish Singh authored
      Fri Dec  5 15:30:16 2003  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
              Ross McFarland <rwmcfa1@neces.com>, initialize *count_p to 0
              before doing anything to prevent garbage returns.
      532062df
    • Matthias Clasen's avatar
      Implement RTL flipping for GtkViewport: Adjust the "gravity" when resizing · 8ad788e9
      Matthias Clasen authored
      Sat Dec  6 00:23:46 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkviewport.c: Implement RTL flipping for
      	GtkViewport: Adjust the "gravity" when resizing
      	This is a bit flickery in RTL mode.  (#107526)
      
      Sat Dec  6 00:22:14 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkscrolledwindow.c: Implement RTL flipping for
      	GtkScrolledWindow: the vertical scrollbar shows up on the left
      	side in RTL mode.  (#107526)
      8ad788e9
  3. 04 Dec, 2003 2 commits
  4. 02 Dec, 2003 2 commits
    • Federico Mena Quintero's avatar
      Decouple impl->current_folder from the selection in the folder tree. This · bfa64d0c
      Federico Mena Quintero authored
      2003-12-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Decouple impl->current_folder from the selection in the folder
      	tree.  This is so that going to /home/federico/.foo (e.g. from a
      	bookmark) will work even if show_hidden == FALSE.  The folder tree
      	needs to be fixed in this case to show such folders explicitly.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_current_folder): When changing
      	folders, do the entry and list model work here, instead of
      	tree_selection_changed().
      	(struct _GtkFileChooserDefault): Added a changing_folder flag
      	again, dum de dum.
      	(tree_selection_changed): Use _gtk_file_chooser_set_current_folder_path().
      bfa64d0c
    • Matthias Clasen's avatar
      Remove duplicate declaration of gtk_icon_source_set_icon_name(). (#Jeff · 6cb4ec86
      Matthias Clasen authored
      Tue Dec  2 01:01:54 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkiconfactory.h: Remove duplicate declaration of
      	gtk_icon_source_set_icon_name().  (#Jeff Franks, #128269)
      6cb4ec86
  5. 01 Dec, 2003 2 commits
    • Federico Mena Quintero's avatar
      Patch from Hans-Petter Jansson <hpj@ximian.com> to align the bookmarks · c5dc8cf6
      Federico Mena Quintero authored
      2003-12-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Patch from Hans-Petter Jansson <hpj@ximian.com> to align the
      	bookmarks buttons with the location entry.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_constructor): Use a GtkSizeGroup for the
      	bookmarks buttons and the location entry.
      c5dc8cf6
    • Federico Mena Quintero's avatar
      Set the shortcuts tree as a drag destination. · 3efec0d6
      Federico Mena Quintero authored
      2003-12-01  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the
      	shortcuts tree as a drag destination.
      	(shortcuts_drag_data_received_cb): New callback.
      	(get_file_info): Also fetch information on whether the file is a folder.
      	(add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog().
      	(error_could_not_add_bookmark_dialog): New function.
      	(shortcuts_add_bookmark_from_path): New helper function.
      	(add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path().
      	(shortcuts_row_activated): We no longer need the changing_folder flag.
      	(struct _GtkFileChooserDefault): Likewise.
      3efec0d6
  6. 30 Nov, 2003 1 commit
    • Soeren Sandmann's avatar
      return TRUE if there are disappearing placeholders that are still visible. · 08529cde
      Soeren Sandmann authored
      Sun Nov 30 17:31:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c (slide_idle_handler): return TRUE if there are
      	disappearing placeholders that are still visible.
      
      	* gtk/gtktoolbar.c: formatting fixes
      
      	* gtk/gtktoolbar.c (struct _ToolbarContent): new bit:
      	disappearing, for placeholders that are going to disappear.
      
      	* gtk/gtktoolbar.c (get_item_size): return 0 for disappearing placeholders
      08529cde
  7. 29 Nov, 2003 1 commit
  8. 27 Nov, 2003 4 commits
    • Matthias Clasen's avatar
      Don't use freed memory. (#127698, Taavi Talvik) · 6f9b9215
      Matthias Clasen authored
      Fri Nov 28 00:26:24 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize):
      	Don't use freed memory.  (#127698, Taavi Talvik)
      6f9b9215
    • Matthias Clasen's avatar
      Remove debug g_print()s. · a2ea36c0
      Matthias Clasen authored
      Fri Nov 28 00:09:10 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserentry.c: Remove debug g_print()s.
      a2ea36c0
    • Matthias Clasen's avatar
      Remove debug define. · c9fca584
      Matthias Clasen authored
      Thu Nov 27 22:17:50 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c: Remove debug define.
      c9fca584
    • Tim Janik's avatar
      allow accel activation depending on sensitivity and the attach widget. · 448b576d
      Tim Janik authored
      Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.c: allow accel activation depending on sensitivity
              and the attach widget.
      
              * gtk/gtkmenuitem.c: allow accel activation depending on visibility,
              sensitivity and the parent menu.
      
              * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
              checks whether accelerators may activate a widget. the default handler
              demands the widget be sensitive and visible+viewable.
      
              * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
      448b576d
  9. 24 Nov, 2003 5 commits
    • Matthias Clasen's avatar
      Don't show accelerators in popup menus. (#127227) · ab0d40b3
      Matthias Clasen authored
      Tue Nov 25 00:10:05 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c (update_node): Don't show accelerators in
      	popup menus.  (#127227)
      ab0d40b3
    • Soeren Sandmann's avatar
      Make this function take a GtkRadioToolButton instead of a GtkWidget. · b7becec1
      Soeren Sandmann authored
      Mon Nov 24 04:05:15 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkradiotoolbutton.[ch]
      	(gtk_radio_tool_button_new_from_widget): Make this function take a
      	GtkRadioToolButton instead of a GtkWidget. (#127729, Murray
      	Cumming)
      b7becec1
    • Soeren Sandmann's avatar
      remove variables in_dnd and leaving_dnd · 07d63711
      Soeren Sandmann authored
      Mon Nov 24 02:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c: remove variables in_dnd and leaving_dnd
      07d63711
    • Soeren Sandmann's avatar
      remove variable n_overflowed_menu_items_when_dnd_started · cc70808f
      Soeren Sandmann authored
      Mon Nov 24 02:19:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c: remove variable
      	n_overflowed_menu_items_when_dnd_started
      cc70808f
    • Soeren Sandmann's avatar
      Rework sliding algorithm. - No more weird jumping when items are dragged · 2e98304e
      Soeren Sandmann authored
      Mon Nov 24 01:47:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Rework sliding algorithm.
      	- No more weird jumping when items are dragged off and added to
      	the toolbar,
      	- More natural item movement
      
      	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Many changes. This
      	function is now responsible for calculating intermediate positions
      	during item sliding. It is also responsible for starting sliding
      	if items disappear.  Also turn off expanding when there is an
      	overflow menu.
      	(gtk_toolbar_begin_sliding, stop_sliding): New functions.
      	(slide_idle_handler): New function. All the sliding is now done by
      	gtk_toolbar_size_allocate(), so the idle handler now just checks
      	if there is more sliding to be done.
      	(compute_intermediate_allocation, position): new functions
      	calculating intermediate steps in the slide animations. The new
      	animation algorithm uses a constant speed instead of a constant
      	must-be-finished-within time.
      	(struct _ToolbarContent): use
      	GtkAllocation goal_allocation; and
      	GtkAllocation start_allocation; instead of
      	gint start/goal_width;
      
      	* gtk/gtktoolitem.c (gtk_tool_item_set_tooltip): fix typo in
      	documentation
      2e98304e
  10. 23 Nov, 2003 1 commit
  11. 20 Nov, 2003 3 commits
  12. 19 Nov, 2003 7 commits
    • Federico Mena Quintero's avatar
      Fixes to problems reported by Iain Holmes: · e2240850
      Federico Mena Quintero authored
      2003-11-19  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes to problems reported by Iain Holmes:
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
      	throw up an error dialog if the desktop doesn't exist.
      	(error_message): Handle the case where there is no real toplevel
      	yet.
      	(list_model_filter_func): Always let folders pass through (patch
      	by Dave Malcolm).
      e2240850
    • Kristian Rietveld's avatar
      move function to a somewhat more logical place, · 64381477
      Kristian Rietveld authored
      Wed Nov 19 23:19:23 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombobox.[ch] (gtk_combo_box_scroll_event): move function
      	to a somewhat more logical place,
      	(gtk_combo_box_remove_text): New function (#125262, Owen Taylor).
      64381477
    • Kristian Rietveld's avatar
      always resize the popup when it is visible, popdown when there are less · 720873b9
      Kristian Rietveld authored
      Wed Nov 19 22:15:01 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentry.c (gtk_entry_completion_timeout): always resize
      	the popup when it is visible, popdown when there are less chars
      	than the minimum key length in the entry,
      	(gtk_entry_completion_changed): popdown when the entry is empty.
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_init): set the
      	size request of the vscrollbar to (-1, 0), to get a nicely sized
      	completion treeview (Fixes #126573, reported by Piers Cornwell),
      	(_gtk_entry_completion_resize_popup): show/hide the action_view
      	based on items.
      720873b9
    • Federico Mena Quintero's avatar
      Turn off the dialog's separator (thanks to Iain Holmes). · a4cc4cd1
      Federico Mena Quintero authored
      2003-11-19  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn
      	off the dialog's separator (thanks to Iain Holmes).
      a4cc4cd1
    • Soeren Sandmann's avatar
      set to 200 instead of 225 Impose a minimum width on items that have a · 907483c6
      Soeren Sandmann authored
      Wed Nov 19 18:15:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225
      	* gtk/gtkmenuitem.c (get_minimum_width): Impose a minimum width
      	on items that have a submenu. (#120104).
      
      Wed Nov 19 18:11:08 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c (struct _ToolbarContent): Add a new
      	"ItemState" field indicating the overflowed-ness etc. of the item.
      	(gtk_toolbar_size_allocate): update the field here.
      907483c6
    • Federico Mena Quintero's avatar
      Added a render_icon virtual method. · a3976b68
      Federico Mena Quintero authored
      2003-11-19  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
      	render_icon virtual method.
      
      	* gtk/gtkfilesystem.c (gtk_file_system_render_icon): New function.
      
      	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon):
      	Implement as a stub for now.
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Use
      	gtk_file_system_render_icon().
      	(list_icon_data_func): Likewise.
      	(toolbar_create): Set the toolbar style to icons only.
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_add_shortcut_folder_uri):
      	Fix doc comments.
      a3976b68
    • Matthias Clasen's avatar
      Call gtk_widget_hide(menu) when reattaching the menu. (#126057) · 80bb3538
      Matthias Clasen authored
      Wed Nov 19 02:18:37 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
      	gtk_widget_hide(menu) when reattaching the menu.  (#126057)
      80bb3538
  13. 18 Nov, 2003 6 commits
    • Kristian Rietveld's avatar
      only unselect all items if the treeview has focus. (Fixes bug reported by · ed77f625
      Kristian Rietveld authored
      Wed Nov 19 00:06:04 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
      	only unselect all items if the treeview has focus. (Fixes bug
      	reported by Marco Pesenti Gritti).
      ed77f625
    • Kristian Rietveld's avatar
      the total number of actions is "matches + actions - 1". (Fixes #126572). · 97dbeec9
      Kristian Rietveld authored
      Tue Nov 18 22:26:30 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
      	number of actions is "matches + actions - 1". (Fixes #126572).
      97dbeec9
    • Christian Persch's avatar
      fix mem leaks (#119435). · 7cda670d
      Christian Persch authored
      Tue Nov 18 21:05:05 2003  Christian Persch  <chp@cvs.gnome.org>
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted): fix
      	mem leaks (#119435).
      7cda670d
    • Kristian Rietveld's avatar
      don't try to fetch the child back, since we do know that it is already · a0e48897
      Kristian Rietveld authored
      Tue Nov 18 20:51:38 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): don't
      	try to fetch the child back, since we do know that it is already
      	gone by now (#126493, Marco Pesenti Gritti).
      a0e48897
    • Kristian Rietveld's avatar
      Fixes based on comments from Owen Taylor, #125264. · e9154691
      Kristian Rietveld authored
      Tue Nov 18 19:47:59 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes based on comments from Owen Taylor, #125264.
      
      	* gtk/gtkcellview.[ch] (gtk_cell_view_finalize): remove unused
      	variable,
      	(gtk_cell_view_set_value), (gtk_cell_view_set_displayed_model): queue
      	a resize,
      	(gtk_cell_view_get_size_of_row): new function,
      	(gtk_cell_view_set_value), (gtk_cell_view_set_valuesv),
      	(gtk_cell_view_set_values), (gtk_cell_view_set_model),
      	(gtk_cell_view_set_displayed_row), (gtk_cell_view_get_displayed_row):
      	s/cellview/cell_view/ in the function definitions, so they match
      	with the header file.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_remeasure): remove the resize
      	flag again (:, and use gtk_cell_view_get_size_of_row instead of
      	the measurer, remove _set_size_request call,
      	(gtk_combo_box_calc_requested_width): use gtk_cell_view_get_size_of_row
      	instead of the measurer,
      	(gtk_combo_box_style_set): queue a resize,
      	(gtk_combo_box_size_request): update of _remeasure call,
      	(gtk_combo_box_init), (gtk_combo_box_cell_layout_pack_start),
      	(gtk_combo_box_cell_layout_pack_end),
      	(gtk_combo_box_cell_layout_clear),
      	(gtk_combo_box_set_model): get rid of the measurer,
      	(gtk_combo_box_cell_layout_add_attribute),
      	(gtk_combo_box_cell_layout_set_cell_data_func),
      	(gtk_combo_box_cell_layout_clear_attributes): ditto and queue a
      	resize instead of calling _remeasure.
      e9154691
    • Manish Singh's avatar
      gdk-pixbuf/Makefile.am Use install-data-hook for gdk-pixbuf.loaders and · 477e349f
      Manish Singh authored
      Mon Nov 17 16:25:04 2003  Manish Singh <yosh@gimp.org>
      
              * gdk-pixbuf/Makefile.am
              * modules/input/Makefile.am: Use install-data-hook for
              gdk-pixbuf.loaders and gtk.immodules install generation targets.
              Fixes #112806.
      
              * gtk/gtkexpander.h: Apply missing declarations from #124449.
      477e349f
  14. 17 Nov, 2003 2 commits