Commit Graph

17650 Commits

Author SHA1 Message Date
Matthias Clasen
fd20c54e35 Revert an accidental commit
svn path=/trunk/; revision=22421
2009-02-28 05:28:47 +00:00
Matthias Clasen
d0e7f5889e Bug 573069 – Gdk-CRITICAL warnings with Gtk 2.14 when dragging
GtkNotebook tabs

        * gtk/gtkwidget.c (_gtk_widget_synthesize_crossing): Be a little
        more careful when navigating up the parent chain.

        * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Reset the
        pointer window thats stored on the screen when it is destroyed.


svn path=/trunk/; revision=22420
2009-02-28 05:24:07 +00:00
Matthias Clasen
3a8c0e370b Handle widget being NULL. Pointed out by Wouter Bolsterlee.
* gtk/gtkpaned.c (get_child_panes): Handle widget being NULL.
        Pointed out by Wouter Bolsterlee.


svn path=/trunk/; revision=22419
2009-02-28 00:52:59 +00:00
Matthias Clasen
08db83d2ac Don't leak a GtkRecentInfo. Found by Tommi Rantala
* gtk/gtkrecentchooserdefault.c (copy_activated_cb): Don't leak
        a GtkRecentInfo. Found by Tommi Rantala



svn path=/trunk/; revision=22418
2009-02-28 00:22:15 +00:00
Matthias Clasen
b475130e4f Copy the right string. Pointed out by Tommi Rantala
* gtk/gtkiconview.c
        (gtk_icon_view_item_accessible_image_set_image_description): Copy
        the right string. Pointed out by Tommi Rantala


svn path=/trunk/; revision=22417
2009-02-28 00:15:01 +00:00
David Zeuthen
fe7220f691 Fix up bug reference in latest commit
svn path=/trunk/; revision=22416
2009-02-27 21:07:46 +00:00
David Zeuthen
bb883db776 Bug 573383 – GtkMountOperation fixes for ask_password()
2009-02-27  David Zeuthen  <davidz@redhat.com>

	Bug 573383 – GtkMountOperation fixes for ask_password()

	* gtk/gtkmountoperation.c (gtk_mount_operation_ask_password):
	Split the message from GMountOperation into primary/secondary like
	we also do in gtk_mount_operation_ask_question()


svn path=/trunk/; revision=22415
2009-02-27 21:03:47 +00:00
Michael Natterer
f6eb9d4269 Bug 573383 – Setting a textview's buffer to NULL doesn't do a complete
2009-02-27  Michael Natterer  <mitch@imendio.com>

	Bug 573383 – Setting a textview's buffer to NULL doesn't do a
	complete job

	* gtk/gtktextview.c (gtk_text_view_set_buffer): always set
	text_view->layout's buffer, also if it's NULL.


svn path=/trunk/; revision=22414
2009-02-27 16:21:40 +00:00
Rajesh Ranjan
f23aade947 updating maithili for gtk
svn path=/trunk/; revision=22413
2009-02-27 10:26:15 +00:00
Wadim Dziedzic
f65a331700 Updated Polish translation
2009-02-27  Wadim Dziedzic  <wdziedzic@aviary.pl>

	* pl.po: Updated Polish translation

svn path=/trunk/; revision=22412
2009-02-26 23:18:05 +00:00
Li Yuan
a0b3a069f1 Bug #519090. Add accessibility support to GtkScaleButton. Support action
2009-02-26  Li Yuan  <li.yuan@sun.com>

        * Makefile.am:
        * gail.c: (gail_accessibility_module_init):
        * gail.h:
        * gailscalebutton.c: (gail_scale_button_class_init),
        (gail_scale_button_init), (gail_scale_button_initialize),
        (atk_action_interface_init), (gail_scale_button_do_action),
        (gail_scale_button_get_n_actions),
        (gail_scale_button_get_description),
        (gail_scale_button_action_get_name),
        (gail_scale_button_get_keybinding),
        (gail_scale_button_set_description), (atk_value_interface_init),
        (gail_scale_button_get_current_value),
        (gail_scale_button_get_maximum_value),
        (gail_scale_button_get_minimum_value),
        (gail_scale_button_get_minimum_increment),
        (gail_scale_button_set_current_value),
        (gail_scale_button_notify_gtk):
        * gailscalebutton.h:
        Bug #519090. Add accessibility support to GtkScaleButton.
        Support action and value interfaces. Patch from Jan Arne 
Petersen.

svn path=/trunk/; revision=22411
2009-02-26 07:58:30 +00:00
Changwoo Ryu
f1ba45a780 Updated Korean translation
svn path=/trunk/; revision=22410
2009-02-26 06:42:00 +00:00
Tristan Van Berkom
009542c192 Bug 572904 – GtkRadioAction broken in trunk
Bug 572904 – GtkRadioAction broken in trunk

	* gtk/gtkradioaction.c: When setting non active state always
	notify the action's active state (this prevents toggle type proxies
	used with radio actions from deactivating when pressed a second time).


svn path=/trunk/; revision=22409
2009-02-26 02:33:42 +00:00
Li Yuan
6bcbd9eb4d Bug #561631. Patch from Yue Wang. Ref the button in the idle function to
2009-02-26  Li Yuan  <li.yuan@sun.com>

        * gailbutton.c: (idle_do_action):
        Bug #561631. Patch from Yue Wang. Ref the button in the idle
        function to prevent the button being finalized.

svn path=/trunk/; revision=22408
2009-02-26 02:28:12 +00:00
Xan Lopez
7871e09560 Bug 495320 - GtkRange does not use gdk_event_request_motions
2009-02-25  Xan Lopez  <xan@gnome.org>

        Bug 495320 - GtkRange does not use gdk_event_request_motions

        * gtk/gtkrange.c:
        (gtk_range_motion_notify): Use gdk_event_request_motions to
        request more motion events, as suggested in the docs for widgets
        using motion hints.

svn path=/trunk/; revision=22407
2009-02-25 17:38:53 +00:00
Chao-Hsiung Liao
4708c01a20 2.15.5
svn path=/trunk/; revision=22406
2009-02-25 12:42:16 +00:00
Li Yuan
01aa0c3932 Bug #325809. Get the cell from the coordinates based on bin_window.
2009-02-25  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (gail_tree_view_ref_accessible_at_point):
        Bug #325809. Get the cell from the coordinates based on
        bin_window.

svn path=/trunk/; revision=22405
2009-02-25 09:55:14 +00:00
Li Yuan
7eff2404d0 Bug #520395. Notify the insert signal in the idle function. Let text_util
2009-02-25  Li Yuan  <li.yuan@sun.com>

        * gailentry.c: (gail_entry_real_notify_gtk),
        (gail_entry_idle_notify_insert), (_gail_entry_insert_text_cb):
        Bug #520395. Notify the insert signal in the idle function. Let
        text_util has chance to update cache.

svn path=/trunk/; revision=22404
2009-02-25 09:45:37 +00:00
Li Yuan
6336e98082 Bug #571001. Set the cell's showing state based on bin_window coordinates.
2009-02-25  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (is_cell_showing):
        Bug #571001. Set the cell's showing state based on bin_window
        coordinates.

svn path=/trunk/; revision=22403
2009-02-25 08:41:49 +00:00
Sweta Kothari
c98d7d5f5e Updated Changelog
svn path=/trunk/; revision=22402
2009-02-25 07:20:52 +00:00
Sweta Kothari
fd4f20dcad Committed gujarati translation
svn path=/trunk/; revision=22401
2009-02-25 07:17:20 +00:00
Erdal Ronahi
0c26680848 fixed variable error in ku.po
svn path=/trunk/; revision=22399
2009-02-24 07:07:54 +00:00
Matthias Clasen
fcdd092ae6 Another attempt at getting Xrandr screen size changes right. Actually
* gdk/x11/gdkevents-x11.c:
        * gdk/x11/gdkscreen-x11.[hc]: Another attempt at getting Xrandr
        screen size changes right. Actually handle XRRScreenChangeNotify
        events, and ignore root ConfigureNotify events if we are using
        Xrandr. Only emit size-changed signals if the screen size changed,
        and only emit monitor-changed signals if the monitors changed.


svn path=/trunk/; revision=22398
2009-02-24 05:09:13 +00:00
Matthias Clasen
7d8930fdcc Never scroll the places horizontally. Instead, ellipsize the text.
* gtk/gtkfilechooserdefault.c (shortcuts_list_create): Never scroll
        the places horizontally. Instead, ellipsize the text.



svn path=/trunk/; revision=22397
2009-02-24 02:20:15 +00:00
Erdal Ronahi
76c41c62a9 Updated Kurdish translation
svn path=/trunk/; revision=22396
2009-02-24 00:11:50 +00:00
Claude Paroz
0c04ebee4e Updated French translation by Laurent Coudeur and Claude Paroz.
2009-02-23  Claude Paroz  <claude@2xlibre.net>

	* fr.po: Updated French translation by Laurent Coudeur and Claude Paroz.

svn path=/trunk/; revision=22395
2009-02-23 21:41:54 +00:00
Gabor Kelemen
0bd472e7a0 Translation updated.
2009-02-23  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated.

svn path=/trunk/; revision=22394
2009-02-23 16:39:47 +00:00
Gabor Kelemen
25451ac1d1 Translation updated.
2009-02-23  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated.

svn path=/trunk/; revision=22393
2009-02-23 15:57:58 +00:00
Wouter Bolsterlee
ecfed52edb Remove obsolete notes about editing UTF-8 files and converting them prior
2009-02-23  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* README.translators: Remove obsolete notes about
	editing UTF-8 files and converting them prior to
	committing those to CVS (!).

svn path=/trunk/; revision=22392
2009-02-23 13:12:17 +00:00
Wouter Bolsterlee
f551103a65 Updated Dutch translation by Tino Meinen.
2009-02-22  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* nl.po: Updated Dutch translation by Tino Meinen.

svn path=/trunk/; revision=22391
2009-02-22 19:25:42 +00:00
Michael Hasselmann
a02ade3737 Added a check to not emit a "changed" signal when an already invalid
2009-02-19  Michael Hasselmann <michaelh@openismus.com>

	* gtk/gtkcombobox.c (gtk_combo_box_set_active_internal):
	Added a check to not emit a "changed" signal when an already
	invalid selection was set to invalid.

svn path=/trunk/; revision=22390
2009-02-22 17:21:37 +00:00
Matthias Clasen
e6f6ee193d Rename gtk_activatable_reset to gtk_activatable_sync_action_properties,
* gtk/gtk.symbols:
        * gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to
        gtk_activatable_sync_action_properties, since the previous name
        was deemed too generic. Update all implementations.


svn path=/trunk/; revision=22389
2009-02-22 05:20:14 +00:00
Philip Withnall
005f5773df Updated British English translation.
2009-02-20  Philip Withnall  <philip@tecnocode.co.uk>

	* en_GB.po: Updated British English translation.


svn path=/trunk/; revision=22388
2009-02-20 23:22:28 +00:00
Matthias Clasen
632a4f6a7e Add a function to get the default window icon name
svn path=/trunk/; revision=22387
2009-02-20 05:54:53 +00:00
Ray Strode
e822462333 After using randr to get a list of monitors, sort the list such that the
2009-02-19  Ray Strode  <rstrode@redhat.com>

	* gdk/x11/gdkscreen-x11.c
	(monitor_compare_function), (init_randr13):
	After using randr to get a list of monitors,
	sort the list such that the biggest output
	of "cloned" outputs comes first in the list.
	This helps apps that don't generally handle
	overlapping outputs to work better in randr
	clone mode.

svn path=/trunk/; revision=22386
2009-02-20 04:42:33 +00:00
Sven Neumann
92c30df34d looks like being called with negative width and height should be
2009-02-19  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkwindow-directfb.c
	(gdk_directfb_window_move_resize): looks like being called with
	negative width and height should be interpreted as a move. Fixes
	scrolling and makes popups work to some extent.

	(_gdk_directfb_move_resize_child): formatting.


svn path=/trunk/; revision=22384
2009-02-19 22:31:04 +00:00
Sven Neumann
69fe31489c move the call to _gdk_windowing_window_init() up a little. Fixes a crash
2009-02-19  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkdisplay-directfb.c (gdk_display_open): move 
the
	call to _gdk_windowing_window_init() up a little. Fixes a crash
	when running on pseudo-color visuals. Thanks to Masse Nicolas 
for
	pointing this out.


svn path=/trunk/; revision=22382
2009-02-19 21:39:43 +00:00
Sven Neumann
03796c0a90 initialize private->impl. Thanks to Masse Nicolas for pointing this out.
2009-02-19  Sven Neumann  <sven@gimp.org>

	* gdk/directfb/gdkwindow-directfb.c
	(gdk_window_foreign_new_for_display, gdk_directfb_window_new):
	initialize private->impl. Thanks to Masse Nicolas for pointing
	this out.


svn path=/trunk/; revision=22380
2009-02-19 21:30:49 +00:00
Daniel Nylander
ed687d4a0d sv.po: Updated Swedish translation
svn path=/trunk/; revision=22379
2009-02-19 19:36:32 +00:00
Matthias Clasen
0bd95af21a Be more robust against X breakage
svn path=/trunk/; revision=22378
2009-02-19 19:13:10 +00:00
Michael Natterer
753bebe045 sort functions so their order is more "standard", some cosmetic cleanup
2009-02-19  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmountoperation.c: sort functions so their order is more
	"standard", some cosmetic cleanup (not changing any code).


svn path=/trunk/; revision=22377
2009-02-19 15:15:49 +00:00
Michael Natterer
213ecb7a33 add some orientation flipping code to the "flipping" test.
2009-02-19  Michael Natterer  <mitch@imendio.com>

	* tests/testgtk.c: add some orientation flipping code to the
	"flipping" test.


svn path=/trunk/; revision=22376
2009-02-19 15:12:35 +00:00
Michael Natterer
9da282480f make the orientation flipping much simpler by using the GtkOrientable
2009-02-19  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkscalebutton.c: make the orientation flipping much simpler
	by using the GtkOrientable features of the involved widgets:

	(gtk_scale_button_init): create the frame, box and scale here,
	they never need to be recreated because they implement GtkOrientable.

	(gtk_scale_button_constructor): remove their construction here.

	(gtk_scale_button_set_orientation): don't destroy and re-create
	anything. Instead, simply set the orientation of the above created
	widgets and fiddle a bit with the "plus" and "minus" buttons'
	packing and the scale's "inverted" state.

	Remove separate internal GtkScaleButtonHScale and
	GtkScaleButtonVScale subclasses and simply have a
	GtkScaleButtonScale directly inherited from GtkScale.


svn path=/trunk/; revision=22375
2009-02-19 15:10:34 +00:00
Takeshi AIHANA
72e75a5d93 Updated Japanese translation.
2009-02-19  Takeshi AIHANA <takeshi.aihana@gmail.com>

	* ja.po: Updated Japanese translation.

svn path=/trunk/; revision=22374
2009-02-19 13:16:18 +00:00
Raivis Dejus
978107a599 Updated Latvian translation
2009-02-19  Raivis Dejus  <orvils@gmail.com>

        * lv.po: Updated Latvian translation


svn path=/trunk/; revision=22373
2009-02-19 07:34:33 +00:00
Alexander Shopov
30f1bf7d9c Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2009-02-19  Alexander Shopov  <ash@contact.bg>

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

svn path=/trunk/; revision=22372
2009-02-19 04:57:55 +00:00
Theppitak Karoonboonyanan
20b78ae6e6 Revert the unapproved patch for bug 457086.
2009-02-19  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* modules/input/gtkimcontextthai.c (is_context_lost_key): Revert the
	unapproved patch for bug 457086.


svn path=/trunk/; revision=22371
2009-02-19 02:05:07 +00:00
Matthias Clasen
f517b9d5fc some xrandr fixes
svn path=/trunk/; revision=22370
2009-02-18 23:12:26 +00:00
Sven Neumann
695b0ff83d improved last ChangeLog entry
svn path=/trunk/; revision=22368
2009-02-18 20:44:43 +00:00
Sven Neumann
a292a2c70f Bug 533456 – Memory leak when window is destroyed
2009-02-18  Sven Neumann  <sven@gimp.org>

	Bug 533456 – Memory leak when window is destroyed

	* gdk/directfb/gdkdirectfb.h
	* gdk/directfb/gdkprivate-directfb.h
	* gdk/directfb/gdkcursor-directfb.c
	* gdk/directfb/gdkevents-directfb.c
	* gdk/directfb/gdkwindow-directfb.c: removed all #ifdef checks 
for
	DIRECTFB_MAJOR_VERSION >= 1. We depend on DirectFB >= 1.0.0 now.
	Fixes a potential build issue that would lead to a memory leak 
as
	described in bug #533456.


svn path=/trunk/; revision=22367
2009-02-18 20:43:31 +00:00