1. 21 May, 2008 1 commit
    • Matthias Clasen's avatar
      RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size · 59ae44d0
      Matthias Clasen authored
              was chosen
      
              Patch by Marek Kasik.
      
              * gtk/gtk.symbols:
              * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
      
              * gtk/gtkprintbackend.[hc]: Add fallback implementation.
      
              * modules/printbackends/file/gtkprintbackendfile.c:
              * modules/printbackends/cups/gtkprintbackendcups.c: Implement
              get_default_page_size.
      
              * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
              select its default paper size.
      
              * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
              use the printer default.
      
              * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
              if we don't have a default page setup.
      
      svn path=/trunk/; revision=20120
      59ae44d0
  2. 20 May, 2008 3 commits
  3. 19 May, 2008 2 commits
    • Federico Mena Quintero's avatar
      bgo322298 - Make the file chooser dialog always resizable · 20ee3a02
      Federico Mena Quintero authored
      2008-05-19  Federico Mena Quintero  <federico@novell.com>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
      	can't be resized until you expand the "Browse for other folders"
      	section.
      
      	* gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
      	Removed the "get_resizable" method.
      	(_gtk_file_chooser_embed_get_resizable): Removed.
      
      	* gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
      
      	* gtk/gtkfilechooserdefault.c: Likewise.
      
      	* gtk/gtkfilechooserdialog.c
      	(file_chooser_widget_default_size_changed): Act as if the dialog
      	were always resizable.
      Signed-off-by: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=20113
      20ee3a02
    • Michael Natterer's avatar
      gtk/gtkcellrenderer.c gtk/gtkcellrendererpixbuf.c · 02fd7ba0
      Michael Natterer authored
      2008-05-19  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcellrenderer.c
      	* gtk/gtkcellrendererpixbuf.c
      	* gtk/gtkcellrenderertoggle.c
      	* gtk/gtkimagemenuitem.c
      	* gtk/gtkmenutoolbutton.c
      	* gtk/gtkoptionmenu.c
      	* gtk/gtkstatusbar.c
      	* gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
      
      
      svn path=/trunk/; revision=20112
      02fd7ba0
  4. 16 May, 2008 1 commit
  5. 12 May, 2008 2 commits
  6. 11 May, 2008 1 commit
    • Yair Hershkovitz's avatar
      call g_i18n_init() in gettext_initialization(). do gettext_initialization · 670775d8
      Yair Hershkovitz authored
      2008-05-11  Yair Hershkovitz  <yairhr@gmail.com>
      
              * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
              gettext_initialization only once.
      
              *  gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
              duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext 
              with the extended functionality that was in the removed dpgettext().
      
              * gtk/gtkaccellabelc:
              * gtk/gtkstock.c:
              * gtk/gtkimmulticontext.c:
              * gtk/gtkactiongroup.c:
              * gtk/gtkintl.h: use glib i18n api.
      
      
      svn path=/trunk/; revision=20091
      670775d8
  7. 06 May, 2008 1 commit
  8. 05 May, 2008 2 commits
    • Matthias Clasen's avatar
      Apply a patch by Marek Kasik <mkasik@redhat.com> to display more printer · 348b66f3
      Matthias Clasen authored
      2008-05-05  Matthias Clasen  <mclasen@redhat.com>
      
              Apply a patch by Marek Kasik <mkasik@redhat.com> to display
              more printer status information in the print dialog.
      
              * modules/printbackends/cups/gtkprintbackendcups.c: Translate
              printer-state-reasons into suitable messages and icons.
      
              * gtk/stock-icons/16/gtk-print-error.{svg,png}:
              * gtk/stock-icons/16/gtk-print-report.{svg,png}:
              * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
              * gtk/Makefile.am:
              * gtk/gtkstock.h: New stock icons to display printer state.
      
      
      svn path=/trunk/; revision=20076
      348b66f3
    • Michael Natterer's avatar
      gtk/gtkcellrenderercombo.h gtk/gtkcellrendererspin.h style cleanups for · 80b99a7e
      Michael Natterer authored
      2008-05-05  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcellrenderercombo.h
      	* gtk/gtkcellrendererspin.h
      	* gtk/gtkfilechooserbutton.h: style cleanups for the sake of
      	consistency.
      
      	* gtk/gtkfilechooserdialog.h
      	* gtk/gtkfilechooserwidget.h
      	* gtk/gtkscalebutton.h: reorder instance and class structs to be
      	in canonical order.
      
      
      svn path=/trunk/; revision=20074
      80b99a7e
  9. 02 May, 2008 1 commit
  10. 01 May, 2008 1 commit
  11. 25 Apr, 2008 4 commits
    • Björn Lindqvist's avatar
      Use existing window size when painting the flat box instead of · 8b8b77b0
      Björn Lindqvist authored
      2008-04-25  Björn Lindqvist  <bjourne@gmail.com>
      
      	* gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
      	painting the flat box instead of recalculating it. (#437493,
      	Ricardo Cruz)
      
      svn path=/trunk/; revision=20045
      8b8b77b0
    • Johan Dahlin's avatar
      include <atk/atk.h> instead of <atk/atkobject.h> · 60f33a23
      Johan Dahlin authored
      2008-04-25  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
      
      
      svn path=/trunk/; revision=20043
      60f33a23
    • Michael Natterer's avatar
      include <pango/pango.h> instead of <pango/pango-layout.h>. · 53dd0547
      Michael Natterer authored
      2008-04-25  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkprintcontext.h: include <pango/pango.h> instead of
      	<pango/pango-layout.h>.
      
      	* gtk/gtkiconfactory.c
      	* gtk/gtkimmodule.c
      	* gtk/gtkmain.c
      	* gtk/gtkmodules.c
      	* gtk/queryimmodules.c: remove inclusion of single files from
      	pango, none of them was actually needed.
      
      	* modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
      	<pango/pango-utils.h>.
      
      
      svn path=/trunk/; revision=20042
      53dd0547
    • Michael Natterer's avatar
      include <gdk/gdk.h> instead of <gdk/gdkscreen.h>. · 824f7604
      Michael Natterer authored
      2008-04-25  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
      	<gdk/gdkscreen.h>.
      
      
      svn path=/trunk/; revision=20040
      824f7604
  12. 21 Apr, 2008 1 commit
  13. 18 Apr, 2008 4 commits
  14. 17 Apr, 2008 2 commits
  15. 16 Apr, 2008 4 commits
    • Matthias Clasen's avatar
      Sync xdgmime to the copy in gio · 475c3f5e
      Matthias Clasen authored
      svn path=/trunk/; revision=20013
      475c3f5e
    • Matthias Clasen's avatar
      Partically revert the last commit after realizing that · 0d62579c
      Matthias Clasen authored
      2008-04-16  Matthias Clasen  <mclasen@redhat.com>
      
              Partically revert the last commit after realizing that
              xdg_mime_media_type_equal doesn't have to init at all.
      
              * xdgmime/xdgmime.h:
              * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
      
              * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
      
      
      svn path=/trunk/; revision=20011
      0d62579c
    • Matthias Clasen's avatar
      Avoid possible memory corruption in xdgmime, fd.o bug 12512, reported by · f3177151
      Matthias Clasen authored
      2008-04-16  Matthias Clasen  <mclasen@redhat.com>
      
              Avoid possible memory corruption in xdgmime, fd.o bug 12512,
              reported by Joe Shaw and Federico Mena Quintero.
      
              * xdgmime.c(_xdg_mime_media_type_equal): Implement.
              (xdg_mime_media_type_equal): Turn into a wrapper around the
              _-prefixed version.
      
              * xdgmimecache.c: Use the _-prefixed versions of
              comparison functions throughout.
      
      
      svn path=/trunk/; revision=20009
      f3177151
    • Tristan Van Berkom's avatar
      Chain up in buildable_finish() · b1542fe9
      Tristan Van Berkom authored
      
      	* gtk/gtkwindow.c: Chain up in buildable_finish()
      
      	* gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
      	cases where g_path_get_dirname() returns "."
      
      	* docs/reference/gtk/tmpl/gtklabel.sgml, 
      	docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
      	for the <attributes> tags on GtkLabel
      
      
      svn path=/trunk/; revision=20008
      b1542fe9
  16. 15 Apr, 2008 5 commits
    • Emmanuele Bassi's avatar
      Fix last commit, and complete the gtk-recent-files-max-age semantics: if · 7b93b76e
      Emmanuele Bassi authored
      2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentmanager.c:
      	(gtk_recent_manager_real_changed): Fix last commit, and
      	complete the gtk-recent-files-max-age semantics: if the
      	property is set to 0 then purge the list.
      
      svn path=/trunk/; revision=20007
      7b93b76e
    • Emmanuele Bassi's avatar
      Bug 488507 – boundless growth of .recently-used.xbel file slows down · beb54a9b
      Emmanuele Bassi authored
      2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
      
      	Bug 488507 – boundless growth of .recently-used.xbel file
      	slows down applications
      
      	* gtk/gtkrecentmanager.c:
      	(gtk_recent_manager_init),
      	(gtk_recent_manager_real_changed),
      	(gtk_recent_manager_set_filename),
      	(gtk_recent_manager_clamp_to_age): Clamp the recently
      	used resources list by the age of its items, using
      	the newly added GtkSettings property.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Add the
      	gtk-recent-files-max-age property, controlling the
      	maximum age of the items in the recently used resources
      	list.
      
      svn path=/trunk/; revision=20006
      beb54a9b
    • Emmanuele Bassi's avatar
      Emit the ::changed signal at the end of the asynchronous MIME type query. · c31e2520
      Emmanuele Bassi authored
      2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentmanager.c:
      	(gtk_recent_manager_add_item_query_info),
      	(gtk_recent_manager_add_item): Emit the ::changed signal
      	at the end of the asynchronous MIME type query.
      
      svn path=/trunk/; revision=20005
      c31e2520
    • Emmanuele Bassi's avatar
      Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel every 5 seconds · afdb3f5a
      Emmanuele Bassi authored
      2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
      
      	Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
      	every 5 seconds
      
      	* gtk/gtkrecentmanager.c: Use GFileMonitor to check for
      	changes in the recently used resources storage file, and
      	drop the timeout-based poll.
      
      	* ChangeLog: Fix attribution of the patch of the previous
      	commit.
      
      svn path=/trunk/; revision=20004
      afdb3f5a
    • Emmanuele Bassi's avatar
      Bug 506062 – gtk_recent_manager_add_item does not detect mime type on · 9b2656f7
      Emmanuele Bassi authored
      2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
      
      	Bug 506062 – gtk_recent_manager_add_item does not detect mime
      	type on Windows
      
      	* configure.in: Depend on gio-2.0
      
      	* gtk/gtkrecentmanager.c:
      	(gtk_recent_manager_add_item_query_info_cb),
      	(gtk_recent_manager_add_item): Use GIO to (asynchronously) query
      	the MIME type of the passed URI.
      
      svn path=/trunk/; revision=20003
      9b2656f7
  17. 11 Apr, 2008 2 commits
  18. 10 Apr, 2008 1 commit
    • Carlos Garnacho's avatar
      Do not call gtk_widget_set_parent_window(), using widget->window instead · 5f6e5778
      Carlos Garnacho authored
      2008-04-10  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtknotebook.c (hide_drag_window): Do not call
              gtk_widget_set_parent_window(), using widget->window instead of NULL
              to unset is the wrong thing, and gtk_widget_unparent() will already
              take care of this (#467698, patch by Sébastien Granjoux)
      
      svn path=/trunk/; revision=19987
      5f6e5778
  19. 08 Apr, 2008 2 commits
    • Tomáš Bžatek's avatar
      Fix fallback icon rendering size · 340205b9
      Tomáš Bžatek authored
      2008-04-08  Tomas Bzatek  <tbzatek@redhat.com> 
      
              * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
              (gtk_file_system_volume_render_icon):
              Fix fallback icon rendering size
      
      
      svn path=/trunk/; revision=19982
      340205b9
    • Michael Natterer's avatar
      fix a touchscreen-mode keynav corner case: when navigating to the parent · 4cfa620f
      Michael Natterer authored
      2008-04-08  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
      	touchscreen-mode keynav corner case: when navigating to the parent
      	menu, make sure we don't close two menus at the same time in case
      	the deepest open menu has no selectable items.
      
      
      svn path=/trunk/; revision=19981
      4cfa620f