Anders Carlsson
1e3d722024
Have GdkWindowImplQuartz implement GdkPaintable.
...
2006-04-11 Anders Carlsson <andersca@mac.imendio.com>
* gdk/quartz/GdkQuartzView.c:
(-[GdkQuartzView drawRect:]):
* gdk/quartz/gdkdrawable-quartz.c:
(gdk_quartz_ref_cairo_surface):
(_gdk_quartz_drawable_get_context):
(_gdk_quartz_drawable_release_context):
* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_impl_quartz_finalize):
(gdk_window_impl_quartz_class_init):
(gdk_window_impl_quartz_begin_paint_region):
(gdk_window_impl_quartz_end_paint):
(gdk_window_impl_quartz_invalidate_maybe_recurse):
(gdk_window_impl_quartz_process_updates):
(gdk_window_impl_quartz_paintable_init):
(_gdk_window_impl_quartz_get_type):
* gdk/quartz/gdkwindow-quartz.h:
Have GdkWindowImplQuartz implement GdkPaintable.
2006-04-10 23:17:26 +00:00
Michael Natterer
99722bec2c
pasted rich text should not be affected by tags that are active at the
...
2006-04-10 Michael Natterer <mitch@imendio.com>
* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
pasted rich text should not be affected by tags that are active at
the insertion point. Therefore, remove and remember all active
tags, and re-apply them left and right of the inserted text after
pasting. Fixes bug #337653 .
2006-04-10 20:18:31 +00:00
Anders Carlsson
47257b075b
Add new GdkPaintable interface which implementation objects can implement
...
2006-04-11 Anders Carlsson <andersca@imendio.com>
* gdk/gdkinternals.h:
* gdk/gdkwindow.c:
(_gdk_paintable_get_type):
(gdk_window_begin_paint_region):
(gdk_window_end_paint):
(gdk_window_process_updates):
(gdk_window_invalidate_maybe_recurse):
Add new GdkPaintable interface which implementation objects can
implement in order to override gdk painting functions.
2006-04-10 19:43:08 +00:00
Vladimer Sichinava
c39d964d09
Updated Georgian translation
2006-04-10 00:29:44 +00:00
Hans Breuer
0c6e0e4085
updated
...
2006-04-07 Hans Breuer <hans@breuer.org>
* gtk/makefile.msc.in tests/makefile.msc : updated
2006-04-07 17:18:08 +00:00
Priit Laes
74758f5cfa
Translation updated by Ivar Smolin.
...
2006-04-07 Priit Laes <amd@store20.com>
* et.po: Translation updated by Ivar Smolin.
2006-04-07 08:02:44 +00:00
Tor Lillqvist
886ca74ca2
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.
2006-04-06 10:34:15 +00:00
Matthias Clasen
993ffce842
More accidental commits
2006-04-06 03:29:48 +00:00
Matthias Clasen
4fc90e0973
Revert accidental changes
2006-04-06 03:12:04 +00:00
Matthias Clasen
9320076962
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)
2006-04-06 02:48:40 +00:00
Matthias Clasen
4af02533bf
One more optimization
2006-04-06 02:18:57 +00:00
Matthias Clasen
12704a67bc
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.
2006-04-06 01:58:38 +00:00
Paolo Borelli
f58c7f1ae8
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.
2006-04-05 18:30:46 +00:00
Søren Sandmann
3797d5a34e
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.
2006-04-04 17:51:15 +00:00
Matthias Clasen
10f0736ac7
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.
2006-04-04 14:02:03 +00:00
Matthias Clasen
7d49b31a79
Use G_DEFINE_TYPE
2006-04-04 13:35:59 +00:00
Matthias Clasen
9c0f0bb451
Small savings
2006-04-04 04:14:17 +00:00
Matthias Clasen
8862bf9233
Make gtk_args const
2006-04-04 03:52:36 +00:00
Matthias Clasen
c7f1892ef8
Move a constant string to rodata
2006-04-04 03:49:32 +00:00
Matthias Clasen
6a46f2050e
Small savings
2006-04-04 03:37:18 +00:00
Matthias Clasen
8c8a4c89b8
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.
2006-04-04 03:25:16 +00:00
Matthias Clasen
c53db1264b
Avoid relocation
2006-04-04 03:06:39 +00:00
Tor Lillqvist
208eda2e59
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.
2006-04-03 21:04:34 +00:00
Matthias Clasen
9713b368b2
Here too.
...
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.c: Here too.
2006-04-03 20:38:09 +00:00
Matthias Clasen
aff3329de1
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.
2006-04-03 20:36:52 +00:00
Matthias Clasen
ac180cb0e4
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)
2006-04-03 18:12:04 +00:00
Matthias Clasen
80cd74fd0e
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)
2006-04-03 18:09:05 +00:00
Matthias Clasen
6ff309a95c
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.
2006-04-03 16:21:41 +00:00
Matthias Clasen
8de7c8b761
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.
2006-04-03 15:50:30 +00:00
Matthias Clasen
0351d5671d
Make the default colors const.
...
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklinkbutton.c: Make the default colors const.
2006-04-03 15:06:41 +00:00
Stanislav Brabec
645ccd04fc
bn.po, br.po, dz.po, es.po, mk.po, ru.po, xh.po: Context translation bug fixes ( #336645 ).
2006-04-03 11:25:00 +00:00
Matthias Clasen
58fb752214
Avoid relocations.
...
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c: Avoid relocations.
2006-04-03 05:19:42 +00:00
Matthias Clasen
8f95967b76
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.
2006-04-03 04:50:18 +00:00
Matthias Clasen
5cc8fbf8fe
Avoid relocations.
...
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktext.c (gtk_text_key_press): Avoid relocations.
2006-04-03 04:41:05 +00:00
Matthias Clasen
e40a3b0e3b
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.
2006-04-03 04:17:10 +00:00
Matthias Clasen
168e2d2590
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.
2006-04-03 03:57:29 +00:00
Matthias Clasen
58daa1a3f2
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)
2006-04-03 01:41:38 +00:00
Emmanuele Bassi
d86b57208f
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.
2006-04-02 21:33:43 +00:00
Alexander Shopov
a89ee49569
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>
2006-04-02 14:03:40 +00:00
Behdad Esfahbod
8ca2113e4d
Oops. ( #336784 )
...
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784 )
2006-04-02 01:40:26 +00:00
Behdad Esfahbod
6da22af993
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 )
2006-04-01 20:06:15 +00:00
Dom Lachowicz
68d222c757
Emulate WinXP's drawing of menu separators
2006-04-01 16:28:00 +00:00
Pawan Chitrakar
37d5b4147a
updated with context string removed
2006-04-01 07:08:50 +00:00
Behdad Esfahbod
103c3781a3
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)
2006-04-01 04:48:31 +00:00
Behdad Esfahbod
5e3fbe78cc
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)
2006-04-01 00:44:55 +00:00
Behdad Esfahbod
0ef457c730
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)
2006-04-01 00:28:27 +00:00
Behdad Esfahbod
13bcd2c002
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)
2006-04-01 00:25:00 +00:00
Gora Mohanty
67e5f53e1e
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.
2006-03-31 21:33:23 +00:00
Matthias Clasen
e20b86320a
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)
2006-03-31 21:20:14 +00:00
Laurent Dhima
394445469e
Updated Albanian translation.
...
* sq.po: Updated Albanian translation.
2006-03-31 08:29:44 +00:00