Commit Graph

13734 Commits

Author SHA1 Message Date
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
Matthias Clasen
bbeddb712a Scroll to make the selected printer visible. (#418403, Nickolay V.
2007-03-16  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
        make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
        patch by Christian Persch)



svn path=/branches/gtk-2-10/; revision=17532
2007-03-16 05:17:25 +00:00
Federico Mena Quintero
e89926da22 PANGO_PIXELS() gives us device units, which are *points* in pangocairo's
2007-03-15  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserdefault.c (find_good_size_from_style):
	PANGO_PIXELS() gives us device units, which are *points* in
	pangocairo's parlance, but we want actual pixels.  So, get the
	screen's resolution to compute the actual number of pixels.
	Fixes bug #418585.

svn path=/branches/gtk-2-10/; revision=17529
2007-03-16 00:51:18 +00:00
Alessio Frusciante
c3f89db45d Updated Italian translation.
svn path=/branches/gtk-2-10/; revision=17528
2007-03-15 21:21:45 +00:00
Emmanuele Bassi
cb2d6f74a1 Merge from trunk:
2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>

	Merge from trunk:

	* gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
	unused GError; do not allocate GtkRecentData and use a variable
	on the stack. (#418673, Morten Welinder)

svn path=/branches/gtk-2-10/; revision=17526
2007-03-15 19:58:22 +00:00
Chris Wilson
98abcb41fb Protect ensure_valid_themes() from recursion, which can happen for example
2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>

	* gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
	(gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
	from recursion, which can happen for example if the app tries to
	reload an icon from within a theme-changed handler. (#418531)


svn path=/branches/gtk-2-10/; revision=17522
2007-03-15 18:35:38 +00:00
Emmanuele Bassi
ef85b08765 Merge from trunk:
2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>

	Merge from trunk:

	* gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
	Welinder)

svn path=/branches/gtk-2-10/; revision=17520
2007-03-15 17:13:53 +00:00
Emmanuele Bassi
3bf09b727b Merge from trunk:
2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>

	Merge from trunk:

	* gtk/gtkrecentchooserprivate.h:
	* gtk/gtkrecentchooserutils.c: Share between the widgets
	the recent chooser function for getting the filtered, sorted
	and clamped list of recent files from the manager. (#418219)

	* gtk/gtkrecentchoosermenu.c: Use the newly defined
	_gtk_recent_chooser_get_items() function; remove some
	pointer indirections.

	* gtk/gtkrecentchooserdefault.c: Reload the items every time
	a property affecting the view is changed; move the objects
	unref and the source removal into the dispose function; use
	the newly defined _gtk_recent_chooser_get_items()
	function. (see #338843)

svn path=/branches/gtk-2-10/; revision=17517
2007-03-15 10:44:34 +00:00
Matthias Clasen
674031d980 2.10.11
svn path=/branches/gtk-2-10/; revision=17513
2007-03-14 05:50:11 +00:00
Matthias Clasen
34d73266b9 2.10.11
svn path=/branches/gtk-2-10/; revision=17511
GTK_2_10_11
2007-03-14 05:45:35 +00:00
Ihar Hrachyshka
91b9577c84 Updated Belarusian Latin translation (some fixes).
svn path=/branches/gtk-2-10/; revision=17509
2007-03-13 20:35:18 +00:00