Commit Graph

11766 Commits

Author SHA1 Message Date
Matthias Clasen
7402a74a70 Update the size of the drawable for the root window when the screen size
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Update the
        size of the drawable for the root window when the screen size
        changes.  (#346102, Sven Herzberg)
2006-06-29 15:17:44 +00:00
Raivis Dejus
87b476a473 Updated Latvian Translation
2006-06-28  Raivis Dejus  <orvils@gmail.com>

        * lv.po: Updated Latvian Translation
2006-06-28 07:56:13 +00:00
Matthias Clasen
9ced3731a1 Avoid a refcounting leak in the python bindings. (#344876, Phil Dumont)
2006-06-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcombobox.c (gtk_cell_view_menu_item_new): Avoid
        a refcounting leak in the python bindings.  (#344876, Phil Dumont)
2006-06-26 10:27:24 +00:00
Nickolay V. Shmyrev
4dc4d89dde Revert broken commit of Russian translation 2006-06-25 11:26:18 +00:00
Leonid Kanter
906a6ad93a Updated Russian translation 2006-06-24 10:50:24 +00:00
Matthias Clasen
bc1f487e43 Require atk 1.9.0 2006-06-19 02:19:27 +00:00
Carlos Garnacho
313eedb507 Fix borderline cases in tab visibility calculation. Fixes #168105
2006-06-15  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_pages_allocate):
        (gtk_notebook_calc_tabs): Fix borderline cases in tab
        visibility calculation. Fixes #168105
2006-06-15 18:59:21 +00:00
Matthias Clasen
437556ba44 Bump version 2006-06-12 19:03:33 +00:00
Matthias Clasen
4edaf7e23a 2.8.19 GTK_2_8_19 2006-06-12 18:58:58 +00:00
Matthias Clasen
0d65675c62 Updates 2006-06-12 17:36:38 +00:00
Tor Lillqvist
6012c2da10 Convert \n to \r\n also when storing CF_UNICODETEXT (UTF-16) in the
2006-06-11  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Convert \n
	to \r\n also when storing CF_UNICODETEXT (UTF-16) in the
	Clipboard. (#344496)
2006-06-11 19:42:14 +00:00
Tor Lillqvist
86a361760a Add bug reporter name. 2006-06-09 09:19:12 +00:00
Tor Lillqvist
c2afdcb8aa Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
2006-06-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_drawable_release_dc):
	Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
	DeleteDC() on DCs acquired with CreateCompatibleDC() (for
	bitmaps). According to MSDN, this is the correct thing to do, even
	if always using DeleteDC() seems to have worked fine in
	practice. (#337491)
2006-06-09 09:15:39 +00:00
Tor Lillqvist
adf163b891 Typo. 2006-06-08 15:02:35 +00:00
Tor Lillqvist
c38805d772 [WM_WINDOWPOSCHANGED] Add note that the code snippet here is mostly
2006-06-08  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
	[WM_WINDOWPOSCHANGED] Add note that the code snippet here is
	mostly identical to the code in handle_configure_event().
	[WM_SIZING] Fix implementation of aspect ratio hints. (#344244)
	The hints are for the geometry of the client area, not of the
	window including decorations. Improve resizing behaviouor in the
	presence of aspect hints, more in line with typical X window
	managers.
2006-06-08 14:45:58 +00:00
Pawan Chitrakar
28c8faedf1 UPdated Nepali Translation 2006-06-06 03:35:54 +00:00
Matthias Clasen
e1f49f62a2 Remove the right XID from the xid table. (#34327, Sampo Savolainen, Tim
2006-06-04  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right
        XID from the xid table.  (#34327, Sampo Savolainen, Tim Janik)
2006-06-05 01:19:45 +00:00
Matthias Clasen
720d06b578 forgotten commit 2006-06-05 01:18:37 +00:00
Matthias Clasen
ca3e1c0324 Bump version 2006-05-26 16:47:38 +00:00
Matthias Clasen
0ecdad0803 2.8.18 GTK_2_8_18 2006-05-26 16:44:53 +00:00
Kristian Rietveld
348f47b2ce queue a redraw for the full width of the row, not just the width we got
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
	for the full width of the row, not just the width we got allocated.
	(Fixes #333284, reported by Benjamin Berg).
2006-05-26 00:25:12 +00:00
Kristian Rietveld
a220ae37d2 We shouldn't subtract 1 from the depth when calculating the space reserved
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): We shouldn't
	subtract 1 from the depth when calculating the space reserved for
	the expanders.  (#342260, Jorg Schuler).
2006-05-26 00:08:52 +00:00
Kristian Rietveld
dc6f913f9c add missing chunk from patch in #316689, (gtk_tree_view_top_row_to_dy):
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (validate_visible_area): add missing chunk from
	patch in #316689,
	(gtk_tree_view_top_row_to_dy): set dy to page_size + height in the
	event dy + page_size is about to become bigger than height.
2006-05-26 00:00:12 +00:00
Åsmund Skjæveland
890920b885 Updated Norwegian Nynorsk translation.
2006-05-25  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2006-05-25 13:35:14 +00:00
Behdad Esfahbod
ef4abea285 Rollback the following changes, to fix it the proper way in Pango:
2006-05-22  Behdad Esfahbod  <behdad@gnome.org>

        Rollback the following changes, to fix it the proper way in Pango:

        * gdk/gdkinternals.h:
        * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
        (update_fontmap_resolution), (gdk_screen_set_resolution_libgtkonly):
        Add new function _gdk_screen_get_font_map() and have one fontmap per
        screen, with the correct resolution set on it.

        * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
        _gdk_screen_get_font_map() instead of setting resolution on the
        PangoCairoContext.  (#342529)
2006-05-22 17:10:55 +00:00
Behdad Esfahbod
a8bb6ab65b Add new function _gdk_screen_get_font_map() and have one fontmap per
2006-05-21  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkinternals.h:
        * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
        (update_fontmap_resolution), (gdk_screen_set_resolution_libgtkonly):
        Add new function _gdk_screen_get_font_map() and have one fontmap per
        screen, with the correct resolution set on it.

        * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
        _gdk_screen_get_font_map() instead of setting resolution on the
        PangoCairoContext.  (#342529)
2006-05-22 04:15:42 +00:00
Matthias Clasen
08e382ce00 Avoid warnings if a child is NULL. (#342007, Patrick Monnerat)
2006-05-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpaned.c (gtk_paned_compute_position): Avoid warnings
	if a child is NULL.  (#342007, Patrick Monnerat)
2006-05-19 20:33:18 +00:00
Matthias Clasen
09bdea1156 Fix a boundary case in scrolling where a tab was not shown. (#168105,
2006-05-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Fix a
	boundary case in scrolling where a tab was not shown.  (#168105,
	Hiroyuki Ikezoe, patch by Kouhei Sutou)
2006-05-19 15:50:36 +00:00
Damon Chaplin
ed03a29ba3 use atk_relation_add_target() to add the targets, since it sets up weak
2006-05-19  Damon Chaplin  <damon@gnome.org>

	* gtk/gtkfontsel.c (gtk_font_selection_init): use
	atk_relation_add_target() to add the targets, since it sets up weak
	references to avoid crashes. (#305530)
2006-05-19 14:07:22 +00:00
Matthias Clasen
22863b3e5a broken pipe 2006-05-18 19:25:13 +00:00
Matthias Clasen
8e5f2e7fbd Don't produce a stuck drag if shift is held. (#341734, Sebastien Bacher)
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce
	a stuck drag if shift is held.  (#341734, Sebastien Bacher)
2006-05-18 19:24:22 +00:00
Matthias Clasen
a0d6f01036 Always set protocol. (#342003, Tommi Komulainen)
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
	Always set protocol.  (#342003, Tommi Komulainen)
2006-05-18 18:15:40 +00:00
Matthias Clasen
184937d212 Only unref the pixbuf if the image has the appropriate storage type.
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (icon_theme_changed): Only unref the pixbuf
	if the image has the appropriate storage type.  (#342096, Tommi
	Komulainen)
2006-05-18 16:51:37 +00:00
Matthias Clasen
37928c202e Make drops end up at the right spot. (#342072, Yevgen Muntyan)
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops
	end up at the right spot.  (#342072,  Yevgen Muntyan)
2006-05-18 16:44:24 +00:00
Matthias Clasen
410172783e Fix an RTL problem with toggles in expander columns. (#341896, Roozbeh
2006-05-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Fix
	an RTL problem with toggles in expander columns.
	(#341896, Roozbeh Pournader)
2006-05-16 02:12:29 +00:00
Benoît Dejean
d19ca84405 Updated French translation.
2006-05-15  Benoît Dejean  <benoit@placenet.org>

	* fr.po: Updated French translation.
2006-05-15 21:14:56 +00:00
Tor Lillqvist
2b72f53e6d Look at both GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)
2006-05-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (doesnt_want_scroll): Look at both
	GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)
2006-05-09 15:19:11 +00:00
Hendrik Richter
7c72f54057 Updated German translation.
2006-05-06  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation.
2006-05-06 13:19:38 +00:00
Michael Natterer
8dd1f19dd2 don't use non-existing local variables.
2006-05-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
	don't use non-existing local variables.
2006-05-03 10:48:59 +00:00
Lorenzo Colitti
aca90ffaa2 Hack to stop the file chooser blocking on network I/O when remote
2006-05-03  Lorenzo Colitti  <lorenzo@colitti.com>

	Hack to stop the file chooser blocking on network I/O when remote
	directories are bookmarked (bug #319532).

	* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): if a bookmark is
	not local, don't attempt to get file info or display a custom icon,
	just display the icon for "/"
	(shortcuts_reload_icons): Likewise.
2006-05-03 09:54:08 +00:00
Priit Laes
5ae32f7fe1 Translation updated.
2006-04-29  Priit Laes  <amd@store20.com>

	* et.po: Translation updated.
2006-04-29 09:33:04 +00:00
Behdad Esfahbod
9928583a72 Change colormap to font map in docs. (#340093)
2006-04-29  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkwidget.c (gtk_widget_create_pango_layout)
        (gtk_widget_get/create_pango_context): Change colormap to font map in
        docs. (#340093)
2006-04-29 06:58:25 +00:00
Behdad Esfahbod
bfe179e048 Fix typo in docs. (#340063)
2006-04-28  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkwidget.c (gtk_widget_create_pango_layout): Fix typo in
        docs. (#340063)
2006-04-28 21:37:55 +00:00
Behdad Esfahbod
0165163d50 Cast to double before dividing by PANGO_SCALE. (#334582)
2006-04-27  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkpango.c (gdk_pango_renderer_draw_glyphs): Cast to double
        before dividing by PANGO_SCALE. (#334582)
2006-04-28 07:05:12 +00:00
Matthias Clasen
d97257c49b Handle the case of being called after the drag is cancelled. (#339224,
2006-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_set_icon_window): Handle the case
        of being called after the drag is cancelled.  (#339224,
        Benjamin Otte)
2006-04-27 05:18:18 +00:00
Åsmund Skjæveland
3dfc58236a Updated Norwegian Nynorsk translation.
2006-04-23  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2006-04-23 14:10:59 +00:00
Chao-Hsiung Liao
c6d2c2f96d Updated Traditional Chinese translation(Hong Kong). Updated Traditional
2006-04-23  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_HK.po: Updated Traditional Chinese translation(Hong Kong).
	* zh_TW.po: Updated Traditional Chinese translation(Taiwan).
2006-04-23 08:45:10 +00:00
Murray Cumming
3f80f9a403 _GtkFileChooserButtonPrivate: Added has_title flag so we can remember
2006-04-19  Murray Cumming  <murrayc@murrayc.com>

        * gtk/gtkfilechooserbutton.c: _GtkFileChooserButtonPrivate:
        Added has_title flag so we can remember whether a title has
        been set.
        (gtk_file_chooser_button_constructor): If no title has been
        set then set it to the default title. This means that the
        default title will be used if the dialog was instantiated with
        g_object_new(), without using the gtk_file_chooser_button_new()
        convenience function. This helps language bindings.
        (gtk_file_chooser_button_set_property): Set has_title when
        setting the title.
2006-04-20 08:34:43 +00:00
Vladimer Sichinava
0526104791 Corected some errors 2006-04-20 01:51:37 +00:00
Vladimer Sichinava
e39beec4fa corrected translation error 2006-04-19 13:47:08 +00:00