1. 19 Nov, 2003 3 commits
    • 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
  2. 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
  3. 17 Nov, 2003 5 commits
    • Matthias Clasen's avatar
      Only activate if the action is sensitive. (#127187, Christian Persch) · eda4f113
      Matthias Clasen authored
      Mon Nov 17 23:36:02 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.c (gtk_action_activate): Only activate if
      	the action is sensitive.  (#127187, Christian Persch)
      eda4f113
    • Matthias Clasen's avatar
      Add mouse wheel support. (#126517) · 0725ca9d
      Matthias Clasen authored
      Mon Nov 17 23:23:49 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c: Add mouse wheel support.  (#126517)
      0725ca9d
    • Kristian Rietveld's avatar
      add _gtk_entry_completion_resize_popup. · 18154a2e
      Kristian Rietveld authored
      Mon Nov 17 22:56:09 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentryprivate.h: add _gtk_entry_completion_resize_popup.
      
      	* gtk/gtkentry.c (gtk_entry_completion_timeout): popup when not
      	mapped, else resize_popup.
      
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup),
      	(_gtk_entry_completion_popup): moved all popup resizing code to
      	_gtk_entry_completion_resize_popup, and show the window when there
      	are more than zero items in the completion list again (sigh).
      18154a2e
    • Mark McLoughlin's avatar
      Patch from Jaiserca <jaiserca@inf.upv.es> to add a "use_markup" property. · 835d755b
      Mark McLoughlin authored
      2003-11-17  Mark McLoughlin  <mark@skynet.ie>
      
              Patch from Jaiserca <jaiserca@inf.upv.es> to add a
              "use_markup" property. See bug #124449.
      
              * gtk/gtkexpander.c:
              (gtk_expander_class_init),
              (gtk_expander_init), (gtk_expander_set_property),
              (gtk_expander_get_property), (gtk_expander_set_label),
              (gtk_expander_set_use_markup),  (gtk_expander_get_use_markup):
              Add a "use_markup" property and use it when creating the
              child label.
      835d755b
    • Kristian Rietveld's avatar
      Temporary size requisition fix. Will fix it for real tonight. · 04c21b2c
      Kristian Rietveld authored
      Mon Nov 17 12:58:32 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Temporary size requisition fix. Will fix it for real tonight.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_remeasure): add a resize flag,
      	(gtk_combo_box_size_request): use gtk_combo_box_remeasure to determine
      	a good width for the child,
      	(gtk_combo_box_cell_layout_add_attribute),
      	(gtk_combo_box_set_cell_data_func),
      	(gtk_combo_box_cell_layout_clear_attributes): update.
      04c21b2c
  4. 16 Nov, 2003 3 commits
    • Kristian Rietveld's avatar
      Fixes #124373, Murray Cumming. · d777b5b4
      Kristian Rietveld authored
      Mon Nov 17 00:11:21 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes #124373, Murray Cumming.
      
      	* gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property
      	is no longer construct only,
      	(gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal),
      	(gtk_combo_box_menu_fill): new functions,
      	(gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy),
      	(gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup),
      	(gtk_combo_box_list_destroy): updated,
      	(gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed
      	functions,
      	(gtk_combo_box_set_model): is now public, updated,
      	(gtk_combo_box_get_model): small update.
      
      	* gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the
      	text_column property is no longer construct only,
      	(gtk_combo_box_entry_set_text_column): now public,
      	(gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model):
      	new/changed functions.
      
      	* tests/testcombo.c: updated.
      d777b5b4
    • Matthias Clasen's avatar
      Reinstate fixes for (#124212, Marco Pesenti Gritti): · 01d2e366
      Matthias Clasen authored
      Sun Nov 16 22:50:58 2003  Matthias Clasen  <maclas@gmx.de>
      
      	Reinstate fixes for (#124212, Marco Pesenti Gritti):
      
      	* gtk/gtkuimanager.c (update_smart_separators): Don't spit
      	warnings for popups.
      	(_gtk_menu_is_empty): Return FALSE for non-menus.
      01d2e366
    • Kristian Rietveld's avatar
      just call gtk_cell_view_cell_layout_clear instead of trying to free the · ed42eb8f
      Kristian Rietveld authored
      Sun Nov 16 21:48:40 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
      	gtk_cell_view_cell_layout_clear instead of trying to free the
      	structure ourselves here. (#125726, Morten Welinder).
      ed42eb8f
  5. 15 Nov, 2003 2 commits
    • Matthias Clasen's avatar
      Fix parameter name mismatches which confuse gtk-doc. · f7357a70
      Matthias Clasen authored
      Sun Nov 16 00:35:29 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooser.[hc]:
      	* gtk/gtkentrycompletion.h: Fix parameter name mismatches which
      	confuse gtk-doc.
      
      Sun Nov 16 00:41:48 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtk-sections.txt: Remove gtk_tool_item_[sg]et_pack_end.
      
      Sun Nov 16 00:32:18 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtk-sections.txt: Move GtkFileChooser out of the
      	private section, in order to get the autogenerated docs
      	on hierarchy, signals, properties, etc.
      f7357a70
    • Hans Breuer's avatar
      updated added all the new tests · 947b32b7
      Hans Breuer authored
      2003-11-15  Hans Breuer  <hans@breuer.org>
      
      	* gdk/makefile.msc gdk/gdk.def
                  gtk/gtk.def gtk/makefile.msc.in : updated
      	* tests/makefile.msc : added all the new tests
      
      	* gtk/gtkfilefilter.c(finalize) : initialize filter
      	from object not from itself
      
      	* gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc]
      	modified as less as posible to have aworking implementation
      	on win32. There maybe the desire to merge the unchanged pats into
      	a common base class.
      	Also implemented a simple glib based bookmark handling, which
      	is currently missing in gtkfilesystemunix.[hc] but can be copied
      	over there.
      	* gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h
      
      	* gdk/win32/gdkwindow-win32.c : implement
      	gdk_window_set_keep_above() and gdk_window_set_keep_below()
      
      	* tests/testmerge.c : don't include unistd.h unconditionally,
      	#define STDOUT_FILENO if it isn't defined
      
      	* tests/testfilechooser.c : make it compile on win32
      947b32b7
  6. 13 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Use GTK_DATADIR/{icons,pixmaps} instead of · 99a9ad8c
      Matthias Clasen authored
      Thu Nov 13 01:46:32 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_init): Use
      	GTK_DATADIR/{icons,pixmaps} instead of
      	GTK_DATA_PREFIX/{icons,pixmaps}.  (#123365, Marco Pesenti Gritti)
      99a9ad8c
  7. 12 Nov, 2003 7 commits
  8. 09 Nov, 2003 1 commit
  9. 08 Nov, 2003 2 commits
    • Matthias Clasen's avatar
      Let visible-window default to TRUE, as documented and implemented. · 035b3f32
      Matthias Clasen authored
      Sat Nov  8 21:59:30 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkeventbox.c (gtk_event_box_class_init): Let
      	visible-window default to TRUE, as documented and
      	implemented. (#126270 Damon Chaplin)
      035b3f32
    • Matthias Clasen's avatar
      Mark as 2.4 additions. · 6e6d780b
      Matthias Clasen authored
      Sat Nov  8 01:50:17 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c:
      	* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new):
      	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new):
      	* gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as
      	2.4 additions.
      6e6d780b
  10. 07 Nov, 2003 2 commits
    • Federico Mena Quintero's avatar
      Changing GtkFileChooserEntry to use GtkEntryCompletion. · 56fb0d48
      Federico Mena Quintero authored
      2003-11-07  Federico Mena Quintero  <federico@ximian.com>
      
      	Changing GtkFileChooserEntry to use GtkEntryCompletion.
      
      	* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): Create
      	a GtkListStore for the completion list.  Create a
      	GtkEntryCompletion and attach it to the chooser entry.
      	(gtk_file_chooser_entry_finalize): Unref the completion store.
      	(completion_match_func): New callback for the GtkEntryCompletion.
      	(completion_idle_callback): Fill the completion store with filenames.
      56fb0d48
    • Matthias Clasen's avatar
      Make string setters safe for self-assignment. (#122745, Soeren Sandmann) · 96fb3e88
      Matthias Clasen authored
      Fri Nov  7 22:55:49 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkwindow.c (gtk_window_set_role):
      	* gtk/gtkwindow.c (gtk_window_set_title):
      	* gtk/gtkwidget.c (gtk_widget_set_name):
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_title):
      	* gtk/gtkbutton.c (gtk_button_set_label): Make string setters
      	safe for self-assignment.  (#122745, Soeren Sandmann)
      96fb3e88
  11. 06 Nov, 2003 1 commit
  12. 05 Nov, 2003 4 commits
    • Matthias Clasen's avatar
      Improve the consistency of titles. (#126193, Damon Chaplin) · 2189dcfd
      Matthias Clasen authored
      Thu Nov  6 00:21:41 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcolorbutton.c (gtk_color_button_init):
      	* gtk/gtkfontbutton.c (gtk_font_button_init): Improve the
      	consistency of titles.  (#126193, Damon Chaplin)
      2189dcfd
    • Matthias Clasen's avatar
      Set torn off menus to be transient for the toplevel they were torn off · 3110ca2f
      Matthias Clasen authored
      Wed Nov  5 22:49:36 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Set torn off
      	menus to be transient for the toplevel they were torn off from.
      	(gtk_menu_get_toplevel): Auxiliary function to find the
      	toplevel of a menu.  (#54775, Jon-Kare Hellan)
      3110ca2f
    • Matthias Clasen's avatar
      Add readonly properties min-position and max-position. (#58431, Padraig · 65926243
      Matthias Clasen authored
      Wed Nov  5 21:07:58 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkpaned.c (gtk_paned_class_init): Add readonly properties
      	min-position and max-position.  (#58431, Padraig O'Briain)
      65926243
    • Matthias Clasen's avatar
      Change the ranges for Saturation and Value to be 0-100 instead of 0-255, · 0a80b63b
      Matthias Clasen authored
      Wed Nov  5 21:02:26 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcolorsel.c (update_color):
      	(make_label_spinbutton):
      	(adjustment_changed): Change the ranges for Saturation and
      	Value to be 0-100 instead of 0-255, since these axes of HSV
      	are usually expressed in percent.  (#121519, Gregory Merchan)
      Wed Nov  5 21:02:26 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcolorsel.c (update_color):
      	(make_label_spinbutton):
      	(adjustment_changed): Change the ranges for Saturation and
      	Value to be 0-100 instead of 0-255, since these axes of HSV
      	are usually expressed in percent.  (#121519, Gregory Merchan)
      0a80b63b
  13. 04 Nov, 2003 1 commit
    • Federico Mena Quintero's avatar
      Take in a path as well. Use a helper function. (shortcuts_append_home): · b550a979
      Federico Mena Quintero authored
      2003-11-03  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (error_dialog): Take in a path as
      	well.  Use a helper function.
      	(shortcuts_append_home): Display an error box if necessary.
      	(shortcuts_append_desktop): Likewise.
      	(add_bookmark_button_clicked_cb): Likewise.
      	(gtk_file_chooser_default_select_path): Likewise.
      	(entry_activate): Likewise.
      	(shortcuts_append_paths): New helper function.
      	(shortcuts_append_file_system_roots): Use
      	shortcuts_append_paths().
      	(shortcuts_append_bookmarks): Likewise.
      b550a979
  14. 03 Nov, 2003 2 commits