1. 18 Jul, 2006 6 commits
    • Federico Mena Quintero's avatar
      Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the location · 3f498adf
      Federico Mena Quintero authored
      2006-07-18  Federico Mena Quintero  <federico@novell.com>
      
      	Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the
      	location entry in Save mode preserve the stuff from
      	set_filename(); it was overwriting it with $cwd.
      
      	This is the same fix for
      	http://bugzilla.gnome.org/show_bug.cgi?id=347066
      
      	* tests/autotestfilechooser.c: (test_black_box): Added black-box
      	test for set_filename() and set_current_name().
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_get_type): Cast to
      	GClassInitFunc in the call to g_type_register_static_simple(), to
      	avoid a compiler warning.
      
      	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
      	Added a browse_files_last_selected_name field.  We'll copy the
      	logic from gtkfilesel.c to see when to clear the location entry.
      	(struct _GtkFileChooserDefault): Removed the
      	processing_pending_selections field.
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
      	Free impl->browse_files_last_selected_name.
      	(pending_select_paths_process): Don't use
      	impl->processing_pending_selections.
      	(update_chooser_entry): Keep track of the name that was last
      	selected in the file list.  We use this to know when to clear the
      	location entry.  The logic is similar to that of
      	gtkfilesel.c:gtk_file_selection_file_changed().  This also lets us
      	get rid of the processing_pending_selections flag.
      	(update_chooser_entry): Clear the entry if we didn't have a
      	selection before.
      	(location_switch_to_filename_entry): Do not set $cwd as the
      	contents of the location entry here...
      	(location_popup_handler): ... but do it here instead, only as the
      	result of the user asking to turn on the location entry.
      	(gtk_file_chooser_default_get_paths): If the location entry is
      	empty, do the fallback of seeing if it is sensible to say that
      	$cwd is the selected path.
      	(gtk_file_chooser_default_update_current_folder): Don't set the
      	text of the location entry; this is no longer needed with the
      	fixes above.
      	(shortcuts_activate_iter): Clear the location entry when
      	activating a shortcut if we are not in SAVE mode.  This keeps the
      	contents of the location entry consistent even when switching
      	folders via the shortcuts.
      3f498adf
    • Michael Natterer's avatar
      remember the sensitivity of the steppers in GtkRangeLayout, update it in · 73e31871
      Michael Natterer authored
      2006-07-18  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkrange.c: remember the sensitivity of the steppers in
      	GtkRangeLayout, update it in gtk_range_calc_layout() and check for
      	changes in layout_changed(), so adjustment changes that leave the
      	slider position unchanged are still able to update the steppers'
      	sensitivity. Fixes bug #347902.
      73e31871
    • Kristian Rietveld's avatar
      oooops. · 66180232
      Kristian Rietveld authored
      2006-07-18  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
      	oooops.
      66180232
    • Kristian Rietveld's avatar
      Fix for #335012, reported by Matteo Nastasi. · 36329391
      Kristian Rietveld authored
      2006-07-18  Kristian Rietveld  <kris@imendio.com>
      
      	Fix for #335012, reported by Matteo Nastasi.
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_start_editing): if the
      	requested space of the editable is smaller than the cell area,
      	put it up above the middle of the cell area.
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
      	configure the inner border to cover the cell area if the
      	entry requisition is smaller than the cell_area.
      36329391
    • Kristian Rietveld's avatar
      Another fix for #164884. · 61f4d77d
      Kristian Rietveld authored
      2006-07-18  Kristian Rietveld  <kris@imendio.com>
      
      	Another fix for #164884.
      
      	* gtk/gtktreeprivate.h: add in_grab field.
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_press): only save press
      	to possibly begin a drag when there's no grab pending,
      	(gtk_tree_view_grab_notify): toggle in_grab field.
      61f4d77d
    • Kristian Rietveld's avatar
      use MAX priv->width, alloc.width when allocating the bin_window, · 6ca1b1e6
      Kristian Rietveld authored
      2006-07-18  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_realize): use MAX
      	priv->width, alloc.width when allocating the bin_window,
      	(gtk_tree_view_bin_expose): don't overrun bin_window when drawing
      	the flat box.
      6ca1b1e6
  2. 17 Jul, 2006 14 commits
  3. 14 Jul, 2006 1 commit
  4. 11 Jul, 2006 1 commit
    • Emmanuele Bassi's avatar
      Check if the chooser implementation supports the "show-number" property · 2ce00112
      Emmanuele Bassi authored
      2006-07-11  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers),
      	(gtk_recent_chooser_get_show_numbers): Check if the chooser
      	implementation supports the "show-number" property and use a
      	meaningful warning in case it doesn't; tell developers not to
      	use these functions.
      2ce00112
  5. 10 Jul, 2006 9 commits
  6. 09 Jul, 2006 3 commits
  7. 08 Jul, 2006 1 commit
  8. 07 Jul, 2006 3 commits
  9. 06 Jul, 2006 2 commits