]> Pileus Git - ~andy/gtk/log
~andy/gtk
17 years agoUpdate.
Tor Lillqvist [Fri, 9 Mar 2007 10:00:22 +0000 (10:00 +0000)]
Update.

2007-03-09  Tor Lillqvist  <tml@novell.com>

* README.win32: Update.

svn path=/trunk/; revision=17441

17 years agoDefer the callbacks to an idle to avoid deadlock with xcb-ified libX11.
Matthias Clasen [Fri, 9 Mar 2007 05:28:00 +0000 (05:28 +0000)]
Defer the callbacks to an idle to avoid deadlock with xcb-ified libX11.

2007-03-08  Matthias Clasen <mclasen@redhat.com>

        * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
        to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
        Sebastian Dröge)

svn path=/trunk/; revision=17436

17 years agoSet child visibility to FALSE here; it will be turned back on in
Matthias Clasen [Fri, 9 Mar 2007 04:44:20 +0000 (04:44 +0000)]
Set child visibility to FALSE here; it will be turned back on in

2007-03-08  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
        Set child visibility to FALSE here; it will be turned
        back on in switch_page.  (#413664, Carlos Garnacho)

svn path=/trunk/; revision=17434

17 years agoImplement scaling for animations
Matthias Clasen [Thu, 8 Mar 2007 16:21:09 +0000 (16:21 +0000)]
Implement scaling for animations

svn path=/trunk/; revision=17430

17 years agoUse proper border style when drawing shadow of scrolled windows on Windows
Mathias Hasselmann [Thu, 8 Mar 2007 13:24:51 +0000 (13:24 +0000)]
Use proper border style when drawing shadow of scrolled windows on Windows

2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>

* modules/engines/ms-windows/msw_style.c: Use proper border style
when drawing shadow of scrolled windows on Windows XP (#168326)
* modules/engines/ms-windows/xp_theme.c: Explicitly set size of
element_part_map array to ensure it always is large enough.

svn path=/trunk/; revision=17429

17 years agoAdd shadow-type style property, set shadow-type property of GtkEntry
Mathias Hasselmann [Thu, 8 Mar 2007 02:36:46 +0000 (02:36 +0000)]
Add shadow-type style property, set shadow-type property of GtkEntry

2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
property of GtkEntry accordingly, unify size-allocation of toggle
button (#411123, patch from Mathias Hasselmann).
* gtk/gtkentry.c: Add shadow-type property. Query style properties
on style changes only (#411123, patch from Mathias Hasselmann).
* modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
hack as GtkComboBox emits drawing requests now (#411123, patch
from Mathias Hasselmann).

svn path=/trunk/; revision=17426

17 years agoImprove look of GtkScrolledWindow on Windows by implementing a
Mathias Hasselmann [Thu, 8 Mar 2007 02:33:15 +0000 (02:33 +0000)]
Improve look of GtkScrolledWindow on Windows by implementing a

2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
by implementing a scrollbars-within-bevel style property. (#168326)

svn path=/trunk/; revision=17425

17 years agoAdd Novell and tbf as copyright holders
Tor Lillqvist [Wed, 7 Mar 2007 23:41:05 +0000 (23:41 +0000)]
Add Novell and tbf as copyright holders

svn path=/trunk/; revision=17423

17 years agoUse Windows shell icons. Icons are stored in the current theme with the
Mathias Hasselmann [Wed, 7 Mar 2007 23:17:38 +0000 (23:17 +0000)]
Use Windows shell icons. Icons are stored in the current theme with the

2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
stored in the current theme with the name
"gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
icons as reported by SHGetFileInfoW. (#412221)

svn path=/trunk/; revision=17421

17 years agoDraw the focus around the arrow if there is no label widget. (#124045,
Matthias Clasen [Wed, 7 Mar 2007 21:34:43 +0000 (21:34 +0000)]
Draw the focus around the arrow if there is no label widget. (#124045,

2007-03-07  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
        focus around the arrow if there is no label widget.
        (#124045, Cody Russell)

svn path=/trunk/; revision=17419

17 years agoSet names on the popup widgets to make them themable. (#414975, Benjamin
Matthias Clasen [Wed, 7 Mar 2007 21:10:45 +0000 (21:10 +0000)]
Set names on the popup widgets to make them themable. (#414975, Benjamin

2007-03-07  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkcombo.c: (gtk_combo_init):
        * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
        (gtk_combo_box_menu_setup):
        Set names on the popup widgets to make them themable. (#414975,
        Benjamin Berg)

svn path=/trunk/; revision=17417

17 years agouse multihead safe ungrab functions instead of gdk_keyboard_ungrab() and
Michael Natterer [Wed, 7 Mar 2007 14:18:53 +0000 (14:18 +0000)]
use multihead safe ungrab functions instead of gdk_keyboard_ungrab() and

2007-03-07  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
empty finalize() implementation, some cosmetic cleanup
(bug #415645).

svn path=/trunk/; revision=17412

17 years agoBe careful not to trigger a style reset before we have loaded the icon
Chris Wilson [Tue, 6 Mar 2007 18:26:41 +0000 (18:26 +0000)]
Be careful not to trigger a style reset before we have loaded the icon

2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>

* gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
(do_theme_change), (gtk_icon_theme_set_custom_theme),
(load_themes):
Be careful not to trigger a style reset before we have loaded
the icon theme. (#414875).

svn path=/trunk/; revision=17404

17 years agoUpdated German translation.
Hendrik Richter [Tue, 6 Mar 2007 17:13:25 +0000 (17:13 +0000)]
Updated German translation.

2007-03-06  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=17402

17 years agoUpdated German translation.
Hendrik Richter [Tue, 6 Mar 2007 17:12:39 +0000 (17:12 +0000)]
Updated German translation.

2007-03-06  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=17401

17 years ago2007-03-06 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian transla...
Jovan Naumovski [Tue, 6 Mar 2007 10:21:37 +0000 (10:21 +0000)]
2007-03-06 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.

svn path=/trunk/; revision=17397

17 years agogdk/Makefile.am gdk-pixbuf/Makefile.am Further fixes for building on Win32
Tor Lillqvist [Tue, 6 Mar 2007 09:52:35 +0000 (09:52 +0000)]
gdk/Makefile.am gdk-pixbuf/Makefile.am Further fixes for building on Win32

2007-03-06  Tor Lillqvist  <tml@novell.com>

* gdk/Makefile.am
* gdk-pixbuf/Makefile.am
* gtk/Makefile.am: Further fixes for building on Win32 outside
srcdir. (#413492, Mathias Hasselmann)

svn path=/trunk/; revision=17395

17 years agoFlip some more images
Matthias Clasen [Tue, 6 Mar 2007 04:16:24 +0000 (04:16 +0000)]
Flip some more images

svn path=/trunk/; revision=17393

17 years agoFixed problems with be@latin.
Ihar Hrachyshka [Mon, 5 Mar 2007 13:38:45 +0000 (13:38 +0000)]
Fixed problems with be@latin.

svn path=/trunk/; revision=17392

17 years agoRemoved be@latin from ALL_LINGUAS, as it's currently breaking the build.
Claudio Saavedra [Mon, 5 Mar 2007 00:49:59 +0000 (00:49 +0000)]
Removed be@latin from ALL_LINGUAS, as it's currently breaking the build.

2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
        breaking the build.

svn path=/trunk/; revision=17390

17 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Sun, 4 Mar 2007 19:44:09 +0000 (19:44 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=17388

17 years agoremoved "fuzzy" before po header; added author information
Guillaume SAVATON [Sun, 4 Mar 2007 18:52:32 +0000 (18:52 +0000)]
removed "fuzzy" before po header; added author information

2007-03-04 Guillaume SAVATON <llumeao@gmail.com>

   * eo.po: removed "fuzzy" before po header; added author information

svn path=/trunk/; revision=17387

17 years agoCorrected bug #355838
Erdal Ronahi [Sun, 4 Mar 2007 15:45:54 +0000 (15:45 +0000)]
Corrected bug #355838

svn path=/trunk/; revision=17386

17 years agobe@latin.po: Added Belarusian Latin translation by Ales Navicki.
Ihar Hrachyshka [Sun, 4 Mar 2007 13:43:42 +0000 (13:43 +0000)]
be@latin.po: Added Belarusian Latin translation by Ales Navicki.

svn path=/trunk/; revision=17385

17 years agoCorrected mistakes in Esperanto translation (labels translated in msgstr)
Guillaume Savaton [Sat, 3 Mar 2007 19:36:30 +0000 (19:36 +0000)]
Corrected mistakes in Esperanto translation (labels translated in msgstr)

2007-03-03 Guillaume Savaton <llumeao@gmail.com>

   * eo.po: Corrected mistakes in Esperanto translation (labels translated in msgstr)

svn path=/trunk/; revision=17380

17 years agoAdded Esperanto (eo) translation
Guillaume Savaton [Sat, 3 Mar 2007 18:57:27 +0000 (18:57 +0000)]
Added Esperanto (eo) translation

2007-03-03 Guillaume Savaton <llumeao@gmail.com>

   * Added Esperanto (eo) translation

svn path=/trunk/; revision=17379

17 years agoremove forgotten debug code
Matthias Clasen [Thu, 1 Mar 2007 06:47:15 +0000 (06:47 +0000)]
remove forgotten debug code

svn path=/trunk/; revision=17370

17 years agoAlways store gtk-color-scheme values from all sources in the
Matthias Clasen [Thu, 1 Mar 2007 06:44:00 +0000 (06:44 +0000)]
Always store gtk-color-scheme values from all sources in the

2007-03-01  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtksettings.c: Always store gtk-color-scheme
        values from all sources in the ColorSchemeData struct
        and ignore the property_value for gtk-color-scheme.
        This fixes #412596, reported by Thomas Wood.

svn path=/trunk/; revision=17369

17 years agoMake color scheme update properly when changing themes. (#402131, Benjamin
Matthias Clasen [Wed, 28 Feb 2007 19:37:08 +0000 (19:37 +0000)]
Make color scheme update properly when changing themes. (#402131, Benjamin

2007-02-28  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtksettings.c: Make color scheme update properly
        when changing themes.  (#402131, Benjamin Berg)

svn path=/trunk/; revision=17366

17 years agoDon't leak references to the color-hash gotten from GtkSettings. (#409357,
Matthias Clasen [Wed, 28 Feb 2007 17:00:55 +0000 (17:00 +0000)]
Don't leak references to the color-hash gotten from GtkSettings. (#409357,

2007-02-28  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkrc.c: Don't leak references to the color-hash
        gotten from GtkSettings.  (#409357, Benjamin Berg)

svn path=/trunk/; revision=17364

17 years agoFixed a warning from g_object_set (radiobutton, "group", NULL, NULL).
Tristan Van Berkom [Wed, 28 Feb 2007 16:16:54 +0000 (16:16 +0000)]
Fixed a warning from g_object_set (radiobutton, "group", NULL, NULL).

* gtk/gtkradiobutton.c: Fixed a warning from
g_object_set (radiobutton, "group", NULL, NULL).

svn path=/trunk/; revision=17363

17 years agoAdd image/x-ico to supported mime types. Fixes bug #393599.
Felix Riemann [Tue, 27 Feb 2007 19:28:28 +0000 (19:28 +0000)]
Add image/x-ico to supported mime types. Fixes bug #393599.

2007-02-27  Felix Riemann  <friemann@svn.gnome.org>

* io-ico.c: (fill_info): Add image/x-ico to supported mime types.
Fixes bug #393599.

svn path=/trunk/; revision=17361

17 years agoUpdated Lithuanian translation.
Gintautas Miliauskas [Tue, 27 Feb 2007 14:47:35 +0000 (14:47 +0000)]
Updated Lithuanian translation.

2007-02-27  Gintautas Miliauskas  <gintas@akl.lt>

* lt.po: Updated Lithuanian translation.

svn path=/trunk/; revision=17359

17 years agoApply a patch by Carlos Garnacho to fix several problems with filechooser
Matthias Clasen [Mon, 26 Feb 2007 19:45:33 +0000 (19:45 +0000)]
Apply a patch by Carlos Garnacho to fix several problems with filechooser

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

        Apply a patch by Carlos Garnacho to fix several problems
        with filechooser size handling (#325477, #151169, 143213,
        #153785)

        * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
        (browse_widgets_create): Don't force the paned position to 200.
        (find_good_size_from_style): Take the size of the extra widget
        into account.

        * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
        Accept a minimal width parameter. Update all callers.

svn path=/trunk/; revision=17357

17 years agoChange a label
Matthias Clasen [Mon, 26 Feb 2007 19:12:22 +0000 (19:12 +0000)]
Change a label

svn path=/trunk/; revision=17356

17 years agoMake folder selection for print-to-file work
Matthias Clasen [Mon, 26 Feb 2007 14:56:11 +0000 (14:56 +0000)]
Make folder selection for print-to-file work

svn path=/trunk/; revision=17354

17 years agoBug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause
Chris Wilson [Mon, 26 Feb 2007 14:09:21 +0000 (14:09 +0000)]
Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause

2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>

Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash

* gtk/gtkicontheme.c: (scan_directory):
Reorder the replacement of the shared base_name key, so that we
avoid dereferencing the string in the icon_theme->all_icon
hash table after freeing it from the dir->icons hash table.

svn path=/trunk/; revision=17353

17 years agoAdd comment clarifying that "icon name" here is not related to the
Tor Lillqvist [Mon, 26 Feb 2007 13:48:01 +0000 (13:48 +0000)]
Add comment clarifying that "icon name" here is not related to the

2007-02-26  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
comment clarifying that "icon name" here is not related to the
freedesktop.org icon naming stuff.

svn path=/trunk/; revision=17351

17 years agoUpdated Finnish translation
Ilkka Tuohela [Sun, 25 Feb 2007 16:13:39 +0000 (16:13 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=17350

17 years agoBug 411118 - bad bevel for progress bar on windows classic. Match from
Dom Lachowicz [Fri, 23 Feb 2007 16:30:05 +0000 (16:30 +0000)]
Bug 411118 - bad bevel for progress bar on windows classic. Match from

2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>

        * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
        progress bar on windows classic. Match from Mathias Hasselmann.

svn path=/trunk/; revision=17344

17 years agoUpdated Lithuanian translation.
Gintautas Miliauskas [Wed, 21 Feb 2007 23:52:31 +0000 (23:52 +0000)]
Updated Lithuanian translation.

2007-02-22  Gintautas Miliauskas  <gintas@akl.lt>

* lt.po: Updated Lithuanian translation.

svn path=/trunk/; revision=17341

17 years agoUpdate Ukrainian translation.
Maxim Dziumanenko [Wed, 21 Feb 2007 09:24:42 +0000 (09:24 +0000)]
Update Ukrainian translation.

2007-02-21 Maxim Dziumanenko <dziumanenko@gmail.com>

* Update Ukrainian translation.

svn path=/trunk/; revision=17340

17 years agoUpdated German translation, fix #410019.
Hendrik Richter [Tue, 20 Feb 2007 14:36:39 +0000 (14:36 +0000)]
Updated German translation, fix #410019.

2007-02-20  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation, fix #410019.

svn path=/trunk/; revision=17339

17 years agoUpdated Georgian translation
Vladimer Sichinava [Mon, 19 Feb 2007 02:49:11 +0000 (02:49 +0000)]
Updated Georgian translation

svn path=/trunk/; revision=17333

17 years agoRemove. (gdk_device_get_type): Drop class init function. The X11 version
Tor Lillqvist [Mon, 19 Feb 2007 00:32:32 +0000 (00:32 +0000)]
Remove. (gdk_device_get_type): Drop class init function. The X11 version

2007-02-19  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkinput.c
(gdk_device_finalize, gdk_device_class_init): Remove.
(gdk_device_get_type): Drop class init function. The X11 version
doesn't have one either.
(gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
(gdk_display_list_devices): Check that the argument is
_gdk_display.

* gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
Cleanup: remove unused fields.
* gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
names in a few debugging printouts.

svn path=/trunk/; revision=17332

17 years agoIgnore invisible text when going to end of the previous line. (#382565)
Matthias Clasen [Sun, 18 Feb 2007 16:24:13 +0000 (16:24 +0000)]
Ignore invisible text when going to end of the previous line. (#382565)

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

        * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
        Ignore invisible text when going to end of the previous line.
        (#382565)

svn path=/trunk/; revision=17328

17 years agoupdating for Punjabi by AP S Alam
Amanpreet Singh Alam [Sun, 18 Feb 2007 15:39:01 +0000 (15:39 +0000)]
updating for Punjabi by AP S Alam

svn path=/trunk/; revision=17326

17 years agoSetup release pools to plug two leaks, patch from Erik van Pienbroek,
Richard Hult [Sun, 18 Feb 2007 11:04:06 +0000 (11:04 +0000)]
Setup release pools to plug two leaks, patch from Erik van Pienbroek,

2007-02-18  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_quartz_process_all_updates),
(_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
patch from Erik van Pienbroek, fixes bug #396649.

svn path=/trunk/; revision=17325

17 years agoAdd stub for gdk_display_add_client_message_filter, patch from Taybin
Richard Hult [Sun, 18 Feb 2007 10:56:13 +0000 (10:56 +0000)]
Add stub for gdk_display_add_client_message_filter, patch from Taybin

2007-02-18  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: Add stub for
gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
bug #405870.

* gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.

svn path=/trunk/; revision=17324

17 years agoImport AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for
Richard Hult [Sun, 18 Feb 2007 10:26:49 +0000 (10:26 +0000)]
Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for

2007-02-18  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzView.h:
* gdk/quartz/GdkQuartzWindow.h:
* gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
* gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
userSpaceScaleFactor for 10.3. Those changes bring us closer to working
on panther, patch from Mathias Hasselmann.

* gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.

svn path=/trunk/; revision=17323

17 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sat, 17 Feb 2007 20:52:32 +0000 (20:52 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2007-02-17  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

svn path=/trunk/; revision=17321

17 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sat, 17 Feb 2007 20:51:02 +0000 (20:51 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2007-02-17  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

svn path=/trunk/; revision=17320

17 years agoUse PANGO_PIXELS instead of division. (#334617)
Behdad Esfahbod [Fri, 16 Feb 2007 22:12:42 +0000 (22:12 +0000)]
Use PANGO_PIXELS instead of division. (#334617)

2007-02-16  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
        instead of division. (#334617)

svn path=/trunk/; revision=17317

17 years agoadd cursor_offset field.
Kristian Rietveld [Fri, 16 Feb 2007 21:35:31 +0000 (21:35 +0000)]
add cursor_offset field.

2007-02-16  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeprivate.h: add cursor_offset field.

* gtk/gtktreeview.c (gtk_tree_view_init),
(gtk_tree_view_move_cursor_page_up_down): fix off by one error
in page up/down handling by memorizing the offset into the cursor
row.  (Fixes #399809, reported by Bruce Bowler).

svn path=/trunk/; revision=17316

17 years agosend a focus-in event to the tree view after hiding the search dialog.
Kristian Rietveld [Fri, 16 Feb 2007 21:24:54 +0000 (21:24 +0000)]
send a focus-in event to the tree view after hiding the search dialog.

2007-02-16  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
a focus-in event to the tree view after hiding the search dialog.
(#356515, Rich Burridge, Peter Parente).

svn path=/trunk/; revision=17314

17 years agoalso handle keyboard tooltips. (#408325, Matthias Clasen).
Kristian Rietveld [Fri, 16 Feb 2007 20:10:48 +0000 (20:10 +0000)]
also handle keyboard tooltips. (#408325, Matthias Clasen).

2007-02-16  Kristian Rietveld  <kris@imendio.com>

* tests/testtooltips.c (query_tooltip_text_view_cb): also handle
keyboard tooltips. (#408325, Matthias Clasen).

svn path=/trunk/; revision=17313

17 years agoCleanup the logic in expose event handler. Reviewed by Matthias Clasen,
Xan Lopez [Fri, 16 Feb 2007 16:00:19 +0000 (16:00 +0000)]
Cleanup the logic in expose event handler. Reviewed by Matthias Clasen,

* gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
  in expose event handler. Reviewed by Matthias Clasen, #406112

svn path=/trunk/; revision=17312

17 years agoMaxim Dziumanenko <dziumanenko@gmail.com>
Maxim V. Dziumanenko [Fri, 16 Feb 2007 11:54:27 +0000 (11:54 +0000)]
Maxim Dziumanenko <dziumanenko@gmail.com>

* Updated Ukrainian

svn path=/trunk/; revision=17310

17 years agoFix a small leak
Matthias Clasen [Fri, 16 Feb 2007 06:09:02 +0000 (06:09 +0000)]
Fix a small leak

svn path=/trunk/; revision=17308

17 years agoFix a leak in an error path
Matthias Clasen [Fri, 16 Feb 2007 05:32:59 +0000 (05:32 +0000)]
Fix a leak in an error path

svn path=/trunk/; revision=17306

17 years agoBe more careful when checking for ButtonRelease events that end implicit
Matthias Clasen [Fri, 16 Feb 2007 04:01:50 +0000 (04:01 +0000)]
Be more careful when checking for ButtonRelease events that end implicit

2007-02-15  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
        careful when checking for ButtonRelease events that end implicit
        grabs.  (#386618, Christof Krüger)

svn path=/trunk/; revision=17304

17 years agoFree the lines even if there are no views. (#408018, Albert Huang)
Matthias Clasen [Thu, 15 Feb 2007 20:38:21 +0000 (20:38 +0000)]
Free the lines even if there are no views. (#408018, Albert Huang)

2007-02-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
        even if there are no views.  (#408018, Albert Huang)

svn path=/trunk/; revision=17302

17 years agoFix small mistake in my ChangeLog
Cody Russell [Thu, 15 Feb 2007 18:46:51 +0000 (18:46 +0000)]
Fix small mistake in my ChangeLog

svn path=/trunk/; revision=17301

17 years agoFix Win32 resize events and flickering
Cody Russell [Thu, 15 Feb 2007 18:28:55 +0000 (18:28 +0000)]
Fix Win32 resize events and flickering

svn path=/trunk/; revision=17299

17 years agoHandle symlinked .icon files intelligently; also avoid storing duplicate
Matthias Clasen [Thu, 15 Feb 2007 16:56:11 +0000 (16:56 +0000)]
Handle symlinked .icon files intelligently; also avoid storing duplicate

2007-02-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/updateiconcache.c: Handle symlinked .icon files
        intelligently; also avoid storing duplicate strings.

svn path=/trunk/; revision=17298

17 years agoremove two antique function typedefs that are probably obsolete for ages.
Michael Natterer [Thu, 15 Feb 2007 08:53:55 +0000 (08:53 +0000)]
remove two antique function typedefs that are probably obsolete for ages.

2007-02-15  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenushell.c: remove two antique function typedefs that
are probably obsolete for ages.

svn path=/trunk/; revision=17297

17 years agoreviewed by: Matthias Clasen <mclasen@redhat.com>
Stefan Kost [Wed, 14 Feb 2007 21:54:29 +0000 (21:54 +0000)]
reviewed by: Matthias Clasen  <mclasen@redhat.com>
* gdk-pixbuf/Makefile.am:
* gdk/Makefile.am:
* gtk/Makefile.am: use installation prefixes of dependent libs to
crossreference docs (#407146).

svn path=/trunk/; revision=17295

17 years agoreviewed by: Matthias Clasen <mclasen@redhat.com>
Stefan Kost [Wed, 14 Feb 2007 21:54:09 +0000 (21:54 +0000)]
reviewed by: Matthias Clasen  <mclasen@redhat.com>
* configure.in: determine installation prefixes of dependent libs to
crossreference docs (#407146).

svn path=/trunk/; revision=17294

17 years agocheck return value of gtk_widget_translate_coordinates() so we cannot end
Kristian Rietveld [Wed, 14 Feb 2007 20:38:02 +0000 (20:38 +0000)]
check return value of gtk_widget_translate_coordinates() so we cannot end

2007-02-14  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (child_location_foreach): check return value
of gtk_widget_translate_coordinates() so we cannot end up
using uninitialized x, y values.  (#407863, patch from Carlos
Garnacho).

svn path=/trunk/; revision=17293

17 years agouse TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window position
Kristian Rietveld [Wed, 14 Feb 2007 12:13:48 +0000 (12:13 +0000)]
use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window position

2007-02-14  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
position instead of a hardcoded value.  (Taken from maemo-gtk).

svn path=/trunk/; revision=17292

17 years agodon't forget to set the state of the synthesized GDK_ENTER_NOTIFY event.
Michael Natterer [Wed, 14 Feb 2007 11:52:27 +0000 (11:52 +0000)]
don't forget to set the state of the synthesized GDK_ENTER_NOTIFY event.

2007-02-14  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
maemo-gtk.

svn path=/trunk/; revision=17291

17 years agostop any pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
Kristian Rietveld [Tue, 13 Feb 2007 12:41:36 +0000 (12:41 +0000)]
stop any pending tooltip timeout. (Fixes #406110, Carlos Garnacho).

2007-02-13  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
pending tooltip timeout. (Fixes #406110, Carlos Garnacho).

svn path=/trunk/; revision=17290

17 years agoUpdated Finnish translation
Ilkka Tuohela [Tue, 13 Feb 2007 05:18:47 +0000 (05:18 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=17289

17 years agoFix the english of the comment; remove some type checking; use better
Emmanuele Bassi [Sat, 10 Feb 2007 12:14:39 +0000 (12:14 +0000)]
Fix the english of the comment; remove some type checking; use better

2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
remove some type checking; use better variable naming for the
internal menu item markers.

svn path=/trunk/; revision=17284

17 years agoUpdated French translation by Jonathan Ernst and Stéphane Raimbault
Stéphane Raimbault [Sat, 10 Feb 2007 09:34:38 +0000 (09:34 +0000)]
Updated French translation by Jonathan Ernst and Stéphane Raimbault

2007-02-09  Stéphane Raimbault  <stephane.raimbault@gmail.com>

* fr.po: Updated French translation by Jonathan Ernst and Stéphane
Raimbault (added bug report #406160).

svn path=/trunk/; revision=17283

17 years agoAdd support for both prepending and appending custom menu items.
Emmanuele Bassi [Fri, 9 Feb 2007 14:24:19 +0000 (14:24 +0000)]
Add support for both prepending and appending custom menu items.

2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c: Add support for both prepending
and appending custom menu items.

(gtk_recent_chooser_menu_constructor): Add a placeholder menu
item for the empty menu case, and for giving us a starting
point for the recent items populating process.

(gtk_recent_chooser_menu_insert_item),
(gtk_recent_chooser_menu_dispose_items): Insert an item at
the position following the placeholder (and find that position
if needed).

(idle_populate_func), (idle_populate_clean_up): Show the
placeholder menu item, instead of creating one each time.

(gtk_recent_chooser_menu_populate): Kill some indirections
and hide the placeholder before populating the menu.

(set_recent_manager): Remember to remove the idle population
source if the manager changes.

* tests/testrecentchoosermenu.c: Test the appending and
prepending of the menu items to the recent chooser menu
widget.

svn path=/trunk/; revision=17281

17 years agoUpdated (British) English translation
David Lodge [Fri, 9 Feb 2007 11:24:44 +0000 (11:24 +0000)]
Updated (British) English translation

svn path=/trunk/; revision=17279

17 years agoKeep count of the displayed items to build the menu items mnemonic instead
Emmanuele Bassi [Thu, 8 Feb 2007 14:22:20 +0000 (14:22 +0000)]
Keep count of the displayed items to build the menu items mnemonic instead

2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
of the displayed items to build the menu items mnemonic instead
of the overall item count. (#377164)

(idle_populate_clean_up): Append a menu item if all the items
got filtered in the idle populate function. (#405696)

svn path=/trunk/; revision=17277

17 years agoapplied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
Tim Janik [Thu, 8 Feb 2007 12:11:02 +0000 (12:11 +0000)]
applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to

Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>

        * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
        GtkButtonBox (bug #336159).

        * gtk/gtkenums.h:
        * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
        support GTK_BUTTONBOX_CENTER.

        * tests/testbbox.c: new button box test, which allows testing of
        the various button box properties.

        * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.

svn path=/trunk/; revision=17276

17 years agoAdd gdk_event_request_motions
Cody Russell [Wed, 7 Feb 2007 20:33:46 +0000 (20:33 +0000)]
Add gdk_event_request_motions

2007-02-07  Cody Russell  <bratsche@gnome.org>

        * gdk/gdk.symbols: Add gdk_event_request_motions

svn path=/trunk/; revision=17275

17 years agofixed motion request condition which was wrongly ported with my last
Tim Janik [Wed, 7 Feb 2007 18:09:35 +0000 (18:09 +0000)]
fixed motion request condition which was wrongly ported with my last

Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>

        * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
        condition which was wrongly ported with my last commit.

svn path=/trunk/; revision=17274

17 years agoSet the GError if the image is zero length. (#405327)
Chris Wilson [Wed, 7 Feb 2007 14:47:36 +0000 (14:47 +0000)]
Set the GError if the image is zero length. (#405327)

2007-02-07  Chris Wilson  <chris@chris-wilson.co.uk>

* io-jpeg.c: (gdk_pixbuf__jpeg_image_load),
(gdk_pixbuf__jpeg_image_load_increment): Set the GError
if the image is zero length. (#405327)

svn path=/trunk/; revision=17272

17 years agofixed typo
Tim Janik [Tue, 6 Feb 2007 15:02:59 +0000 (15:02 +0000)]
fixed typo

svn path=/trunk/; revision=17270

17 years agocall gdk_event_request_motions() for new motion events after receiving
Tim Janik [Tue, 6 Feb 2007 14:53:35 +0000 (14:53 +0000)]
call gdk_event_request_motions() for new motion events after receiving

Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>

        * gtk/gtktextview.c (gtk_text_view_motion_event):
        * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
        * gtk/gtkaboutdialog.c (credits_motion_notify_event):
        * gtk/gtkhruler.c (gtk_hruler_motion_notify):
        * gtk/gtkvruler.c (gtk_vruler_motion_notify):
        * gtk/gtkentry.c (gtk_entry_motion_notify):
        * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
        * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
        for new motion events after receiving motion hints.

        * gdk/gdkevents.[hc]: added gdk_event_request_motions().

svn path=/trunk/; revision=17269

17 years agoProtect against stop_load begin broken. (#403255, Lucas Mazzardo Veloso)
Matthias Clasen [Tue, 6 Feb 2007 13:56:06 +0000 (13:56 +0000)]
Protect against stop_load begin broken. (#403255, Lucas Mazzardo Veloso)

2007-02-06  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Protect
        against stop_load begin broken.  (#403255, Lucas Mazzardo Veloso)

svn path=/trunk/; revision=17267

17 years agoremove unused get of has_tooltip.
Kristian Rietveld [Tue, 6 Feb 2007 13:13:19 +0000 (13:13 +0000)]
remove unused get of has_tooltip.

2007-02-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
remove unused get of has_tooltip.

* tests/testtooltips.c (query_tooltip_tree_view_cb): use the
portable g_snprintf instead of snprintf.

svn path=/trunk/; revision=17266

17 years agochain up.
Michael Natterer [Tue, 6 Feb 2007 12:11:33 +0000 (12:11 +0000)]
chain up.

2007-02-06  Michael Natterer  <mitch@imendio.com>

* gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.

(gtk_tooltip_show_tooltip): move variables and code to local
scope. Fixes warnings about maybe uninitialized variables.

svn path=/trunk/; revision=17265

17 years agoNew tooltips API.
Kristian Rietveld [Tue, 6 Feb 2007 10:25:21 +0000 (10:25 +0000)]
New tooltips API.

2007-02-06  Kristian Rietveld  <kris@imendio.com>

New tooltips API.

* gtk/Makefile.am
* gtk/gtk.h
* gtk/gtk.symbols: build system foo.

* gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
hook for appropriate events.

* gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.

* gtk/gtkrc.c: add style for gtk-tooltip.

* gtk/gtksettings.c (gtk_settings_class_init): make the
different tooltip timeouts configurable.

* gtk/gtkwidget.[ch]: add new properties, signals, make sure
tooltips are hidden on unmap, destroy, update window event
mask on realize, hook into focus change and show help
handlers.

* gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...

* gtk/gtktooltip.[ch]: new files.

* tests/Makefile.am
* tests/testtooltips.c: add test application.

svn path=/trunk/; revision=17264

17 years agoFix bug 404506, caused by prematurely releasing a DC. By Hiroyuki Yamamoto
Dom Lachowicz [Mon, 5 Feb 2007 14:30:06 +0000 (14:30 +0000)]
Fix bug 404506, caused by prematurely releasing a DC. By Hiroyuki Yamamoto

2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>

        * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
        by prematurely releasing a DC. By Hiroyuki Yamamoto
        * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
        pixbufs when drawing rotated tabs. By Daniel Atallah

svn path=/trunk/; revision=17263

17 years agoadd new boolean settings gtk-enable-accels and gtk-enable-mnemonics which
Michael Natterer [Mon, 5 Feb 2007 14:11:39 +0000 (14:11 +0000)]
add new boolean settings gtk-enable-accels and gtk-enable-mnemonics which

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

* gtk/gtksettings.c: add new boolean settings gtk-enable-accels
and gtk-enable-mnemonics which enable/disable accelerators and
mnemonics (bug #72375, based on a patch from Tommi Komulainen).

* gtk/gtkwindow.c (gtk_window_activate_key)
* gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
if the resp. setting is FALSE.

* gtk/gtkaccellabel.c (gtk_accel_label_refetch)
* gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
them if the setting is FALSE.

* gtk/gtklabel.c: added signal connection to the screen's settings
object and traverse all widgets on the screen when the setting
changes. It's slightly ugly to also update GtkAccelLabels here,
but less ugly than connecting and traversing all widgets twice.

svn path=/trunk/; revision=17262

17 years agochanged values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
Michael Natterer [Mon, 5 Feb 2007 10:36:27 +0000 (10:36 +0000)]
changed values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within

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

* gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
ansi C enum value limits. Fixes bug #46757.

svn path=/trunk/; revision=17260

17 years agoRemove these files since GSequence has been moved into GLib.
Soren Sandmann [Sun, 4 Feb 2007 01:28:38 +0000 (01:28 +0000)]
Remove these files since GSequence has been moved into GLib.

2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>

* gtk/gtksequence.[ch]: Remove these files since GSequence has
been moved into GLib.

* gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.

* configure.in: Require glib-2.13.0

svn path=/trunk/; revision=17259

17 years agoNitpick. Define BITMAPV5HEADERS also for w32api < 3.0, although I have
Tor Lillqvist [Sun, 4 Feb 2007 00:32:52 +0000 (00:32 +0000)]
Nitpick. Define BITMAPV5HEADERS also for w32api < 3.0, although I have
no idea whether gdk/win32 would build with such an old beast.

svn path=/trunk/; revision=17258

17 years agoDon't define BITMAPV5HEADER on mingw with w32api >= 3.8, which has it in
Tor Lillqvist [Sun, 4 Feb 2007 00:19:53 +0000 (00:19 +0000)]
Don't define BITMAPV5HEADER on mingw with w32api >= 3.8, which has it in

2007-02-04  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)

svn path=/trunk/; revision=17256

17 years agoremove unused style_get of vertical-separator. (#403165, Chris Wilson).
Kristian Rietveld [Fri, 2 Feb 2007 20:37:02 +0000 (20:37 +0000)]
remove unused style_get of vertical-separator. (#403165, Chris Wilson).

2007-02-02  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
style_get of vertical-separator. (#403165, Chris Wilson).

svn path=/trunk/; revision=17252

17 years agoUse a simple key file instead of a markup file. Bug #399592.
Christian Persch [Fri, 2 Feb 2007 19:07:39 +0000 (19:07 +0000)]
Use a simple key file instead of a markup file. Bug #399592.

2007-02-02  Christian Persch  <chpe@svn.gnome.org>

* gtk/gtkfilechoosersettings.c: (get_config_filename),
(ensure_settings_read), (_gtk_file_chooser_settings_init),
(_gtk_file_chooser_settings_set_show_hidden),
(_gtk_file_chooser_settings_set_expand_folders),
(_gtk_file_chooser_settings_save): Use a simple key file instead of a
markup file. Bug #399592.

svn path=/trunk/; revision=17251

17 years agobe a little more helpful with the docs on GtkCellRendererText:alignment.
Mariano Suárez-Alvarez [Fri, 2 Feb 2007 03:50:46 +0000 (03:50 +0000)]
be a little more helpful with the docs on GtkCellRendererText:alignment.

2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>

* gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
be a little more helpful with the docs on GtkCellRendererText:alignment.
Bug #403409.

svn path=/trunk/; revision=17250

17 years agopass &event->area to gtk_paint_box() calls.
Michael Natterer [Thu, 1 Feb 2007 19:47:29 +0000 (19:47 +0000)]
pass &event->area to gtk_paint_box() calls.

2007-02-01  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
gtk_paint_box() calls.

svn path=/trunk/; revision=17248

17 years agoremove redundant and confusing if (GTK_IS_MENU (widget)) checks because
Michael Natterer [Thu, 1 Feb 2007 13:57:36 +0000 (13:57 +0000)]
remove redundant and confusing if (GTK_IS_MENU (widget)) checks because

2007-02-01  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c (gtk_menu_button_press)
(gtk_menu_button_release)
(gtk_menu_button_scroll): remove redundant and confusing
if (GTK_IS_MENU (widget)) checks because "widget" is always a
GtkMenu here.

svn path=/trunk/; revision=17247

17 years agoremove extra reference that gtkcombobox keeps on priv->popup_widget if
Tim Janik [Thu, 1 Feb 2007 11:42:38 +0000 (11:42 +0000)]
remove extra reference that gtkcombobox keeps on priv->popup_widget if

Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>

        * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
        that gtkcombobox keeps on priv->popup_widget if it's a tree view.

svn path=/trunk/; revision=17246