1. 26 Apr, 2006 3 commits
    • Kristian Rietveld's avatar
      If this new "row-ending-details" property is turned on, more detailed · d09c7c67
      Kristian Rietveld authored
      2006-04-26  Kristian Rietveld  <kris@imendio.com>
      
      	If this new "row-ending-details" property is turned on, more
      	detailed "details" will be passed to the theme engine for drawing
      	the background, drop indicator and focus rectangle.  Requirement is
      	that the theme engine supports these details. (#333760).
      
      	* gtk/gtktreeview.c (gtk_tree_view_class_init): add row-ending-details
      	style property,
      	(gtk_tree_view_bin_expose): pass more detailed detail to
      	gtk_paint_flat_box() if the property is turned on,
      	(gtk_tree_view_bin_expose): likewise for the drop indicator,
      	(gtk_tree_view_bin_expose): likewise for the focus rectangle.
      d09c7c67
    • Kristian Rietveld's avatar
      New "show-expanders" and "level-indentation" properties, which can be used · 70bf0da6
      Kristian Rietveld authored
      2006-04-26  Kristian Rietveld  <kris@imendio.com>
      
      	New "show-expanders" and "level-indentation" properties, which can
      	be used for customizing the tree view.  (For example to do
      	grouping as demonstrated in the test application).
      	Discussion in #80869.
      
      	* gtk/gtktreeprivate.h: add level_indentation field.
      
      	* gtk/gtktreeview.c (gtk_tree_view_class_init),
      	(gtk_tree_view_init), (gtk_tree_view_set_property),
      	(gtk_tree_view_get_property): add the properties to the object,
      	(gtk_tree_view_button_press), (do_prelight),
      	(gtk_tree_view_bin_expose), (validate_row),
      	(gtk_tree_view_discover_dirty_iter), (gtk_tree_view_get_cell_area),
      	(gtk_tree_view_create_row_drag_icon): take the new properties
      	into account,
      	(gtk_tree_view_start_editing): fix cell placement code.
      
      	* tests/testgrouping.c: new test application, showing how to
      	implement grouping.
      
      	* tests/Makefile.am: updated.
      70bf0da6
    • Kristian Rietveld's avatar
      remove conflict marker · 3eac42f2
      Kristian Rietveld authored
      3eac42f2
  2. 25 Apr, 2006 7 commits
    • Matthias Clasen's avatar
      Add gdk_screen_is_composited · dfe415b3
      Matthias Clasen authored
      dfe415b3
    • Matthias Clasen's avatar
      Add docs. · a76906c7
      Matthias Clasen authored
      2006-04-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintjob.c (gtk_print_job_set_source_file): Add docs.
      
      	* gtk/gtkprintoperation.c: Add docs.
      a76906c7
    • Søren Sandmann's avatar
      Create 'composited' label. · b9d1a034
      Søren Sandmann authored
      Tue Apr 25 10:25:28 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* tests/testgtk.c (create_alpha_window): Create 'composited' label.
      
      	* tests/testgtk.c (on_composited_changed): New function, change
      	the label to say whether the screen is composited or not.
      
      	* gtk/gtkwindow.c (gtk_window_on_composited_changed): When
      	composited status change, invalidate the window and propagate the signal;.
      
      	* gtk/gtkwindow.c (gtk_window_map): Set the appropriate type hint
      	if reset_type_hint is TRUE.
      
      	* gtk/gtkwindow.c (gtk_window_set_type_hint): If hint is one of
      	the old hints, store a shadow copy in the public window->type_hint
      	bitfield, otherwise set this field to normal. Set the private
      	field to the type hint.
      
      	* gtk/gtkwindow.c (gtk_window_init): Initialize priv->type_hint.
      
      	* gtk/gtkwindow.c (struct _GtkWindowPrivate): New field
      	"reset_type_hint" indicating whether the type hint needs to be
      	reset. New field type_hint containing a GdkWindowTypeHint.
      
      	* gtk/gtkwidget.c (propagate_composited_changed): New function to
      	propagate changes in composited status.
      	(gtk_widget_class_init): Add composited_changed signal.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): New signal composited-changed.
      
      	* gtk/gtkwidget.c (gtk_widget_is_composited): New function.
      
      	* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Set transient for.
      
      	* gtk/gtktooltips.c (gtk_tooltips_force_window): Set the type hint
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Compute whether
      	the item belongs to a menubar. Set the type_hint appropriately
      	depending on the outcome.
      
      	* gtk/gtkmenu.c (gtk_menu_position): Set the default type hint here.
      
      	* gtk/gtkmenu.c (gtk_menu_attach_to_widget): connect to hierarchy
      	changed on the attach widget.
      
      	* gtk/gtkmenu.c (attach_widget_hierarchy_changed): New function to
      	set the transient_for property for menus.
      
      	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Set the appropriate type hint.
      
      	* gtk/gtkcombo.c (gtk_combo_popup_list): Make the popup window
      	transient for the toplevel.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Set
      	transient-for, for the popup window.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): Support for
      	new window types.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_type_hint): Add support
      	for new window types.
      
      	* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
      	New function called whenever the compositing manager comes and goes.
      
      	* gdk/x11/gdkscreen-x11.c (gdk_screen_is_composited): New function.
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_request_cm_notification, make_cm_atom,
      	check_is_composited): New functions
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
      	_gdk_x11_screen_process_owner_change when an
      	XFixesSelectionNotifyEvent is received.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Call
      	_gdk_x11_screen_request_cm_notification() on all screens.
      
      	* gdk/quartz/gdkscreen-quartz.c (gdk_screen_is_composited): Dummy
      	implementation.
      
      	* gdk/gdkscreen.c (gdk_screen_class_init): New signal,
      	'composited-changed'.
      
      	* gdk/gdkwindow.h: Add new EWMH window types.
      
      	* gdk/win32/gdkscreen-win32.c (gdk_screen_is_composited)
      b9d1a034
    • Matthias Clasen's avatar
      some more options · e6e2f91b
      Matthias Clasen authored
      e6e2f91b
    • Matthias Clasen's avatar
      Updates · d24ff6f3
      Matthias Clasen authored
      d24ff6f3
    • Matthias Clasen's avatar
      Add prefixes to msgids for paper sizes · 8b51038b
      Matthias Clasen authored
      8b51038b
    • Matthias Clasen's avatar
      small doc fixes · 9d77a9fb
      Matthias Clasen authored
      9d77a9fb
  3. 24 Apr, 2006 17 commits
    • Matthias Clasen's avatar
      Fix includes (#338665) · 894305cd
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintunixdialog.h:
      	* gtk/gtkpagesetupunixdialog.h: Fix includes (#338665)
      894305cd
    • Matthias Clasen's avatar
      Declare in a way grokked by gtk-doc. · 64d3323a
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintsettings.h (GtkPageRange): Declare in a way grokked by gtk-doc.
      64d3323a
    • Matthias Clasen's avatar
      Documentation fixes. · 34f4da23
      Matthias Clasen authored
      
      	* gdk/gdkregion-generic.c: Documentation fixes.
      
      	* gdk/directfb/gdkmain-directfb.c: Make the comment not look like
      	a doc comment.
      34f4da23
    • Matthias Clasen's avatar
      Add docs. · 96d37bc2
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintunixdialog.c: Add docs.
      
      	* gtk/gtkstatusicon.c (gtk_status_icon_get_visible): Typo fix.
      96d37bc2
    • Matthias Clasen's avatar
      Refactor the gtk_print_operation_run() code and add an _async version. · 2e9cc2f6
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkprintoperation.c (gtk_print_operation_run_async): Refactor the
      	gtk_print_operation_run() code and add an _async version.
      
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c
      	(_gtk_print_operation_platform_backend_run_dialog_async)
      	(gtk_print_run_page_setup_dialog_async): Variants of the run functions
      	which don't call gtk_dialog_run(), but only show the dialog and return,
      	and handle the response in a signal handler.
      
      	* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog_async)
      	(_gtk_print_operation_platform_backend_run_dialog_async): Implement these
      	by calling the sync versions.
      2e9cc2f6
    • Alexander Larsson's avatar
      Don't ref the backend since the backend owns the printer. · 7261cff2
      Alexander Larsson authored
      2006-04-24  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkprinter.c:
      	Don't ref the backend since the backend owns the printer.
      7261cff2
    • Alexander Larsson's avatar
      Remove spew. · 5ead07e1
      Alexander Larsson authored
      2006-04-24  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkpagesetupunixdialog.c (update_combo_sensitivity_from_printers):
      	Remove spew.
      5ead07e1
    • Alexander Larsson's avatar
      Even/Odd Pages -> Even/Odd Sheets · b19d118e
      Alexander Larsson authored
      2006-04-24  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkprintunixdialog.c (create_page_setup_page):
      	Even/Odd Pages -> Even/Odd Sheets
      b19d118e
    • Matthias Clasen's avatar
      Cleanups · 9523e186
      Matthias Clasen authored
      9523e186
    • Matthias Clasen's avatar
      Remove redundant code. · 16eadc82
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup):
      	Remove redundant code.
      16eadc82
    • Matthias Clasen's avatar
      Install gtkprintjob.h as Unix-specific print API. · 738960c9
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/Makefile.am: Install gtkprintjob.h as Unix-specific print API.
      738960c9
    • Matthias Clasen's avatar
      Return a copy of the original page setup if the dialog was canceled. · 3d07d219
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
      	Return a copy of the original page setup if the dialog was canceled.
      3d07d219
    • Alexander Larsson's avatar
      Declare GtkPrintJob. · c8f0d210
      Alexander Larsson authored
      2006-04-24  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkprintjob.h:
      	Declare GtkPrintJob.
      
      	* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_settings):
      	Change g_return_if_fail to g_return_val_if_fail.
      c8f0d210
    • Alexander Larsson's avatar
      Check for cairo-pdf.h. Check for cairo-ps.h on non-win32. · 98e12dd9
      Alexander Larsson authored
      2006-04-24  Alexander Larsson  <alexl@redhat.com>
      
      	* configure.in:
      	Check for cairo-pdf.h.
      	Check for cairo-ps.h on non-win32.
      98e12dd9
    • Matthias Clasen's avatar
      Match parameter names with the headers. · 0d10969b
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkclipboard.h:
      	* gtk/gtkprinter.c:
      	* gtk/gtkprintsettings.h:
      	* gtk/gtkprintsettings.c: Match parameter names with the headers.
      
      	* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
      	Add docs.
      
      	* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
      	* gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type):
      	* gtk/gtktreeview.c (gtk_tree_view_set_search_position_func):
      	* gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable):
      	* gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new):
      	* gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs.
      0d10969b
    • Matthias Clasen's avatar
      Don't declare GtkPrintJob here. Instead include gtkprintjob.h. · 090de905
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprinter.h: Don't declare GtkPrintJob here.
      	* gtk/gtkprinter-private.h: Instead include gtkprintjob.h.
      090de905
    • Matthias Clasen's avatar
      Use g types, add documentation, and some stylistic fixups. · 8cf2909e
      Matthias Clasen authored
      2006-04-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprintbackend.h:
      	* gtk/gtkprinter.[hc]:
      	* gtk/gtkprintjob.[hc]: Use g types, add documentation, and some
      	stylistic fixups.
      
      	* gtk/gtkaboutdialog.c (activate_url): Avoid a compiler warning.
      8cf2909e
  4. 23 Apr, 2006 3 commits
    • Matthias Clasen's avatar
      Use g types, add documentation. · 60eca1ef
      Matthias Clasen authored
      2006-04-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkpapersize.[hc]: Use g types, add documentation.
      
      1
      60eca1ef
    • Matthias Clasen's avatar
      Add gtkprintutils.[hc] · 935482e3
      Matthias Clasen authored
      2006-04-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/Makefile.am: Add gtkprintutils.[hc]
      
      	* gtk/gtkprintutils.[hc]: New files, move the unit conversion
      	functions here.
      
      	* gtk/gtkpagesetupunixdialog.c:
      	* gtk/gtkprintsettings.c:
      	* gtk/gtkpagesetup.c:
      	* gtk/gtkpapersize.c: Replace all static copies of to_mm/from_mm
      	by the copies in gtkprintutils.c.
      
      	* gtk/gtkpagesetup.[hc]: Use g types, add documentation.
      935482e3
    • Matthias Clasen's avatar
      more docs · 46548ae5
      Matthias Clasen authored
      46548ae5
  5. 22 Apr, 2006 1 commit
  6. 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]:
      	*...
      27f746fb
  7. 20 Apr, 2006 2 commits
  8. 19 Apr, 2006 2 commits
    • Murray Cumming's avatar
      _GtkFileChooserButtonPrivate: Added has_title flag so we can remember · 5cb13a75
      Murray Cumming authored
      2006-04-19  Murray Cumming  <murrayc@murrayc.com>
      
              * gtk/gtkfilechooserbutton.c: _GtkFileChooserButtonPrivate:
              Added has_title flag so we can remember whether a title has
              been set.
              (gtk_file_chooser_button_constructor): If no title has been
              set then set it to the default title. This means that the
              default title will be used if the dialog was instantiated with
              g_object_new(), without using the gtk_file_chooser_button_new()
              convenience function. This helps language bindings.
              (gtk_file_chooser_button_set_property): Set has_title when
              setting the title.
      5cb13a75
    • Tor Lillqvist's avatar
      Map VK_NUMPAD[0-9] to GDK_KP_[0-9]. (#337562) · 8ae3fade
      Tor Lillqvist authored
      2006-04-19  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9]
      	to GDK_KP_[0-9]. (#337562)
      8ae3fade
  9. 18 Apr, 2006 4 commits