1. 11 Oct, 2003 8 commits
    • Matthias Clasen's avatar
      Move GET_PRIVATE macros from header to implementation. · 9119557b
      Matthias Clasen authored
      Sun Oct 12 01:10:29 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkalignment.[hc]:
      	* gtk/gtkcombobox.[hc]:
      	* gtk/gtkcomboboxentry.[hc]:
      	* gtk/gtktreemodelfilter.[hc]: Move GET_PRIVATE macros
      	from header to implementation.
      9119557b
    • Matthias Clasen's avatar
      Add the get_type() functions for GtkEntryCompletion, GtkTreeModelFilter, · c4739fb5
      Matthias Clasen authored
      Sun Oct 12 00:33:48 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtk.types: Add the get_type() functions for
      	GtkEntryCompletion, GtkTreeModelFilter, GtkCellLayout,
      	GtkComboBox, GtkComboBoxEntry.
      c4739fb5
    • Matthias Clasen's avatar
      These files still use option menus, so turn off GTK_DISABLE_DEPRECATED to · 99925612
      Matthias Clasen authored
      Sun Oct 12 00:18:02 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testtreeview.c:
      	* demos/testpixbuf-scale.c:
      	* tests/prop-editor.c: These files still use option menus,
      	so turn off GTK_DISABLE_DEPRECATED to fix the build.
      99925612
    • Matthias Clasen's avatar
      Add G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. (#124351, · c44e5b00
      Matthias Clasen authored
      Sat Oct 11 23:14:36 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.h:
      	* gtk/gtkaction.h:
      	* gtk/gtkradioaction.h:
      	* gtk/gtkradiotoolbutton.h:
      	* gtk/gtkseparatortoolitem.h:
      	* gtk/gtktoggleaction.h:
      	* gtk/gtktoolitem.h:
      	* gtk/gtkuimanager.h: Add G_BEGIN_DECLS/G_END_DECLS to make
      	these usable in C++.  (#124351, Murray Cumming)
      c44e5b00
    • Kristian Rietveld's avatar
      Check if completion is non-NULL before accessing it. Oops. · 407e957c
      Kristian Rietveld authored
      Sat Oct 11 19:09:05 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentry.c (gtk_entry_set_text): Check if completion is
      	non-NULL before accessing it. Oops.
      407e957c
    • Kristian Rietveld's avatar
      the gchar* parameters should be const (pointed out by both Marco Pesenti · 761a6745
      Kristian Rietveld authored
      Sat Oct 11 15:47:03 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
      	(gtk_entry_completion_insert_action_text),
      	(gtk_entry_completion_insert_action_markup): the gchar* parameters
      	should be const (pointed out by both Marco Pesenti Gritti and
      	Murray Cumming (#124356).
      761a6745
    • Kristian Rietveld's avatar
      for the custom child list mode, allocate the height allocation->height to · d75b1a1a
      Kristian Rietveld authored
      Sat Oct 11 15:37:19 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
      	child list mode, allocate the height allocation->height to the
      	button instead of the height requested by the button. (Tiny
      	size allocation screwup noticed by Macro Pesenti Gritti).
      d75b1a1a
    • Kristian Rietveld's avatar
      Fixes based on comments from Marco Pesenti Gritti. · c3841e70
      Kristian Rietveld authored
      Sat Oct 11 15:23:27 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes based on comments from Marco Pesenti Gritti.
      
      	* gtk/gtkentry.c (gtk_entry_set_text): block the completion changed
      	signal handler, avoids the completion popup to popup when text is
      	set programmatically in most cases (we actually have to handle this
      	in the _editable functions as well, but that will break popping up
      	when the user actually typed something :),
      	(gtk_entry_completion_key_press): when handling enter, bail out
      	when nothing has been selected,
      	(gtk_entry_completion_changed): don't popdown when the entry content
      	changed.
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_init),
      	(gtk_entry_completion_selected_changed): unselect_all on the
      	first selected changed signal. Avoids having a default row selected,
      	(_gtk_entry_completion_popup): don't select the first row by default.
      
      	* gtk/gtkentryprivate.h (struct _GtkEntryCompletionPrivate): add a
      	first_sel_changed field.
      c3841e70
  2. 10 Oct, 2003 4 commits
    • Matthias Clasen's avatar
      Included gtk_progress_bar_get_orientation() in the list of undeprecated · 3b2003c9
      Matthias Clasen authored
      Sat Oct 11 00:18:46 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/tmpl/gtkprogressbar.sgml: Included
      	gtk_progress_bar_get_orientation() in the list of undeprecated
      	functions, use less clumsy markup for enumerations.
      3b2003c9
    • Matthias Clasen's avatar
      Replace GtkItemFactory by GtkUIManager in the intro (again). · dd548173
      Matthias Clasen authored
      Fri Oct 10 23:02:58 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* demos/gtk-demo/menus.c: Replace GtkItemFactory by GtkUIManager
      	in the intro (again).
      dd548173
    • Matthias Clasen's avatar
      Fixes for (#124212, Marco Pesenti Gritti): · e8bcc9af
      Matthias Clasen authored
      Fri Oct 10 22:50:05 2003  Matthias Clasen  <maclas@gmx.de>
      
      	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.
      e8bcc9af
    • Kristian Rietveld's avatar
      Deprecate. Ditto. · e6100ecd
      Kristian Rietveld authored
      Fri Oct 10 19:10:12 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombo.h: Deprecate.
      	* gtk/gtkoptionmenu.h: Ditto.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_size_request),
      	(gtk_combo_box_size_allocate): Rework, things behave better now. Still
      	needs some work on requesting enough size when taking the items in
      	the list into account.
      
      	* gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable
      	deprecated" guards.
      	* gtk/gtkinputdialog.c: ditto.
      	* gtk/gtkitemfactory.c: ditto.
      	* gtk/gtkoptionmenu.c: ditto.
      
      	* demos/gtk-demo/menus.c: remove the option menu.
      	* demos/gtk-demo/sizegroup.c: replace the option menus with
      	GtkComboBox.
      	* demos/gtk-demo/textview.c: ditto.
      	(A general GtkComboBox demo will be added later on).
      e6100ecd
  3. 09 Oct, 2003 2 commits
    • Federico Mena Quintero's avatar
      7d9c4f6e
    • Federico Mena Quintero's avatar
      Autosize the columns after the model is set. (shortcuts_append_path): Add · 3415416b
      Federico Mena Quintero authored
      2003-10-08  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (tree_selection_changed): Autosize
      	the columns after the model is set.
      	(shortcuts_append_path): Add optional indentation to items.
      	(shortcuts_append_bookmarks): Indent bookmark items.
      	(create_shortcuts_tree): Set the "xpad" attribute of the name
      	renderer to be fetched from the indent column.
      	(shortcuts_append_bookmarks): Use NULL for the name of the
      	bookmarks node, so that a separator gets drawn.
      	(create_shortcuts_tree): Create a GtkCellRendererSepText.
      
      	* gtkcellrendererseptext.[ch]: New files with a cell renderer that
      	can display text or a separator line.
      
      	* Makefile.am (libgtkfilechooser_la_SOURCES): Added
      	gtkcellrendererseptext.[ch].
      3415416b
  4. 08 Oct, 2003 2 commits
    • Raymond Penners's avatar
      Released 0.5.0 · 52595ffa
      Raymond Penners authored
      52595ffa
    • Federico Mena Quintero's avatar
      Added methods for ::get_supports_bookmarks(), ::set_bookmarks(), · 462aab4a
      Federico Mena Quintero authored
      2003-10-07  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilesystem.h (struct _GtkFileSystemIface): Added methods for
      	::get_supports_bookmarks(), ::set_bookmarks(), ::list_bookmarks().
      	Added a ::bookmarks_changed() signal.
      
      	* gtkfilesystem.c (gtk_file_system_get_supports_bookmarks): New function.
      	(gtk_file_system_set_bookmarks): New function.
      	(gtk_file_system_list_bookmarks): New function.
      	(gtk_file_system_base_init): Create the "bookmarks-changed" signal.
      	(gtk_file_paths_copy): New function.
      
      	* gtkfilesystemunix.c (gtk_file_system_unix_get_supports_bookmarks): Implement.
      	(gtk_file_system_unix_set_bookmarks): Implement.
      	(gtk_file_system_unix_get_bookmarks): Implement.
      
      	* gtkfilesystemgnomevfs.c (struct _GtkFileSystemGnomeVFS): Added
      	fields for the bookmarks and the GConfClient.
      	(gtk_file_system_gnome_vfs_set_bookmarks): Implement.
      	(gtk_file_system_gnome_vfs_list_bookmarks): Implement.
      
      	* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Added
      	methods for ::set_shortcut_folders(), ::list_shortcut_folders().
      
      	* gtkfilechooser.c (gtk_file_chooser_set_shortcut_folders): New
      	function.
      	(gtk_file_chooser_list_shortcut_folders): New function.
      
      	* gtkfilechooserimpldefault.c (create_shortcuts_model): Unref the
      	old shortcuts model if it exists.  Create the nodes for the
      	app-specific shortcut folders.
      	(struct _GtkFileChooserImplDefault): Added a field for the
      	shortcut_folders.
      	(gtk_file_chooser_impl_default_set_shortcut_folders): Implement.
      	(select_shortcuts_folder): New helper function.
      	(gtk_file_chooser_impl_default_set_current_folder): Use
      	select_shortcuts_folder().
      	(shortcuts_append_path): Get the file info here, instead of the
      	caller.
      	(shortcuts_append_home): Use shortcuts_append_path().
      	(shortcuts_append_file_system_roots): Likewise.
      	(create_shortcuts_model): Add the app-specific shortcut folders
      	and the bookmarks.
      	(gtk_file_chooser_impl_default_list_shortcut_folders): Implement.
      	(create_shortcuts_tree): Added a button to let the user add the
      	current folder to the bookmarks.
      	(gtk_file_chooser_impl_default_set_property): Connect to
      	"bookmarks-changed" on the file system.
      	(shortcuts_append_bookmarks): New function.
      
      	* configure.ac: Depend on GConf.
      462aab4a
  5. 07 Oct, 2003 16 commits
  6. 06 Oct, 2003 6 commits
  7. 05 Oct, 2003 2 commits