]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoAdd a :cursor-position property. (#334412, Yevgen Muntyan) `
Matthias Clasen [Tue, 9 May 2006 04:44:53 +0000 (04:44 +0000)]
Add a :cursor-position property. (#334412, Yevgen Muntyan) `

2006-05-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add a :cursor-position
property.  (#334412, Yevgen Muntyan)
`

18 years agoAdd an image property
Matthias Clasen [Tue, 9 May 2006 04:36:43 +0000 (04:36 +0000)]
Add an image property

18 years agocreate an independent GdkWindow to behave nicely during reordering with
Carlos Garnacho [Tue, 9 May 2006 02:36:08 +0000 (02:36 +0000)]
create an independent GdkWindow to behave nicely during reordering with

2006-05-09  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c: create an independent GdkWindow to behave nicely
        during reordering with tab_labels with their own window, also use
        gtk_drag_set_icon_widget() for the DnD icon to avoid drawing garbage
        from offscreen regions. Closes bug #335707.
        (gtk_notebook_tab_space), (gtk_notebook_calculate_shown_tabs),
        (gtk_notebook_calculate_tabs_allocation): new functions,
        gtk_notebook_pages_allocate() functionality has been splitted into
        these.

18 years agoFix some typos in messages. (#341091, Tino Meinen)
Matthias Clasen [Tue, 9 May 2006 02:25:46 +0000 (02:25 +0000)]
Fix some typos in messages. (#341091, Tino Meinen)

2006-05-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_add_shortcut_folder):
* gtk/gtktextbufferserialize.c (parse_attr_element): Fix some typos in
messages.  (#341091, Tino Meinen)

18 years agoDutch translation updated by Tino Meinen.
Wouter Bolsterlee [Mon, 8 May 2006 20:51:40 +0000 (20:51 +0000)]
Dutch translation updated by Tino Meinen.

2006-05-08  Wouter Bolsterlee  <uws+gnome@xs4all.nl>

* nl.po: Dutch translation updated by Tino Meinen.

18 years agoSome cleanups.
Matthias Clasen [Mon, 8 May 2006 18:57:06 +0000 (18:57 +0000)]
Some cleanups.

2006-05-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusicon.c: Some cleanups.

* gtk/gtkstatusicon.c (gtk_status_icon_get_property): Silently return
NULL if the storage type of the image does not match.  (#340516, Christian
Persch)

18 years agoAdd bugref
Matthias Clasen [Mon, 8 May 2006 18:25:35 +0000 (18:25 +0000)]
Add bugref

18 years agoElide (_x) in the middle of the string, too. (#323956, Abel Cheung)
Matthias Clasen [Mon, 8 May 2006 18:10:23 +0000 (18:10 +0000)]
Elide (_x) in the middle of the string, too. (#323956, Abel Cheung)

2006-05-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Elide (_x) in the middle
of the string, too.  (#323956, Abel Cheung)

18 years agoFix tooltips.
Matthias Clasen [Mon, 8 May 2006 16:21:02 +0000 (16:21 +0000)]
Fix tooltips.

2006-05-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (update_node): Fix tooltips.

18 years agorequire pango 1.13
Matthias Clasen [Mon, 8 May 2006 15:51:49 +0000 (15:51 +0000)]
require pango 1.13

18 years agoFix doc typos.
Matthias Clasen [Mon, 8 May 2006 14:50:33 +0000 (14:50 +0000)]
Fix doc typos.

2006-05-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtknotebook.c:
* gtk/gtkwindow.c:
* gtk/gtkrange.c: Fix doc typos.

18 years agoUpdate the internationalization answer. (#340951, Kristof Versant)
Matthias Clasen [Mon, 8 May 2006 13:55:24 +0000 (13:55 +0000)]
Update the internationalization answer. (#340951, Kristof Versant)

2006-05-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/question_index.sgml (reference): Update the internationalization
answer.  (#340951, Kristof Versant)

18 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Mon, 8 May 2006 06:04:23 +0000 (06:04 +0000)]
Updated Gujarati Translations

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Mon, 8 May 2006 06:00:58 +0000 (06:00 +0000)]
Updated Translation

18 years agoCorrected a duplicate word.
Francisco Javier F. Serrador [Mon, 8 May 2006 00:08:39 +0000 (00:08 +0000)]
Corrected a duplicate word.

2006-05-08  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_class_init):
        Corrected a duplicate word.

18 years agoCorrected a typo.
Francisco Javier F. Serrador [Mon, 8 May 2006 00:03:14 +0000 (00:03 +0000)]
Corrected a typo.

2006-05-08  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* gtk/gtkrecentmanager.c (gtk_recent_manager_add_full): Corrected
a typo.

18 years agoChain up, to make bindings work. Noticed by Al Puzzuoli.
Matthias Clasen [Sun, 7 May 2006 19:21:16 +0000 (19:21 +0000)]
Chain up, to make bindings work. Noticed by Al Puzzuoli.

2006-05-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrange.c (gtk_range_key_press):  Chain up, to
make bindings work.  Noticed by Al Puzzuoli.

18 years agoReinstate abstract types
Matthias Clasen [Sun, 7 May 2006 14:11:16 +0000 (14:11 +0000)]
Reinstate abstract types

18 years agoMore abstract types
Matthias Clasen [Sun, 7 May 2006 13:51:46 +0000 (13:51 +0000)]
More abstract types

18 years agoMake GtkScale abstract again
Matthias Clasen [Sun, 7 May 2006 13:48:35 +0000 (13:48 +0000)]
Make GtkScale abstract again

18 years agofix docs
Matthias Clasen [Sun, 7 May 2006 03:28:22 +0000 (03:28 +0000)]
fix docs

18 years agoUpdated German translation.
Hendrik Richter [Sat, 6 May 2006 13:15:44 +0000 (13:15 +0000)]
Updated German translation.

2006-05-06  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Fri, 5 May 2006 22:42:46 +0000 (22:42 +0000)]
Updated Spanish translation.

2006-05-06  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Fri, 5 May 2006 21:05:38 +0000 (21:05 +0000)]
Updated Spanish translation.

2006-05-05  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoAlways register the type with the type module, even if it had been
Christian Persch [Fri, 5 May 2006 20:22:27 +0000 (20:22 +0000)]
Always register the type with the type module, even if it had been

2006-05-05  Christian Persch  <chpe@cvs.gnome.org>

* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/lpr/gtkprintbackendlpr.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c: Always register
  the type with the type module, even if it had been registered
  before. Fixes bug #340676.

18 years agoSmall tweaks to the unix print dialog
Matthias Clasen [Fri, 5 May 2006 19:49:13 +0000 (19:49 +0000)]
Small tweaks to the unix print dialog

18 years ago2.9.0
Matthias Clasen [Fri, 5 May 2006 16:21:19 +0000 (16:21 +0000)]
2.9.0

18 years ago2.9.0
Matthias Clasen [Fri, 5 May 2006 16:07:44 +0000 (16:07 +0000)]
2.9.0

18 years agoImplement per-page paper sizes.
Alexander Larsson [Fri, 5 May 2006 11:03:33 +0000 (11:03 +0000)]
Implement per-page paper sizes.

2006-05-05  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkprintoperation-unix.c:
Implement per-page paper sizes.

* gtk/gtkprintoperation.c:
Implement per-page paper sizes for pdf output.
Make gtk_print_operation_set_pdf_target() work again

* tests/Makefile.am:
* tests/testprint.c:
* tests/testprintfileoperation.[ch]:
Add more test code for printing support.
This tests per-page paper sizes & orientation and
deriving from GtkPrintOperation.

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Fri, 5 May 2006 05:44:16 +0000 (05:44 +0000)]
Updated Translation

18 years agoRemoved DIKI_ALTGR
Michael David Emmel [Thu, 4 May 2006 23:00:10 +0000 (23:00 +0000)]
Removed DIKI_ALTGR

18 years agoremove gtk_printer_set_backend so it compiles again.
Michael Natterer [Thu, 4 May 2006 14:39:15 +0000 (14:39 +0000)]
remove gtk_printer_set_backend so it compiles again.

2006-05-04  Michael Natterer  <mitch@imendio.com>

* gtk/gtk.symbols: remove gtk_printer_set_backend so it compiles
again.

18 years agoAdded new symbols
Alexander Larsson [Thu, 4 May 2006 13:43:32 +0000 (13:43 +0000)]
Added new symbols

2006-05-04  Alexander Larsson  <alexl@redhat.com>

* gtk/gtk.symbols:
Added new symbols

* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintunixdialog.c:
Destroy backends when finalizing dialogs.
Fix printer leak in selected_printer_changed.

* gtk/gtkprintbackend.[ch]:
Convert from interface to baseclass.
Move printer hashtable here so that the baseclass can handle
the slightly complicated ownership model.
Add gtk_print_backend_destroy which runs the dispose method,
causing the ref-cycles between the backend and its printers
to be broken.
Add gtk_print_backend_unref_at_idle().

* gtk/gtkprinter.[ch]:
GtkPrinter objects now ref their backend so that its always
availible, since its needed for the printer object to work.
This causes a reference-cycle that is broken using
gtk_print_backend_destroy.
Add gtk_printer_compare.

* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation.c:
Implement !show_dialog for unix.
Make sure the print data is fully spooled before returning
from a sync run_dialog.

* modules/printbackends/cups/gtkcupsutils.[ch]:
Add gtk_cups_request_ipp_add_strings

* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/cups/gtkprintercups.c:
* modules/printbackends/lpr/gtkprintbackendlpr.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c:
Convert backends to derive instead of implementing interface.
Move common code into baseclass.
CUPS:
  Remove the printer polling in dispose, not finalize.
  In the cups watch, remove the backend at idle instead of
  immediately, since the unref can cause the module to be unloaded.
  Limit the number of printer attributes requested
  Get printer uri in initial printer listing so that we can use
  the printer object immediately.

* tests/Makefile.am:
* tests/testnouiprint.c:
Add testcase for !show_dialog.

18 years agoMake symbol list mstch reality.
Matthias Clasen [Thu, 4 May 2006 13:36:30 +0000 (13:36 +0000)]
Make symbol list mstch reality.

2006-05-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkfilesystem.c:
* gtk/gtkfilesystemunix.c:
* gtk/gtkprintbackend.h:
* gtk/gtkrecentchooserdefault.c:
* gtk/gtkrecentchooserdefault.h:
* gtk/paper_names_offsets.c: Make symbol list mstch reality.

* gtk/Makefile.am: Fix a typo.

* gdk/x11/Makefile.am (EXTRA_DIST): Add gdksettings.c

18 years agoChanged the language of the signals documentation slightly. Bug #340205.
Murray Cumming [Thu, 4 May 2006 12:17:12 +0000 (12:17 +0000)]
Changed the language of the signals documentation slightly. Bug #340205.

2006-05-04  Murray Cumming <murrayc@murrayc.com>

        * gtk/gtktreemodel.c: (gtk_tree_model_base_init): Changed the
        language of the signals documentation slightly. Bug #340205.

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Thu, 4 May 2006 04:27:10 +0000 (04:27 +0000)]
Updated Translation

18 years agoMerged the federico-filename-entry branch, to fix bug #136541. Combined
Federico Mena Quintero [Wed, 3 May 2006 22:30:52 +0000 (22:30 +0000)]
Merged the federico-filename-entry branch, to fix bug #136541. Combined

2006-05-03  Federico Mena Quintero  <federico@novell.com>

Merged the federico-filename-entry branch, to fix bug #136541.
Combined ChangeLogs:

2006-04-17  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
Oops, we *do* need to check that we are in OPEN mode before
selecting the first row in the file list.  See
https://bugzilla.novell.com/show_bug.cgi?id=166906
(gtk_file_chooser_default_get_paths): If we are in the case for
the file list, and the list has no selected rows, jump to the case
for the filename entry.  This is so that

       1. The user types a filename in the SAVE filename entry
          ("foo.txt").

       2. He then double-clicks on a folder ("bar") in the file
  list.

will yield the expected "bar/foo.txt" selection.

2006-03-29  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkpathbar.c (gtk_path_bar_init): Reduce the inter-button
spacing to 0.

* gtk/gtkfilechooserdefault.c (browse_widgets_create): Make the
location label bold.

2006-03-29  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserdefault.c (location_mode_set): Just change the
location_mode field if we are in SAVE/CREATE_FOLDER modes.
(gtk_file_chooser_default_get_paths): Get the path based on the
currently focused widget, or the last-focused widget.  This is
what we should have been doing in the beginning, but it worked out
fine because we didn't have the possibility of a filename entry in
OPEN mode.
(gtk_file_chooser_default_should_respond): Handle the case where
the last focused widget is the location_entry.

2006-03-28  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechoosersettings.[ch]: New files with a simple
framework for saving/loading settings from the file chooser in
$XDG_CONFIG_HOME/gtk-2.0/gtkfilechooser.

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_unmap):
Save the current settings.
(settings_save): New helper function.  We save the location_mode
and show_hidden flags.
(gtk_file_chooser_default_map): Load the settings.
(settings_load): New helper function.

* gtk/gtkfilechooserentry.c
(_gtk_file_chooser_entry_set_file_part): Oops, don't modify
in_change.  Our handlers are what set the file_part, so they
*must* be run when we modify the text.

2006-03-27  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
Removed the save_file_name_entry.  We'll make this be the same as
the location_entry widget.
(struct _GtkFileChooserDefault): Leave only location_button,
location_entry_box, location_label, location_entry.  We'll use a
single toggle button for the location entry, which will appear
below the path bar.
(struct _GtkFileChooserDefault): Added a
processing_pending_selections flag.

* gtk/gtkfilechooserdefault.c (save_widgets_create): Destroy the
old location_entry if necessary, and hide the location toggle
widgets.
(update_chooser_entry): In multiple selection mode, just clear the
location_entry.
(check_save_entry): Allow running in OPEN or SELECT_FOLDER modes
if we are in LOCATION_MODE_FILENAME_ENTRY.
(gtk_file_chooser_default_should_respond): Switch to a folder if
the location_entry contains a folder name in OPEN and SAVE mode,
not just SAVE mode.  If the entry doesn't contain a folder name,
but is otherwise well-formed, and we are in OPEN mode, return that
we should respond with that filename.
(gtk_file_chooser_default_initial_focus): Focus the location_entry
if appropriate.
(browse_widgets_create): Create the location_entry_box and the
location_label here.
(update_appearance): Call location_mode_set() when switching back
to OPEN/SELECT_FOLDER mode.  Hide the location_button when
switching to SAVE/CREATE_FOLDER mode.
(pending_select_paths_process): Turn the
processing_pending_selections flag on and off around changes to
the current selection.  Don't special-case OPEN mode anymore,
since the new flag will take care of things in
update_chooser_entry().
(update_chooser_entry): Don't do anything if
processing_pending_selections is TRUE.  This keeps the entry from
being polluted when changing folders.
(location_popup_handler): In OPEN/SELECT_FOLDER modes, toggle
between the path bar and the entry.  In SAVE/CREATE_FOLDER modes, simply focus the
location_entry.
(update_from_entry): Removed.
(location_entry_create): Removed.
(open_location_cb): Removed.
(file_list_build_popup_menu): Don't add an "Open _Location" menu item.
(location_entry_set_initial_text): Don't do anything if
current_folder is NULL.

* gtk/gtkfilechooserentry.c
(_gtk_file_chooser_entry_set_file_part): Turn in_change on and off
around the call to gtk_entry_set_text().  This makes completion
not happen when the caller has explicitly set a name.

2006-03-24  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
Added fields location_mode_box, location_pathbar_radio,
location_filename_radio, location_widget_box, location_label,
location_entry.  The radio buttons will switch between the pathbar
and the location entry; the other boxes are for layout purposes.
(enum LocationMode): New enum.
(struct _GtkFileChooserDefault): Added a location_mode field.

* gtk/gtkfilechooserdefault.c (browse_widgets_create): Create the
location radio buttons to switch between the pathbar and the
location entry.  Pack the browse_path_bar in the new
location_widget_box instead of a generic hbox.
(location_buttons_create): New function.
(gtk_file_chooser_default_init): Initialize impl->location_mode.
(location_switch_to_path_bar): New function.
(location_switch_to_filename_entry): New function.

* gtk/gtkfilechooserbutton.c (model_add_special): The display_name
should not be const.

18 years agoReplace the xpm collate icons by cairo drawing that respects themes.
Matthias Clasen [Wed, 3 May 2006 20:18:38 +0000 (20:18 +0000)]
Replace the xpm collate icons by cairo drawing that respects themes.

* gtk/gtkprintunixdialog.c: Replace the xpm collate icons
by cairo drawing that respects themes.

18 years agoAdd missing files. (#340533, Ludovic Rousseau)
Matthias Clasen [Wed, 3 May 2006 17:59:39 +0000 (17:59 +0000)]
Add missing files. (#340533, Ludovic Rousseau)

2006-05-03  Matthias Clasen  <mclasen@redhat.com>

* gdk/quartz/Makefile.am (libgdk_quartz_la_SOURCES): Add
missing files.  (#340533, Ludovic Rousseau)

18 years agoDon't leak the cairo context here. (#340522, Christian Persch)
Matthias Clasen [Wed, 3 May 2006 17:52:41 +0000 (17:52 +0000)]
Don't leak the cairo context here. (#340522, Christian Persch)

2006-05-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the
cairo context here.  (#340522, Christian Persch)

18 years agoDon't use gtk_dialog_run for the error dialog, and improve the dialog in
Matthias Clasen [Wed, 3 May 2006 17:34:55 +0000 (17:34 +0000)]
Don't use gtk_dialog_run for the error dialog, and improve the dialog in

2006-05-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintoperation-unix.c (unix_finish_send): Don't
use gtk_dialog_run for the error dialog, and improve the
dialog in other ways.  (#340510, Christian Persch)

18 years agoBeautify the custom paper size dialog. (#339590, patch by Christian
Matthias Clasen [Wed, 3 May 2006 17:09:39 +0000 (17:09 +0000)]
Beautify the custom paper size dialog. (#339590, patch by Christian

2006-05-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpagesetupunixdialog.c: Beautify the custom
paper size dialog.  (#339590, patch by Christian Persch)

18 years agoMore G_DEFINE_TYPE conversion.
Matthias Clasen [Wed, 3 May 2006 17:07:09 +0000 (17:07 +0000)]
More G_DEFINE_TYPE conversion.

2006-05-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaccessible.c:
* gtk/gtkclipboard.c:
* gtk/gtkfilefilter.c:
* gtk/gtkimmodule.c:
* gtk/gtkmenubar.c: More G_DEFINE_TYPE conversion.

18 years agoMake GtkWidget abstract again.
Matthias Clasen [Wed, 3 May 2006 16:04:07 +0000 (16:04 +0000)]
Make GtkWidget abstract again.

2006-05-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c: Make GtkWidget abstract again.

18 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Wed, 3 May 2006 04:43:30 +0000 (04:43 +0000)]
Updated Gujarati Translations

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Wed, 3 May 2006 04:41:45 +0000 (04:41 +0000)]
Updated Translation

18 years agoBoilerplate reduction
Matthias Clasen [Tue, 2 May 2006 23:56:43 +0000 (23:56 +0000)]
Boilerplate reduction

18 years agoset tmpnode to the return value of the _gtk_rbtree_insert* functions,
Kristian Rietveld [Tue, 2 May 2006 15:50:58 +0000 (15:50 +0000)]
set tmpnode to the return value of the _gtk_rbtree_insert* functions,

2006-05-02  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_row_inserted): set tmpnode to
the return value of the _gtk_rbtree_insert* functions, since that
is the node we really want to check for visibilty.

18 years agobroken pipe
Matthias Clasen [Tue, 2 May 2006 13:12:11 +0000 (13:12 +0000)]
broken pipe

18 years agoMake it work with C++
Matthias Clasen [Tue, 2 May 2006 13:11:58 +0000 (13:11 +0000)]
Make it work with C++

18 years agoUse a priv variable when accessing priv multiple times in the same
Christian Persch [Tue, 2 May 2006 12:48:52 +0000 (12:48 +0000)]
Use a priv variable when accessing priv multiple times in the same

2006-05-02  Christian Persch  <chpe@cvs.gnome.org>

* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintcontext.c:
* gtk/gtkprinter.c:
* gtk/gtkprinteroptionwidget.c:
* gtk/gtkprintjob.c:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation.c:
* gtk/gtkprintunixdialog.c: Use a priv variable when accessing priv
  multiple times in the same function. Bug #340288.

18 years agoadded note about the inablity to do height-for-width text layout and
Michael Natterer [Tue, 2 May 2006 12:17:29 +0000 (12:17 +0000)]
added note about the inablity to do height-for-width text layout and

2006-05-02  Michael Natterer  <mitch@imendio.com>

* gtk/gtklabel.c (gtk_label_set_line_wrap): added note about the
inablity to do height-for-width text layout and suggest to use
gtk_widget_set_size_request() for getting a label that wraps at
some specific position.

18 years agoadded ChangeLog entries from the kris-async-branch.
Kristian Rietveld [Tue, 2 May 2006 09:58:08 +0000 (09:58 +0000)]
added ChangeLog entries from the kris-async-branch.

2006-05-02  Kristian Rietveld  <kris@imendio.com>

* ChangeLog.gtk-async-file-chooser: added ChangeLog entries from
the kris-async-branch.

* Makefile.am: updated EXTRA_DIST

18 years ago*** empty log message ***
Ignacio Casal Quinteiro [Tue, 2 May 2006 09:33:16 +0000 (09:33 +0000)]
*** empty log message ***

18 years agoAdd ChangeLog.gtk-printing
Alexander Larsson [Tue, 2 May 2006 09:15:34 +0000 (09:15 +0000)]
Add ChangeLog.gtk-printing

2006-05-02  Alexander Larsson  <alexl@redhat.com>

* ChangeLog.gtk-printing:
* Makefile.am (EXTRA_DIST):
Add ChangeLog.gtk-printing

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Tue, 2 May 2006 03:10:03 +0000 (03:10 +0000)]
Updated Translation

18 years agoMore updates
Matthias Clasen [Mon, 1 May 2006 23:12:41 +0000 (23:12 +0000)]
More updates

18 years agoFix previous ChangeLog entry.
Kristian Rietveld [Mon, 1 May 2006 22:27:22 +0000 (22:27 +0000)]
Fix previous ChangeLog entry.

18 years agoUp ABI version to 2.10.0 (by Matthias' request).
Kristian Rietveld [Mon, 1 May 2006 22:26:42 +0000 (22:26 +0000)]
Up ABI version to 2.10.0 (by Matthias' request).

2006-05-02  Kristian Rietveld  <kris@imendio.com>

* configure.in: Up ABI version to 2.10.0 (by Matthias' request).

18 years agoMerge of the GTK+ asynchronous file chooser branch. Please see the
Kristian Rietveld [Mon, 1 May 2006 21:41:12 +0000 (21:41 +0000)]
Merge of the GTK+ asynchronous file chooser branch. Please see the

2006-05-01  Kristian Rietveld  <kris@imendio.com>

Merge of the GTK+ asynchronous file chooser branch.  Please see
the kris-asynch-branch for more detailed ChangeLog entries.

* configure.in: increase binary version to 2.9.0.

* gtk.symbols:
* gtkfilechooser.c:
* gtkfilechooserbutton.c:
* gtkfilechooserdefault.c:
* gtkfilechooserdialog.c:
* gtkfilechooserembed.c:
* gtkfilechooserembed.h:
* gtkfilechooserentry.c:
* gtkfilechooserentry.h:
* gtkfilechooserprivate.h:
* gtkfilesystem.c:
* gtkfilesystem.h:
* gtkfilesystemmodel.c:
* gtkfilesystemmodel.h:
* gtkfilesystemunix.c:
* gtkpathbar.c:
* gtkpathbar.h:
Merge from kris-async-branch.

18 years agoUpdates
Matthias Clasen [Mon, 1 May 2006 18:35:25 +0000 (18:35 +0000)]
Updates

18 years agoDocument GtkTreeModel signals.
Matthias Clasen [Mon, 1 May 2006 02:05:20 +0000 (02:05 +0000)]
Document GtkTreeModel signals.

2006-04-30  Matthias Clasen  <mclasen@localhost.localdomain>

* gtk/gtktreemodel.c (gtk_tree_model_base_init): Document
GtkTreeModel signals.

18 years agoUpdated gtk translation.
Funda Wang [Mon, 1 May 2006 01:41:41 +0000 (01:41 +0000)]
Updated gtk translation.

18 years agoRemoved subtracting one from all clips
Michael David Emmel [Sun, 30 Apr 2006 17:19:38 +0000 (17:19 +0000)]
Removed subtracting one from all clips

18 years agoFix for #340200, spotted by Torsten Schoenfeld.
Kristian Rietveld [Sun, 30 Apr 2006 15:49:25 +0000 (15:49 +0000)]
Fix for #340200, spotted by Torsten Schoenfeld.

2006-04-30  Kristian Rietveld  <kris@imendio.com>

Fix for #340200, spotted by Torsten Schoenfeld.

* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): fix up logic
calculating the level indentation,
(gtk_tree_view_start_editing): remove code calculating the
level indentation, since _get_cell_area() takes care of this for us.

18 years agoAdd a whole bunch of missing files. Updated Norwegian bokmål translation.
Kjartan Maraas [Sun, 30 Apr 2006 12:24:27 +0000 (12:24 +0000)]
Add a whole bunch of missing files. Updated Norwegian bokmål translation.

2006-04-30  Kjartan Maraas  <kmaraas@gnome.org>

* POTFILES.in: Add a whole bunch of missing files.
* nb.po: Updated Norwegian bokmål translation.

18 years agoFix problems with setting symbolic colors from rc files. (#338345,
Matthias Clasen [Sun, 30 Apr 2006 06:10:37 +0000 (06:10 +0000)]
Fix problems with setting symbolic colors from rc files. (#338345,

2006-04-30  Matthias Clasen  <mclasen@localhost.localdomain>

Fix problems with setting symbolic colors from rc files.
(#338345, Benjamin Berg)

* gtk/gtkrc.c (gtk_rc_settings_changed, gtk_rc_font_name_changed)
(gtk_rc_color_hash_changed, gtk_rc_reparse_all_for_settings): Don't
freeze notification for settings changes while parsing; instead
manually avoid recursion, and update the color hashes.

18 years agoImprove the print dialog layout, mark some more strings for translation.
Matthias Clasen [Sun, 30 Apr 2006 05:31:14 +0000 (05:31 +0000)]
Improve the print dialog layout, mark some more strings for translation.

2006-04-30  Matthias Clasen  <mclasen@localhost.localdomain>

* gtk/gtkprinteroption.c:
* gtk/gtkprinteroptionwidget.c:
* gtk/gtkprintunixdialog.c: Improve the print dialog layout,
mark some more strings for translation.  (#340139, Christian Persch)

18 years agofix the build
Matthias Clasen [Sun, 30 Apr 2006 05:08:06 +0000 (05:08 +0000)]
fix the build

18 years agoFix the definition of the ::size-changed signal, and improve its
Matthias Clasen [Sun, 30 Apr 2006 04:53:40 +0000 (04:53 +0000)]
Fix the definition of the ::size-changed signal, and improve its

2006-04-30  Matthias Clasen  <mclasen@localhost.localdomain>

* gtk/gtkstatusicon.c (gtk_status_icon_class_init): Fix the definition
of the ::size-changed signal, and improve its documentation.
(#340112, Christian Persch)

18 years agoTranslation updated.
Priit Laes [Sat, 29 Apr 2006 09:33:48 +0000 (09:33 +0000)]
Translation updated.

2006-04-29  Priit Laes  <amd@store20.com>

* et.po: Translation updated.

18 years agoChange colormap to font map in docs. (#340093)
Behdad Esfahbod [Sat, 29 Apr 2006 06:57:29 +0000 (06:57 +0000)]
Change colormap to font map in docs. (#340093)

2006-04-29  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkwidget.c (gtk_widget_create_pango_layout)
        (gtk_widget_get/create_pango_context): Change colormap to font map in
        docs. (#340093)

18 years agoAdd a menu position function for use with popups on status icons.
Matthias Clasen [Sat, 29 Apr 2006 06:34:14 +0000 (06:34 +0000)]
Add a menu position function for use with popups on status icons.

2006-04-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkstatusicon.h:
* gtk/gtkstatusicon.c (gtk_status_icon_position_menu): Add a menu
position function for use with popups on status icons.  (#334573,
Christian Persch)

18 years ago.
Behdad Esfahbod [Sat, 29 Apr 2006 04:57:30 +0000 (04:57 +0000)]
.

18 years agoFix a C99ism. (#340055, Kazuki Iwamoto)
Matthias Clasen [Sat, 29 Apr 2006 04:36:28 +0000 (04:36 +0000)]
Fix a C99ism. (#340055, Kazuki Iwamoto)

2006-04-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_is_composited): Fix a C99ism.  (#340055,
Kazuki Iwamoto)

18 years agoUse _static variants when copying and merging short-lived Pango layouts.
Matthias Clasen [Sat, 29 Apr 2006 03:53:25 +0000 (03:53 +0000)]
Use _static variants when copying and merging short-lived Pango layouts.

2006-04-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellrenderertext.c (get_size): Use _static variants when
copying and merging short-lived Pango layouts. (#340033, Morten Welinder)

18 years agoFix typo in docs. (#340063)
Behdad Esfahbod [Fri, 28 Apr 2006 21:43:44 +0000 (21:43 +0000)]
Fix typo in docs. (#340063)

2006-04-28  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkwidget.c (gtk_widget_create_pango_layout): Fix typo in
        docs. (#340063)

18 years agoDon't force the standard DND icon if the user has a custom DND source.
Matthias Clasen [Fri, 28 Apr 2006 14:32:09 +0000 (14:32 +0000)]
Don't force the standard DND icon if the user has a custom DND source.

2006-04-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_drag_begin): Don't force
the standard DND icon if the user has a custom DND source.
(#339522, Joe Wreschnig)

18 years agokeep a reference to the source buffer while the clipboard contents buffer
Michael Natterer [Fri, 28 Apr 2006 12:13:04 +0000 (12:13 +0000)]
keep a reference to the source buffer while the clipboard contents buffer

2006-04-28  Michael Natterer  <mitch@imendio.com>

* gtk/gtktextbuffer.c (create_clipboard_contents_buffer): keep a
reference to the source buffer while the clipboard contents buffer
exists, because it is needed for serializing the contents buffer.
Makes copying from the contents buffer possible even after the
resp. text view is destroyed (for example when there is a
clipboard manager running on app exit) (bug #339195).

18 years agoCast to double before dividing by PANGO_SCALE. (#334582)
Behdad Esfahbod [Fri, 28 Apr 2006 07:02:04 +0000 (07:02 +0000)]
Cast to double before dividing by PANGO_SCALE. (#334582)

2006-04-27  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkpango.c (gdk_pango_renderer_draw_glyphs): Cast to double
        before dividing by PANGO_SCALE. (#334582)

18 years agoImprove positioning of the menu when popped up by keynav. (#334987,
Matthias Clasen [Thu, 27 Apr 2006 18:50:39 +0000 (18:50 +0000)]
Improve positioning of the menu when popped up by keynav. (#334987,

2006-04-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentry.c (popup_position_func): Improve positioning
of the menu when popped up by keynav.  (#334987, Christian
Persch)

18 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Thu, 27 Apr 2006 05:39:08 +0000 (05:39 +0000)]
Updated Gujarati Translations

18 years agofix late setting of dnd icons
Matthias Clasen [Thu, 27 Apr 2006 05:16:43 +0000 (05:16 +0000)]
fix late setting of dnd icons

18 years agofix build without xfixes
Matthias Clasen [Thu, 27 Apr 2006 05:04:49 +0000 (05:04 +0000)]
fix build without xfixes

18 years agoDon't make this conditional on having a GTK_RESPONSE_CANCEL button -> end
Federico Mena Quintero [Wed, 26 Apr 2006 20:33:18 +0000 (20:33 +0000)]
Don't make this conditional on having a GTK_RESPONSE_CANCEL button -> end

2006-04-26  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkdialog.c (gtk_dialog_close): Don't make this conditional
on having a GTK_RESPONSE_CANCEL button -> end the idiocy.  Fixes
bug #101293.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Wed, 26 Apr 2006 18:49:02 +0000 (18:49 +0000)]
Translation updated by Tino Meinen.

2006-04-26  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agonew function, (validate_visible_area): when a node is validated, only
Kristian Rietveld [Wed, 26 Apr 2006 14:10:01 +0000 (14:10 +0000)]
new function, (validate_visible_area): when a node is validated, only

2006-04-26  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (node_is_visible): new function,
(validate_visible_area): when a node is validated, only queue a
redraw for that node, not for the entire widget (a redraw for the
entire widget is only needed when the sizes change, and
_queue_resize() will take care of that),
(do_validate_rows): do not queue a redraw, redraws are only needed
for changes in the visible area and validate_visible_area() takes
care of that,
(gtk_tree_view_row_inserted): for fixed height mode, only queue
a resize and redraw if the node is visible, else no redraw is needed.

18 years agoIf this new "row-ending-details" property is turned on, more detailed
Kristian Rietveld [Wed, 26 Apr 2006 12:48:03 +0000 (12:48 +0000)]
If this new "row-ending-details" property is turned on, more detailed

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.

18 years ago(broken pipe)
Kristian Rietveld [Wed, 26 Apr 2006 12:39:25 +0000 (12:39 +0000)]
(broken pipe)

18 years agoNew "show-expanders" and "level-indentation" properties, which can be used
Kristian Rietveld [Wed, 26 Apr 2006 12:39:12 +0000 (12:39 +0000)]
New "show-expanders" and "level-indentation" properties, which can be used

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.

18 years agoremove conflict marker
Kristian Rietveld [Wed, 26 Apr 2006 12:22:01 +0000 (12:22 +0000)]
remove conflict marker

18 years agoUpdated Gujarati Translations
Ankitkumar Rameshchandra Patel [Wed, 26 Apr 2006 06:51:59 +0000 (06:51 +0000)]
Updated Gujarati Translations

18 years agoAdd gdk_screen_is_composited
Matthias Clasen [Tue, 25 Apr 2006 16:45:22 +0000 (16:45 +0000)]
Add gdk_screen_is_composited

18 years agoAdd docs.
Matthias Clasen [Tue, 25 Apr 2006 15:36:54 +0000 (15:36 +0000)]
Add docs.

2006-04-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintjob.c (gtk_print_job_set_source_file): Add docs.

* gtk/gtkprintoperation.c: Add docs.

18 years agoCreate 'composited' label.
Søren Sandmann [Tue, 25 Apr 2006 14:27:32 +0000 (14:27 +0000)]
Create 'composited' label.

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)

18 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Tue, 25 Apr 2006 10:38:53 +0000 (10:38 +0000)]
Updated Norwegian bokmål translation.

2006-04-25  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

18 years agosome more options
Matthias Clasen [Tue, 25 Apr 2006 04:38:07 +0000 (04:38 +0000)]
some more options

18 years agoMore updates
Matthias Clasen [Tue, 25 Apr 2006 04:03:05 +0000 (04:03 +0000)]
More updates

18 years agoUpdates
Matthias Clasen [Tue, 25 Apr 2006 03:53:49 +0000 (03:53 +0000)]
Updates

18 years agoAdd prefixes to msgids for paper sizes
Matthias Clasen [Tue, 25 Apr 2006 03:44:57 +0000 (03:44 +0000)]
Add prefixes to msgids for paper sizes