]> Pileus Git - ~andy/gtk/log
~andy/gtk
17 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 19:04:35 +0000 (19:04 +0000)]
Document new api

svn path=/trunk/; revision=17934

17 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 19:03:18 +0000 (19:03 +0000)]
Document new api

svn path=/trunk/; revision=17933

17 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 18:59:43 +0000 (18:59 +0000)]
Document new api

svn path=/trunk/; revision=17932

17 years agodocument new api
Matthias Clasen [Sat, 26 May 2007 18:56:07 +0000 (18:56 +0000)]
document new api

svn path=/trunk/; revision=17931

17 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 18:53:50 +0000 (18:53 +0000)]
Document new api

svn path=/trunk/; revision=17930

17 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 18:51:06 +0000 (18:51 +0000)]
Document new api

svn path=/trunk/; revision=17929

17 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 18:49:58 +0000 (18:49 +0000)]
Document new api

svn path=/trunk/; revision=17928

17 years agoBring the dogs in shape
Matthias Clasen [Sat, 26 May 2007 18:44:33 +0000 (18:44 +0000)]
Bring the dogs in shape

svn path=/trunk/; revision=17927

17 years agoFix typo to get the build working.
Richard Hult [Sat, 26 May 2007 08:07:37 +0000 (08:07 +0000)]
Fix typo to get the build working.

2007-05-26  Richard Hult  <richard@imendio.com>

* gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
build working.

svn path=/trunk/; revision=17926

17 years agoMore of the same
Matthias Clasen [Sat, 26 May 2007 07:13:52 +0000 (07:13 +0000)]
More of the same

svn path=/trunk/; revision=17925

17 years agoRequire gtk-doc 1.6, for signal and property links.
Matthias Clasen [Sat, 26 May 2007 06:59:36 +0000 (06:59 +0000)]
Require gtk-doc 1.6, for signal and property links.

2007-05-26  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Require gtk-doc 1.6, for signal and property links.
        * gtk/gtkbox.c:
        * gtk/gtkbutton.c:
        * gtk/gtkcontainer.c:
        * gtk/gtkdialog.c:
        * gtk/gtkentry.c:
        * gtk/gtkimage.c:
        * gtk/gtklabel.c:
        * gtk/gtkmisc.c:
        * gtk/gtksettings.c:
        * gtk/gtkwidget.c: Documentation improvements, link signals
        and properties where it makes sense.

svn path=/trunk/; revision=17924

17 years agoFormatting fixes.
Matthias Clasen [Sat, 26 May 2007 04:39:23 +0000 (04:39 +0000)]
Formatting fixes.

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextmark.c:
        * gtk/gtktextbuffer.c: Formatting fixes.

svn path=/trunk/; revision=17923

17 years agoAllow to separate GtkTextMark creation from buffer insertion. (#132818,
Matthias Clasen [Sat, 26 May 2007 04:10:42 +0000 (04:10 +0000)]
Allow to separate GtkTextMark creation from buffer insertion. (#132818,

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        Allow to separate GtkTextMark creation from buffer insertion.
        (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)

        * gtk/gtktextmarkprivate.h:
        * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
        create a GtkTextMark.

        * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
        function to add an existing mark to a buffer.

        * gtk/gtktextbtree.c: Allow adding existing marks.

        * gtk/gtk.symbols: Add new functions.

        * tests/testtextbuffer.c: Add some tests for new mark
        functionality.

svn path=/trunk/; revision=17922

17 years agoForgot to put bug number.
Xan Lopez [Fri, 25 May 2007 21:23:45 +0000 (21:23 +0000)]
Forgot to put bug number.

svn path=/trunk/; revision=17921

17 years agoUse private->data->short_label to update the proxies.
Xan Lopez [Fri, 25 May 2007 21:02:46 +0000 (21:02 +0000)]
Use private->data->short_label to update the proxies.

* gtk/gtkaction.c: (gtk_action_set_short_label):
Use private->data->short_label to update the proxies.

svn path=/trunk/; revision=17918

17 years agoImplement copying from a window, part of bug #348493.
Richard Hult [Fri, 25 May 2007 19:47:23 +0000 (19:47 +0000)]
Implement copying from a window, part of bug #348493.

2007-05-25  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
Implement copying from a window, part of bug #348493.

svn path=/trunk/; revision=17917

17 years agoHold a refence on the print operation until gtk_print_job_send() is done.
Matthias Clasen [Fri, 25 May 2007 17:22:55 +0000 (17:22 +0000)]
Hold a refence on the print operation until gtk_print_job_send() is done.

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a
        refence on the print operation until gtk_print_job_send()
        is done.  (#440040, Chris Vine)

svn path=/trunk/; revision=17915

17 years agoDon't crash and don't leak. (#439565, Pedro Villavicencio)
Matthias Clasen [Fri, 25 May 2007 16:29:14 +0000 (16:29 +0000)]
Don't crash and don't leak. (#439565, Pedro Villavicencio)

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
        Don't crash and don't leak.  (#439565, Pedro Villavicencio)

svn path=/trunk/; revision=17913

17 years agoImprove a warning Always set the error when returning NULL. (#440982,
Matthias Clasen [Fri, 25 May 2007 15:31:28 +0000 (15:31 +0000)]
Improve a warning Always set the error when returning NULL. (#440982,

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconfactory.c: Improve a warning
        * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
        set the error when returning NULL.  (#440982, Carlos Garcia
        Campos)

svn path=/trunk/; revision=17912

17 years agoMerge fix from maemo-gtk:
Michael Natterer [Fri, 25 May 2007 09:33:05 +0000 (09:33 +0000)]
Merge fix from maemo-gtk:

2007-05-25  Michael Natterer  <mitch@imendio.com>

Merge fix from maemo-gtk:

* gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
also if the menu item we're entering is already selected. Also, it
makes no sense to forward the event to the parent menu shell if we
are entering a menu item of *this* menu shell.

svn path=/trunk/; revision=17911

17 years agoAd missing png icons
Matthias Clasen [Fri, 25 May 2007 01:45:40 +0000 (01:45 +0000)]
Ad missing png icons

svn path=/trunk/; revision=17910

17 years agoUpdated Danish translation
Kenneth Nielsen [Thu, 24 May 2007 23:46:31 +0000 (23:46 +0000)]
Updated Danish translation

svn path=/trunk/; revision=17909

17 years agoFix broken DESTDIR support
Matthias Clasen [Thu, 24 May 2007 19:43:05 +0000 (19:43 +0000)]
Fix broken DESTDIR support

svn path=/trunk/; revision=17907

17 years agoapply patch from Bogdan Nicula which fixes a crash on GdkWindows which
Michael Natterer [Thu, 24 May 2007 15:54:23 +0000 (15:54 +0000)]
apply patch from Bogdan Nicula which fixes a crash on GdkWindows which

2007-05-24  Michael Natterer  <mitch@imendio.com>

* gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
Bogdan Nicula which fixes a crash on GdkWindows which have no
GtkWidget as user_data (bug #440890).

svn path=/trunk/; revision=17906

17 years agobump version
Matthias Clasen [Thu, 24 May 2007 06:04:12 +0000 (06:04 +0000)]
bump version

svn path=/trunk/; revision=17905

17 years ago2.11.0
Matthias Clasen [Thu, 24 May 2007 05:51:56 +0000 (05:51 +0000)]
2.11.0

svn path=/trunk/; revision=17903

17 years agoUpdates
Matthias Clasen [Thu, 24 May 2007 04:23:42 +0000 (04:23 +0000)]
Updates

svn path=/trunk/; revision=17902

17 years agoAdd some missing symbols.
Matthias Clasen [Wed, 23 May 2007 17:49:34 +0000 (17:49 +0000)]
Add some missing symbols.

2007-05-23   Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gdk/x11/xsettings-common.h:
        * gdk/gdk.symbols: Add some missing symbols.

        * gtk/paper_names_offsets.c:
        * gtk/gen-paper-names.c: Make variables static.

        * gtk/gtktooltip.[hc]:
        * gtk/gtkvolumebutton.c:
        * gtk/gtkscalebutton.c:  Fix up symbol aliasing.

svn path=/trunk/; revision=17899

17 years agomissing #include <ctype.h>.
Yevgen Muntyan [Wed, 23 May 2007 15:06:03 +0000 (15:06 +0000)]
missing #include <ctype.h>.

2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtkprintunixdialog.c: missing #include <ctype.h>.

* gtk/gtkhandlebox.c (gtk_handle_box_paint):
* gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
* gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
* gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
* gtk/gtkpreview.c (gtk_preview_finalize):
* gtk/gtknotebook.c (gtk_notebook_set_group_id):
* tests/testnotebookdnd.c (window_creation_function):
* tests/testiconview.c (do_popup_menu):
Fixed some compiler warnings (#440689).

svn path=/trunk/; revision=17898

17 years agoFix make check
Matthias Clasen [Wed, 23 May 2007 14:02:14 +0000 (14:02 +0000)]
Fix make check

svn path=/trunk/; revision=17897

17 years agotranslate coordinates from the window they were received on to the event
Kristian Rietveld [Wed, 23 May 2007 12:32:42 +0000 (12:32 +0000)]
translate coordinates from the window they were received on to the event

2007-05-23  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
from the window they were received on to the event widget's window;
correct for no-window widgets after that, bail out on failure.  This
makes the coordinates given by GtkWidget::query-tooltip truly relative
to widget->window.  (#435188).

* gtk/gtkwidget.c (gtk_widget_class_init): update docs for
GtkWidget::query-tooltip.

svn path=/trunk/; revision=17896

17 years agoUpdated Welsh translation.
Rhys Jones [Wed, 23 May 2007 07:41:04 +0000 (07:41 +0000)]
Updated Welsh translation.

2007-05-23  Rhys Jones  <rhys@sucs.org>

* cy.po: Updated Welsh translation.

svn path=/trunk/; revision=17895

17 years agoUpdated Welsh translation.
Rhys Jones [Wed, 23 May 2007 07:35:30 +0000 (07:35 +0000)]
Updated Welsh translation.

2007-05-23  Rhys Jones  <rhys@sucs.org>

* cy.po: Updated Welsh translation.

svn path=/trunk/; revision=17894

17 years agoDon't create new pango fontmaps. Use the default pangocairo fontmap and
Behdad Esfahbod [Wed, 23 May 2007 03:19:37 +0000 (03:19 +0000)]
Don't create new pango fontmaps. Use the default pangocairo fontmap and

2007-05-22  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkprintcontext.c (gtk_print_context_finalize),
        (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
        (gtk_print_context_set_cairo_context),
        (gtk_print_context_get_pango_fontmap),
        (gtk_print_context_create_pango_context):
        Don't create new pango fontmaps.  Use the default pangocairo
        fontmap and set resolution on PangoContext instead. (#417707)

svn path=/trunk/; revision=17893

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 22 May 2007 15:30:24 +0000 (15:30 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17891

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 22 May 2007 15:29:59 +0000 (15:29 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17890

17 years agosvn test
Norayr Chilingaryan [Tue, 22 May 2007 12:47:06 +0000 (12:47 +0000)]
svn test

svn path=/trunk/; revision=17889

17 years agoupdated hebrew translation
Yair Hershkovitz [Tue, 22 May 2007 08:03:24 +0000 (08:03 +0000)]
updated hebrew translation

svn path=/trunk/; revision=17888

17 years agoSet the resolution.
Richard Hult [Mon, 21 May 2007 19:40:43 +0000 (19:40 +0000)]
Set the resolution.

2007-05-21  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
resolution.

* gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.

svn path=/trunk/; revision=17887

17 years agorevert last change.
Michael Natterer [Mon, 21 May 2007 12:43:50 +0000 (12:43 +0000)]
revert last change.

2007-05-21  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.

svn path=/trunk/; revision=17886

17 years agoremoved redundant check.
Tim Janik [Mon, 21 May 2007 12:05:57 +0000 (12:05 +0000)]
removed redundant check.

Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>

        * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.

svn path=/trunk/; revision=17885

17 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Mon, 21 May 2007 11:44:07 +0000 (11:44 +0000)]
Updated Thai translation.

* th.po: Updated Thai translation.

svn path=/trunk/; revision=17884

17 years agoBackport updated Italian translation from gtk-2-10 branch.
Luca Ferretti [Mon, 21 May 2007 09:16:00 +0000 (09:16 +0000)]
Backport updated Italian translation from gtk-2-10 branch.

2007-05-21  Luca Ferretti  <elle.uca@libero.it>

* it.po: Backport updated Italian translation from gtk-2-10
branch.

svn path=/trunk/; revision=17883

17 years agoBackport updated Italian translation from gtk-2-10 branch.
Luca Ferretti [Mon, 21 May 2007 09:10:16 +0000 (09:10 +0000)]
Backport updated Italian translation from gtk-2-10 branch.

2007-05-21  Luca Ferretti  <elle.uca@libero.it>

* it.po: Backport updated Italian translation from gtk-2-10
branch.

svn path=/trunk/; revision=17882

17 years agoMake it work better with multiple monitors.
Tor Lillqvist [Mon, 21 May 2007 02:58:16 +0000 (02:58 +0000)]
Make it work better with multiple monitors.

2007-05-21  Tor Lillqvist  <tml@novell.com>

* gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
multiple monitors.

svn path=/trunk/; revision=17881

17 years agoUpdated minimum DirectFB version required to enable gdk_directfb_create_child_window()
Attilio Fiandrotti [Sun, 20 May 2007 21:51:10 +0000 (21:51 +0000)]
Updated minimum DirectFB version required to enable gdk_directfb_create_child_window()

svn path=/trunk/; revision=17879

17 years agoAdd missing docs for the volume button
Bastien Nocera [Sat, 19 May 2007 23:47:25 +0000 (23:47 +0000)]
Add missing docs for the volume button

2007-05-20  Bastien Nocera  <hadess@hadess.net>

* gtk/gtk-docs.sgml: Add missing docs for the
volume button

svn path=/trunk/; revision=17878

17 years agoAdd the GtkVolumeButton widget, a button that pops up a scale when clicked
Bastien Nocera [Sat, 19 May 2007 23:35:00 +0000 (23:35 +0000)]
Add the GtkVolumeButton widget, a button that pops up a scale when clicked

2007-05-20  Bastien Nocera  <hadess@hadess.net>

* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
a button that pops up a scale when clicked (Closes: #415775)
* tests/Makefile.am:
* tests/testvolumebutton.c: Add a test program for the
volume button

2007-05-20  Bastien Nocera  <hadess@hadess.net>

* POTFILES.in: Add volume button to the list

2007-05-20  Bastien Nocera  <hadess@hadess.net>

        * gtk/gtk-sections.txt: Add the GtkVolumeButton widget
to the docs

svn path=/trunk/; revision=17877

17 years agoreviewed by: Matthias Clasen <mclasen@redhat.com>
Bastien Nocera [Sat, 19 May 2007 23:08:02 +0000 (23:08 +0000)]
reviewed by: Matthias Clasen <mclasen@redhat.com>

2007-05-19  Bastien Nocera  <hadess@hadess.net>

reviewed by: Matthias Clasen <mclasen@redhat.com>

* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
a button that pops up a scale when pressed

2007-05-19  Bastien Nocera  <hadess@hadess.net>

* POTFILES.in: Add scale button to the list

2007-05-20  Bastien Nocera  <hadess@hadess.net>

* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt: add the GtkScaleButton widget
to the docs

svn path=/trunk/; revision=17876

17 years agoupdaed hebrew translation
Yair Hershkovitz [Sat, 19 May 2007 21:15:39 +0000 (21:15 +0000)]
updaed hebrew translation

svn path=/trunk/; revision=17875

17 years agoAdd credits
Matthias Clasen [Sat, 19 May 2007 15:14:55 +0000 (15:14 +0000)]
Add credits

svn path=/trunk/; revision=17874

17 years agoDeprecate gtk_notebook_[gs]et_group_id in favour of new functions
Matthias Clasen [Sat, 19 May 2007 05:22:00 +0000 (05:22 +0000)]
Deprecate gtk_notebook_[gs]et_group_id in favour of new functions

2007-05-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
        in favour of new functions gtk_notebook_[gs]et_group, which
        takes a pointer as group identifier and makes it easier to
        avoid group id collisions.  (#386930, Christian Hammond)

        * tests/testnotebookdnd.c: Use new grouping api.

svn path=/trunk/; revision=17873

17 years agoWarn and refuse to add actions with duplicate names. (#150877, Tommi
Matthias Clasen [Sat, 19 May 2007 04:07:42 +0000 (04:07 +0000)]
Warn and refuse to add actions with duplicate names. (#150877, Tommi

2007-05-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkactiongroup.c: Warn and refuse to add actions with
        duplicate names.  (#150877, Tommi Komulainen)

svn path=/trunk/; revision=17872

17 years agoAdd gtk_entry_[gs]et_cursor_hadjustment() to allow automatic scrolling in
Matthias Clasen [Sat, 19 May 2007 02:31:53 +0000 (02:31 +0000)]
Add gtk_entry_[gs]et_cursor_hadjustment() to allow automatic scrolling in

2007-05-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
        to allow automatic scrolling in response to cursor movements
        in the entry.  (#438651, Nate Nielsen)

svn path=/trunk/; revision=17871

17 years agoFix the build
Matthias Clasen [Sat, 19 May 2007 02:12:07 +0000 (02:12 +0000)]
Fix the build

svn path=/trunk/; revision=17870

17 years agoAdd a toggle-cursor-visibility keybinding signal, and bind F7 to it.
Matthias Clasen [Fri, 18 May 2007 22:29:55 +0000 (22:29 +0000)]
Add a toggle-cursor-visibility keybinding signal, and bind F7 to it.

2007-05-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
        signal, and bind F7 to it.  (#380048, Tim Miao)

svn path=/trunk/; revision=17869

17 years agoAdd a function to look up an icon from a list of icon names. (#396901,
Matthias Clasen [Fri, 18 May 2007 20:19:12 +0000 (20:19 +0000)]
Add a function to look up an icon from a list of icon names. (#396901,

2007-05-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkicontheme.h:
        * gtk/gtkicontheme.c: Add a function to look up an icon from
        a list of icon names.  (#396901, Luca Ferretti)

svn path=/trunk/; revision=17868

17 years agoReset the state on dispose.
Emmanuele Bassi [Fri, 18 May 2007 15:56:05 +0000 (15:56 +0000)]
Reset the state on dispose.

2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchooserdefault.c:
(gtk_recent_chooser_default_dispose): Reset the state on dispose.

(cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
is a valid state, if the main loop never had the chance to
properly spin at least once. (#438671)

svn path=/trunk/; revision=17866

17 years agoMark string for translation. (#439437)
Emmanuele Bassi [Fri, 18 May 2007 15:48:43 +0000 (15:48 +0000)]
Mark string for translation. (#439437)

2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
string for translation. (#439437)

svn path=/trunk/; revision=17865

17 years agoFix a typo
Matthias Clasen [Fri, 18 May 2007 15:32:54 +0000 (15:32 +0000)]
Fix a typo

svn path=/trunk/; revision=17864

17 years agoBump libtiff requirement to 3.6.0, by requiring presence of
Michael J. Chudobiak [Fri, 18 May 2007 14:19:47 +0000 (14:19 +0000)]
Bump libtiff requirement to 3.6.0, by requiring presence of

2007-05-18  Michael J. Chudobiak  <mjc@cvs.gnome.org>

        * INSTALL.in:
        * README.in:
        * configure.in: Bump libtiff requirement to 3.6.0, by requiring
          presence of TIFFReadRGBAImageOriented.

        * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
        Preserve pixbuf options when generating a new scaled pixbuf.

        * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
        (gdk_pixbuf__jpeg_image_load_increment): Read the exif
        orientation tag and associate it with the "orientation" pixbuf
        option. Renders libexif unnecessary in some applications.

        * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
        compensate for the partial rotations performed by libtiff,
        and generate an "orientation" option for the pixbuf.

svn path=/trunk/; revision=17863

17 years agoremove c++ style comment.
Carlos Garnacho [Fri, 18 May 2007 13:31:29 +0000 (13:31 +0000)]
remove c++ style comment.

2007-05-18  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkexpander.c: remove c++ style comment.

svn path=/trunk/; revision=17862

17 years agoMake combobox menu popdown keybindable (#433593)
Carlos Garnacho [Fri, 18 May 2007 11:33:13 +0000 (11:33 +0000)]
Make combobox menu popdown keybindable (#433593)

2007-05-18  Carlos Garnacho  <carlos@imendio.com>

        Make combobox menu popdown keybindable (#433593)

        * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
        signal and keybindings.
        (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
        handler.
        (gtk_combo_box_menu_key_press):
        (gtk_combo_box_list_key_press): forward the event to the combobox if
        it wasn't handled by the menu.

svn path=/trunk/; revision=17861

17 years agoAllow widgets up in the hierarchy to run their DnD handlers if the target
Carlos Garnacho [Fri, 18 May 2007 11:07:04 +0000 (11:07 +0000)]
Allow widgets up in the hierarchy to run their DnD handlers if the target

2007-05-18  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
        (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
        their DnD handlers if the target doesn't match with anything the
        notebook manages. (#350665, Joakim Lundborg).

svn path=/trunk/; revision=17860

17 years agoRefactor GtkFileChooserDialog sizing.
Carlos Garnacho [Fri, 18 May 2007 10:38:42 +0000 (10:38 +0000)]
Refactor GtkFileChooserDialog sizing.

2007-05-18  Carlos Garnacho  <carlos@imendio.com>

        Refactor GtkFileChooserDialog sizing.

        * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
        (_gtk_file_chooser_embed_get_resizable_hints):
        s/resizable_hints/resizable/, return just one boolean value to
        determine whether the filechooser should be resizable or not.

        * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
        variables related to the GtkFileChooserEmbed get_default_size() and
        get_resizable() implementations.
        (struct GtkFileChooserDefault): Move default size management here.

        * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
        Added, store currently allocated size to calculate default size later.
        (gtk_file_chooser_default_get_resizable_hints):
        s/resizable_hints/resizable/.
        (gtk_file_chooser_default_set_property): Reload settings if the file
        chooser action changes, this way the save expander state will be known
        before mapping the window, avoiding wrong window positioning and
        flickering. (#424299, #424309)
        (find_good_size_from_style): Only get size from style if it wasn't set
        previously.
        (gtk_file_chooser_default_get_default_size): return default size based
        on stored default size and preview/extra widget sizes.

        * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
        (file_chooser_widget_realized_size_changed)
        (file_chooser_widget_unrealized_size_changed): simplified to
        (file_chooser_widget_size_changed): set window size and resizability
        based on the GtkFileChooserEmbed interface implementation. (Bug
        #420285, Tomeu Vizoso)
        (gtk_file_chooser_dialog_map): force a dialog size change, so it's
        clamped for sure to the 75% of the screen size.

svn path=/trunk/; revision=17859

17 years agoDo not unset the brand new current page if there was none set previously.
Carlos Garnacho [Fri, 18 May 2007 09:42:52 +0000 (09:42 +0000)]
Do not unset the brand new current page if there was none set previously.

2007-05-18  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
        the brand new current page if there was none set previously. Fixes
        #425138 (Reported by Michail Crayson). Some code simplifications.
        (gtk_notebook_draw_arrow): code style fix.

svn path=/trunk/; revision=17858

17 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Thu, 17 May 2007 10:58:07 +0000 (10:58 +0000)]
Updated Thai translation.

* th.po: Updated Thai translation.

svn path=/trunk/; revision=17857

17 years agoAdd ATK names to the Up, Down, and Root buttons. Keep the focus from
Matthias Clasen [Wed, 16 May 2007 17:42:53 +0000 (17:42 +0000)]
Add ATK names to the Up, Down, and Root buttons. Keep the focus from

2007-05-16  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
        buttons. Keep the focus from vanishing when Up or Down arrows
        become insensitive or invisible.  (#357005, Patrick Wade)

svn path=/trunk/; revision=17856

17 years agoAdd Sun mediaLib support so that hardware acceleration via mediaLib is
Brian Cameron [Wed, 16 May 2007 01:35:51 +0000 (01:35 +0000)]
Add Sun mediaLib support so that hardware acceleration via mediaLib is

2007-05-16  Brian Cameron  <brian.cameron@sun.com>

        * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
          gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
          gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
          gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
          hardware acceleration via mediaLib is enabled if mediaLib is
          detected via configure.  Enhancement request #344813.  I was given
          permission to commit in the bug report by Matthias Clasen.
        * gdk/medialib.[ch]: New files added for mediaLib support.
        * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
          docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
          mediaLib support.

svn path=/trunk/; revision=17855

17 years agoUpdated en_GB translation
David Lodge [Tue, 15 May 2007 21:24:43 +0000 (21:24 +0000)]
Updated en_GB translation

svn path=/trunk/; revision=17853

17 years agoUpdated en_GB translation
David Lodge [Tue, 15 May 2007 21:11:05 +0000 (21:11 +0000)]
Updated en_GB translation

svn path=/trunk/; revision=17852

17 years agoUnset priv->platform_data and priv->free_platform_data to prevent
Torsten Schoenfeld [Tue, 15 May 2007 17:57:27 +0000 (17:57 +0000)]
Unset priv->platform_data and priv->free_platform_data to prevent

2007-05-15  Torsten Schoenfeld  <kaffeetisch@gmx.de>

* gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
priv->free_platform_data to prevent gtk_print_operation_finalize()
from freeing the cairo surface a second time.

svn path=/trunk/; revision=17851

17 years agoUpdated Spansih translation
Jorge Gonzalez Gonzalez [Tue, 15 May 2007 15:49:45 +0000 (15:49 +0000)]
Updated Spansih translation

svn path=/trunk/; revision=17850

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 15 May 2007 15:49:20 +0000 (15:49 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17849

17 years agoremove dangling semicolon, fixes the segfault ebassi was seeing earlier
Kristian Rietveld [Mon, 14 May 2007 21:36:24 +0000 (21:36 +0000)]
remove dangling semicolon, fixes the segfault ebassi was seeing earlier

2007-05-14  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
dangling semicolon, fixes the segfault ebassi was seeing earlier today
;)

svn path=/trunk/; revision=17848

17 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Mon, 14 May 2007 21:31:07 +0000 (21:31 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=17847

17 years agosv.po: Updated Swedish translation
Daniel Nylander [Mon, 14 May 2007 19:51:32 +0000 (19:51 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=17846

17 years agoFunctions: gtk_about_dialog_get/set_name() were deprecated in favour of
Tristan Van Berkom [Mon, 14 May 2007 18:33:53 +0000 (18:33 +0000)]
Functions: gtk_about_dialog_get/set_name() were deprecated in favour of

* gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name()
were deprecated in favour of gtk_about_dialog_get/set_program_name(),
the GtkAboutDialog now uses the "program-name" property instead of
the conflicting "name" property (fixes bug 345822).

svn path=/trunk/; revision=17845

17 years agoAdd check for GNU extensions to ftw()/nftw().
Emmanuele Bassi [Mon, 14 May 2007 15:35:37 +0000 (15:35 +0000)]
Add check for GNU extensions to ftw()/nftw().

2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>

* configure.in: Add check for GNU extensions to ftw()/nftw().

* gtk/gtksearchenginesimple.c: Fix compilation on systems with
only POSIX-compliant ftw(). (#435797, based on a patch by
Richard Hult)

svn path=/trunk/; revision=17844

17 years agoConvert the GtkTreeIter inside the sorting functions for the search and
Emmanuele Bassi [Mon, 14 May 2007 10:16:07 +0000 (10:16 +0000)]
Convert the GtkTreeIter inside the sorting functions for the search and

2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkfilechooserdefault.c:
Convert the GtkTreeIter inside the sorting functions for the
search and recent modes. This doesn't yet fix the segfault when
clicking the 'Name' column in recent mode, though.

svn path=/trunk/; revision=17843

17 years agoFix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
Behdad Esfahbod [Mon, 14 May 2007 10:10:46 +0000 (10:10 +0000)]
Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)

2007-05-14  Behdad Esfahbod  <behdad@gnome.org>

        * modules/input/gtkimcontextthai.c
        (gtk_im_context_thai_filter_keypress):
        Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)

svn path=/trunk/; revision=17842

17 years agoupdated hebrew translation
Yair Hershkovitz [Mon, 14 May 2007 08:26:23 +0000 (08:26 +0000)]
updated hebrew translation

svn path=/trunk/; revision=17840

17 years agoDocument scrollbars-within-bevel as 2.12 addition. (#438131, Mart
Matthias Clasen [Mon, 14 May 2007 04:23:45 +0000 (04:23 +0000)]
Document scrollbars-within-bevel as 2.12 addition. (#438131, Mart

2007-05-14  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
        as 2.12 addition.  (#438131, Mart Raudsepp)

svn path=/trunk/; revision=17839

17 years agoFix size requisition for wide vertical separators. (#438113, Benjamin
Matthias Clasen [Mon, 14 May 2007 04:18:33 +0000 (04:18 +0000)]
Fix size requisition for wide vertical separators. (#438113, Benjamin

2007-05-14  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
        size requisition for wide vertical separators.  (#438113,
        Benjamin Berg)

svn path=/trunk/; revision=17837

17 years agoInclude <ftw.h> and use nftw() and all the symbols defined in <ftw.h>
Emmanuele Bassi [Sun, 13 May 2007 21:21:39 +0000 (21:21 +0000)]
Include <ftw.h> and use nftw() and all the symbols defined in <ftw.h>

2007-05-13  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
all the symbols defined in <ftw.h> conditionally.

svn path=/trunk/; revision=17836

17 years agoFix context iterations for handle_configure_event()
Cody Russell [Sun, 13 May 2007 18:44:27 +0000 (18:44 +0000)]
Fix context iterations for handle_configure_event()

svn path=/trunk/; revision=17834

17 years agoOccitan translation update
Yannig MARCHEGAY [Sun, 13 May 2007 12:59:25 +0000 (12:59 +0000)]
Occitan translation update

svn path=/trunk/; revision=17833

17 years agoFix wrong cairo path generation. (#437879, Eddie C. Dost)
Behdad Esfahbod [Sat, 12 May 2007 18:52:36 +0000 (18:52 +0000)]
Fix wrong cairo path generation. (#437879, Eddie C. Dost)

2007-05-12  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
        generation.  (#437879, Eddie C. Dost)

svn path=/trunk/; revision=17831

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 12 May 2007 18:39:22 +0000 (18:39 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17830

17 years agoGtkFileChooser search fixes and recent files support. (#435342)
Emmanuele Bassi [Fri, 11 May 2007 19:44:32 +0000 (19:44 +0000)]
GtkFileChooser search fixes and recent files support. (#435342)

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

GtkFileChooser search fixes and recent files support.  (#435342)

* gtk/gtkfilechooserdefault.c: Support drag and drop for
adding shortcuts of folders when in search or recent files
mode.

svn path=/trunk/; revision=17829

17 years agoGtkFileChooser search fixes and recent files support. (#435342)
Emmanuele Bassi [Fri, 11 May 2007 19:42:40 +0000 (19:42 +0000)]
GtkFileChooser search fixes and recent files support. (#435342)

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

GtkFileChooser search fixes and recent files support.  (#435342)

* gtk/gtkfilechooserprivate.h:
* gtk/gtkfilechooserdefault.c: Follow the sorting order of
the GtkTreeView displaying the files list.

(shortcuts_get_index), (shortcuts_insert_separator),
(shortcuts_model_create), (shortcuts_combo_filter_func): Remove
the separator between the Search and the Recently Used shortcuts.

(list_select_func), (list_icon_data_func), (list_name_data_func),
(list_mtime_data_func): Update the sensitivity of the row
depending on the GtkFileChooserAction used.

svn path=/trunk/; revision=17828

17 years agoGtkFileChooser search fixes and recent files support. (#435342)
Emmanuele Bassi [Fri, 11 May 2007 19:37:26 +0000 (19:37 +0000)]
GtkFileChooser search fixes and recent files support. (#435342)

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

GtkFileChooser search fixes and recent files support.  (#435342)

* gtk/gtkfilechooserprivate.h:
* gtk/gtkfilechooserdefault.c: Update the contents of the
files list when changing the filter of the GtkFileChooserDefault
widget.

svn path=/trunk/; revision=17827

17 years agoGtkFileChooser search fixes and recent files support. (#435342)
Emmanuele Bassi [Fri, 11 May 2007 19:33:38 +0000 (19:33 +0000)]
GtkFileChooser search fixes and recent files support. (#435342)

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

GtkFileChooser search fixes and recent files support.  (#435342)

* gtk/gtkfilechooserdefault.c: Update the add bookmark button
sensitivity when in search or recent files mode, and allow
adding a bookmark for a folder.

svn path=/trunk/; revision=17826

17 years agoGtkFileChooser search fixes and recent files support. (#435342)
Emmanuele Bassi [Fri, 11 May 2007 19:30:38 +0000 (19:30 +0000)]
GtkFileChooser search fixes and recent files support. (#435342)

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

GtkFileChooser search fixes and recent files support.  (#435342)

* gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
a mnemonic to the label, de-boldify the label's text and assign
focus to the search entry when switching to the search mode.

(list_name_data_func): Split the text in both search and recent
files mode: on the first line use the short name and on the
second line use the full path.

svn path=/trunk/; revision=17825

17 years agoGtkFileChooser search fixes and recent files support. (#435342)
Emmanuele Bassi [Fri, 11 May 2007 19:26:32 +0000 (19:26 +0000)]
GtkFileChooser search fixes and recent files support. (#435342)

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

GtkFileChooser search fixes and recent files support.  (#435342)

* gtk/gtkfilechooserprivate.h:
* gtk/gtkfilechooserdefault.c: Add support for showing the
recently used files list as a special shortcut item.

svn path=/trunk/; revision=17824

17 years agoGtkFileChooser search fixes and recent files support. (#435342)
Emmanuele Bassi [Fri, 11 May 2007 19:22:38 +0000 (19:22 +0000)]
GtkFileChooser search fixes and recent files support. (#435342)

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

GtkFileChooser search fixes and recent files support.  (#435342)

* gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
indentation style consistency.

(list_row_activated): If the search hit is a folder, follow it
when activating the row, and switch back to browse mode.

(search_clear_model), (search_start_query),
(search_entry_activate_cb), (search_setup_widgets): Remember
the last query when switching between modes.

svn path=/trunk/; revision=17823

17 years agoAdd key binding for the Search shortcut; default to MOD1+S.
Emmanuele Bassi [Fri, 11 May 2007 19:16:59 +0000 (19:16 +0000)]
Add key binding for the Search shortcut; default to MOD1+S.

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkfilechooserdefault.c:
(_gtk_file_chooser_default_class_init): Add key binding for
the Search shortcut; default to MOD1+S.

(search_shortcut_handler): Handle the key binding.

(search_hit_get_info_cb), (search_add_hit), (search_clear_model),
(search_setup_model): Retrieve informations on the search hits
when adding them to the model.

(list_icon_data_func): Show the search hit icon.

svn path=/trunk/; revision=17822

17 years agocall gdk_event_request_motions(event) so selecting works with XInput
Michael Natterer [Fri, 11 May 2007 16:03:48 +0000 (16:03 +0000)]
call gdk_event_request_motions(event) so selecting works with XInput

2007-05-11  Michael Natterer  <mitch@imendio.com>

* gtk/gtktextview.c (selection_motion_event_handler): call
gdk_event_request_motions(event) so selecting works with
XInput devices too. Spotted by Tommi Komulainen.

svn path=/trunk/; revision=17820

17 years agoFall back to GtkSearchEngineSimple only if gthread has already been
Emmanuele Bassi [Fri, 11 May 2007 14:08:57 +0000 (14:08 +0000)]
Fall back to GtkSearchEngineSimple only if gthread has already been

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
to GtkSearchEngineSimple only if gthread has already been
initialiased; otherwise, disable search support in the file
chooser widget.  (#435847)

svn path=/trunk/; revision=17819

17 years agoUnparent the old image before overwriting priv->image. (#437281, Jochen
Matthias Clasen [Thu, 10 May 2007 20:19:38 +0000 (20:19 +0000)]
Unparent the old image before overwriting priv->image. (#437281, Jochen

2007-05-10  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
        image before overwriting priv->image.  (#437281, Jochen Baier)

svn path=/trunk/; revision=17816