Commit Graph

13744 Commits

Author SHA1 Message Date
Matthias Clasen
a6fc91c07e Recognize negative column indices as invalid. (#415260, Chris Wilson)
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
        * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
        Recognize negative column indices as invalid.  (#415260,
        Chris Wilson)


svn path=/branches/gtk-2-10/; revision=17682
2007-04-28 21:31:34 +00:00
Matthias Clasen
1bb1405cf1 Accept unknown parameters with a warning when saving. (#405539, Daniel
2007-04-28  Matthias Clasen <mclasen@redhat.com>

        * io-png.c:
        * io-jpeg.c: Accept unknown parameters with a warning
        when saving.  (#405539, Daniel Atallah)



svn path=/branches/gtk-2-10/; revision=17674
2007-04-28 14:49:43 +00:00
Matthias Clasen
28ec7761ee Plug memory leaks caused by wrong use of g_slist_remove_link(). (#405515,
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
        * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
        * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
        (get_children_folder_cb): Plug memory leaks caused by wrong
        use of g_slist_remove_link().  (#405515, Nicolas Peninguy)



svn path=/branches/gtk-2-10/; revision=17672
2007-04-28 14:43:20 +00:00
Matthias Clasen
3ebb7e964c Fix the headers in the print demo. (#423722, Yevgen Muntyan)
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * demos/gtk-demo/printing.c: Fix the headers in the print
        demo.  (#423722, Yevgen Muntyan)



svn path=/branches/gtk-2-10/; revision=17670
2007-04-28 14:09:36 +00:00
Tor Lillqvist
cb2c4a4597 Remove old child of scrolled window before adding a new one when switching
2007-04-26  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
	(gtk_input_dialog_fill_keys): Remove old child of scrolled window
	before adding a new one when switching what input device is being
	handled. (#399425)


svn path=/branches/gtk-2-10/; revision=17655
2007-04-26 06:19:13 +00:00
Matthias Clasen
3357ad8bf8 Mark the printer list as done. (#428665, Bogdan Gheorghe)
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/lpr/gtkprintbackendlpr.c
        (gtk_print_backend_lpr_init): Mark the printer list as done.
        (#428665, Bogdan Gheorghe)



svn path=/branches/gtk-2-10/; revision=17654
2007-04-26 06:16:01 +00:00
Matthias Clasen
2f9521e58d Don't install UNIX-printing headers and support files on non-UNIX
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * Makefile.am:
        * gtk/Makefile.am: Don't install UNIX-printing headers and
        support files on non-UNIX platforms.  (#425655, Vincent Geddes)



svn path=/branches/gtk-2-10/; revision=17652
2007-04-26 06:05:20 +00:00
Matthias Clasen
2b85c47132 Accept unnamed separators. (#369112, Christian Persch)
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
        unnamed separators.  (#369112, Christian Persch)



svn path=/branches/gtk-2-10/; revision=17650
2007-04-26 05:55:59 +00:00
Matthias Clasen
1b730c2d01 Don't access invalid memory. (#429732, Armin Burgmeier)
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
        invalid memory.  (#429732, Armin Burgmeier)



svn path=/branches/gtk-2-10/; revision=17648
2007-04-26 05:52:24 +00:00
Cody Russell
bdc6c63ffb Use native Win32 cursors where it makes sense
svn path=/branches/gtk-2-10/; revision=17646
2007-04-26 05:28:16 +00:00
Cody Russell
f9507b4e08 Win32 drop shadow goodness
svn path=/branches/gtk-2-10/; revision=17644
2007-04-25 23:45:09 +00:00
Matthias Clasen
5ee1e016b1 Set the background of the header window again. (#431067, Benjamin Berg)
* gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
        of the header window again.  (#431067, Benjamin Berg)



svn path=/branches/gtk-2-10/; revision=17641
2007-04-25 19:13:29 +00:00
Matthias Clasen
9c6e762a33 Set the filename to NULL for builtin icons, sinc
2007-04-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
        NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
        depends on it.

        * tests/testicontheme.c: Report builtin icons.


svn path=/branches/gtk-2-10/; revision=17639
2007-04-25 18:06:11 +00:00
Matthias Clasen
5196c8e5bf Don't crash if end_run is not set. (#424168, Matthias Hasselmann)
2007-04-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
        crash if end_run is not set.  (#424168, Matthias Hasselmann)



svn path=/branches/gtk-2-10/; revision=17637
2007-04-25 16:30:00 +00:00
Matthias Clasen
e7ae6a11ee Don't double the delay time of the first frame. (#431997, Björn
2007-04-25  Matthias Clasen <mclasen@redhat.com>

        * gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
        Don't double the delay time of the first frame.  (#431997,
        Björn Lindqvist)


svn path=/branches/gtk-2-10/; revision=17635
2007-04-25 14:47:19 +00:00
Michael Natterer
a117b32242 Merged from trunk:
2007-04-25  Michael Natterer  <mitch@imendio.com>

	Merged from trunk:

	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
	scroll buttons (we were setting the state to ACTIVE but
	immediately overwriting it with NORMAL or PRELIGHT). Also got rid
	of many separate calls to gdk_window_invalidate_rect() by
	remembering the old button state and only invalidating the area if
	the state has changed (addresses parts of bug #433242, Tommi
	Komulainen).

	(gtk_menu_scroll_to): change the arrow states only if changing
	from or to INSENSITIVE state, so we don't overwrite the ACTIVE
	state set by above function.


svn path=/branches/gtk-2-10/; revision=17631
2007-04-25 12:31:20 +00:00
Chris Wilson
0131d4ecde Ensure the icon_theme->all_icons and dir->icons hash tables use the same
2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>

    * gtk/gtkicontheme.c (scan_directory): Ensure the 
    icon_theme->all_icons and dir->icons hash tables use the same string
    as their keys. (#418531)


svn path=/branches/gtk-2-10/; revision=17625
2007-04-24 14:51:52 +00:00
Cody Russell
6411857a0c Cleanup of tab rendering code
svn path=/branches/gtk-2-10/; revision=17624
2007-04-24 03:33:18 +00:00
Cody Russell
ec2caa4bae Fix premature DC release
svn path=/branches/gtk-2-10/; revision=17621
2007-04-23 18:44:15 +00:00
Matthias Clasen
cab5e86171 Reduce the amount of debug spew if we are not debugging.
2007-04-23  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
        the amount of debug spew if we are not debugging.



svn path=/branches/gtk-2-10/; revision=17620
2007-04-23 17:14:12 +00:00
Cody Russell
9b78d8389d Backported fix from trunk
svn path=/branches/gtk-2-10/; revision=17616
2007-04-19 17:35:20 +00:00
Cody Russell
f251591cf8 Fix menuitem rendering in Vista
svn path=/branches/gtk-2-10/; revision=17615
2007-04-19 17:25:24 +00:00
Pema Geyleg
fe8facd8a0 Updated Dzongkha Translation
svn path=/branches/gtk-2-10/; revision=17612
2007-04-19 10:32:08 +00:00
Matthias Clasen
90358a3a42 Fix a borderline case with regions
svn path=/branches/gtk-2-10/; revision=17609
2007-04-18 15:23:40 +00:00
Emmanuele Bassi
38eba176e5 Merged from trunk:
2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>

	Merged from trunk:

        * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
        a leak by not increasing the refcount of the GtkRecentInfo
        object when returning it (thanks to Matthias Clasen).

svn path=/branches/gtk-2-10/; revision=17607
2007-04-18 14:40:33 +00:00
Dan Williams
71021b0efd Merged from trunk:
2007-04-16  Dan Williams  <dcbw@redhat.com>

	Merged from trunk:

	* gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable (#423064)


svn path=/branches/gtk-2-10/; revision=17605
2007-04-16 17:13:17 +00:00
Alexander Larsson
bf27e8b0f3 Merged from trunk:
2007-04-16  Alexander Larsson  <alexl@redhat.com>

	Merged from trunk:

	* gtk/gtkprintoperation.c (gtk_print_operation_run):
	Make async print preview work by actually starting
	the print process in that case (#424168)


svn path=/branches/gtk-2-10/; revision=17604
2007-04-16 09:01:47 +00:00
Kostas Papadimas
e3cb4f793f Updated Greek translation
svn path=/branches/gtk-2-10/; revision=17602
2007-04-15 10:17:37 +00:00
Chris Wilson
44eab2f9b2 s/g_hash_table_get_keys/hash_table_get_keys/ Avoid the naming conflict
2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>

    * gtk/gtkiconfactory.c (hash_table_get_keys),
    (_gtk_icon_factory_list_ids):
    * gtk/gtkstock.c (hash_table_get_keys), (gtk_stock_list_ids):
        s/g_hash_table_get_keys/hash_table_get_keys/
        Avoid the naming conflict with the recent GLib implementation
        of the similar function.


svn path=/branches/gtk-2-10/; revision=17598
2007-04-11 18:04:17 +00:00
Matthias Clasen
7d89a0f71d Change the XSettingsWatchFunc to return a Bool to indicate success. Update
2007-04-10  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
        to return a Bool to indicate success. Update callers and
        implementors. Based on a patch by Owen Taylor.

        * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
        leak a reference to gdkwin.



svn path=/branches/gtk-2-10/; revision=17593
2007-04-10 23:25:34 +00:00
Matthias Clasen
ba41627737 Duplicate the mime_type when storing it in a hash node, to avoid leaks.
2007-04-09  Matthias Clasen  <mclasen@redhat.com>

        * xdgmimeglob.c (_xdg_glob_hash_insert_text): Duplicate the
        mime_type when storing it in a hash node, to avoid leaks.
        Update all callers.


svn path=/branches/gtk-2-10/; revision=17590
2007-04-09 18:33:47 +00:00
Baris Cicek
b23bad70a4 Updated Turkish Translation
svn path=/branches/gtk-2-10/; revision=17587
2007-04-07 18:04:19 +00:00
Baris Cicek
867f167d76 Updated Turkish Translation
svn path=/branches/gtk-2-10/; revision=17586
2007-04-07 17:27:27 +00:00
Vincent van Adrighem
f57c7c34c9 Translation updated by Tino Meinen.
2007-04-03  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.

svn path=/branches/gtk-2-10/; revision=17581
2007-04-03 15:11:03 +00:00
Loïc Minier
fa7d94bbc9 Merge r17579 from trunk:
2007-04-03  Loïc Minier  <lool@dooz.org>

	* gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
	non-xinerama mode when XineramaQueryScreens returns NULL; patch from
	Simon McVittie; #425786.

svn path=/branches/gtk-2-10/; revision=17580
2007-04-03 13:51:44 +00:00
Cody Russell
fb180cf79b Fix leaked pixbuf in tab rendering
svn path=/branches/gtk-2-10/; revision=17577
2007-04-01 20:07:38 +00:00
Cody Russell
db866825a6 Fix bottom-oriented notebook tabs on Win32. #399253
svn path=/branches/gtk-2-10/; revision=17576
2007-04-01 18:51:22 +00:00
Inaki Larranaga Murgoitio
2dc21cefe9 Updated Basque translation.
2007-03-30  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.


svn path=/branches/gtk-2-10/; revision=17573
2007-03-30 15:49:47 +00:00
Inaki Larranaga Murgoitio
03cac4dfac Updated Basque translation.
2007-03-30  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.


svn path=/branches/gtk-2-10/; revision=17572
2007-03-30 15:46:48 +00:00
Matthias Clasen
b781e516b7 Merge from trunk:
2007-03-28  Matthias Clasen  <mclasen@redhat.com>

        Merge from trunk:

        * modules/printbackends/cups/gtkcupsutils.[hc]:
        * modules/printbackends/cups/gtkprintbackendcups.c: Apply
        a patch by John Palmieri to make the cups print backend support
        raw printers.



svn path=/branches/gtk-2-10/; revision=17569
2007-03-28 15:59:14 +00:00
Ignacio Casal Quinteiro
d8be56f631 Updated Galician Translation
svn path=/branches/gtk-2-10/; revision=17563
2007-03-25 20:26:00 +00:00
Matthias Clasen
d3bfae523d Add a keybinding (C-h) to toggle whether to show hidden files. (#344657,
2007-03-23  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
        toggle whether to show hidden files.  (#344657,
        Wouter Bolsterlee, Priit Laes, et al)



svn path=/branches/gtk-2-10/; revision=17558
2007-03-23 05:18:15 +00:00
Matthias Clasen
b5cdeeb0af Add a keybinding to toggle the visibility of the location entry. (#383354,
2007-03-23  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c: Add a keybinding to
        toggle the visibility of the location entry.  (#383354,
        John Pye, patch by Carlos Garnacho)



svn path=/branches/gtk-2-10/; revision=17556
2007-03-23 05:08:31 +00:00
Matthias Clasen
1c395cc860 Freeze property notification. Handle the gtk-color-scheme xsetting being
2007-03-22  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtksettings.c (merge_color_scheme): Freeze property
        notification.
        * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
        the gtk-color-scheme xsetting being unset.

        * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
        recursion locally.



svn path=/branches/gtk-2-10/; revision=17554
2007-03-22 21:59:29 +00:00
Matthias Clasen
17f4c4f0e6 Remove debug spew
svn path=/branches/gtk-2-10/; revision=17552
2007-03-22 02:44:22 +00:00
Laurent Dhima
dd5501d9c5 Updated Albanian translation.
svn path=/branches/gtk-2-10/; revision=17548
2007-03-21 11:26:17 +00:00
Matthias Clasen
a5077a64bd Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
2007-03-18  Matthias Clasen <mclasen@redhat.com> 

        * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
        Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)



svn path=/branches/gtk-2-10/; revision=17544
2007-03-19 04:31:00 +00:00
Claudio Saavedra
271a642bc8 Updated Spanish translation.
2007-03-19  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * es.po: Updated Spanish translation.


svn path=/branches/gtk-2-10/; revision=17542
2007-03-19 04:06:28 +00:00
Chris Wilson
bcfedec385 Change whitespace in ChangeLog entry for consistency.
svn path=/branches/gtk-2-10/; revision=17540
2007-03-17 20:27:17 +00:00
Chris Wilson
edec9a1879 Initialise nxvisuals to 0 in order to handle XGetVisualInfo() failures
2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>

	* gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
		Initialise nxvisuals to 0 in order to handle
		XGetVisualInfo() failures gracefully. (#419171)


svn path=/branches/gtk-2-10/; revision=17537
2007-03-17 18:50:20 +00:00