1. 26 Apr, 2006 5 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
      (broken pipe) · ebe22cb3
      Kristian Rietveld authored
      ebe22cb3
    • 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
    • Ankitkumar Rameshchandra Patel's avatar
      bc3db2f3
  2. 25 Apr, 2006 11 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
    • Kjartan Maraas's avatar
      Updated Norwegian bokmål translation. · 33a8d113
      Kjartan Maraas authored
      2006-04-25  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* nb.po: Updated Norwegian bokmål translation.
      33a8d113
    • Matthias Clasen's avatar
      some more options · e6e2f91b
      Matthias Clasen authored
      e6e2f91b
    • Matthias Clasen's avatar
      More updates · bfeb1c20
      Matthias Clasen authored
      bfeb1c20
    • 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
      additions · eee5ae75
      Matthias Clasen authored
      eee5ae75
    • Matthias Clasen's avatar
      trivial additions · 92723e10
      Matthias Clasen authored
      92723e10
    • Matthias Clasen's avatar
      small doc fixes · 9d77a9fb
      Matthias Clasen authored
      9d77a9fb
  3. 24 Apr, 2006 24 commits
    • Matthias Clasen's avatar
      Fix a typo · 8758063a
      Matthias Clasen authored
      8758063a
    • Matthias Clasen's avatar
      forgotten files · 7437609e
      Matthias Clasen authored
      7437609e
    • 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
      Remove a duplicate entry. · f918e005
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/tmpl/gtkentry.sgml: Remove a duplicate entry.
      f918e005
    • Matthias Clasen's avatar
      Fix a typo · 73ebc304
      Matthias Clasen authored
      73ebc304
    • 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
      Remove an empty index · 167afc89
      Matthias Clasen authored
      167afc89
    • 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 directfb · d0c309e6
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am (IGNORE_HFILES): Add  directfb
      d0c309e6
    • Matthias Clasen's avatar
      Additions. · f2029961
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/tmpl/gtkpapersize.sgml: Additions.
      
      	* gtk/gtk-sections.txt: Add new api.
      f2029961
    • 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
      Add new api. · 84ff1b27
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk-sections.txt: Add new api.
      84ff1b27
    • 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
    • Rajesh Ranjan's avatar
      hindi updated · 4141a92f
      Rajesh Ranjan authored
      4141a92f
    • 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
      Add new stock icons. · 2a834a41
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/Makefile.am (HTML_IMAGES): Add new stock icons.
      
      	* gtk/tmpl/gtkstock.sgml: Document new stock icons
      2a834a41