]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoCorrect the appearance of non-square icons and cursors: pad them to square
Tor Lillqvist [Thu, 6 Apr 2006 10:34:15 +0000 (10:34 +0000)]
Correct the appearance of non-square icons and cursors: pad them to square

2006-04-06  Tor Lillqvist  <tml@novell.com>

Correct the appearance of non-square icons and cursors: pad them
to square so that Windows won't stretch them.

* gdk/win32/gdkcursor-win32.c (create_alpha_bitmap)
(create_color_bitmap): Always create square bitmaps, take only
side length as argument.
(pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal):
Corresponding changes.

18 years agoMore accidental commits
Matthias Clasen [Thu, 6 Apr 2006 03:29:48 +0000 (03:29 +0000)]
More accidental commits

18 years agoRevert accidental changes
Matthias Clasen [Thu, 6 Apr 2006 03:12:04 +0000 (03:12 +0000)]
Revert accidental changes

18 years agoLower the window, to prevent late-constructed text windows from covering
Matthias Clasen [Thu, 6 Apr 2006 02:48:40 +0000 (02:48 +0000)]
Lower the window, to prevent late-constructed text windows from covering

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

* gtk/gtktextview.c (text_window_realize): Lower the window, to
prevent late-constructed text windows from covering child
widgets.  (#336796, Yevgen Muntyan)

18 years agoOne more optimization
Matthias Clasen [Thu, 6 Apr 2006 02:18:57 +0000 (02:18 +0000)]
One more optimization

18 years agoRework the code which emits ::grab-notify signals to ensure that we emit
Matthias Clasen [Thu, 6 Apr 2006 01:58:38 +0000 (01:58 +0000)]
Rework the code which emits ::grab-notify signals to ensure that we emit

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

* gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify)
(gtk_grab_notify_foreach): Rework the code which emits ::grab-notify
signals to ensure that we emit enough signals. Also optimize the
code to not do unnecessary tree walking.

* gtk/gtkwidget.c (gtk_widget_class_init): Document ::grab-notify.

18 years agohandle the case of \r and \n split across lines. Bug #337022. add unit
Paolo Borelli [Wed, 5 Apr 2006 18:30:46 +0000 (18:30 +0000)]
handle the case of \r and \n split across lines. Bug #337022. add unit

2006-04-05  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtktextiter.c (gtk_text_iter_ends_line): handle the case of \r
and \n split across lines. Bug #337022.
* tests/testtextbuffer.c: add unit test.

18 years agoAdd "_private" to make it build.
Søren Sandmann [Tue, 4 Apr 2006 17:51:15 +0000 (17:51 +0000)]
Add "_private" to make it build.

Tue Apr  4 12:25:36 2006  Søren Sandmann  <sandmann@redhat.com>

        * gdk/x11/gdkimage-x11.c (gdk_image_class_init): Add "_private" to
        make it build.

18 years agoUse G_DEFINE_TYPE.
Matthias Clasen [Tue, 4 Apr 2006 14:02:03 +0000 (14:02 +0000)]
Use G_DEFINE_TYPE.

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

* gdk/gdkdisplay.c:
* gdk/gdkdisplaymanager.c:
* gdk/gdkdraw.c:
* gdk/gdkkeys.c:
* gdk/gdkpixmap.c:
* gdk/gdkscreen.c:
* gdk/gdkwindow.c:
* gdk/x11/gdkcolor-x11.c:
* gdk/x11/gdkdisplay-x11.c:
* gdk/x11/gdkdnd-x11.c:
* gdk/x11/gdkdrawable-x11.c:
* gdk/x11/gdkgc-x11.c:
* gdk/x11/gdkimage-x11.c:
* gdk/x11/gdkinput.c:
* gdk/x11/gdkpixmap-x11.c:
* gdk/x11/gdkscreen-x11.c:
* gdk/x11/gdkwindow-x11.c: Use G_DEFINE_TYPE.

* gdk/x11/gdkcolor-x11.c:
* gdk/x11/gdkdnd-x11.c:
* gdk/x11/gdkimage-x11.c: Use instance private data.

18 years agoUse G_DEFINE_TYPE
Matthias Clasen [Tue, 4 Apr 2006 13:35:59 +0000 (13:35 +0000)]
Use G_DEFINE_TYPE

18 years agoSmall savings
Matthias Clasen [Tue, 4 Apr 2006 04:14:17 +0000 (04:14 +0000)]
Small savings

18 years agoMake gtk_args const
Matthias Clasen [Tue, 4 Apr 2006 03:52:36 +0000 (03:52 +0000)]
Make gtk_args const

18 years agoMove a constant string to rodata
Matthias Clasen [Tue, 4 Apr 2006 03:49:32 +0000 (03:49 +0000)]
Move a constant string to rodata

18 years agoSmall savings
Matthias Clasen [Tue, 4 Apr 2006 03:37:18 +0000 (03:37 +0000)]
Small savings

18 years agoNo point in making the error path fast by caching quarks.
Matthias Clasen [Tue, 4 Apr 2006 03:25:16 +0000 (03:25 +0000)]
No point in making the error path fast by caching quarks.

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

        * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):
        * gtk/gtkrecentmanager.c (gtk_recent_manager_error_quark):
        * gtk/gtkfilechooser.c (gtk_file_chooser_error_quark):
        * gtk/gtkfilesystem.c (gtk_file_system_error_quark):
        * gtk/gtkicontheme.c (gtk_icon_theme_error_quark): No point
        in making the error path fast by caching quarks.

18 years agoAvoid relocation
Matthias Clasen [Tue, 4 Apr 2006 03:06:39 +0000 (03:06 +0000)]
Avoid relocation

18 years agoMention that the Win32 backend should not be used from multiple threads.
Tor Lillqvist [Mon, 3 Apr 2006 21:04:34 +0000 (21:04 +0000)]
Mention that the Win32 backend should not be used from multiple threads.

2006-04-04  Tor Lillqvist  <tml@novell.com>

* gdk/tmpl/threads.sgml: Mention that the Win32 backend should not
be used from multiple threads.

18 years agoHere too.
Matthias Clasen [Mon, 3 Apr 2006 20:38:09 +0000 (20:38 +0000)]
Here too.

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

* gdk/gdk.c: Here too.

18 years agoMake _gdk_windowing_args const.
Matthias Clasen [Mon, 3 Apr 2006 20:36:52 +0000 (20:36 +0000)]
Make _gdk_windowing_args const.

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

* gdk/gdkinternals.h:
* gdk/x11/gdkmain-x11.c:
* gdk/win32/gdkmain-win32.c:
* gdk/directfb/gdkdisplay-directfb.c:
* gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.

18 years agoInclude gdksreen.h (#337032, Kazuki IWAMOTO)
Matthias Clasen [Mon, 3 Apr 2006 18:12:04 +0000 (18:12 +0000)]
Include gdksreen.h (#337032, Kazuki IWAMOTO)

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

* gdk/win32/gdkpixmap-win32.c: Include gdksreen.h  (#337032,
 Kazuki IWAMOTO)

18 years agoMention that %NULL is allowed. (#336937, Christian Neumair)
Matthias Clasen [Mon, 3 Apr 2006 18:09:05 +0000 (18:09 +0000)]
Mention that %NULL is allowed. (#336937, Christian Neumair)

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

* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Mention
that %NULL is allowed.  (#336937, Christian Neumair)

18 years agoGet rid of an unnecessary static variable.
Matthias Clasen [Mon, 3 Apr 2006 16:21:41 +0000 (16:21 +0000)]
Get rid of an unnecessary static variable.

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

* gtk/gtkmain.c: Get rid of an unnecessary static variable.

18 years agoFix a warning.
Matthias Clasen [Mon, 3 Apr 2006 15:50:30 +0000 (15:50 +0000)]
Fix a warning.

* gtk/gtktextlayout.c: Fix a warning.

* gtk/gtktextsegment.h:
* gtk/gtktextsegment.c:
* gtk/gtktextchild.c:
* gtk/gtktextbtree.c:
* gtk/gtktextmark.c:
* gtk/gtktexttypes.h: Make the segment class pointers const.

* gtk/gtktextbufferserialize.c: Make parser struct const.

* gtk/gtkuimanager.c: Make parser struct const.

18 years agoMake the default colors const.
Matthias Clasen [Mon, 3 Apr 2006 15:06:41 +0000 (15:06 +0000)]
Make the default colors const.

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

* gtk/gtklinkbutton.c: Make the default colors const.

18 years agobn.po, br.po, dz.po, es.po, mk.po, ru.po, xh.po: Context translation bug fixes (...
Stanislav Brabec [Mon, 3 Apr 2006 11:25:00 +0000 (11:25 +0000)]
bn.po, br.po, dz.po, es.po, mk.po, ru.po, xh.po: Context translation bug fixes (#336645).

18 years agoAvoid relocations.
Matthias Clasen [Mon, 3 Apr 2006 05:19:42 +0000 (05:19 +0000)]
Avoid relocations.

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

* gtk/gtkuimanager.c: Avoid relocations.

18 years agoReduce size of static buffer.
Matthias Clasen [Mon, 3 Apr 2006 04:50:18 +0000 (04:50 +0000)]
Reduce size of static buffer.

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

* gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static
buffer.

18 years agoAvoid relocations.
Matthias Clasen [Mon, 3 Apr 2006 04:41:05 +0000 (04:41 +0000)]
Avoid relocations.

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

* gtk/gtktext.c (gtk_text_key_press): Avoid relocations.

18 years agoAllocate the gtk_rc_default_files array dynamically.
Matthias Clasen [Mon, 3 Apr 2006 04:17:10 +0000 (04:17 +0000)]
Allocate the gtk_rc_default_files array dynamically.

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

* gtk/gtkrc.c (gtk_rc_add_initial_default_files)
(gtk_rc_add_default_file): Allocate the gtk_rc_default_files array
dynamically.

18 years agoAvoid relocations for the array of symbol names.
Matthias Clasen [Mon, 3 Apr 2006 03:57:29 +0000 (03:57 +0000)]
Avoid relocations for the array of symbol names.

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

* gtk/gtkrc.c: Avoid relocations for the array of symbol names.

18 years agoRemove unused strings from the ruler_metrics structs, to avoid
Matthias Clasen [Mon, 3 Apr 2006 01:41:38 +0000 (01:41 +0000)]
Remove unused strings from the ruler_metrics structs, to avoid

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

        * gtk/gtkruler.c: Remove unused strings from the ruler_metrics
        structs, to avoid relocations.  (#336917, Stephane Chauveau)

18 years agoBuild the items list after setting the storage file.
Emmanuele Bassi [Sun, 2 Apr 2006 21:33:43 +0000 (21:33 +0000)]
Build the items list after setting the storage file.

2006-04-02  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* gtk/gtkrecentmanager.c (gtk_recent_manager_set_filename): Build
the items list after setting the storage file.

* gtk/gtkrecentmanager.c (display_closed): Use the right string
for unsetting the default manager object from the screen.

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sun, 2 Apr 2006 14:03:40 +0000 (14:03 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2006-04-02  Alexander Shopov  <ash@contact.bg>

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

18 years agoOops. (#336784)
Behdad Esfahbod [Sun, 2 Apr 2006 01:40:26 +0000 (01:40 +0000)]
Oops. (#336784)

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

        * gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)

18 years agoUse a GString instead of static buffer to reduce .bss by 8kb. (#336784)
Behdad Esfahbod [Sat, 1 Apr 2006 20:06:15 +0000 (20:06 +0000)]
Use a GString instead of static buffer to reduce .bss by 8kb. (#336784)

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

        * gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString
        instead of static buffer to reduce .bss by 8kb. (#336784)

18 years agoEmulate WinXP's drawing of menu separators
Dom Lachowicz [Sat, 1 Apr 2006 16:28:00 +0000 (16:28 +0000)]
Emulate WinXP's drawing of menu separators

18 years agoupdated with context string removed
Pawan Chitrakar [Sat, 1 Apr 2006 07:08:50 +0000 (07:08 +0000)]
updated with context string removed

18 years agoConvert filenames to UTF-8 before printing them out in warning messages.
Behdad Esfahbod [Sat, 1 Apr 2006 04:48:31 +0000 (04:48 +0000)]
Convert filenames to UTF-8 before printing them out in warning messages.

2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkrecentmanager.c: Convert filenames to UTF-8 before printing
        them out in warning messages. (#336770, Morten Welinder)

18 years agoUpdate last_stamp inside the look. (#336771, Morten Welinder)
Behdad Esfahbod [Sat, 1 Apr 2006 00:44:55 +0000 (00:44 +0000)]
Update last_stamp inside the look. (#336771, Morten Welinder)

2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
        last_stamp inside the look. (#336771, Morten Welinder)

18 years agoAdd missing break. (#336769, Morten Welinder)
Behdad Esfahbod [Sat, 1 Apr 2006 00:28:27 +0000 (00:28 +0000)]
Add missing break. (#336769, Morten Welinder)

2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_get_property):
        Add missing break. (#336769, Morten Welinder)

18 years agoReturn NULL instead of FALSE in g_return_val_if_fail in a
Behdad Esfahbod [Sat, 1 Apr 2006 00:25:00 +0000 (00:25 +0000)]
Return NULL instead of FALSE in g_return_val_if_fail in a

2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label):
        * gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL
        instead of FALSE in g_return_val_if_fail in a pointer-returning
        function. (#336764, Morten Welinder)

18 years agoconfigure.in: Added 'or' (Oriya) to ALL_LINGUAS.
Gora Mohanty [Fri, 31 Mar 2006 21:33:23 +0000 (21:33 +0000)]
configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
ChangeLog: Changed to reflect this.
po/or.po: Added Oriya translation.
po/ChangeLog: Changed to reflect this.
po-properties/or.po: Added Oriya translation.
po-properties/ChangeLog: Changed to reflect this.

18 years agoDon't assert that the age is positive. (#336773, Morten Welinder)
Matthias Clasen [Fri, 31 Mar 2006 21:20:14 +0000 (21:20 +0000)]
Don't assert that the age is positive. (#336773, Morten Welinder)

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

* gtk/gtkrecentmanager.c (gtk_recent_info_get_age): Don't
assert that the age is positive.  (#336773, Morten Welinder)

18 years agoUpdated Albanian translation.
Laurent Dhima [Fri, 31 Mar 2006 08:29:44 +0000 (08:29 +0000)]
Updated Albanian translation.

* sq.po: Updated Albanian translation.

18 years agoUpdated Albanian translation.
Laurent Dhima [Fri, 31 Mar 2006 08:27:09 +0000 (08:27 +0000)]
Updated Albanian translation.

18 years agoUpdates
Matthias Clasen [Fri, 31 Mar 2006 06:31:50 +0000 (06:31 +0000)]
Updates

18 years agoShrink this
Matthias Clasen [Fri, 31 Mar 2006 06:09:33 +0000 (06:09 +0000)]
Shrink this

18 years agoDon't leak the keyfile parser in the error case.
Matthias Clasen [Fri, 31 Mar 2006 05:17:56 +0000 (05:17 +0000)]
Don't leak the keyfile parser in the error case.

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

* gtk/gtkicontheme.c (load_icon_data): Don't leak the keyfile
parser in the error case.

* gtk/gtkicontheme.c (load_icon_data, free_unthemed_icon)
(icon_data_free, load_themes):
* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon_data): Use the slice
allocator for GtkIconData and UnthemedIcon structs.

18 years agoFix translation comments for localizable digit formats. (fixes bug
Behdad Esfahbod [Thu, 30 Mar 2006 22:56:09 +0000 (22:56 +0000)]
Fix translation comments for localizable digit formats. (fixes bug

2006-03-30  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkcalendar.c: Fix translation comments for localizable
        digit formats. (fixes bug #336650)

18 years agoFix the doc comment format.
Matthias Clasen [Thu, 30 Mar 2006 21:30:37 +0000 (21:30 +0000)]
Fix the doc comment format.

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

* gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc
comment format.

* gtk/gtkrecentmanager.c (gtk_recent_manager_has_item)
(gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item)
(gtk_recent_manager_get_limit, gtk_recent_manager_add_full)
(gtk_recent_manager_get_items, gtk_recent_manager_remove_item):

* gtk/gtkrecentfilter.c (gtk_recent_filter_add_age):
* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers)
(gtk_recent_chooser_set_sort_func):
* gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync
parameter names between .c and .h files to help gtk-doc.

18 years agoAdditions
Matthias Clasen [Thu, 30 Mar 2006 20:59:22 +0000 (20:59 +0000)]
Additions

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

* gdk/gdk-sections.txt: Additions

18 years agoReword docs to help gtk-doc.
Matthias Clasen [Thu, 30 Mar 2006 20:56:03 +0000 (20:56 +0000)]
Reword docs to help gtk-doc.

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

* gdk/gdkregion-generic.c (gdk_region_get_clipbox): Reword
docs to help gtk-doc.

18 years agocs.po: Progress bar fix (#336645).
Stanislav Brabec [Thu, 30 Mar 2006 20:43:38 +0000 (20:43 +0000)]
cs.po: Progress bar fix (#336645).

18 years agoAdded Dzongkha translations
Guntupalli Karunakar [Thu, 30 Mar 2006 20:10:57 +0000 (20:10 +0000)]
Added Dzongkha translations

18 years agoAdd recent chooser to the widget gallery
Matthias Clasen [Thu, 30 Mar 2006 18:52:52 +0000 (18:52 +0000)]
Add recent chooser to the widget gallery

18 years agoMake sure to get an icon window when constructing the fallback_icon. This
Matthias Clasen [Thu, 30 Mar 2006 18:22:39 +0000 (18:22 +0000)]
Make sure to get an icon window when constructing the fallback_icon. This

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

* gtk/gtkdnd.c (gtk_drag_get_icon): Make sure to get an
icon window when constructing the fallback_icon. This
fixes a crash when dragging icons between screens in
nautilus.  (#325751, Hylke van der Schaaf)

18 years agoAdded gdk_pixmap_foreign_new_for_screen
Michael David Emmel [Thu, 30 Mar 2006 16:14:18 +0000 (16:14 +0000)]
Added gdk_pixmap_foreign_new_for_screen

18 years agoAdd documentation for the GtkLinkButton (#336592)
Emmanuele Bassi [Thu, 30 Mar 2006 15:49:22 +0000 (15:49 +0000)]
Add documentation for the GtkLinkButton (#336592)

2006-03-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>

Add documentation for the GtkLinkButton (#336592)

* docs/reference/tmpl/gtklinkbutton.sgml: Add description
of the GtkLinkButton.

* docs/reference/gtk/migrating-GtkLinkButton.sgml: Guidelines
for migrating code from GnomeHRef to the GtkLinkButton.

* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/Makefile.am: Build glue for the porting
guide.

18 years agoAdd testrecentchooser.
Behdad Esfahbod [Thu, 30 Mar 2006 09:07:59 +0000 (09:07 +0000)]
Add testrecentchooser.

18 years agoMake it compile
Matthias Clasen [Thu, 30 Mar 2006 04:58:15 +0000 (04:58 +0000)]
Make it compile

18 years agoNew function to allow wrapping a native pixmap without a server roundtrip.
Matthias Clasen [Thu, 30 Mar 2006 04:08:51 +0000 (04:08 +0000)]
New function to allow wrapping a native pixmap without a server roundtrip.

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

        * gdk/gdk.symbols:
        * gdk/gdkpixmap.h:
        * gdk/win32/gdkpixmap-win32.c:
        * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_screen):
        New function to allow wrapping a native pixmap without
        a server roundtrip.  (#334954, David Baron)

18 years agoFix some symbol aliasing glitches
Matthias Clasen [Wed, 29 Mar 2006 21:08:06 +0000 (21:08 +0000)]
Fix some symbol aliasing glitches

18 years agoMake gtkalias.h the last included file.
Emmanuele Bassi [Wed, 29 Mar 2006 21:01:36 +0000 (21:01 +0000)]
Make gtkalias.h the last included file.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* gtk/gtkrecentchoosermenu.c: Make gtkalias.h the last included file.

18 years agoFix a typo that broke aliasing rules.
Emmanuele Bassi [Wed, 29 Mar 2006 20:48:56 +0000 (20:48 +0000)]
Fix a typo that broke aliasing rules.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* gtk/gtk.symbols: Fix a typo that broke aliasing rules.

18 years agoAdd missing CLIPBOARD atom.
Richard Hult [Wed, 29 Mar 2006 20:34:33 +0000 (20:34 +0000)]
Add missing CLIPBOARD atom.

2006-03-29  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.

18 years agoAdd a migration guide for porting to the new GtkRecent stuff from the old
Emmanuele Bassi [Wed, 29 Mar 2006 20:19:01 +0000 (20:19 +0000)]
Add a migration guide for porting to the new GtkRecent stuff from the old

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* docs/reference/gtk/migrating-GtkRecentChooser.sgml: Add a migration
guide for porting to the new GtkRecent stuff from the old EggRecent
code.

* docs/reference/gtk/tmpl/gtkrecentchooser.sgml:
* docs/reference/gtk/tmpl/gtkrecentchooserdialog.sgml:
* docs/reference/gtk/tmpl/gtkrecentchoosermenu.sgml:
* docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml:
* docs/reference/gtk/tmpl/gtkrecentfilter.sgml:
* docs/reference/gtk/tmpl/gtkrecentmanager.sgml: Add template files
for the reference guide.

* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/gtk-sections.txt:
* docs/reference/gtk/Makefile.am: Build glue for add GtkRecent to
the reference guide.

18 years agoImport GtkRecent* from libegg.
Emmanuele Bassi [Wed, 29 Mar 2006 20:16:44 +0000 (20:16 +0000)]
Import GtkRecent* from libegg.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

Import GtkRecent* from libegg.

* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
for managing a list of recently used resources.

* gtk/gtkrecentchooser.[ch]:
* gtk/gtkrecentchooserdefault.[ch]:
* gtk/gtkrecentchooserdialog.[ch]:
* gtk/gtkrecentchoosermenu.[ch]:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.[ch]:
* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
GTypeInterface for widgets implementing viewers for recently
used resources.

* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
for GtkRecentChooser implementations.

* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/Makefile.am: Build glue for GtkRecent*.

18 years agoAdd a test suite for GtkRecentChooser.
Emmanuele Bassi [Wed, 29 Mar 2006 20:08:23 +0000 (20:08 +0000)]
Add a test suite for GtkRecentChooser.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* tests/Makefile.am:
* tests/testrecentchooser.c: Add a test suite for GtkRecentChooser.

18 years agoImport GtkRecent* from libegg.
Emmanuele Bassi [Wed, 29 Mar 2006 20:05:08 +0000 (20:05 +0000)]
Import GtkRecent* from libegg.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

Import GtkRecent* from libegg.

* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
for managing a list of recently used resources.

* gtk/gtkrecentchooser.[ch]:
* gtk/gtkrecentchooserdefault.[ch]:
* gtk/gtkrecentchooserdialog.[ch]:
* gtk/gtkrecentchoosermenu.[ch]:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.[ch]:
* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
GTypeInterface for widgets implementing viewers for recently
used resources.

* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
for GtkRecentChooser implementations.

* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/Makefile.am: Build glue for GtkRecent*.

18 years agoEmit page-added before switch-page
Matthias Clasen [Wed, 29 Mar 2006 15:20:21 +0000 (15:20 +0000)]
Emit  page-added before switch-page

18 years agoHandle double queuing, rather than asserting that it does not happen.
Matthias Clasen [Wed, 29 Mar 2006 05:35:00 +0000 (05:35 +0000)]
Handle double queuing, rather than asserting that it does not happen.

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

* gtk/gtkfilechooserdefault.c (queue_edited_idle): Handle
double queuing, rather than asserting that it does not
happen.  (#330617)

18 years ago*** empty log message ***
Matthias Clasen [Wed, 29 Mar 2006 03:49:11 +0000 (03:49 +0000)]
*** empty log message ***

18 years agoFix docs syntax.
Matthias Clasen [Tue, 28 Mar 2006 18:58:05 +0000 (18:58 +0000)]
Fix docs syntax.

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

* gtk/gtknotebook.c (gtk_notebook_set_tab_detachable): Fix
docs syntax.

18 years agoSyntax fixes.
Matthias Clasen [Tue, 28 Mar 2006 18:47:43 +0000 (18:47 +0000)]
Syntax fixes.

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

* gtk/tmpl/gtkcellrendereraccel.sgml:
* gtk/tmpl/gtkrc.sgml:
* gtk/directfb.sgml: Syntax fixes.

18 years agoFix drag-selection after double-click. (#323862, Benjamin Berg)
Matthias Clasen [Tue, 28 Mar 2006 17:28:19 +0000 (17:28 +0000)]
Fix drag-selection after double-click. (#323862, Benjamin Berg)

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

* gtk/gtktextview.c (gtk_text_view_start_selection_drag):
(selection_motion_event_handler): Fix drag-selection after
double-click.  (#323862, Benjamin Berg)

* gtk/gtktextview.c (get_iter_at_pointer): Factor this out
into a function and use it in move_mark_to_pointer_and_scroll,
drag_scan_timeout and selection_motion_event_handler.
(Paolo Borelli)

18 years agoMove the call to gtk_text_view_end_selection_drag() from
Matthias Clasen [Tue, 28 Mar 2006 16:01:11 +0000 (16:01 +0000)]
Move the call to gtk_text_view_end_selection_drag() from

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

* gtk/gtktextview.c (gtk_text_view_do_popup)
(gtk_text_view_grab_notify): Move the call to
gtk_text_view_end_selection_drag() from gtk_text_view_do_popup
to gtk_text_view_grab_notify, so that it works not only
for the text views own popup, but also for other ways in which
we might become grab-shadowed during a selection drag.
(#74620, Li Yuan)

18 years agoreviewed by: Tim Janik
Sven Herzberg [Mon, 27 Mar 2006 23:01:59 +0000 (23:01 +0000)]
reviewed by: Tim Janik

2006-03-28  Sven Herzberg  <herzi@gnome-de.org>

        reviewed by: Tim Janik

* gtk/gtkpixmap.c: (gtk_pixmap_set): only check for equal colormaps if
the new pixmap is not NULL; fixes a warning when gtk_pixmap_set is
called from gtk_pixmap_finalize (bug 336254)

18 years agoMake the poll func work with real file descriptors. We do this by creating
Anders Carlsson [Mon, 27 Mar 2006 18:46:38 +0000 (18:46 +0000)]
Make the poll func work with real file descriptors. We do this by creating

2006-03-27  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkevents-quartz.c:
        (select_thread_func):
        (got_fd_activity):
        (poll_func):
        (gdk_event_translate):
        Make the poll func work with real file descriptors.
        We do this by creating a thread which calls poll and then
        signals the main thread using a run loop source.

        * gtk/gtkclipboard-quartz.c:
        (-[GtkClipboardOwner pasteboard:provideDataForType:]):
        Remove debugging output

18 years agoCheck that the widget is viewable. (#336200, Bastian Nocera)
Matthias Clasen [Mon, 27 Mar 2006 18:30:22 +0000 (18:30 +0000)]
Check that the widget is viewable. (#336200, Bastian Nocera)

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

* gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that
the widget is viewable.  (#336200, Bastian Nocera)

18 years agobail out if there is no need for scrolling (more obvious than adding
Michael Natterer [Mon, 27 Mar 2006 17:00:01 +0000 (17:00 +0000)]
bail out if there is no need for scrolling (more obvious than adding

2006-03-27  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c (gtk_menu_scroll_by): bail out if there is no need
for scrolling (more obvious than adding additional conditions to
the scroll offset calculation). Fixes bug #335912.

18 years agoAdd -xobjective-c to cflags. (#335956, Lllian Angel)
Anders Carlsson [Mon, 27 Mar 2006 11:34:43 +0000 (11:34 +0000)]
Add -xobjective-c to cflags. (#335956, Lllian Angel)

2006-03-27  Anders Carlsson  <andersca@imendio.com>

        * gtk/Makefile.am:
        Add -xobjective-c to cflags.
        (#335956, Lllian Angel)

        * gtk/gtkdnd-quartz.c:
        (gtk_drag_dest_set_track_motion):
        (gtk_drag_dest_get_track_motion):
        Add stubs for new functions.
        (#335955, Lillian Angel)

18 years agoAdd more stubs.
Richard Hult [Mon, 27 Mar 2006 10:47:29 +0000 (10:47 +0000)]
Add more stubs.

2006-03-27  Richard Hult  <richard@imendio.com>

* gdk/quartz: Add more stubs.

18 years agofile TODO.printing was initially added on branch gtk-printing.
Alexander Larsson [Mon, 27 Mar 2006 10:20:17 +0000 (10:20 +0000)]
file TODO.printing was initially added on branch gtk-printing.

18 years agoadd missing ')'.
Michael Natterer [Mon, 27 Mar 2006 10:17:31 +0000 (10:17 +0000)]
add missing ')'.

2006-03-27  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
add missing ')'.

18 years agoFix a build problem
Matthias Clasen [Sun, 26 Mar 2006 06:20:54 +0000 (06:20 +0000)]
Fix a build problem

18 years agoAnother leak
Matthias Clasen [Sun, 26 Mar 2006 06:15:51 +0000 (06:15 +0000)]
Another leak

18 years agoFix leaks
Matthias Clasen [Sun, 26 Mar 2006 06:13:17 +0000 (06:13 +0000)]
Fix leaks

18 years agoFix a leak
Matthias Clasen [Sun, 26 Mar 2006 06:10:15 +0000 (06:10 +0000)]
Fix a leak

18 years agoAnother one
Matthias Clasen [Sun, 26 Mar 2006 06:05:57 +0000 (06:05 +0000)]
Another one

18 years agoSmall optimization
Matthias Clasen [Sun, 26 Mar 2006 06:03:31 +0000 (06:03 +0000)]
Small optimization

18 years agofile gtkprinterlpr.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.c was initially added on branch gtk-printing.

18 years agofile gtkprinterlpr.h was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.h was initially added on branch gtk-printing.

18 years agofile gtkprinterpdf.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.c was initially added on branch gtk-printing.

18 years agofile gtkprinterpdf.h was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.h was initially added on branch gtk-printing.

18 years agoRemove a pointless check, pointed out by Kjartan Maraas.
Matthias Clasen [Fri, 24 Mar 2006 15:53:22 +0000 (15:53 +0000)]
Remove a pointless check, pointed out by Kjartan Maraas.

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

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Remove a
pointless check, pointed out by Kjartan Maraas.

18 years agoDon't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,
Matthias Clasen [Fri, 24 Mar 2006 15:06:11 +0000 (15:06 +0000)]
Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,

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

* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
gdk_window_invalidate_rect() on unrealized widgets.  (#335717,
Nicolas Setton)

18 years agoback out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out
Tim Janik [Fri, 24 Mar 2006 14:03:45 +0000 (14:03 +0000)]
back out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out

Fri Mar 24 14:53:20 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtktreemodel.h:
        * gtk/gtktextbtree.h: back out G_GNUC_WARN_UNUSED_RESULT on iterator
        functions which turned out to cause too much trouble.

18 years agoUpdated.
Ahmad Riza H Nst [Fri, 24 Mar 2006 09:16:49 +0000 (09:16 +0000)]
Updated.

2006-03-24  Ahmad Riza H Nst  <rizahnst@eriagempita.co.id>

* id.po: Updated.

18 years agosmall update
Matthias Clasen [Fri, 24 Mar 2006 03:09:08 +0000 (03:09 +0000)]
small update

18 years agoDocument <classname> in paths.
Matthias Clasen [Thu, 23 Mar 2006 23:35:24 +0000 (23:35 +0000)]
Document <classname> in paths.

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

* gtk/tmpl/gtkrc.sgml: Document <classname> in paths.