1. 25 Apr, 2006 9 commits
    • 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
  2. 24 Apr, 2006 28 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
    • 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
      Add a rich text section · bb23cebf
      Matthias Clasen authored
      2006-04-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk-docs.sgml:
      	* gtk/gtk-sections.txt: Add a rich text section
      
      	* gtk/Makefile.am (IGNORE_HFILES): Add some more private headers.
      
      	* gtk/tmpl/gtkpreview.sgml:
      	* gtk/tmpl/gtkrecentmanager.sgml:
      	* gtk/tmpl/gtkprintoperation.sgml:
      	* gtk/tmpl/gtkrecentchooser.sgml:
      	* gtk/tmpl/gtkicontheme.sgml: Additions
      
      	* gtk/gtk-sections.txt: Remove GtkRecentChooserDefault
      bb23cebf
    • 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
  3. 23 Apr, 2006 3 commits