1. 12 May, 2006 2 commits
    • Alexander Larsson's avatar
      Fix build errors. · c459feaa
      Alexander Larsson authored
      2006-05-12  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkrecentmanager.c:
      	Fix build errors.
      
      	* gtk/gtk.symbols:
      	* demos/gtk-demo/printing.c:
      	* gtk/gtkprintoperation-win32.c:
      	* gtk/gtkprintoperation.[ch]:
      	* gtk/gtkprintsettings.[ch]:
      	* modules/printbackends/cups/gtkprintbackendcups.c:
      	* modules/printbackends/lpr/gtkprintbackendlpr.c:
      	* modules/printbackends/pdf/gtkprintbackendpdf.c:
      	* tests/print-editor.c:
      	* tests/testnouiprint.c:
      	* tests/testprint.c:
      	* tests/testprintfileoperation.c:
      	Rename functions from nr_of_pages to n_pages, and num_copies to
      	n_copies to match other gtk+ names.
      
      	* gtk/gtkmenu.c: (gtk_menu_popdown):
      	Only re-set window group on popdown if we set it on popup (i.e.
      	if there is a parent menu shell).
      	Fixed part of bug #340401
      
      	* gtk/gtkwindow.c:
      	Add (contruct) property "transient-for" to GtkWindow. This
      	is needed for the fix to bug #340401.
      
      	* gtk/gtkprintunixdialog.c:
      	Use the transient-for property on construction and populate the dialog
      	with widgets after that. This fixes bug #340401.
      	More n_pages renames.
      c459feaa
    • Emmanuele Bassi's avatar
      Remove the error parameter to the gtk_recent_manager_add() and · f8cfd44f
      Emmanuele Bassi authored
      2006-05-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
      
      	* gtk/gtkrecentmanager.h: Remove the error parameter to the
      	gtk_recent_manager_add() and gtk_recent_manager_add_full()
      	functions; remove the unneeded error codes from the error
      	enumeration.  (#336774).
      
      	* gtk/gtkrecentmanager.c: Make gtk_recent_manager_add() and
      	gtk_recent_manager_add_full() complain loudly about wrong or
      	missing meta-data, instead of using a GError.  (#336774)
      f8cfd44f
  2. 08 May, 2006 1 commit
    • Francisco Javier F. Serrador's avatar
      Corrected a typo. · ed63dcb5
      Francisco Javier F. Serrador authored
      2006-05-08  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
      
      	* gtk/gtkrecentmanager.c (gtk_recent_manager_add_full): Corrected
      	a typo.
      ed63dcb5
  3. 16 Apr, 2006 1 commit
  4. 11 Apr, 2006 1 commit
    • Emmanuele Bassi's avatar
      Remove the unneeded setting of the storage file inside the constructor. · 82cda939
      Emmanuele Bassi authored
      2006-04-11  Emmanuele Bassi  <ebassi@cvs.gnome.org>
      
      	* gtk/gtkrecentmanager.c (gtk_recent_manager_init)
      	(gtk_recent_manager_new): Remove the unneeded setting of the
      	storage file inside the constructor. (Murray Cumming)
      	(build_recent_items_list): Reset the dirty bit when done rebuilding
      	the list from the storage file.
      82cda939
  5. 04 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      No point in making the error path fast by caching quarks. · 8c8a4c89
      Matthias Clasen authored
      2006-04-03  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):
              * gtk/gtkrecentmanager.c (gtk_recent_manager_error_quark):
              * gtk/gtkfilechooser.c (gtk_file_chooser_error_quark):
              * gtk/gtkfilesystem.c (gtk_file_system_error_quark):
              * gtk/gtkicontheme.c (gtk_icon_theme_error_quark): No point
              in making the error path fast by caching quarks.
      8c8a4c89
  6. 02 Apr, 2006 1 commit
    • Emmanuele Bassi's avatar
      Build the items list after setting the storage file. · d86b5720
      Emmanuele Bassi authored
      2006-04-02  Emmanuele Bassi  <ebassi@cvs.gnome.org>
      
      	* gtk/gtkrecentmanager.c (gtk_recent_manager_set_filename): Build
      	the items list after setting the storage file.
      
      	* gtk/gtkrecentmanager.c (display_closed): Use the right string
      	for unsetting the default manager object from the screen.
      d86b5720
  7. 01 Apr, 2006 2 commits
  8. 31 Mar, 2006 1 commit
  9. 30 Mar, 2006 1 commit
    • Matthias Clasen's avatar
      Fix the doc comment format. · 6205777c
      Matthias Clasen authored
      2006-03-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc
      	comment format.
      
      	* gtk/gtkrecentmanager.c (gtk_recent_manager_has_item)
      	(gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item)
      	(gtk_recent_manager_get_limit, gtk_recent_manager_add_full)
      	(gtk_recent_manager_get_items, gtk_recent_manager_remove_item):
      
      	* gtk/gtkrecentfilter.c (gtk_recent_filter_add_age):
      	* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers)
      	(gtk_recent_chooser_set_sort_func):
      	* gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync
      	parameter names between .c and .h files to help gtk-doc.
      6205777c
  10. 29 Mar, 2006 1 commit
    • Emmanuele Bassi's avatar
      Import GtkRecent* from libegg. · 056f6db5
      Emmanuele Bassi authored
      2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>
      
      	Import GtkRecent* from libegg.
      
      	* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
      	for managing a list of recently used resources.
      
      	* gtk/gtkrecentchooser.[ch]:
      	* gtk/gtkrecentchooserdefault.[ch]:
      	* gtk/gtkrecentchooserdialog.[ch]:
      	* gtk/gtkrecentchoosermenu.[ch]:
      	* gtk/gtkrecentchooserprivate.h:
      	* gtk/gtkrecentchooserutils.[ch]:
      	* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
      	GTypeInterface for widgets implementing viewers for recently
      	used resources.
      
      	* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
      	for GtkRecentChooser implementations.
      
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/Makefile.am: Build glue for GtkRecent*.
      056f6db5