1. 01 Sep, 2014 1 commit
    • Andre Heinecke's avatar
      Use secrets service for cups auth_info · 382d68ff
      Andre Heinecke authored
          When a printer requires auth_info (e.g. a printer connected
          over the samba protocol) it is now possible to save the
          credentials necessary for printing if a secrets service
          is available over dbus.
          The auth_info is then stored / loaded from the default
          collection of that secrets service.
          If no such service is available the user is not shown
          the option to remember the password and the behavior
          remains the same as before.
  2. 23 May, 2014 1 commit
    • Carlos Garnacho's avatar
      Add GtkGesture · 8f113e07
      Carlos Garnacho authored
      This a more specific abstract type that handles one or multiple
      streams of pointer/touch events.
  3. 27 Feb, 2013 1 commit
  4. 21 Jan, 2013 1 commit
  5. 10 Jan, 2013 1 commit
  6. 04 Dec, 2012 2 commits
  7. 03 Dec, 2012 1 commit
  8. 04 Sep, 2012 1 commit
  9. 03 Sep, 2012 1 commit
    • Carlos Garnacho's avatar
      Add GtkTextHandle · 1f7e375c
      Carlos Garnacho authored
      This is a helper object to allow text widgets to implement
      text selection on touch devices. It allows for both cursor
      placement and text selection, displaying draggable handles
      on/around the cursor and selection bound positions.
      Currently, this is private to GTK+, and only available to
      GtkEntry and GtkTextView.
  10. 06 Oct, 2011 1 commit
  11. 26 Aug, 2011 1 commit
  12. 18 May, 2011 1 commit
  13. 04 Dec, 2010 1 commit
  14. 23 Nov, 2010 1 commit
    • Tristan Van Berkom's avatar
      Added GtkCellAreaClass->apply_attributes() · e53dc347
      Tristan Van Berkom authored
      Made gtk_cell_area_apply_attributes use a vfunc & signal so that
      subclasses might do specialized things picking up attributes from the
      model possibly for embedding widgets, and as specially for GtkTreeMenu
      to connect to the signal and synchronize the menu sensitivity states
      in a more convenient way than going through the GtkCellLayoutDataFunc.
  15. 12 Nov, 2010 1 commit
    • Tristan Van Berkom's avatar
      Ironed out the kinks in editing apis for GtkCellArea · 38666b40
      Tristan Van Berkom authored
       - Added gtk_cell_area_aligned_cell_area() to get the aligned
         internal area use by a cell (for focus painting and for
         event areas).
       - Provide the event area in "editing-started" signal
       - Fire "remove-editable" when editing is canceled by the user,
         an implementing layouting widget need only catch "editing-started"
         and "remove-editable" now.
       - CellAreaScaffold/testcellarea now edit textrenderers.
  16. 05 Nov, 2010 1 commit
    • Tristan Van Berkom's avatar
      Made progress on focus handling. · 631bdc43
      Tristan Van Berkom authored
       - Added vfunc to get the allocation of a cell inside an area
       - Superclass GtkCellArea handles activation of focused cells
         by handling key events (as well as editing of editable cells)
       - Added signal "editing-started" to GtkCellArea to signal that
         editing has started (generally signaled from inside event handling)
       - Added properties "focus-cell" and "edited-cell"
  17. 01 Nov, 2010 1 commit
  18. 25 May, 2010 1 commit
  19. 24 Sep, 2009 1 commit
    • Marek Kašík's avatar
      Add support for 'auth-info' attribute to the CUPS backend · a3e07662
      Marek Kašík authored
      Check for 'auth-info-required' attribute from printer attributes to
      find out whether an authentization of user is needed.
      Change password dialog of print backend to be able to require informations
      requested thru 'auth-info-required' (#566522).
  20. 09 Jul, 2009 1 commit
    • Stef Walter's avatar
      GtkEntryBuffer holds text for GtkEntry · eab02f69
      Stef Walter authored
      Adds a 'model' type buffer for GtkEntry in which the actual
      textual data is stored. GtkEntryBuffer can be subclassed.
      Among other things, this allows GtkEntry to be used for secrets
      that need to be stored in non-pageable memory. It also allows
      buffers to be shared by entries.
      See bug #576801.
  21. 21 Apr, 2009 2 commits
  22. 27 Dec, 2008 1 commit
  23. 19 Dec, 2008 1 commit
    • Cody Russell's avatar
      Bug 85292 – add an icon to gtkentry · d6ca973c
      Cody Russell authored
      2008-12-19  Cody Russell  <bratsche@gnome.org>
              Bug 85292 – add an icon to gtkentry
              * gtk/gtkmarshalers.list: Add VOID:INT,BOXED
              * tests/testentryicons.c: Initial icon entry test
              * tests/Makefile.am: Add testentryicons
              * gtk/gtkentry.[ch]: Add API for setting primary/secondary icons
              and other features related to them.
      svn path=/trunk/; revision=21914
  24. 13 Aug, 2008 1 commit
    • Michael Natterer's avatar
      get rid of the deprecated aliases NONE and BOOL. · e0bbf169
      Michael Natterer authored
      2008-08-13  Michael Natterer  <mitch@imendio.com>
      	* gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE
      	and BOOL.
      	* gtk/gtkdialog.c
      	* gtk/gtkentrycompletion.c
      	* gtk/gtkmenuitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkrange.c
      	* gtk/gtktreeview.c
      	* gtk/gtkwidget.c: changed accordingly.
      svn path=/trunk/; revision=21111
  25. 28 May, 2008 1 commit
    • Kristian Rietveld's avatar
      Bug 324282 - add selected signal to cell renderer combo. · 3ed120eb
      Kristian Rietveld authored
      2006-05-28  Kristian Rietveld  <kris@imendio.com>
      	Bug 324282 - add selected signal to cell renderer combo.
      	* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
      	(gtk_cell_renderer_combo_start_editing): add a new "changed" signal
      	that will be emitted as soon as the combo box emitted changed and has
      	an active iterator.  (Modified patch based on work by James
      	* gtk/gtkmarshalers.list: add marshaler.
      svn path=/trunk/; revision=20206
  26. 04 Jun, 2007 1 commit
    • Matthias Clasen's avatar
      Add a create-window signal that allows to override the global · 17df8751
      Matthias Clasen authored
      2007-06-04  Matthias Clasen  <mclasen@redhat.com>
              * gtk/gtkmarshalers.list:
              * gtk/gtknotebook.[hc]: Add a create-window signal that allows
              to override the global create-window-hook on a per-notebook
              basis. The default handler falls back to the global hook.
              (#386935, Christian Hammond)
      svn path=/trunk/; revision=18024
  27. 06 Feb, 2007 1 commit
    • Kristian Rietveld's avatar
      New tooltips API. · 0ef946ed
      Kristian Rietveld authored
      2007-02-06  Kristian Rietveld  <kris@imendio.com>
      	New tooltips API.
      	* gtk/Makefile.am
      	* gtk/gtk.h
      	* gtk/gtk.symbols: build system foo.
      	* gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
      	hook for appropriate events.
      	* gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
      	* gtk/gtkrc.c: add style for gtk-tooltip.
      	* gtk/gtksettings.c (gtk_settings_class_init): make the
      	different tooltip timeouts configurable.
      	* gtk/gtkwidget.[ch]: add new properties, signals, make sure
      	tooltips are hidden on unmap, destroy, update window event
      	mask on realize, hook into focus change and show help
      	* gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
      	* gtk/gtktooltip.[ch]: new files.
      	* tests/Makefile.am
      	* tests/testtooltips.c: add test application.
      svn path=/trunk/; revision=17264
  28. 02 Jan, 2007 1 commit
  29. 28 Dec, 2006 1 commit
    • Carlos Garnacho's avatar
      Make GtkNotebook able to drop detached tabs anywhere. Bug #360225. · d42bbb64
      Carlos Garnacho authored
      2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
              Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
              * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
              * gtk/gtkmarshalers.list: add new marshaler definition.
              * gtk/gtkenums.h: add GtkDragResult enum.
              * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
              operation wasn't successful.
              (_gtk_drag_source_handle_event) (gtk_drag_drop)
              (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
              (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
              (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
              gtk_drag_drop_finished() the operation result.
              * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
              (gtk_notebook_drag_data_get): do not call window creation hook here.
              (gtk_notebook_init): do not set "application/x-rootwindow-drop"
              target, instead connect to "drag-failed".
              (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
  30. 11 Jun, 2006 1 commit
  31. 02 Jun, 2006 1 commit
    • Alexander Larsson's avatar
      Add gtkprintoperationpreview.[ch] Set default preview command. Hardcoded · fad69ba0
      Alexander Larsson authored
      2006-06-02  Alexander Larsson  <alexl@redhat.com>
      	* gtk/Makefile.am:
      	Add gtkprintoperationpreview.[ch]
      	Set default preview command. Hardcoded for now.
      	* gtk/gtkmarshalers.list:
      	* gtk/gtkprintbackend.c:
      	Add preview command property.
      	* gtk/gtkprintcontext.[ch]:
      	Make less dependent on PrintOperation for output settings
      	Externally set cairo_t and dpi. Resettable.
      	Create fontmap without metrics hinting (so that print preview
      	text layout doesn't depend on zoom level).
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation.[ch]:
      	Initial work on print preview API and default implementation
      	using an external preview app.
      	* gtk/gtkprintoperation-win32.c:
      	Some needed updates. Not done, needs more work.
      	* gtk/gtkprintoperationpreview.[ch]:
      	New interface used in print preview api.
      	* gtk/gtkprintunixdialog.c:
      	Add print preview dialog.
      	* tests/print-editor.c:
      	Test using an custom print preview widget.
  32. 22 May, 2006 1 commit
    • Alexander Larsson's avatar
      Make sure grab-notify is emitted on toplevels as well as child widgets. · d2cb6c6e
      Alexander Larsson authored
      2006-05-22  Alexander Larsson  <alexl@redhat.com>
      	* gtk/gtkmain.c:
      	Make sure grab-notify is emitted on toplevels as well as
      	child widgets.
      	* gtk/Makefile.am:
      	* gtk/gtkwin32embedwidget.[ch]
      	Add new widget used for win32 port to embed gtk+
      	widgets in windows dialog.
      	* gtk/gtkmarshalers.list:
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation.[ch]:
      	Generic support for custom widgets in print dialog.
      	* gtk/gtkprintoperation-win32.c:
      	Implement custom widget support for win32.
      	* tests/print-editor.c:
      	Allow setting of font using custom widgets in the print dialog.
  33. 18 May, 2006 1 commit
  34. 21 Apr, 2006 1 commit
    • Alexander Larsson's avatar
      Merge the gtk-printing branch. For more detailed ChangeLog entries, see · 27f746fb
      Alexander Larsson authored
      2006-04-21  Alexander Larsson  <alexl@redhat.com>
              Merge the gtk-printing branch.
      	For more detailed ChangeLog entries, see the branch.
      	* .cvsignore:
      	* Makefile.am:
      	* configure.in:
      	* docs/tools/widgets.c:
      	* gtk+-unix-print-2.0.pc.in:
      	* gtk/Makefile.am:
      	* gtk/gen-paper-names.c:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkenums.h:
      	* gtk/gtkiconfactory.c:
      	* gtk/gtkmarshalers.list:
      	* gtk/gtkpagesetup.[ch]:
      	* gtk/gtkpagesetupunixdialog.[ch]:
      	* gtk/gtkpapersize.[ch]:
      	* gtk/gtkprint-win32.[ch]:
      	* gtk/gtkprintbackend.[ch]:
      	* gtk/gtkprintcontext.[ch]:
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.[ch]:
      	* gtk/gtkprinteroption.[ch]:
      	* gtk/gtkprinteroptionset.[ch]:
      	* gtk/gtkprinteroptionwidget.[ch]:
      	* gtk/gtkprintjob.[ch]:
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation-win32.c:
      	* gtk/gtkprintoperation.[ch]:
      	* gtk/gtkprintsettings.[ch]:
      	* gtk/gtkprintunixdialog.[ch]:
      	* gtk/paper_names.c:
      	* gtk/paper_names_offsets.c:
      	Platform independent printing API and implementations
      	for unix and windows.
      	* gtk/gtkstock.h:
      	* gtk/stock-icons/24/gtk-orientation-landscape.png:
      	* gtk/stock-icons/24/gtk-orientation-portrait.png:
      	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
      	Add stock icons for page orientation.
      	* modules/Makefile.am:
      	* modules/printbackends/Makefile.am:
      	* modules/printbackends/cups/Makefile.am:
      	* modules/printbackends/cups/gtkcupsutils.[ch]:
      	* modules/printbackends/cups/gtkprintbackendcups.[ch]:
      	* modules/printbackends/cups/gtkprintercups.[ch]:
      	Cups printing backend for unix.
      	* modules/printbackends/lpr/Makefile.am:
      	* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
      	lpr printing backend for unix.
      	* modules/printbackends/pdf/Makefile.am:
      	* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
      	print-to-pdf printing backend for unix.
      	* tests/.cvsignore:
      	* tests/Makefile.am:
      	* tests/print-editor.c:
      	Test application for printing.
      	* gdk/gdk.symbols:
      	* gdk/win32/gdkevents-win32.c:
      	* gdk/win32/gdkwin32.h:
      	Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
      	mainloop while displaying a win32 common dialog.
      	* gdk/directfb/Makefile.am:
      	Whitespace cleanup.
  35. 12 Dec, 2005 1 commit
  36. 10 Nov, 2005 1 commit
    • Matthias Clasen's avatar
      Improve navigation to parent folders. (#318444, Andrei Yurkevich) · 938d34c0
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      	Improve navigation to parent folders.  (#318444, Andrei Yurkevich)
      	* gtk/gtkpathbar.[hc]: Add a child_path argument to
      	the path_clicked signal.
      	* gtk/gtkfilechooserdefault.c (path_bar_clicked): Select the
      	child_path, if it is provided.
      	* gtk/marshalers.list (path_bar_clicked): Add the necessary
  37. 11 Sep, 2005 1 commit
  38. 15 Jul, 2005 1 commit
    • Federico Mena Quintero's avatar
      Add overwrite confirmation for SAVE mode. Fixes bug #152850: · fb7d6ac4
      Federico Mena Quintero authored
      2005-07-14  Federico Mena Quintero  <federico@ximian.com>
      	Add overwrite confirmation for SAVE mode.  Fixes bug #152850:
      	* gtk/gtkfilechooser.h: Add prototypes for
      	(GtkFileChooserConfirmation): New enum for the result of the
      	"confirm-overwrite" signal.
      	* gtk/gtkmarshalers.list: Add ENUM:VOID.
      	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
      	"do-overwrite-confirmation" boolean property.
      	(gtk_file_chooser_set_do_overwrite_confirmation): Implement.
      	(gtk_file_chooser_get_do_overwrite_confirmation): Implement.
      	(confirm_overwrite_accumulator): New accumulator for the signal.
      	* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add
      	* gtk/gtkfilechooserutils.c
      	(_gtk_file_chooser_install_properties): Override the
      	do-overwrite-confirmation property.
      	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add a
      	confirm_overwrite signal to the vtable.
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_set_property): Handle the new property.
      	(gtk_file_chooser_default_get_property): Likewise.
      	(get_selected_file_info_from_file_list): New helper function; code
      	taken from list_selection_changed().
      	(list_selection_changed): Use get_selected_file_info_from_file_list().
      	(should_respond_after_confirm_overwrite): New function.
      	(gtk_file_chooser_default_should_respond): Confirm when necessary.