Havoc Pennington
733991c84d
Rename GtkWidget padding to margin
2010-09-11 19:41:24 -04:00
Havoc Pennington
83008588e1
Use gint16 for GtkBorder
...
32K of border ought to be enough for any pixel dimensions. At least
until screens are so huge we start using doubles.
This saves a nice 64 bits of space when we have a GtkBorder
stored somewhere.
Signed integers are used to avoid surprising unsigned math
issues. Just search GTK's whole git log from inception
for "unsigned" if you want to find any number of commits
fixing signed/unsigned bugs.
2010-09-11 19:25:57 -04:00
Havoc Pennington
cbfbe68eca
Adapt to widget->allocation becoming private
2010-09-11 17:10:54 -04:00
Havoc Pennington
dd3f8cefeb
Just use GtkBorder for padding in GtkAuxInfo
2010-09-11 17:10:37 -04:00
Havoc Pennington
c818f8714f
Merge remote branch 'origin/master' into widget-padding
2010-09-11 12:59:47 -04:00
Matthias Clasen
08dd02fe25
Don't use g_idle_add to schedule idles in GDK
...
We need to use gdk_threads_add_idle, in order to keep GDK code
under the GDK lock.
Bug 629277
2010-09-10 22:32:44 -04:00
Javier Jardón
d3661589f4
gtk/gtkwidget.c: Use accessor functions to access GtkWindowGroup
2010-09-11 04:25:41 +02:00
Javier Jardón
ab248d7ca3
Revert "gtk/gtkmain.c: Use accessor functions to access GtkWindowGroup"
...
This reverts commit 65b9fc3e5b .
2010-09-11 04:24:54 +02:00
Javier Jardón
65b9fc3e5b
gtk/gtkmain.c: Use accessor functions to access GtkWindowGroup
2010-09-11 03:34:01 +02:00
Javier Jardón
6eae25e0b0
GtkWindow: move public members to private structure
...
Signed-off-by: Christian Dywan <christian@twotoasts.de >
2010-09-11 02:22:28 +02:00
Matthias Clasen
402e3bed47
Bump version to 2.90.8
2010-09-10 12:31:15 -04:00
Matthias Clasen
056ec835cc
Include gdkkeysyms.h in gdk.h
...
Followup to bug 629093
2010-09-10 11:08:18 -04:00
Mike Gorse
e356769f33
Gail: Remove gail_cell_type_add_action_interface, as it no longer does anything
2010-09-10 09:46:34 -04:00
Mike Gorse
da0975d5f2
Gail: Take fill/page size into account when returning a range's maximum value
2010-09-10 06:09:41 -04:00
Kjartan Maraas
6460fb6b3e
Updated Norwegian bokmål translation
2010-09-10 09:53:58 +02:00
Matthias Clasen
e2a492cf80
Some more updates
2010-09-09 22:33:56 -04:00
Matthias Clasen
36437a635d
Update potfiles
2010-09-09 22:17:27 -04:00
Matthias Clasen
149b84dacf
Really stop exporting text-related variables
2010-09-09 22:11:36 -04:00
Matthias Clasen
95eb4a868e
Remove GDK_DISPLAY() usage
2010-09-09 21:55:28 -04:00
Matthias Clasen
2a27c90479
Update NEWS for 2.90.7
2010-09-09 19:50:24 -04:00
Matthias Clasen
0dcaad3a85
Drop the gdk_display variable from gdk
...
This was the last exported variable; it wasn't multihead safe,
and there's easy replacement with gdk_display_get_default().
Also drop the GDK_DISPLAY() macro which was just a wrapper around
the variable.
2010-09-09 19:46:41 -04:00
Matthias Clasen
001d16cb87
Fix the docs build after GtkItem removal
2010-09-09 16:11:31 -04:00
Tristan Van Berkom
a6a036ce22
Adding note to docs of gtk_widget_set_window()
...
gtk_widget_set_window() does not add a reference to the
owned window... this is an exception to most gtk_foo_set_bar()
functions where as it acts as if it were named gtk_widget_take_window().
Adding note to the docs to avoid people giving the window to the
widget and naturally proceeding to unref the window.
2010-09-10 03:25:21 +09:00
Benjamin Otte
6624da6393
widget: Fix SEGV when no focus widget exists
2010-09-09 18:10:04 +02:00
Benjamin Otte
b0b8393f99
gail: Add missing include
2010-09-09 15:46:55 +02:00
Tor Lillqvist
e748334327
Avoid potential DLL hijacking in Wintab code
...
Load Wintab32.dll from an absolute path. A proper Wintab32.dll, if
present, should be in the Windows system directory, so load it from
there.
2010-09-09 15:44:12 +03:00
Tor Lillqvist
7464a9ca08
Use accessor functions
2010-09-09 15:02:33 +03:00
Tor Lillqvist
0c662ecb9a
Fix gail build
2010-09-09 15:01:36 +03:00
Tor Lillqvist
ceca2ff10c
Adapt to the GDK_KEY changes
2010-09-09 14:35:20 +03:00
Tristan Van Berkom
73ea777c33
Fixed GtkTextView & GtkIconView to consult it's true previous size request
...
Fixed issues in my previous patch for bug 626939 removing GtkRequisition
cache: these widgets monitor the previous requested size and decide whether
to queue a resize when the content changes based on it's prior request.
2010-09-09 17:19:18 +09:00
Tristan Van Berkom
843be48572
Moved GtkSizeRequest cache to GtkWidget->priv
...
Now that we have a private data installed directly on
the GtkWidget instance it makes no sense to cache the size
requests on widget qdata. This change will generally make
GTK+ memory less fragmented as well as significantly speed
up the size request process.
2010-09-09 17:19:18 +09:00
Tor Lillqvist
f76fddb8a7
Use accessor functions in Win32-only code
2010-09-09 11:09:55 +03:00
Tor Lillqvist
dd36afc207
Don't use the same name for a function that used to be a variable
...
Rename the gtk_major_version() etc functions I introduced yesterday to
start with gtk_get. Avoids misleading results in client programs whose
developers that don't notice the change or the compiler warnings, and
when recompiling against gtk3 then use the function addresses as the
version numbers.
2010-09-09 11:06:26 +03:00
Matthias Clasen
91d0728dfa
Fix build of gail after GtkItem removal
2010-09-09 00:51:08 -04:00
Matthias Clasen
3bd93e5bfd
Remove GtkItem
...
With the demise of GtkList and GtkTree, it has GtkMenuItem as sole
derived class, and is not really adding any value as a separate class.
Its few useful features have been merged into GtkMenuItem.
Bug 629104
2010-09-08 23:38:09 -04:00
Javier Jardón
72ac2175e2
gtk/gtkhandlebox.c: Do not use gdk_window_get_deskrelative_origin()
...
This completes commit bd277fad50
2010-09-09 02:26:43 +02:00
Colin Walters
e08c43faf4
porting guide: Update to mention GDK_KEY_ transition
2010-09-08 18:51:44 -04:00
Colin Walters
913cdf3be7
GDK: Prefix key names with KEY_
...
The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.
For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.
Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.
2010-09-08 18:51:44 -04:00
Colin Walters
03c19e37af
gdk: Update gdkkeysyms.h
...
In preparation for adding a namespace prefix for introspection.
2010-09-08 18:51:44 -04:00
Javier Jardón
bd277fad50
Remove deprecated gdk_window_get_deskrelative_origin() and its implementations
2010-09-09 00:50:46 +02:00
Tor Lillqvist
3dda0adf76
Drop GDK_DEBUG_GC and _IMAGE as GDK doesn't do that any more
2010-09-09 01:09:49 +03:00
Mike Gorse
8fb5bc2583
Remove a duplicate variable
...
Bug#629110: gtk_spinner_accessible_get_type always returns null
2010-09-08 17:55:28 -04:00
Javier Jardón
1b0d2fcd51
Use G_CALLBACK() instead deprecated GTK_SIGNAL_FUNC()
2010-09-08 23:42:25 +02:00
Javier Jardón
016093d007
docs: Remove GtkFileSelection deprecated docs
2010-09-08 22:58:03 +02:00
Javier Jardón
a76d198508
GtkWidget: Move public members to private structure
2010-09-08 21:28:16 +02:00
Javier Jardón
efaed1b8f1
gtk/gtknotebook.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
f8cfb895ed
gtk/gtkarrow.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
d9e7680735
gtk/gtkpathbar.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
a338d5dea5
gtk/gtkruler.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
e4dc454f59
gtk/gtkseparator.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
50ef420378
gtk/gtkhandlebox.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
89e8f79f07
gtk/gtkiconview.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
a48d28848e
gtk/gtkimage.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
ec2f2c3daf
gtk/gtkmenu.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
0993bc4d1c
gtk/gtkmisc.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
29044f0f0e
gtk/gtkspinbutton.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
5533264958
gtk/gtktextview.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
d05d713068
gtk/gtktreeview.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
2d0a655201
gtk/gtkwindow.c: Fix warning
...
Cast to GtkSizeRequest
This was added in
commit b654afcb48
2010-09-08 21:13:03 +02:00
Tor Lillqvist
87141cf4c8
Get rid of the rest of variables exported from libgtk
...
Especially the gtk_*_type ones in gtktexttypes.h were mentioned in
gtk.symbols presumably by accident. That header isn't even installed,
so no way can they be supposed to be public.
gtk_text_attr_appearance_type is from the installed but "semi-private"
gtktextlayout.h, so drop that one too from gtk.symbols for now.
The use of gtk_text_unknown_char_utf8 is bit of a mess. Code in a few
files knew implicitly that it is three bytes. Define a symbolic name
for the length of it instead. Add an exported function
gtk_text_unknown_char_utf8_gtk_tests_only() that returns a pointer to
it just for the sake of gtk/tests/textbuffer.c. Prefix the variable
with an underscore.
I doubt the usefulness of the test_utf8() in textbuffer.c. If it could
be dropped, gtk_text_unknown_char_utf8_gtk_tests_only() could be
dropped, too.
2010-09-08 21:31:34 +03:00
Tor Lillqvist
801875b805
Replace gtk_debug_flags with getter and setter functions
...
Preferrably should be made just into a local variable for libgtk like
_gdk_debug_flags for libgdk. But for now used by
gtk/tests/textbuffer.c and modules/printbackends/cups/gtkprintbackendcups.c.
2010-09-08 21:31:34 +03:00
Tor Lillqvist
2ab562a6f7
Remove also the docs for the gdk_threads_mutex variable
2010-09-08 21:31:33 +03:00
Tor Lillqvist
cb24bcc613
Turn the gtk version and age variables into functions
...
Having variables exported from a DLL is slightly painful and
potentially error-prone on Windows, so let's try get rid of them now
when we can. Starting with these.
2010-09-08 21:31:33 +03:00
Javier Jardón
b654afcb48
gtk/gtkwindow.c: Use gtk_size_request_get_size() instead gtk_widget_get_requisition()
2010-09-08 19:40:51 +02:00
Tristan Van Berkom
9934007420
Completely removed requisition cache from GtkWidget instance structure.
...
Since we have a new mechanism for requesting sizes: GtkSizeRequestIface;
it makes no sense to maintain this cache on the GtkWidget structure...
removing the requisition cache however does not break the old "size-request"
signal which is there for backwards compatability reasons.
In any case widget->requisition should not have been accessed,
gtk_widget_get_child_requisition() would have been the correct way
to consult the cache.
This commit also deprecates the newly added gtk_widget_get_requisition()
API and makes it fallback on gtk_size_request_get_size().
2010-09-08 18:50:24 +02:00
Javier Jardón
4e6a665e61
tests: Use gtk_widget_set_size_request() instead gtk_widget_set_usize()
2010-09-08 18:39:36 +02:00
Javier Jardón
bc366cef52
gtknotebook: Do not mention deprecated API
2010-09-08 17:46:11 +02:00
Javier Jardón
eb81216e32
demos: Do not use deprecated API
2010-09-08 17:45:51 +02:00
Javier Jardón
4a5e0a35b9
gtksocket: Remove mention to gtk_socket_steal() deprecated function
2010-09-08 17:14:37 +02:00
Javier Jardón
ca3348f8f1
Do not use deprecated API in docs and examples
...
gtk_calendar_display_options() was deprecated and removed. Use
gtk_calendar_set_display_options() instead
2010-09-08 17:10:37 +02:00
Tor Lillqvist
3963d5aa76
Remove variables from the platform-independent GDK API
...
gdk_threads_mutex, gdk_threads_lock and gdk_threads_unlock are removed
from public API. gdk_threads_mutex was deprecated already. Instead of
using gdk_threads_lock and _unlock one was presumably supposed to use
the GDK_THREADS_ENTER and _LEAVE macros, which now simply call the
corresponding gdk_threads_enter() and _leave() functions.
Remove he dllimport/dllexport ugliness for GDK for Windows.
There is still a gdk_display variable being exported by the X11
backend.
2010-09-08 15:59:09 +03:00
Havoc Pennington
1812b001f7
Add padding and alignment tests to testadjustsize.c
2010-09-07 22:05:05 -04:00
Havoc Pennington
c440a6760e
Add padding and alignment properties to GtkWidget
...
h-align = START,END,CENTER,FILL
v-align = START,END,CENTER,FILL
padding-left,right,top,bottom,all-sides
These should obsolete all such similar properties on
layout containers, GtkMisc, GtkAlignment, GtkContainer::border-width
Padding is outside the size request.
If padding were not outside the set_size_request() it would not work the
same way as container-supplied (child property) padding.
Conceptually set_size_request() forces the value from the subclass
(the original unadjusted request) and then we go on to adjust
the request further by adding the padding.
To reflect this, we'll probably rename padding to margin
(and squash that back with this patch).
2010-09-07 22:04:59 -04:00
Havoc Pennington
86e475b843
GtkButton: let GtkContainer handle border width
2010-09-07 21:49:19 -04:00
Havoc Pennington
aa53f37d45
add gtk_container_class_handle_border_width() so subclasses can ignore border_width
...
A subclass calls gtk_container_class_handle_border_width()
in its class_init
This marks the subclass as expecting GtkContainer to deal with
border width automatically, which GtkContainer then does.
2010-09-07 21:49:19 -04:00
Havoc Pennington
5c09e9e727
Add testadjustsize test, to test new adjust size methods and related features
...
This will test size adjust, and interactions with other padding and border
2010-09-07 21:49:19 -04:00
Havoc Pennington
034a436d38
GtkWidget: add adjust_size_request adjust_size_allocation virtual funcs
...
Use these new methods to handle set_size_request (aka aux_info)
inside gtkwidget.c, instead of having external code mess with it.
The virtual functions can be used for other purposes in the
future. For example, GtkContainer::border_width could be
automatically implemented for all container subclasses.
2010-09-07 21:49:19 -04:00
Havoc Pennington
8c914ce4cc
Use _gtk_widget_get_aux_info_or_defaults() when possible in gtkwidget.c
...
Did not update uses in other files because the plan is to
get rid of those other uses anyhow. So don't want to make
this function available in the header.
2010-09-07 21:49:19 -04:00
Havoc Pennington
b487f4d181
add _gtk_widget_get_aux_info_or_defaults()
...
This is better than peeking aux info then testing != NULL
in several ways:
- it returns const aux info so if we don't create we can't write
- it ensures that the default we assume if aux_info is NULL is
the same as the default we set if we've created the aux info
- it avoids typing in != NULL checks
2010-09-07 21:49:09 -04:00
Havoc Pennington
6a5b0fa2b7
Fix more SizeRequest implementations to avoid recursive calls to wrapper API
...
GtkFrame, GtkComboBox, GtkExpander, GtkMenu, GtkWrapBox
These are all the examples I could find so far.
https://bugzilla.gnome.org/show_bug.cgi?id=628829
2010-09-07 21:28:36 -04:00
Havoc Pennington
dcdf3da06b
Warn about recursively calling size req wrappers on the same object and orientation
...
We are not re-entrant and there is no reason for widgets to
do this, most likely they'll just get unexpected bugs because
the wrappers may modify the request.
Computing the request should logically rely only on the
widget itself, not on any adjustments caused by set_size_request,
size groups, and so forth.
https://bugzilla.gnome.org/show_bug.cgi?id=628829
2010-09-07 21:28:36 -04:00
Havoc Pennington
e2b03a9b96
default impls of width_for_height,hfw should chain directly not use wrapper API
...
In GtkBin and GtkWidget we tried to provide handy defaults that
call get_width if there's no get_width_for_height and
get_height for get_height_for_width.
However, they used the wrapper API on GtkSizeRequest instead of
chaining directly to the other method implementation.
This could result in all kinds of surprising behavior, for example,
get_width_for_height() would now already include the effects of set_size_request().
If nothing else it's inefficient. But it's just conceptually wrong,
because to chain to another implementation, we should call the other
implementation, not call a wrapper around the other implementation
(when we're already inside a previous invocation of the wrapper,
i.e. compute_size_for_orientation() ends up reinvoking itself
in the same orientation on the same object which it pretty
likely isn't intending to do)
https://bugzilla.gnome.org/show_bug.cgi?id=628829
2010-09-07 21:28:36 -04:00
Colin Walters
319bc22c5c
gtk.symbols: Update expected ABI
2010-09-07 14:17:10 -04:00
Owen W. Taylor
d04e557370
Fix annotations for gdk_window_get_device_position()
...
Add (out) and (transfer none) as appropriate
2010-09-07 14:03:18 -04:00
John (J5) Palmieri
c78a23bdca
add annotations for tranfer and scope so that methods are exported by GI
2010-09-07 13:50:40 -04:00
John (J5) Palmieri
eeaf576316
add array annotation to gtk_builder_add_objects_from_string
2010-09-07 12:06:29 -04:00
John (J5) Palmieri
8a210673fb
add gtk_radio_button_join_group method for bindings
...
* this mirrors the committed change for gtk_radio_action_join_group in
commit 85b53969b2
* Due to object ownership issues it is impossible to correctly use
get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
GtkRadioButton objects and not with the list of objects that gets
modified in the library
https://bugzilla.gnome.org/show_bug.cgi?id=628935
2010-09-07 10:41:40 -04:00
Tristan Van Berkom
278957a5a4
Removed x/y/x_set/y_set from GtkWidgetAuxInfo
...
These members of GtkWidgetAuxData can no longer be set after
the removal of deprecated gtk_widget_set_uposition(), now removed
these members completely and removed the access to them from
gtk_widget_size_allocate().
2010-09-07 16:21:44 +09:00
Tristan Van Berkom
d5278b5994
Removed _gtk_window_reposition()
...
_gtk_window_reposition() was only some extra confusing code, internally
it only calls the public API gtk_window_move()... replaced calls to
_gtk_window_reposition() with direct calls to gtk_window_move() and
removed the redundant internal API (probably there only for some historical
reason).
2010-09-07 15:45:15 +09:00
Havoc Pennington
c50db9c208
Use a bitfield for Widget::private_flags, ::state, ::saved_state
...
This recovers 10 bits, since state and saved_state as uint8 both
wasted 5 bits. Now we can add 10 more flags.
Also, a possible future patch could just do 1-bit bitfields
for the private flags instead of using manual bit twiddling.
https://bugzilla.gnome.org/show_bug.cgi?id=628884
2010-09-07 00:13:11 -04:00
Matthias Clasen
d5c2cb7bcb
Avoid segfault on xkbless systems
...
This was reported in bug 628932 to cause problems on VNC.
2010-09-07 00:10:26 -04:00
Duarte Loreto
87b192773c
Updated Portuguese translation
2010-09-07 00:51:47 +01:00
Klemen Košir
fc5b39a4b8
Updated Slovenian translation
2010-09-06 16:47:25 +02:00
Baurzhan Muftakhidinov
134f9774dd
Updated Kazakh translation
2010-09-06 10:29:49 +06:00
Matthias Clasen
3c5f9fd1a2
Remove use of ::has-separator property
2010-09-06 00:26:17 -04:00
Matthias Clasen
2f966e8418
Remove some unused enums
...
The GtkAnchorType and GtkVisibility enums are not used anywhere,
so remove them.
2010-09-05 23:55:47 -04:00
Havoc Pennington
88a90b8abb
Warn if a widget requests minimum size > natural size
...
Since this makes no sense and there's no reason we should
have to check for it elsewhere just in case some widget is
busted.
https://bugzilla.gnome.org/show_bug.cgi?id=628808
2010-09-05 21:46:22 -04:00
Havoc Pennington
d7d940c71e
Add more "reserved for expansion" fields to GtkWidgetClass
...
Only 3 were left. 3.x cycle may need more.
https://bugzilla.gnome.org/show_bug.cgi?id=628807
2010-09-05 21:42:35 -04:00
Claude Paroz
956a3f53e1
Updated French translation
2010-09-04 23:21:19 +02:00
Murray Cumming
08ddea5069
GtkStatusIcon: Remove get/set_blinking() declarations from header.
...
This was apparently forgotten in
commit 18b47b6cd0 .
2010-09-04 13:18:09 +02:00
Martin Schlemmer
e6da33a302
MS Windows engine: draw elements in the right place.
...
Work in progress, still remains to be solved the problem of clipping.
2010-09-03 22:19:39 +02:00
Matej Urbančič
3b63ef0ac6
Updated Slovenian translation
2010-09-03 19:16:38 +02:00
Matthew Barnes
bf3b5f785e
Don't leak display name
...
Bug 628656 - _gdk_windowing_get_startup_notify_id memory leak
get_display_name() returns a newly allocated string, which was being fed
directory info a g_strdup_printf() call.
2010-09-03 12:48:50 -04:00
Benjamin Otte
d8f3a162c8
style: Use gtk_widget_get_state() for the entry background
...
New code sets the entry background to GTK_STATE_ACTIVE when it has focus
and the active color in the default theme looks rather bad.
2010-09-03 17:14:17 +02:00
Mattias Põldaru
7e78999034
[l10n] Updated Estonian translation
2010-09-03 18:06:48 +03:00
Benjamin Otte
78ccc74879
entry: Use the same state for the flat box of text area and icons
2010-09-03 17:01:06 +02:00
Benjamin Otte
3fdb4f6069
x11: Unused variable
2010-09-03 13:39:24 +02:00
Benjamin Otte
9c2eca5b06
range: Unused variable
2010-09-03 13:39:10 +02:00
Benjamin Otte
3685db091d
window: Use brackets to silence gcc
2010-09-03 13:38:55 +02:00
Benjamin Otte
fc46f2ca2f
tests: Remove all code relating to the blink menu item
2010-09-03 13:38:29 +02:00
Matthias Clasen
1be5f91491
Document --disable-Bsymbolic option
2010-09-02 22:56:41 -04:00
Matthias Clasen
d095448be3
Remove unused --disable-visibility option
2010-09-02 22:56:15 -04:00
Tor Lillqvist
f42814168c
Just use TrackMouseEvent directly
...
TrackMouseEvent is present in user32.dll in all Windows versions we
support. No need to look it up dynamically. No need to fallback to
_TrackMouseEvent from comctrl32.dll.
2010-09-03 00:30:56 +03:00
Colin Walters
00ce32d940
gtk-demo: Drop use of GTK_DIALOG_NO_SEPARATOR
...
Commit d433a60611 dropped this API.
2010-09-02 16:48:45 -04:00
Klemen Košir
6aa846cc4d
Updated Slovenian translation
2010-09-02 18:24:32 +02:00
Fridrich Štrba
03b6a9b6a0
Oops, make the MS Windows theme really compile.
2010-09-02 15:39:19 +02:00
Matthias Clasen
18b47b6cd0
Remove blinking from status icons
...
This feature was just a bad idea.
2010-09-02 09:37:06 -04:00
Matthias Clasen
46f15e7d68
Adapt docs to dialog api changes
2010-09-02 09:35:50 -04:00
Matthias Clasen
76b21033f9
Adapt tests to dialog api change
2010-09-02 09:31:54 -04:00
Matthias Clasen
d433a60611
Remove separators from dialogs
...
It seems more reasonable to remove this feature than to keep fighting
off every separator that pops up by accident in a dialog.
2010-09-02 09:14:20 -04:00
Fridrich Štrba
97cd2500c3
Make the MS Windows engine compile again.
...
Nevertheless, it is not working and needs a lot of fixing before
it can be useful.
2010-09-02 15:04:14 +02:00
Matthias Clasen
a60a933ca6
Update docs or GtkProgressBar api changes
2010-09-02 08:59:27 -04:00
Matthias Clasen
ece148eec0
Remove ::state-hint use
...
This use of the property was overlooked when it was removed.
We now always behave as if state-hint == TRUE.
2010-09-02 08:59:27 -04:00
Matthias Clasen
55d5d3679e
Table gymnastics
2010-09-02 08:59:26 -04:00
Tor Lillqvist
2994fa11fb
Avoid potential DLL hijacking in ms-windows theme engine
...
Load uxtheme.dll from an absolute path. A proper uxtheme.dll, if
present, will always be in the Windows system directory, so load it
from there.
2010-09-02 14:45:59 +03:00
Fridrich Štrba
e78851b928
Adapt to progressbar api change
2010-09-02 10:24:34 +02:00
Fridrich Štrba
31b709d08a
Export one needed symbol
2010-09-02 10:24:34 +02:00
Tristan Van Berkom
68568cff66
Enhanced/Simplified GtkWrapBox api as per Havoc's comments.
...
Made an enum GtkWrapBoxPacking for the expand/fill horizontal/vertical
boolean options... changed xpadding/ypadding to be horizontal-padding
and vertical-padding for a more consistent api and better readablility.
2010-09-02 15:36:36 +09:00
Tristan Van Berkom
c9ccc7551b
Some api changes for GtkWrapBox
...
Ammended documentation for GTK_WRAP_BOX_SPREAD_EVEN and renamed
GTK_WRAP_BOX_SPREAD_BEGIN -> GTK_WRAP_BOX_SPREAD_START.
2010-09-02 14:22:55 +09:00
Tristan Van Berkom
f2279d5e51
Fixed GtkNotebook to not consult GtkWidget->requisition directly
...
GtkNotebook was filling widget->requisition directly at "size-request"
time instead of filling in the *requsition argument, also (more importantly)
at size_allocate time GtkNotebook was consulting the action widget's
widget->requisition directly instead of safely calling
gtk_widget_get_child_requisition(). This commit closes bgo #628068 .
2010-09-02 13:50:27 +09:00
Matthias Clasen
42a90aa00c
Add information about progressbar migration
...
Add a section to the migration guide about GtkProgressBar.
Also, actually include the wrap box docs.
2010-09-02 00:05:32 -04:00
Matthias Clasen
6b5672c199
Remove now unused GtkProgressBarOrientation enum
2010-09-01 23:30:21 -04:00
Matthias Clasen
0ff6aedca0
Convert GtkCellRendererProgress to a GtkOrientable
...
And add an inverted property to it, too.
2010-09-01 23:27:00 -04:00
Matthias Clasen
3302f22da2
Adapt testgtk progressbar test to api changes
2010-09-01 23:26:19 -04:00
Matthias Clasen
4230f7998b
Make GtkProgressBar implement GtkOrientable
...
This also means that gtk_progress_bar_[sg]et_orientation are
gone.
2010-09-01 23:25:22 -04:00
Matthias Clasen
c3a19a4a14
Split the GtkProgressBar::orientation property
...
We splict the orientation property into a GtkOrientation and a
'inverted' boolean, the same way that GtkRange is set up.
2010-09-01 23:24:20 -04:00
Matthias Clasen
e4af3782d3
Rename GtkIconView::orientation property
...
Rename the ::orientation property of GtkIconView to item-orientation,
which is both clearer and avoids the conflict with the orientation
property of GtkOrientable implementations.
2010-09-01 23:03:48 -04:00
Matthias Clasen
1956cf8d28
Remove GtkRange::activate-slider
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 22:09:44 -04:00
Matthias Clasen
d28af9cbb9
Remove GtkRange::stepper-position-details
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 21:48:44 -04:00
Matthias Clasen
658f99b8ee
Remove GtkRange::trough-side-details
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 21:30:47 -04:00
Matthias Clasen
095fb1afe4
Remove GtkTreeView::row-ending-details
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 20:58:39 -04:00
Matthias Clasen
399580f9e1
Remove GtkEntry::state-hint
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 20:21:21 -04:00
Matthias Clasen
299454b7ed
Update NEWS for 2.90.7
2010-09-01 20:09:10 -04:00
Matthias Clasen
15ea566813
Wrap box assimilation
...
Some coding style cleanups, rename Priv to Private, add docs
2010-09-01 20:03:30 -04:00
Matthias Clasen
7670b13d19
Update GtkButtonBox docs
2010-09-01 19:15:59 -04:00
Javier Jardón
6e5d65c9af
gtkscale: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
5484211c90
gtktexttagtable: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
7eadf45888
gtktypeutils: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
a47e5483b6
gtkimcontextsimple: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
3a752e03a8
gtkimmulticontext: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Colin Walters
787df491f3
Add correct namespace prefix to ColorSelectionPrivate
...
gobject-introspection is now more strict about garbage in public headers.
2010-09-01 13:16:37 -04:00
Carl-Anton Ingmarsson
38fad43129
docs: Further fix GtkStock documentation
...
Some icons were left out from the
commit 9688665334
https://bugzilla.gnome.org/show_bug.cgi?id=628308
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-09-01 17:43:59 +02:00
Stefan Kost
9074f74c6f
container: use priv in last commit
...
container->focus_child to container->priv->focus_child
2010-09-01 17:33:33 +03:00
Stefan Kost
94420f7110
widget: more details on gtk_widget_grab_focus docs
...
Tell that widget needs to be mapped and realized.
2010-09-01 16:59:00 +03:00
Stefan Kost
267a2156d8
container: clarify the docs
...
Hightlight more that focus_child is a container internal thing and suggest
what application developers most likely were looking for instead.
2010-09-01 16:59:00 +03:00
Stefan Kost
b00b1c33a3
container: don't leak the focus_child ref count
...
gtk_conatiner_set_focus_child() takes a ref. Release the ref in _destroy().
Fixes #414712 .
2010-09-01 16:59:00 +03:00
Matthias Clasen
9688665334
Fix GtkStock documentation
...
After the big icon rename, all the links in the docs have to
be updated, and we need to copy the right icons.
2010-09-01 00:14:45 -04:00
Colin Walters
b04b1b2e84
introspection: Update to new scanner API
...
* Add --warn-all
* Drop unnecessary of --strip-prefix; for GdkX11, use --symbol-prefix
https://bugzilla.gnome.org/show_bug.cgi?id=628160
2010-08-31 16:21:08 -04:00
Fridrich Štrba
5032cdf88f
Porting MS Windows theme engine to cairo - Part 1: stippling
2010-08-31 18:05:41 +02:00
Fridrich Štrba
78dc2debc0
Porting the MS Windows theme engine to cairo - Part 2 rectangle and line drawing
2010-08-31 18:05:41 +02:00
Dirgita
34c6ea0307
Updated Indonesian translation
2010-08-31 21:38:52 +07:00
Dirgita
1810943d5d
Updated Indonesian translation
2010-08-31 21:34:05 +07:00
Javier Jardón
213f8e2f1b
gtk/gtkwindow: use accessor functions to access GtkWidget
2010-08-31 02:51:36 +02:00
Javier Jardón
1a980d0be6
gtk/gtkplug.c: Use accessor functions to access GtkWindow
2010-08-31 02:51:36 +02:00
Javier Jardón
304b1a1f56
Added _gtk_widget_get_wmclass() internal function
...
Needed by GtkPlug
2010-08-31 02:51:36 +02:00
Gabor Kelemen
6250627d9e
Updated Hungarian translation
2010-08-31 02:28:25 +02:00
Gabor Kelemen
7879d5af11
Updated Hungarian translation
2010-08-31 02:26:03 +02:00
Javier Jardón
cc06f3dde6
GtkScrolledWindow: move public members to private structure
2010-08-31 01:34:02 +02:00
Javier Jardón
8da741f955
Gail: use accessor functions to access GtkScrolledWindow
2010-08-31 01:34:02 +02:00
Szilárd Pfeiffer
d8a90be370
Fixed minimum increment calculation of GailScaleButton.
...
Also implemented to use the adjustment to determine the current, minimum,
maximum values and mimimum increment just as the other widgets which have
adjustment.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=626710
2010-08-30 22:39:11 +02:00
Martin Schlemmer
e14560cf1e
[win32] Properly draw the menu separator for Windows Vista/7.
...
Also adds the bits for transparency.
2010-08-30 20:05:09 +02:00
Martin Schlemmer
8476d22dea
[win32] Use pango_win32_font_description_from_logfontw() to get
...
the system font, instead of the code duplication.
2010-08-30 20:01:41 +02:00
Martin Schlemmer
04e241fd85
[win32] Fix some warnings related to type differences and unused variables
2010-08-30 19:58:19 +02:00
Tor Lillqvist
4491bdbb9d
Drop Win32 DLL ABI compatibility cruft
...
No need for that any longer as we are changing DLL name.
2010-08-30 14:57:48 +03:00
Tristan Van Berkom
972f617b77
Fixed GtkToolPalette realize() vfunc.
...
It seems with latest GSEAL work for widget->window access a
call to gtk_widget_set_window() was missed (added the window
assignment and now the palette shows up in Glade again).
2010-08-30 18:25:14 +09:00
Tristan Van Berkom
bbf38a8ebd
Fixing email address in copyright header for testwrapbox test.
2010-08-30 18:24:41 +09:00
Philip Withnall
ba158a24fe
Miscellaneous property string fixes
2010-08-29 19:00:14 +01:00
Szilárd Pfeiffer
86851b7ad3
modules/other/gail/gailtogglebutton.c: Add/remove indeterminate state
...
GailToggleButton does not set/unset ATK_STATE_INDETERMINATE according to the
value of GtkToggleButton's inconsistent property.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=626537
2010-08-29 19:21:05 +02:00
Javier Jardón
f84707d6f9
Add gtk_calendar_day_is_marked() function
...
The marked state of calendar day is not accessible
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627028
2010-08-29 19:14:24 +02:00
Daiki Ueno
6afa615690
Fix typo in GtkIMContextClass doc.
2010-08-29 19:01:30 +02:00
Милош Поповић
a026b8227c
Updated Serbian translation
2010-08-29 20:14:16 +02:00
Tor Lillqvist
87bf99dcc5
Fix Win32 build
2010-08-29 12:40:56 +03:00
Matthias Clasen
8d36170b8d
Remove deprecated GTK_SELECTION_EXTENDED selection mode
2010-08-28 22:42:59 -04:00
Matthias Clasen
29aa3818a4
Remove deprecated text and text_length field in GtkEntry
...
These fields have been superseded by GtkEntryBuffer.
2010-08-28 22:27:36 -04:00
Matthias Clasen
af8539bf11
Move deprectated menu enumerations to a private header
...
The GtkSubmenuDirection and GtkSubmenuPlacement enumerations
have been deprecated as public API for a while, but are still used
internally in the menu code. Move them to a private header. This
also prevents to generation of GObject boilerplate for these enums.
2010-08-28 21:24:11 -04:00
Matthias Clasen
eb10e6b128
Remove the long deprecated GDK_WINDOW_DIALOG type.
...
This has been deprecated forever, and was just left in for
compatibility reasons.
2010-08-28 20:10:02 -04:00
Matthias Clasen
00438fea3d
Declare the GtkWidget::window-dragging style property as readonly
...
This is how we generally declare style properties, and declaring
this one r/w was just an oversight.
2010-08-28 20:08:14 -04:00
Matthias Clasen
5d6b21e7b2
Remove long-deprecated page-horizontally signal
...
This signal has been superseded by GTK_MOVEMENT_HORIZONTAL_PAGES
long ago. This breaks the GtkTextView ABI.
2010-08-28 19:26:42 -04:00
Matthias Clasen
d2d344a531
Remove a workaround for old toolbar api
...
The old, deprecated toolbar api has been removed, so this workaround
is no longer necessary.
2010-08-28 19:11:23 -04:00
Matthias Clasen
6dd4f32f37
Remove deprecated GTK_CALENDAR_WEEK_START_MONDAY option
...
This has been deprecated and ignored for a long time.
2010-08-28 19:09:21 -04:00
Matthias Clasen
d45d970144
Remove deprecated 'shadow' properties in GtkFrame and GtkHandleBox
2010-08-28 17:20:53 -04:00
Philip Withnall
f733ab0e75
Update British English translation
2010-08-28 15:58:56 +01:00
Yaron Shahrabani
34a8213b0f
Updated Hebrew translation.
2010-08-28 10:27:28 +03:00
Tristan Van Berkom
67194ed77b
Fixed debug build for GTK_PLUG (plug)->socket_window direct accesses.
2010-08-28 16:19:16 +09:00
Tristan Van Berkom
deaa351630
Added initial revision of GtkWrapBox container widget and test case.
2010-08-28 16:01:59 +09:00
Javier Jardón
2a2f7c0993
gtk/gtkwidget.c: Use accessor functions to access GtkWindow
2010-08-28 03:40:47 +02:00
Javier Jardón
face33a411
docs/reference/gtk/gtk3-sections.txt: Use GtkFooPrivate instead GtkFooPriv
...
This completes commit 1e5d7c0225
2010-08-28 03:24:04 +02:00
Fran Diéguez
cd7c3625d7
Updated Galician translations
2010-08-27 23:25:56 +02:00
Javier Jardón
e8184f2a46
GtkPlug: move public members to private structures
2010-08-27 23:12:12 +02:00
Javier Jardón
af8efa0b46
Use accessor functions to access GtkPlug
2010-08-27 23:12:12 +02:00
Bruno Brouard
2425dad948
Updated French translation
2010-08-27 22:19:23 +02:00
Bruno Brouard
0293e2443d
Updated French translation
2010-08-27 20:54:25 +02:00
Claude Paroz
c3395dd726
Add missing files in po-properties/POTFILES.in
...
Accessorily, use the same sort in both POTFILES.in to easily compare
files.
2010-08-27 18:34:10 +02:00
Alexander Shopov
8526997205
Updated Bulgarian translation
2010-08-27 16:20:48 +03:00
Yaron Shahrabani
f3ff581c26
Updated Hebrew translation.
2010-08-27 16:19:53 +03:00
Javier Jardón
1e5d7c0225
Use GtkFooPrivate instead GtkFooPriv
2010-08-27 04:48:23 +02:00
Javier Jardón
c6a44d8494
gtk/gtkseparator: Do not use GET_PRIVATE macro all the time
...
Use a private pointer instead
2010-08-26 18:00:09 +02:00
Javier Jardón
8d983a4547
gtk/gtkfilesystem: Do not use GET_PRIVATE macro all the time
...
Use a private pointer instead
2010-08-26 15:58:20 +02:00
Javier Jardón
904769b004
gdk/gdkwindowimpl.c: Use G_DEFINE_INTERFACE macro
2010-08-26 14:57:56 +02:00
Javier Jardón
29685170cf
gdk/x11/gdkeventtranslator.c: use G_DEFINE_INTERFACE macro
2010-08-26 14:57:56 +02:00
Gabor Kelemen
3247a3a7cd
Updated Hungarian translation
2010-08-26 04:01:47 +02:00
Javier Jardón
1b77e36a59
gtk/gtksizerequest.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
523ea1c656
gtk/gtktoolshell.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
c0b8104232
gtk/gtkcellsizerequest.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
24fedeccac
gtk/gtkcelllayout.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
208e548ab1
gtk/gtkrecentchooser.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
c1476c951e
gtk/gtkfilechooser.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Matthias Clasen
3e4e2b233b
Fix trivial doc typo
...
Pointed out in bug 627912.
2010-08-25 18:17:43 -04:00
Javier Jardón
45e2176683
Use G_DEFINE_INTERFACE macro in gtkactivatable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-08-25 15:06:40 +02:00
Matthias Clasen
d5a8a3c9bc
Make gdk_keymap_map_virtual_modifiers work early
...
It needs to ensure that we have an uptodate modmap. Bug 616401
2010-08-25 01:05:29 -04:00
Matthias Clasen
1f1b404194
Document that the GTK_STOCK_FILE label is new
2010-08-25 00:46:47 -04:00
Matthias Clasen
586bbc9b13
Make the initial focus in dialogs work as intended
...
We had code that tried to prevent selecting the text in the label
if we end up focusing a label, but it didn't take effect, because
we were moving the focus into the label again afterwards.
2010-08-25 00:43:16 -04:00
Matthias Clasen
e1143c2d45
Make empty buttonboxes work again
...
There was some less than careful / nvis_children.
2010-08-25 00:29:27 -04:00
Matthias Clasen
06c2777d88
Make builtin rc consistent
...
I removed the default label style a few days ago, so it should
no longer be referenced either.
2010-08-25 00:28:23 -04:00
Matthias Clasen
2766cd14ad
Remove depth restriction from gtk_combo_box_set_active_iter docs
...
While it may not work perfectly in menu mode, it works fine for
list mode. Bug 627843.
2010-08-24 21:51:17 -04:00
Sergey Orlov
a676f9dada
bgo#614006 - GtkFileSystemModel - Make sure to generate node IDs are valid for new files
...
When a file was inserted during the period that the editable row was
active, the node IDs would not get updated correctly.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-08-24 17:09:37 -05:00
Javier Jardón
72fad93587
tests/testsocket: Fix broken test
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627867
2010-08-24 23:49:21 +02:00
Javier Jardón
1abb8f6e7f
gdk/gdkwindow.c: Fix compilation warning
2010-08-24 21:27:57 +02:00
Javier Jardón
c05f344c0a
Use gtk_window_has_group() to know if the window has an explicit window group.
...
gtk_window_get_group() never returns NULL; if the window isn't in a group,
a default window group is returned instead. Use gtk_window_has_group() instead.
This fixes some previous commits to use accessors to access GtkWindow.
Reported by Philip Withnall in bug
https://bugzilla.gnome.org/show_bug.cgi?id=627828
2010-08-24 16:16:42 +02:00
Ivar Smolin
891694d9ff
[l10n] Updated Estonian translation
2010-08-24 15:11:59 +03:00
noch
10ff05fb0c
Added Armenian translation - po file. Modified LINGUAS.
2010-08-24 10:01:41 +05:00
noch
1e33284d60
Added Armenian translation - po file in ./po and ./po-properties directories. Modified LINGUAS.
2010-08-24 09:57:43 +05:00
Javier Jardón
f4f607690d
GtkRange: move public members to private structure
2010-08-23 20:48:03 +02:00
Javier Jardón
ff445e2b79
Use accessor functions to access GtkRange
2010-08-23 20:47:52 +02:00
Javier Jardón
27ec5cd556
gtkscalebutton: use accessor functions to access GtkRange
2010-08-23 20:47:45 +02:00
Javier Jardón
a64869db9e
gtkscale: use accessor functions to access GtkRange
2010-08-23 20:47:38 +02:00
Javier Jardón
f300aefa7e
Added _gtk_range_set_steppers () internal function
...
It's needed by gtkscrollbar
2010-08-23 20:47:30 +02:00
Javier Jardón
1814ea6abd
Added _gtk_range_set_round_digits() insternal function
...
It's needed by gtkscale
2010-08-23 20:47:23 +02:00
Javier Jardón
d38bf4825a
gtkrange: Add some checks to gtk_range_set_slider_size_fixed()
...
Recalculate layout only if the range is already mapped and
adjustment is not NULL.
2010-08-23 20:47:16 +02:00
Javier Jardón
65a28efc15
gtk/gtkprintunixdialog.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:44 +02:00
Javier Jardón
f05acd707d
gtk/gtktreeview.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:38 +02:00
Javier Jardón
31d22d3083
gtk/gtksocket.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:31 +02:00
Javier Jardón
97cbe801c1
gtk/gtkrecentchooserdefault.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:24 +02:00
Javier Jardón
fb4661be6d
gtk/gtkprintoperation.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:18 +02:00
Javier Jardón
54b8b51f43
gtk/gtkpaned.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:11 +02:00
Javier Jardón
f91e5e2ac9
gtk/gtknotebook.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:03 +02:00
Javier Jardón
991eaa7580
gtk/gtklabel.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:55 +02:00
Javier Jardón
e00ffe3872
gtk/gtkfontsel.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:48 +02:00
Javier Jardón
7325c67570
gtk/gtkfilechooserdefault.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:41 +02:00
Javier Jardón
64fca99a89
gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:34 +02:00
Javier Jardón
65266d971e
gtk/gtkentry.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:27 +02:00
Javier Jardón
50aec80efb
gtk/gtkdnd.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:20 +02:00
Javier Jardón
014fc1f73a
gtk/gtkdialog.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:10 +02:00
Javier Jardón
595b27e22d
gtk/gtkcontainer.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:03 +02:00
Javier Jardón
1fe89643a5
gtk/gtkcolorsel.c: Use accessor functions to access GtkWindow
2010-08-23 20:17:56 +02:00
Javier Jardón
fe16bdd8d4
gail: Use accessor functions to access GtkWindow
2010-08-23 20:17:49 +02:00
Javier Jardón
a0e0c9e89c
tests/testgtk.c: Use accessor functions to access GtkWindow
2010-08-23 20:17:41 +02:00
Javier Jardón
e5ed2c02a3
Revert from "edit-preferences" to "gtk-preferences"
...
There is not a icon named "edit-preferences" in the spec
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
2010-08-23 18:18:05 +02:00
Tor Lillqvist
56f71f0123
Fix Win32 build
...
Builds now, except for the ms-windows theme engine. It doesn't really
work, though.
2010-08-23 18:55:54 +03:00
Javier Jardón
29a758d4c2
The correct icon name is "dialog-information", not "dialog-info"
...
Spec here:
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
2010-08-23 17:47:28 +02:00
Klemen Košir
1dc0502b4a
Updated Slovenian translation
2010-08-23 14:53:38 +02:00
Benjamin Otte
8856bfc60e
directfb: Remove
...
As announced by email and on IRC, this backend is removed from GTK 3.
It has been broken for over a year with no one fixing it.
2010-08-23 12:44:58 +02:00
Benjamin Otte
7eabb8fd3c
container: suggest parentheses around assignment used as truth value
2010-08-23 12:37:22 +02:00
Torstein Adolf Winterseth
64a852dc76
Updated Norwegian Nynorsk translation
2010-08-23 09:17:26 +02:00
Fran Diéguez
7451827cf9
Updated galician translations
2010-08-23 02:22:00 +02:00
Matthias Clasen
b415d2f79b
Fix a translation problem in the about dialog
...
The license preamble needs to be translated with the GTK+ domain,
not the applications. Bug 627643.
2010-08-22 19:05:35 -04:00
Javier Jardón
ab93613037
gtk/gtk.symbols: Add gtk_cell_view_get_desired_height_for_width_of_row()
2010-08-22 23:35:27 +02:00
Javier Jardón
f3d6aa8bf3
gtk/gtktrayicon-x11.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
04fd195b9b
gtk/gtksocket-x11.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
f25ad7899a
gtk/gtkplug-x11.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
0a1130dcb9
gtk/gtkprintunixdialog.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
07d3f20202
gtk/gtkdnd.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
b99348e443
gtk/gtkaboutdialog.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
091335fcb4
gtk/gtkalignment.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
2201b2abb6
gtk/gtkassistant.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
b05e897453
gtk/gtkbbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
d9b459dd64
gtk/gtkbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
6cad69e32a
gtk/gtkbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
1b1845863a
gtk/gtkcalendar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
c6b86761d6
gtk/gtkcellrendereraccel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
7b5656b492
gtk/gtkcellrendererpixbuf.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
4a17e27a1e
gtk/gtkcellrendererprogress.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
cc70f342d0
gtk/gtkcellrendererspinner.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
aad72e59fa
gtk/gtkcellrenderertext.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
dd61c2bdea
gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
e9915fc8d6
gtk/gtkcellview.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
aa63485b87
gtk/gtkcheckbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
1e3448f222
gtk/gtkcheckmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
0baa3feb4b
gtk/gtkcolorbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
e9b85cf100
gtk/gtkcolorsel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
42a0a8143b
gtk/gtkcombobox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
3a89cc150c
gtk/gtkcontainer.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
83372be93e
gtk/gtkcontainer.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
4def73b386
gtk/gtkdialog.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
379fc17fa9
gtk/gtkdrawingarea.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
4ddff2691b
gtk/gtkentry.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
325a00e40d
gtk/gtkentrycompletion.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
7764ee564c
gtk/gtkeventbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
f11207c33e
gtk/gtkexpander.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
b62b834eb5
gtk/gtkfilechooserdefault.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
7f8aaf04da
gtk/gtkfilechooserentry.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
fe2815026b
gtk/gtkfixed.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
2758329204
gtk/gtkframe.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
effdde9471
gtk/gtkhsv.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
90ee7ca493
gtk/gtkimagemenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
37d62149bb
gtk/gtkinfobar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
0a3431e8f6
gtk/gtkinvisible.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
84297150e8
gtk/gtkitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
69b6dbdb08
gtk/gtklabel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
26f21cf0e9
gtk/gtklayout.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
00152ff835
gtk/gtklinkbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
1783b227e8
gtk/gtkmain.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
7587ee2dde
gtk/gtkmenubar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
4d928459d3
gtk/gtkmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
03842616fb
gtk/gtkmenushell.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
298b3643aa
gtk/gtkmenutoolbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
593b32c6ab
gtk/gtkmessagedialog.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
ce977a1a33
gtk/gtkmnemonichash.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
f8ac83bc07
gtk/gtkoffscreenwindow.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
e49c130018
gtk/gtkpaned.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
d854499f4a
gtk/gtkplug.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
6b7efdf8a1
gtk/gtkprogressbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
d52eb49529
gtk/gtkradiobutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
c6f4e71a31
gtk/gtkrange.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
c35fa9bc5a
gtk/gtkrecentchooserdefault.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
dbd395a7ac
gtk/gtkscale.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
41fcf40648
gtk/gtkscalebutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
482637a41e
gtk/gtkscrolledwindow.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
804ad0dd88
gtk/gtksizegroup.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
4870f2ec30
gtk/gtkselection.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
ab27b01fb9
gtk/gtkseparatortoolitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
551fa5c8df
gtk/gtksocket.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
91a49bac5a
gtk/gtkspinner.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
4847b9a940
gtk/gtkstatusbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
f43610e110
gtk/gtkstatusicon.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
bf1f03ad5d
gtk/gtkstyle.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
c9dd25bd11
gtk/gtktable.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
c4b452a22c
gtk/gtktearoffmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
c6dcef5089
gtk/gtktestutils.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
82f521b514
gtk/gtktextdisplay.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
063454f630
gtk/gtktextutil.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
7fd15c82bf
gtk/gtktoolbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
7e753a9a86
gtk/gtktoolbutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
5e2c943742
gtk/gtktoolitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
1f9eb57338
gtk/gtktoolitemgroup.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
34e63dcd46
gtk/gtktoolpalette.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
3f101bb08c
gtk/gtktooltip.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
1c6b3f53a0
gtk/gtktreeviewcolumn.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
a44969e877
gtk/gtkuimanager.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
ae47b7925a
gtk/gtkviewport: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
e3be606a1c
gtk/gtkwin32embedwidget: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
7b4cf7587a
gtk/gtkwindow-decorate: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Jorge González
40e3d43394
Updated Spanish translation
2010-08-22 21:16:34 +02:00
Javier Jardón
a1c2a00d63
docs: Add GtkLicense enum definition to the docs
2010-08-22 20:53:58 +02:00
Javier Jardón
7d9c4b71a9
gtk/tests/builder.c: Use accessor functions to access GtkWidget
2010-08-22 18:33:10 +02:00
Javier Jardón
46e65a9164
gtk/tests/testing.c: Use accessor functions to access GtkWidget
2010-08-22 18:33:04 +02:00
Javier Jardón
6f74ff20a2
gtk/tests/treeview-scrolling.c: Use accessor functions to acccess GtkWidget
2010-08-22 18:32:56 +02:00
Javier Jardón
b1924555df
modules/input/gtkimcontextxim.c: Use accessors to GtkWidget
2010-08-22 18:32:50 +02:00
Javier Jardón
104fdae2bf
Gail: use accessor functions to access GtkWidget
2010-08-22 18:32:43 +02:00
Javier Jardón
c8afa3f000
tests/testxinerama.c: Use accessor functions to access GtkWidget
2010-08-22 18:31:12 +02:00
Javier Jardón
bd52a8541e
tests/testwindows.c: Use accessor functions to access GtkWidget
2010-08-22 18:31:06 +02:00
Javier Jardón
42c71a1d4a
tests/testtooltips.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:58 +02:00
Javier Jardón
f332976871
tests/testsocket_common.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:51 +02:00
Javier Jardón
b012f0f930
tests/testsocket.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:44 +02:00
Javier Jardón
07e38c51e8
tests/testselection.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:37 +02:00
Javier Jardón
1577a7d415
tests/testoffscreenwindow.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:31 +02:00
Javier Jardón
26d837dd2f
tests/testoffscreen.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:23 +02:00
Javier Jardón
0059a30f0d
tests/testinput.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:17 +02:00
Javier Jardón
4a9c3bc214
tests/testiconview-keynav.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:10 +02:00
Javier Jardón
252a8fc048
tests/testgtk.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:03 +02:00
Javier Jardón
1b7b30bf31
tests/testframe.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:56 +02:00
Javier Jardón
4210ec87b0
tests/testellipsise.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:49 +02:00
Javier Jardón
067f418604
tests/testcairo.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:42 +02:00
Javier Jardón
40dbb2deb2
tests/print-editor.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:35 +02:00
Javier Jardón
5d48658f58
tests/gtkoffscreenbox.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:28 +02:00
Javier Jardón
b6306a0def
perf/gtkwidgetprofiler.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:20 +02:00
Javier Jardón
76b0a349ef
docs/tools/widgets.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:09 +02:00
Javier Jardón
3d77c49e16
docs/tools/shooter.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:02 +02:00
Javier Jardón
26fcfcc5a6
demos/testpixbuf-scale.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:55 +02:00
Javier Jardón
6b3a2fede6
demos/gtk-demo/toolpalette.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:48 +02:00
Javier Jardón
3d942908d3
demos/gtk-demo/rotated_text.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:42 +02:00
Javier Jardón
3204cf726c
demos/gtk-demo/panes.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:33 +02:00
Javier Jardón
5bf0ed62d7
demos/gtk-demo/offscreen_window2.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:25 +02:00
Javier Jardón
4011b70928
demos/gtk-demo/offscreen_window.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:19 +02:00
Javier Jardón
8c4783da05
demos/gtk-demo/hypertext.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:12 +02:00
Javier Jardón
e80db673b1
demos/gtk-demo/drawingarea.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:06 +02:00
Javier Jardón
6a28e7b164
demos/gtk-demo/colorsel.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:01 +02:00
Javier Jardón
876c0b2937
demos/gtk-demo/changedisplay.c: Use accessor functions to access GtkWidget
2010-08-22 18:27:51 +02:00
Philip Withnall
5fa4a05ccc
Miscellaneous string fixes
...
Mostly capitalisation fixes. Closes: bgo#528257
2010-08-22 15:06:45 +01:00
Gabor Kelemen
6c6bb9b3d3
Updated Hungarian translation
2010-08-22 13:52:18 +02:00
Ask H. Larsen
45aafa477f
Updated Danish translation
2010-08-22 13:32:28 +02:00
Philip Withnall
12e83244b1
Bug 528257 — File selector and stock string problems
...
Fix some stock item strings. Helps: bgo#528257
2010-08-22 12:24:00 +01:00
Ivar Smolin
2164e18cd8
[l10n] Updated Estonian translation
2010-08-22 10:37:33 +03:00
Matthias Clasen
fe1a39b1f2
Make button boxes semi-homogeneous
...
If a child is too large (> 1.5 the average), let it have its own
size. The old behaviour of fully homogeneous button boxes can still
be had by setting the homogeneous property to TRUE. Bug 84188.
2010-08-22 00:33:37 -04:00
Philip Withnall
df5ade16ab
GtkFontSelection: don't notify the non-existent "font" property
...
The "font" property was removed in 418d84f311 .
Closes: bgo#627580
2010-08-22 02:47:00 +01:00
Gabor Kelemen
4ef5035674
Updated Hungarian translation
2010-08-21 16:43:05 +02:00
Chao-Hsiung Liao
bfbfa9a589
Updated Traditional Chinese translation (Hong Kong and Taiwan)
2010-08-21 19:50:06 +08:00
Jorge González
50f5b1289c
Updated Spanish translation
2010-08-21 13:01:34 +02:00
Kjartan Maraas
e020217622
Updated Norwegian bokmål translation
2010-08-21 11:18:59 +02:00
Yaron Shahrabani
0b2e5bcb30
Updated Hebrew translation.
2010-08-21 11:55:22 +03:00
Tristan Van Berkom
804c800979
Fixed oversized menus allocated offscreen
...
Removed the old toplevel window size-request signal and
do the clamping in gtk_menu_get_height_for_width() instead,
also make sure to invalidate the size before doing a new
request just after invoking the delegate menu position func.
2010-08-20 21:18:13 -04:00
Tristan Van Berkom
10ceb9da68
Fixed GtkMenuItem to not access the menu->requisition but get the minimum size request instead.
2010-08-20 21:18:13 -04:00
Javier Jardón
9016f0d9a6
Use standard icon names in demos and tests
2010-08-21 03:08:15 +02:00
Tristan Van Berkom
005e8a6c2f
Changed combo box's menu position function to use child menu
...
item's allocation instead of a complex calculation to guess
it's height for width.
2010-08-20 19:26:10 -04:00
Tristan Van Berkom
af7a187919
Added GtkCellRendererText::max-width-chars property
...
Added a property to limit the minimum/natural size request
of a text cell renderer.
2010-08-20 19:26:09 -04:00
Matthias Clasen
f7a6c05158
Remove leftover debug spew
2010-08-20 17:32:21 -04:00
Jonh Wendell
c9340c37a9
Drop one duplicated function header
2010-08-20 14:20:51 -03:00
Jonh Wendell
02b50d71ce
Use an acessor function instead of a deprecated macro
2010-08-20 14:11:05 -03:00
Matthias Clasen
a64bd5d1f0
Fix gtk_widget_queue_draw
...
The draw-border removal did not get it right for !no-window widgets.
Bug 627445.
2010-08-20 08:48:07 -04:00
Tristan Van Berkom
7ef9cc3a1c
Prevent file filter name sizes from expanding the dialog (bgo #527499 ).
...
Made GtkFileChooser file filter combobox ellipsize.
2010-08-19 19:09:53 -04:00
Fabrício Godoy
491bfd6355
Updated Brazilian Portuguese Translation
2010-08-19 13:06:52 -03:00
Khaled Hosny
41c2024d22
Updated Arabic translation
2010-08-19 17:53:26 +02:00
Sandeep Shedmake
3d3e9d85d1
fixed incorrect spelling of calender; corrected to calendar
2010-08-19 21:04:14 +05:30
krishnababu k
af04aeeaed
Updated telugu transaltions
2010-08-19 20:34:34 +05:30
Benjamin Otte
de8b07c3df
textview: Make cursor display again
...
The code for initializing the clip rectangle was accidentally deleted in
a previous patch. Put it back.
2010-08-19 12:08:23 +02:00
Stefan Kost
0e1eee26b9
[filechooserentry] don't show misplaced completion popup
...
Override the key-press-event instead of overriding the focus method.
Fixes #627139
2010-08-19 09:37:53 +03:00
Yaron Shahrabani
ad3e451632
Updated Hebrew translation.
2010-08-19 09:28:39 +03:00
Tristan Van Berkom
d73c11b549
Added test case to testheightforwidth.c to show GtkComboBox/GtkMenu wrapping in action
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
52e5f36dc3
Implemented height-for-width geometry management for menus
...
Now GtkMenu/GtkMenuItem request/allocate in height-for-width
manner... to reduce the height of the menu one must explicitly
set the requested minimum width of the menu to a greater value
(using gtk_widget_set_size_request()).
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
9c26bd525f
Added height-for-width management for GtkComboBox/GtkCellView
...
now GtkComboBox (and GtkCellView) request and allocate children/cells
in a height-for-width manner.
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
9f762fe86c
Added GtkCellSizeRequest bits to makefile, gtk/gtk.h and gtk/gtk.symbols.
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
e2a82c70b4
Added/Implemented GtkCellSizeRequestIface
...
This patch adds height-for-width geometry management
for cell renderers while still responding to the old
gtk_cell_renderer_get_size() apis with virtual return values
(obtained by soliciting the new height-for-width cell renderer
apis).
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
fa565f3a3e
Fixed accel label to do its derived work in ->get_width() instead of the old ->size_request()
2010-08-18 20:01:27 -04:00
Tristan Van Berkom
0cb7aa9c7b
GtkBox: Clipped values passed to gtk_distribute_natural_allocation() incase allocated less than requested.
2010-08-18 20:01:27 -04:00
Tristan Van Berkom
8c14bf009d
Added return_if_fail guard to gtk_distribute_natural_allocation()
2010-08-18 20:01:27 -04:00
Matthias Clasen
0cb1f9a180
Make print backends use standard icon names for printers
...
This is to make the print dialog work with the previous commit.
See bug 626474.
2010-08-18 18:27:39 -04:00
Matthias Clasen
f65265fff9
Make stock icons use standard icon names
...
At least where standard names are available, instead of relying
on a symlink forest in the icon theme directory. For directional
variants, we look up icons by the pair ("foo-rtl", "foo") or
("foo-ltr", "foo"). See bug 626474.
2010-08-18 18:26:58 -04:00
Matthias Clasen
501eeaff11
Remove GtkWidget::draw-border
...
This is a never-used style property that came out of some old
themeing experiments, and handling it has some performance
overhead. Bug 426924
2010-08-18 12:46:57 -04:00
Christian Persch
ffa07ee21e
Use G_DEFINE_BOXED_TYPE
...
Bug #627214 .
2010-08-18 15:34:47 +02:00
Javier Jardón
f730af8360
docs: gtk_window_group_get_current_device_grab() was added in 3.0
2010-08-18 05:29:17 +02:00
Fran Diéguez
1229bfc620
Updated Galician translations
2010-08-17 18:35:35 +02:00
Tomeu Vizoso
24d8c776d4
The 'len' argument of gtk_text_buffer_insert and gtk_text_buffer_insert_at_cursor isn't really the length of the 'text' argument
2010-08-17 17:57:58 +02:00
Tomeu Vizoso
813da6a39a
gtk_tree_model_iter_next's iter is (in), not (inout)
2010-08-17 17:43:04 +02:00
Matthias Clasen
bbebe979da
Bump version to 2.90.7
2010-08-17 11:41:57 -04:00
Jorge González
d6bfd81323
Updated Spanish translation
2010-08-17 17:39:26 +02:00
Carlos Garnacho
bddb72476c
GtkButton: Also handle activate from mouse events.
2010-08-17 15:45:17 +02:00
Carlos Garnacho
b2545e1732
GdkWindow: Check device cursor first in update_cursor().
2010-08-17 15:45:17 +02:00
Matthias Clasen
203c06342d
Remove no-longer-existing file from POTFILES.in
2010-08-17 09:14:09 -04:00
Matthias Clasen
3115de0c36
Remove no-longer-existing file from POTFILES.in
2010-08-17 08:56:07 -04:00
Matthias Clasen
6917d46749
Remove a dangling reference
2010-08-17 00:04:10 -04:00
Matthias Clasen
ce08b9bb01
Fix some documentation issues
2010-08-16 23:52:03 -04:00
Matthias Clasen
db3af409cc
NEWS for 2.90.6
2010-08-16 23:28:35 -04:00
Matthias Clasen
0ea8572d89
Drop internal function from header
...
Make _gtk_button_box_child_requisition static.
2010-08-16 21:58:26 -04:00
Matthias Clasen
e057cb8b4d
Drop some unnecessary variables
2010-08-16 21:58:26 -04:00
Benjamin Otte
434b3e1072
gdk: Use gdk_window_get_background_pixmap() when setting up paint
2010-08-16 19:48:46 +02:00
Benjamin Otte
2944561ba3
API: Add gdk_window_get_background_pattern()
...
This is the suggested way for GTK3 to store a Window's background so it
makes sense to use the same function today already.
2010-08-16 19:48:46 +02:00
Benjamin Otte
8805b58e62
textview: Fix rendering of embedded images
2010-08-16 19:48:45 +02:00
Fran Diéguez
7993ee6d0e
Updated Galician translations
2010-08-16 10:26:42 +02:00
Jorge González
a0a302f7f7
Updated Spanish translation
2010-08-15 21:44:22 +02:00
Jorge González
6a88255e00
Updated Spanish translation
2010-08-15 21:01:19 +02:00
Jorge González
c411df5406
Updated Spanish translation
2010-08-15 21:01:12 +02:00
Kristian Rietveld
14cc894dd7
quartz: gdk_window_get_frame_extents() needs to get effective toplevel
2010-08-15 17:34:44 +02:00
Benjamin Otte
dc7a8f9be7
tests: unbreak testwindows test
...
Delete code that was broken and also used the APIs I just removed.
2010-08-15 03:51:39 +02:00
Benjamin Otte
0b29f4e769
Remove window background getters again
...
They were added as accessors for 2.22 even though querying the
background wasn't possible previously. As GTK 3.0 will change background
handling, it doesn't make sense at all to expose these getters.
2010-08-15 03:34:02 +02:00
Javier Jardón
374d5094a3
Use accessor functions to access GtkToolbar
2010-08-14 02:25:33 +02:00
Javier Jardón
83c20d4b32
GtkToolbar: move public members to private structure
2010-08-14 02:25:33 +02:00
Benjamin Otte
ca7d3f9081
gdk: When using OPERATOR_SOURCE, use clip + paint instead of fill
...
SOURCE is unbounded, so we clear unwanted areas.
2010-08-14 01:46:04 +02:00
Benjamin Otte
fc170551b6
gdk: Do final copy with OPERATOR_SOURCE in end_implicit_paint
...
For windows with alpha channel, the previous contents would otherwise
not be erased. Visible for example in the status icon code.
Thanks to Thomas Wood for noticing.
2010-08-13 20:48:36 +02:00
Matthias Clasen
6334d13de5
Remove some leftovers of deprecated functionality
...
There were some vestiges of the gtk_{h,v}button_box_set_default_layout()
functionality left. These are gone now. I have also removed
the GTK_BUTTONBOX_DEFAULT value in GtkButtonBoxStyle, but the other
values have been kept at their numeric values, to avoid more serious
ABI change.
2010-08-12 23:25:10 -04:00
Javier Jardón
05e33f69eb
gtk_range_set_min_slider_size() should receive an gint, not a gboolean
2010-08-13 02:49:27 +02:00
Benjamin Otte
cc09ec0732
gtk-demo: update drawingarea example
...
Use gdk_window_create_similar_surface() instead of gdk_pixmap_new()
2010-08-12 23:43:24 +02:00
Benjamin Otte
c989d3000a
API: Add gdk_window_create_similar_surface()
2010-08-12 23:43:11 +02:00
Javier Jardón
97fbf97be2
GtkTextTagTable: move public members to private structure
2010-08-12 18:33:28 +02:00
Javier Jardón
1516c86ca4
Use accessor funcions to access GtkCalendar
2010-08-12 18:02:31 +02:00
Javier Jardón
e6ed4da215
GtkCalendar: move public members to private structure
2010-08-12 18:02:31 +02:00
Christian Persch
05134768fe
Revert "Added UG translation" AGAIN
...
This reverts commit ac94b406a1 .
2010-08-12 16:18:47 +02:00
Klemen Košir
8313c7fdbb
Updated Slovenian translation
2010-08-12 14:12:17 +02:00
Claudio Saavedra
e4a83370c4
Improve the looks of the license text in GtkAboutDialog
...
It is not safe to assume that copyright text in applications is
one liner, therefore it's better to split it from the program name.
Also, the license text should be in a paragraph of its own, so
add an extra '\n' above it.
https://bugzilla.gnome.org/show_bug.cgi?id=626514
2010-08-12 14:23:58 +03:00
Sven Herzberg
cd00b0a490
avoid redundant recursion for executing tests
...
* Makefile.decl: make sure that check-local does not depend on a
recursive target for the tests. This way check can recurse and call
check-local in each folder which then invokes test-cwd. This will
make sure that a toplevel check-local doesn't recurse into subfolders
as well. The was resulting in test being run twice (for "/tests"), tree
times (e.g. for "/gtk/tests") and potentially more often
2010-08-12 11:20:41 +02:00
Kristian Rietveld
8b917eeaf6
quartz: make it compile
2010-08-12 10:57:59 +02:00
Benjamin Otte
159caba3e2
Add gtk_license_get_type() to gtk.symbols
2010-08-11 21:43:47 +02:00
Benjamin Otte
ddc184ec79
gdk: Remove nonexistant symbols
...
These symbols have been deleted from the public API with the rendering
cleanup work.
2010-08-11 21:43:47 +02:00
Fran Diéguez
48c34b6868
Updated galician translations
2010-08-11 18:19:34 +02:00
Sahran
ac94b406a1
Added UG translation
2010-08-11 17:48:38 +02:00
Yinghua Wang
aa8a1a8a8e
Update Simplified Chinese UI translation.
2010-08-11 22:42:48 +08:00
Yinghua Wang
a151eac4fb
Update Simplified Chinese property nicks translation.
2010-08-11 22:37:13 +08:00
Benjamin Otte
416d132a72
docs: Some style fixes to the migration guide
...
Most importantly, I decided to not capitalize "cairo".
2010-08-11 05:12:49 +02:00
Matthias Clasen
2acf529b3b
Beef up the migration guide
...
This includes a first cut at documenting the rendering cleanup changes
and the region removal.
2010-08-10 21:22:40 -04:00
Benjamin Otte
eff92cb1d6
dnd: Remove default_icon_pixmap variable and friends
...
The functions to set them were gone already, this is just cleanup
2010-08-11 02:30:29 +02:00
Kristian Rietveld
bde0f9a8f6
quartz: Misc. fixes for getting offscreen windows to work
...
Mainly fixes to properly differentiate between toplevel and offscreen
windows, since these sometimes need different treatment. Furthermore,
usage of gdk_window_get_effective_foo() instead of gdk_window_get_foo()
where applicable.
2010-08-10 21:02:31 +02:00
Kristian Rietveld
d819bc4814
Invalidate cairo surface if resizing is not supported for target
...
While X11 surfaces can be resized, this is not the case for Quartz
surfaces. Instead of resizing we will invalidate the surface instead.
By giving _gdk_windowing_set_cairo_surface_size() a boolean return
value, we can signal back whether or not resizing was possible. If not
possible, we invalidate the surface.
2010-08-10 21:02:31 +02:00
Kristian Rietveld
9c6696dfcc
quartz: Convert default background drawing to cairo
...
Includes some untested (read: uncompiled) simplifications from Benjamin
Otte.
2010-08-10 21:02:31 +02:00
Benjamin Otte
709e05cdb2
style: Use _gtk_pango_fill_layout()
2010-08-10 21:02:31 +02:00
Benjamin Otte
ccacd3a46a
style: Apply same matrix conversion as gdk_draw_layout() did
...
This is only necessary for GtkLabel with an angle set as no other widget
rotates text.
Note that the label code does not need these adjustments as those paths
are only taken when the label is not rotated.
2010-08-10 21:02:31 +02:00
Benjamin Otte
c9d08d02e5
gdk: Remove data consructors for GdkPixmap
...
That is all of the gdk_pixmap/bitmap_create_from_* constructors.
2010-08-10 21:02:31 +02:00
Benjamin Otte
4f37e6833c
x11: Create empty cursor without old functions
...
In particular, clear the bitmap manually instead of using
create_from_data.
2010-08-10 21:02:31 +02:00
Benjamin Otte
aaf70d1327
testgtk: Use Cairo to load XBM image
...
This should really use GdkPixbuf, but apparently we can't load XBM
images. And I'm too lazy to convert it.
2010-08-10 21:02:31 +02:00
Benjamin Otte
de285edc72
testgtk: Use Pixbufs in the shapes example
2010-08-10 21:02:31 +02:00
Benjamin Otte
2513636877
testgtk: Rename pixmap => pixbuf in various places
...
Now that we use Pixbufs for the tests instead of Pixmaps, we should name
the tests like that.
2010-08-10 21:02:31 +02:00
Benjamin Otte
6b19815f87
testgtk: Use pixbufs instead of pixmaps
...
This is for creating a GtkImage with an icon.
2010-08-10 21:02:31 +02:00
Benjamin Otte
ad571a3a5e
testgtk: Make image test not use Pixmaps, but Pixbufs
2010-08-10 21:02:31 +02:00
Benjamin Otte
727122b8d6
testgtk: Fix types and get rid of casting
2010-08-10 21:02:31 +02:00
Benjamin Otte
f3c3e47db7
testdnd: Convert to use pixbufs as icons
...
Using Pixmaps is outdated.
2010-08-10 21:02:30 +02:00
Benjamin Otte
e98f760e9c
x11: Make fallback pixbuf-cursor code not use old constructors
...
These bitmap constructors are about to die. The replacement is painting
with Cairo image surfaces and that's what we do here.
2010-08-10 21:02:30 +02:00
Benjamin Otte
e42033d2cc
colorsel: Create cursor image using Cairo
2010-08-10 21:02:30 +02:00
Benjamin Otte
7b9e2b941c
style: Don't use gdk_pixmap_create_from_xpm
...
Instead, do what that code did manually.
2010-08-10 21:02:30 +02:00
Kristian Høgsberg
1e706ed64f
gdk: Drop Xrender configure.ac check
...
GTK+ no longer depends on the render extension!
2010-08-10 21:02:30 +02:00
Benjamin Otte
8868e77fa0
x11: Remove display_x11->have_render
...
Also remove setters and getters for the variable and the GdkTristate
enum, as it's the only place where it was used.
2010-08-10 21:02:30 +02:00
Benjamin Otte
7182a2dc19
gdk-xft: Don't call render about the subpixel order
...
Instead assume that the root window property is working properly. This
removes the last real Xrender call from GTK.
2010-08-10 21:02:30 +02:00
Kristian Høgsberg
c7bd2ad1c9
gdk: Remove picture pointer from X11 drawable
...
It's not used anymore
2010-08-10 21:02:30 +02:00
Benjamin Otte
c4f280651a
gdk: Don't infinite loop when flushing moves
...
Spotted by Kristian Rietvield. Fixes testoffscreen test.
2010-08-10 21:02:30 +02:00
Matthias Clasen
075661d376
generic damage generation for offscreen windows
...
Generating damage from gdk drawing api doesn't help for cairo rendering
...and the gdk drawing api is gone anyway. Bug 621571
2010-08-10 21:02:30 +02:00
Matthias Clasen
7fd148fc59
Cleanup gdk_pixbuf_render_pixmap_and_mask_for_colormap()
2010-08-10 21:02:30 +02:00
Benjamin Otte
d0d2a6f12c
API: remove gdk_colormap_query_color
2010-08-10 21:02:30 +02:00
Benjamin Otte
09fbed7bc9
style: Do not allocate colors anymore
2010-08-10 21:02:30 +02:00
Benjamin Otte
a50843e160
gtkbuilder: Do not allocate colors when parsing GtkBuilder files
2010-08-10 21:02:30 +02:00
Benjamin Otte
25fc4d97f8
textview: remove GtkTextAttributes (un)realize code
...
It was unused (apart from a few assertion that indeed it was unused).
2010-08-10 21:02:30 +02:00
Benjamin Otte
1308731580
gdk: Don't require allocating window background colors anymore
...
X!! allocates the colors itself now.
2010-08-10 21:02:30 +02:00
Kristian Rietveld
c3a59fbfcc
Fix compile warnings
2010-08-10 21:02:30 +02:00
Kristian Rietveld
54ac92aaaf
Add call to cairo_destroy() to gtk_text_layout_draw()
2010-08-10 21:02:29 +02:00
Kristian Rietveld
089892df27
Add missing calls to cairo_destroy()
2010-08-10 21:02:29 +02:00
Kristian Rietveld
f7a8bac5e6
quartz: Make backend compile again
2010-08-10 21:02:29 +02:00
Kristian Rietveld
23c9cee274
quartz: Fix up _gdk_quartz_window_translate
2010-08-10 21:02:29 +02:00
Benjamin Otte
6a48a042c7
API: remove GdkGC
...
XXX: Some traces in the win32 code are left. I suppose they'd best be
replaced using Cairo.
2010-08-10 21:02:29 +02:00
Benjamin Otte
0fa7d810e7
calendar: Remove unused GdkGC members
2010-08-10 21:02:29 +02:00
Benjamin Otte
ef2d37cdaf
API: remove begin/end_direct_draw functions
...
They're not needed without GdkGCs.
FIXME: This breaks the win32 XP theme. Someone gotta fix it.
2010-08-10 21:02:29 +02:00
Benjamin Otte
ac3ddfa2a7
API: Remove gtk_gc_get() and gtk_gc_release()
...
With this change, GTK does not use GdkGC anymore.
2010-08-10 21:02:29 +02:00
Benjamin Otte
acf33c9e4c
API: Remove GC members from GtkStyle
2010-08-10 21:02:29 +02:00
Benjamin Otte
90ac7b915c
textview: Replace GdkGC * argument with gpointer
...
The argument is unused.
That's also the reason why we can pass NULL instead of the real GC in
the caller.
2010-08-10 21:02:29 +02:00
Benjamin Otte
f7608c33ac
gdk: Move scratch GC handling to X11
...
... and implement it directly instead of using GdkGC, as GdkGC is about
to be deleted, but we need this code.
2010-08-10 21:02:29 +02:00
Benjamin Otte
9c026fb32e
x11: Remove unused code
...
These are function definitions and leftover variabl;es that weren't in
use for a while.
2010-08-10 21:02:29 +02:00
Benjamin Otte
1ac8d80e34
API: remove GdkPangoRenderer
...
Also removes the pango attributes for stipple, emboss and emboss color
2010-08-10 21:02:29 +02:00
Benjamin Otte
fea39c078b
textview: Make the PangoRenderer use Cairo exclusively
...
No more gdkpango usage, no more GdkGC required, yay!
2010-08-10 21:02:29 +02:00
Benjamin Otte
4c16995868
gdk: remove get_composite_drawable vfunc
...
The vfunc is not used anymore.
2010-08-10 21:02:29 +02:00
Benjamin Otte
61d4a019f8
API: remove gdk_draw_drawable()
2010-08-10 21:02:29 +02:00
Benjamin Otte
0cef9c2bbe
quartz: Do repeated fill with Cairo
...
Some things are so easy with Cairo...
XXX: I did not compile this, this is just proof of concept.
2010-08-10 21:02:28 +02:00
Benjamin Otte
65ac54bb23
gdk: Make window moves a custom vfunc
...
The window move code needs special attention for multiple reasons:
- invalid areas for expose events need to be modified
- self-copy is not supported by Cairo
- in X11, copying from an overlapped Window might cause unexposed areas
to be copied in, spo expose events for those need to be generated.
This was all special cased in various parts of the code. By making it an
explicit vfunc, we can work around it.
2010-08-10 21:02:28 +02:00
Benjamin Otte
a581401920
API: remove gdk_draw_layout_*()
2010-08-10 21:02:28 +02:00
Benjamin Otte
805e0d1082
label: Draw all text using PangoCairo
...
This includes the addition of a "small" helper function,
_gtk_pango_fill_layout() that ignores color information. This
functionality is not available inside Pango and until that happens, we
need this fix. The bug is filed at:
https://bugzilla.gnome.org/show_bug.cgi?id=624917
2010-08-10 21:02:28 +02:00
Benjamin Otte
9f1939cbd5
API: Remove GtkTextTag's stipple properties
...
They seem pretty much unused and the only reason why GtkTextView uses a
GdkPangoRenderer and not a PangoCairoRenderer.
2010-08-10 21:02:28 +02:00
Benjamin Otte
4729460a4f
gtk-demo: Adapt textview example for stipple removal
2010-08-10 21:02:28 +02:00
Benjamin Otte
3fc31e88b0
gdk: Remove _gdk_drawable_get_scratch_gc()
...
The function is unused now.
2010-08-10 21:02:28 +02:00
Benjamin Otte
db5fc43759
gdk: Draw redirected windows using Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
56e7abb8a4
gdk: Refactor redirection code
...
This will make future patches easier
2010-08-10 21:02:28 +02:00
Benjamin Otte
755bd51757
gdk: Simplify code
...
Use new Cairo APIs to make the code simpler.
2010-08-10 21:02:28 +02:00
Benjamin Otte
a6fcc75774
gdk: Remove excess variables
2010-08-10 21:02:28 +02:00
Benjamin Otte
3df6726656
gdk: Do end_implicit_paint copy with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
f1620b5ce1
gdk: Implement gdk_window_get_source_drawable() using Cairo
...
Do we have a test case for this?
2010-08-10 21:02:28 +02:00
Benjamin Otte
46206f8bb8
gdk: Implement end_implicit_paint() with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
600fbd3e74
API: remove gdk_draw_rectangle()
2010-08-10 21:02:28 +02:00
Benjamin Otte
66048b2f92
style: Replace last gdk_draw_rectangle() with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
9ee5176492
API: remove gdk_draw_point(s)
2010-08-10 21:02:27 +02:00
Benjamin Otte
a9e99e7f5b
API: remove gdk_draw_{line,lines,segments}
...
Those were the 3 intermixed line drawing calls.
2010-08-10 21:02:27 +02:00
Benjamin Otte
c661eb73a1
testgtk: Remove image from drawable test
...
The test only tested old APIs.
2010-08-10 21:02:27 +02:00
Benjamin Otte
a3057d0150
style: replace draw_frame_gap with Cairo calls
2010-08-10 21:02:27 +02:00
Benjamin Otte
5eb76955fd
style: Replace draw_diamond vfunc with Cairo calls
2010-08-10 21:02:27 +02:00
Benjamin Otte
8f21b09eee
tests: remove "draw drawable" button from testwindows test
...
draw_drawable is gone soon. And testing the proper functioning of
drawing calls is Cairo's job anyway.
2010-08-10 21:02:27 +02:00
Benjamin Otte
e85dfc7cc4
API: remove gdk_draw_polygon()
2010-08-10 21:02:27 +02:00
Benjamin Otte
d2b1da4e84
API: remove gtk_paint_polygon()
...
Almost noone uses it in real applications and it's broken in most theme
engines.
2010-08-10 21:02:27 +02:00
Benjamin Otte
53b9bdc3fc
iconview: Remove debug drawing code
...
It uses APIs I'm about to deprecate.
2010-08-10 21:02:27 +02:00
Benjamin Otte
1c4ce45a42
style: apply cleanup patch from bug 576988
...
Ideally this patch would be split up into chunks, but the git branch it
came from doesn't exist anymore. Only this patch is left in a bug
report.
It it's adapted to use accessors and contains some fixes that were
spotted while using the patch.
https://bugzilla.gnome.org/show_bug.cgi?id=576988
2010-08-10 21:02:27 +02:00
Benjamin Otte
89d28eb09d
API: remove gdk_draw_glyphs() and gdk_draw_glyphs_transformed()
2010-08-10 21:02:27 +02:00
Benjamin Otte
92f4882497
API: remove gdk_draw_trapezoids() and GdkTrapezoid struct
2010-08-10 21:02:27 +02:00
Benjamin Otte
559ae63f01
API: remove gdk_draw_arc()
2010-08-10 21:02:27 +02:00
Benjamin Otte
9b713fa4fd
gdk: Remove testgdk code
...
The file wasn't build anyway and it's using all the APIs that are
getting removed.
2010-08-10 21:02:27 +02:00
Benjamin Otte
14fe04ec89
API: remove GdkImage
...
It was unused and buggy.
2010-08-10 21:02:26 +02:00
Benjamin Otte
6f5084551a
API: remove gdk_drawable_copy_to_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
2a72ffd4de
API: remove gdk_drawable_get_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
a1a1b135ac
API: remove gdk_pixbuf_get_from_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
7489c260eb
colorsel: Use gdk_pixbuf_get_from_drawable()
...
Instead of fiddling with GdkImage directly.
2010-08-10 21:02:26 +02:00
Benjamin Otte
84015d4d3f
Implement gdk_pixbuf_get_from_drawable() with Cairo
...
Use gdk_pixbuf_get_from_surface() instead of
gdk_pixbuf_get_from_image().
2010-08-10 21:02:26 +02:00
Benjamin Otte
39b47eaf25
API: Add gdk_pixbuf_get_from_surface()
...
New API to copy any cairo surface into a pixbuf.
2010-08-10 21:02:26 +02:00
Benjamin Otte
b926ce719b
API: remove gdk_draw_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
d18abf42b7
API: Get rid of GdkRGB
2010-08-10 21:02:26 +02:00
Benjamin Otte
17b8bee168
demos: Convert testpixbuf-save to Cairo
2010-08-10 21:02:26 +02:00
Benjamin Otte
46794cc65c
demos: Remove testpixbuf
...
Another test mainly utilizing inline pixbufs and GdkRGB, both of which
are kinda outdated.
2010-08-10 21:02:26 +02:00
Benjamin Otte
638e415a6d
demos: remove testpixbuf-drawable
...
It only tested GdkRGB, and we're about to kill that.
2010-08-10 21:02:26 +02:00
Benjamin Otte
a513bdf3f7
testgtk: Remove alpha drawing test
...
We use Cairo for that these days.
2010-08-10 21:02:26 +02:00
Benjamin Otte
8f19db7565
Replace gdk_rgb_find_color()
...
Use gdk_colormap_alloc_color() instead.
2010-08-10 21:02:26 +02:00
Benjamin Otte
548ebc29e5
debug: remove GdkRGB debuggability
...
GdkRGB is on its way out, so there's no need to have a debugging
category for it.
2010-08-10 21:02:26 +02:00
Benjamin Otte
119d48c89b
gdk: Remove unused gdkrgb.h includes
2010-08-10 21:02:26 +02:00
Benjamin Otte
d54c2cfeee
API: remove gdk_screen_get_rgb_colormap/visual()
...
People want to use gdk_screen_get_default_colormap/visual().
Also, GdkRGB is about to die.
2010-08-10 21:02:26 +02:00
Benjamin Otte
32c95ebe27
tests: remove testrgb test
...
This is in preparation for the GdkRGB removal
2010-08-10 21:02:25 +02:00
Benjamin Otte
24a867f8da
image: remove GdkImage as a possible image type
...
GdkImage is about to be deprecated.
2010-08-10 21:02:25 +02:00
Benjamin Otte
4f8dbd4a8d
API: Remove gdk_draw_pixbuf()
2010-08-10 21:02:25 +02:00
Kristian Rietveld
11ee2abacc
Add missing cairo_destroy() call
2010-08-10 21:02:25 +02:00
Benjamin Otte
a66e4ebe1a
docs: Add sgml goo for new notebook APIs
2010-08-10 21:02:25 +02:00
Benjamin Otte
472b9d6f66
docs: Add sgml goo for new GtkExpander APIs
2010-08-10 21:02:25 +02:00
Benjamin Otte
1481ab6626
docs: Add sgml goo for gdk_display_is_closed()
2010-08-10 21:02:25 +02:00
Benjamin Otte
50266ca95d
filechooser: Remove unused functions.
...
The last user is gone since 3a1ba3bd1e
2010-08-10 21:02:25 +02:00
Matthias Clasen
2c40c2b7c8
Don't activate insensitive widgets
...
This was reported by Christian Becke in bug 626052.
2010-08-10 13:42:17 -04:00
Federico Mena Quintero
3a1ba3bd1e
bgo#625416 - Don't reload the filechooser's folder during a re-map event
...
Long ago, before we had file monitoring at the GIO/Glib level, we would
reload the current folder each time a file chooser gets (re)mapped.
This was basically to let the GIMP recycle the same file chooser for all
file/open or file/save operations, instead of creating a new one every time.
In that case, we reloaded the folder with each ::map() event so that the
file chooser would present an up-to-date view of the folder that was being
displayed. Now, the folder should always be up-to-date as we do
file monitoring all the time.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-08-10 11:36:03 -05:00
Matthias Clasen
316b9da873
Allow to unset the tree selection function
...
This is not causing problems, and seems natural. Bug 626276.
2010-08-10 07:35:54 -04:00
Yaron Shahrabani
89d4eb6ded
Updated Hebrew translation.
2010-08-10 11:35:59 +03:00
Yaron Shahrabani
ad8f1ef85b
Updated Hebrew translation.
2010-08-10 11:33:34 +03:00
Yaron Shahrabani
7f985e760a
Updated Hebrew translation.
2010-08-10 11:31:57 +03:00
Philip Withnall
3eb197b51f
Bug 596125 — Property string fixes
2010-08-10 09:23:49 +01:00
Matthias Clasen
fb48e023d2
Fix a sporadic segfault in treeview keynav
...
If a a treeview has frequent periodic additions and removals of
rows, it is possible that a page down keypress moves the cursor
out of the height of the treeview. In some of these cases, we
can be tricked into dereferencing a NULL pointer.
Bug 612919.
2010-08-10 00:31:46 -04:00
Gabor Kelemen
e3bd926c1e
Set translation domain for parameter_string in gtk_init_with_args
...
This was requested in bug 554926.
2010-08-10 00:11:40 -04:00
Emmanuele Bassi
73030c462f
about: Add :license-type property
...
The :license-type property of GtkAboutDialog allows using a symbolic
enumeration value that will construct a placeholder license preamble
linking to a specific URL. This allows localization of the licensing
text without using a translation of the actual license, since it would
not be valid.
Bug 336225.
2010-08-10 00:00:15 -04:00
Matthias Clasen
79ef5de505
Make it possible to make the expander label fill the entire space
...
This adds a boolean GtkExpander::label-fill property and uses it
when allocating space to the label. Based on a patch by Matt Barnes,
bug 614049.
2010-08-09 23:08:39 -04:00
Matthias Clasen
7844d3b8db
Fix gail_notebook_get_selection_count()
...
This function should return 0 for empty notebooks. Based on
a patch by Mike Gorse, bug 557263.
2010-08-09 22:24:24 -04:00
Javier Jardón
f760538f17
gtkaccellabel: Remove unused class members
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=97414
2010-08-10 04:17:29 +02:00
Matthias Clasen
61e34032ec
Clarify the docs for gtk_widget_set_has_window()
...
The previous version of the docs did not make it clear that has-window
is the defaults. Pointed out by Magnus Hjorth, bug 615474.
2010-08-09 21:39:20 -04:00
Christian Dywan
2a12f74c8e
Clarify memory management of tree models
...
It helps to be explicit about these things.
Bug 609264.
2010-08-09 21:35:26 -04:00
Hiroyuki Ikezoe
0824862e3b
Drop xim-related configure options from the docs
...
These options have been dropped from configure a while ago,
so they should no longer be in the docs either. Bug 605190.
2010-08-09 21:31:25 -04:00
Sam Thursfield
a2b72c5953
Add missing accessors for notebook details
...
The ms-windows theme engine needs to access the tab-{h,v}border,
so add accessors. Bug 625655.
2010-08-09 21:20:07 -04:00
Sam Thursfield
4047d0526d
Towards GSEAL-clean build on win32
...
Use accessors instead of direct member access in a few places.
Bug 625655.
2010-08-09 21:17:37 -04:00
Szilárd Pfeiffer
93fa95e79f
Implement GailAdjustment::get_minimium_increment
...
...and use it in GailRange and GailSpinButton. Bug 625953.
2010-08-09 21:12:46 -04:00
Szilárd Pfeiffer
2686af2fbb
Make Gail work with custom treemodels
...
Gail did set the role to ATK_ROLE_TABLE for anything that is
not a GtkTreeStore. The propery way to do this is to look at the
tree model flags for list-onlyness. Bug 580291.
2010-08-09 21:09:30 -04:00
Javier Jardón
99e8a76cab
Revert "Added UG translation"
...
ug.po is not in po-properties directory
This reverts commit 623c6239ac .
2010-08-09 13:21:24 +02:00
A S Alam
8397e8e219
update for Punjabi in master by A S Alam
2010-08-10 06:10:54 +05:30
Sahran
623c6239ac
Added UG translation
2010-08-08 13:11:50 +02:00
Sahran
ae5700f64b
Added UG translation
2010-08-08 13:10:49 +02:00
Javier Jardón
e15e37b6ce
Fix GtkIMContextClass inheritance
...
Should be GObjectClass instead GtkObjectClass
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=90935
2010-08-08 06:22:45 +02:00
Javier Jardón
8b2108a8a4
gtkcombobox: Only use the child if It is a GtkCellLayout
...
This error was introduced in
commit 4427760bcc
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=625104
2010-08-08 06:22:45 +02:00
Dan Williams
1d8aec51cc
Elaborate interaction of gtk_widget_grab_default() and GtkEntry widgets
2010-08-07 23:14:47 -05:00
Tristan Van Berkom
9ddef2365f
Fixed expressions in gtk_button_size_allocate()
...
Children were getting negative allocations by misusage
of MAX() macro (bad signedness of expressions).
2010-08-07 17:41:29 -04:00
Javier Jardón
3ccc617052
Completely remove any use of GtkWindow allow-grow and allow-shrink properties
...
These have been deprecated and removed from master.
GtkWindow:resizable should be used instead.
This completes commit 1a03a65e36
Reported by Benjamin Otte
2010-08-07 17:19:16 +02:00
John Stowers
4198dd8519
Add gdk_display_is_closed
...
https://bugzilla.gnome.org/show_bug.cgi?id=624224
2010-08-07 23:21:31 +12:00
Tristan Van Berkom
59e7571aae
Fixed alignment of wrapping labels allocated a greater width than needed
...
When wrapping labels to allocation width, never set the label wrap
width to a size greater than needed for the label's text (closes bug 625715)
2010-08-06 22:44:11 -04:00
Benjamin Otte
32d365f476
label: Make angle part of GtkLabelPrivate
2010-08-07 02:24:00 +02:00
Tadej Borovšak
35105ab2b4
Fix improperly unwinded loops
2010-08-06 20:08:32 -04:00
Tristan Van Berkom
03dfaf3c3e
Fixed bad typo causing bad vertical requests on frames with no label.
2010-08-06 18:57:41 -04:00
Tadej Borovšak
651bed57a4
Implement fair extra space allocation
2010-08-06 17:28:07 -04:00
Tristan Van Berkom
208ba9bb50
Make GtkFrame allocate its label considering natural size requests
...
Also like the GtkExpander, the label widget is allocated the minimum
height for its allocated width and the remaining space is given to
the child, test case included.
2010-08-06 16:57:11 -04:00
Daniel Nylander
c9579f3ca4
Updated Swedish translation
2010-08-06 14:11:43 +02:00
Daniel Nylander
63958858c1
Updated Swedish translation
2010-08-06 14:10:27 +02:00
Tristan Van Berkom
e83a8826e6
Implemented GtkSizeRequest on GtkExpander and added test
...
Now the expander requests and distributes space naturally,
the expander widget prioritizes the child widget vertically
and only allocates the minimum height for width to the label
widget.
2010-08-05 12:50:25 -04:00
Tristan Van Berkom
95b3e63057
Migrated old loops to use gtk_distribute_allocation().
2010-08-05 12:50:25 -04:00
Tristan Van Berkom
6c76243f46
Added gtk_distribute_allocation()
...
Added a convenience api for containers to use when allocating
children (used to distribute space evenly to children).
2010-08-05 12:50:25 -04:00
Fran Diéguez
32869d439d
Updated Galician translations
2010-08-05 16:16:43 +02:00
Yaron Shahrabani
b220c2b975
Updated Hebrew translation.
2010-08-05 13:32:41 +03:00
Jorge González
119a04e0cb
Updated Spanish translation
2010-08-05 11:46:38 +02:00
Tomeu Vizoso
963e1ec033
Stop assuming that priv->label_widget will be a GtkLabel.
...
https://bugzilla.gnome.org/show_bug.cgi?id=623603
2010-08-05 10:31:40 +02:00
Carlos Garcia Campos
76267f9d06
Add _gtk_box_get_children() internal function
...
https://bugzilla.gnome.org/show_bug.cgi?id=625300
2010-08-05 09:51:15 +02:00
Matthias Clasen
dcdb00adb4
Avoid warnings with tooltips on toplevels
...
This was reported for tooltips on statusicons in bug 625235, but
it was affecting regular toplevel windows as well.
2010-08-05 00:12:41 -04:00
Matthias Clasen
92d34337f7
Re-add a lost Since: line
...
Pointed out in bug 579583
2010-08-04 22:58:14 -04:00
Matthias Clasen
519eae8729
Don't allocate space for "" in scale marks
...
Turns out GtkBuilder ends up creating marks with non-NULL
empty texts, so ignore those. Bug 614443, reported by Filippo Argiolas.
2010-08-04 21:47:54 -04:00
Philip Withnall
3a34295b9c
Add (transfer none) annotation to gtk_tree_selection_get_selected_rows()
...
Closes: bgo#625650
2010-08-05 00:53:43 +01:00
Philip Withnall
080e8ab0a8
Add (inout) annotation to gtk_tree_model_iter_next()
...
Closes: bgo#625650
2010-08-05 00:53:36 +01:00
Lucian Adrian Grijincu
ae66d4feb4
Updated Romanian translation
2010-08-05 02:04:30 +03:00
Paolo Borelli
cffda84e93
Annotate GtkTextBuffer insert methods
2010-08-04 21:04:04 +02:00
Pablo Castellano
7df17ad475
Update git.mk from pango
2010-08-03 19:54:02 +02:00
Cody Russell
cd3510ce1f
Change GtkCalendar's inner border and separator values from hard-coded
...
ones to using style properties.
https://bugzilla.gnome.org/show_bug.cgi?id=624779
2010-08-03 10:45:14 -05:00
Javier Jardón
237ed3bbf8
Remove some unused variables
2010-08-03 12:44:52 +02:00
Fridrich Štrba
c4b129bac2
Fix 32-bit Windows build using mingw-w64 toolchain
2010-08-03 03:01:49 +02:00
Fridrich Štrba
02068350ff
Make the Windows manifest correspond to the name of the binary
2010-08-03 02:49:01 +02:00
Javier Jardón
57550e1b47
POTFILES.in: Add some missing files
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624737
2010-08-03 00:42:52 +02:00
Benjamin Otte
5e8c274e32
progressbar: Remove act_mode_enter vfunc
...
It doesn't make sense to have a vfunc for this.
2010-07-31 22:42:59 +02:00
Benjamin Otte
97f361c98f
progressbar: Remove offscreen pixmap
...
Why did the progressbar keep an offscreen pixmap anyway? It didn't even
double buffer...
2010-07-31 22:42:59 +02:00
Benjamin Otte
ca513cec2e
progressbar: Remove paint vfunc
...
Unconditionally call gtk_progress_bar_paint() instead. It was called in
various places instead of the vfunc already anyway.
2010-07-31 22:42:59 +02:00
Benjamin Otte
de401fd06d
progressbar: Remove unused update vfunc
2010-07-31 22:42:59 +02:00
Benjamin Otte
decbe42212
docs: Add gdk_cursor_get_cursor_type() template
2010-07-31 22:42:59 +02:00
Benjamin Otte
f03ce229e9
docs: Remove GtkNotebookPage from docs
2010-07-31 22:41:51 +02:00
Benjamin Otte
5d5332a493
paned: Remove unused GdkGC
2010-07-31 22:41:39 +02:00
John (J5) Palmieri
5f1827983b
add the transfer and element-type annotation to gdk_device_manager_list_devices
2010-07-29 04:53:54 -04:00
Tomeu Vizoso
1fa7f1085e
Annotate gdk_rectangle_intersect
2010-07-28 17:02:18 +02:00
Xandru Armesto
14d4bc3c40
Updated asturian translation
2010-07-28 12:53:24 +02:00
Xandru Armesto
c774b0fbdb
Updated asturian translation
2010-07-28 12:47:57 +02:00
Jorge González
5a02536da4
Updated Spanish translation
2010-07-26 20:59:11 +02:00
Benjamin Otte
a37ec87ed7
gdk: Flush implicit paints with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
cfa3a71c7b
gdk: Do DEBUG_UPDATES drawing with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
2db020890e
offscreenwindow: Copy old to new pixmap using Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
b13480702b
gdk: Create solid mask with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
b478081b7d
gdk: Always clear backing store with Cairo
...
The code to use Cairo existed but wasn't used on Unix due to a bug in
XAA (that was fixed). Fwiw, we use EXA these days...
2010-07-26 16:42:49 +02:00
Benjamin Otte
331d77f3d7
gdkgc: Draw clip mask with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
37c502eae3
gdkpixbuf: Implement gdk_pixbuf_render_threshold_alpha() with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
5649431acb
docs: Remove mention of gdk_draw_drawable()
...
That function is about to die.
2010-07-26 16:42:49 +02:00
Benjamin Otte
ccc26207fe
gdk: Use the system colormap, not the rgb colormap
...
RGB colormaps are on their way out.
2010-07-26 16:42:49 +02:00
Benjamin Otte
b68801f168
gdk: Get rid of GdkRGB usage
...
Unfortunately, there's no code for getting rid of the alpha channel,
so we opacify the image ourselves.
2010-07-26 16:42:49 +02:00
Benjamin Otte
7b213d5604
gdk: Get rid of gdk_draw_pixbuf() call
...
Use Cairo code instead.
2010-07-26 16:42:49 +02:00
Benjamin Otte
610e29892e
style: Draw insertion cursor with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
9bac13b1f5
Remove _gtk_widget_get_cursor_gc() function
...
It's unused now.
2010-07-26 16:42:48 +02:00
Benjamin Otte
761b0ea3ae
testing: Use Cairo calls instead of gdk_draw_line() to test server sync
2010-07-26 16:42:48 +02:00
Benjamin Otte
188884a9b1
gtk-demo: Blit backing pixmap using Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
831afa2159
gtk-demo: Convert color selection example to Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
760ba34bd8
gtk-demo: Convert drawingarea example to Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
4d07fa5772
gtk-demo: Make pixbufs demo use Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
1e64e36b58
demos: No need to set the rgb colormap here
2010-07-26 16:42:48 +02:00
Benjamin Otte
da49daecc4
demos: Convert to drawing with Cairo instead of GdkRGB
2010-07-26 16:42:48 +02:00
Benjamin Otte
73ae8a787e
demos: Use Cairo instead of gdk_draw_pixbuf()
2010-07-26 16:42:48 +02:00
Benjamin Otte
e0efb8798a
testgtk: Remove unused variable
2010-07-26 16:42:48 +02:00
Benjamin Otte
e8bf80ebea
testgtk: Draw rotated text example with pangocairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
8630657324
testgtk: Replace gdk_draw_rectangle() with Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
0a451f508b
test: Convert testinput to Cairo
...
The test is broken though as it draws onto windows outside of expose
events.
And we all know you shouldn't do that.
2010-07-26 16:42:48 +02:00
Benjamin Otte
6dd7e5af08
tests: Make testoffscreen use Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
a625e587a3
tests: replace gdk_draw_drawable() with Cairo calls in testinput
2010-07-26 16:42:48 +02:00
Benjamin Otte
17bd528df5
tests: Use gdk_screen_get_default_colormap()
...
We don't need the RGB colormap here.
2010-07-26 16:42:48 +02:00
Benjamin Otte
58ef2afdfa
tests: Use GdkPixbuf for taking a screenshot, not GdkImage
2010-07-26 16:42:48 +02:00
Benjamin Otte
6d4bae5ccc
tests: Remove gdk_draw_pixbuf() with Cairo equivalent
2010-07-26 16:42:47 +02:00
Benjamin Otte
c1c9b7dfc8
pixbuf-engine: Draw mask with Cairo
...
No more gdk_pixbuf_render_threshold_alpha()
2010-07-26 16:42:47 +02:00
Benjamin Otte
a22ebc974f
pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent
2010-07-26 16:42:47 +02:00
Benjamin Otte
59db821725
pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
...
This replaces the tiled fill call only.
2010-07-26 16:42:47 +02:00
Benjamin Otte
7f1801eae1
imcontextxim: Draw with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
c122d31c29
decorations: Draw text with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
a8d805ffbc
decorate: Draw decorations using Cairo
...
Patch is untested, is there an example using this?
2010-07-26 16:42:47 +02:00
Benjamin Otte
ff25b0dc20
hsv: Remove unused variable
2010-07-26 16:42:47 +02:00
Benjamin Otte
5cd6d309ea
treeview: Draw the dnd pixmaps with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
da426ec97c
treeview: Draw lines with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
8dd3317502
treeview: Unify all line drawing into the same function
...
This is useful because the dashing stuff needs to be done and it seems
like a good idea to unify it.
2010-07-26 16:42:47 +02:00
Benjamin Otte
526aac1fda
treeview: Draw column reordering arrows with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
41621e212b
ruler: Replace gdk_draw_drawable calls with Cairo
...
and get rid of the custom GC
2010-07-26 16:42:47 +02:00
Benjamin Otte
5fd0c28c78
menu: replace gdk_draw_drawable() call with Cairo equivalent
2010-07-26 16:42:47 +02:00
Benjamin Otte
671c506dfc
filechooser: Remove commented out code
...
It wouldn't compile with current APIs anyway
2010-07-26 16:42:47 +02:00
Benjamin Otte
4181abd69a
progressbar: Use cairo instead of gdk_draw_drawable()
2010-07-26 16:42:47 +02:00
Benjamin Otte
6eed185502
spinner: We want the default colormap, not the RGB colormap
...
GtkSpinner doesn't use GdkRGB
2010-07-26 16:42:46 +02:00
Benjamin Otte
8f6a014de4
image: Use Cairo instead of gdk_draw_drawable()
2010-07-26 16:42:46 +02:00
Benjamin Otte
847d401df3
image: replace gdk_draw_pixbuf() call with Cairo equivalent
2010-07-26 16:42:46 +02:00
Benjamin Otte
0310626938
textview: draw dnd icon with Pango
2010-07-26 16:42:46 +02:00
Benjamin Otte
dec093d9f1
textview: Draw selection background with Cairo
2010-07-26 16:42:46 +02:00
Benjamin Otte
3e469d737e
textview: Draw drag icons using Cairo
2010-07-26 16:42:46 +02:00
Benjamin Otte
f1074be1ed
textview: Use _gtk_widget_get_cursor_color() and Cairo
...
Previously the code was using _gtk_widget_get_cursor_gc()
2010-07-26 16:42:46 +02:00
Benjamin Otte
8c035b6048
textview: Draw empty shape logo with Cairo
2010-07-26 16:42:46 +02:00
Benjamin Otte
373128ce29
textview: replace gdk_draw_pixbuf() call with Cairo version
2010-07-26 16:42:46 +02:00
Benjamin Otte
de6314d084
colorbutton: Render with Cairo
...
In particular, this gets rid of gdk_draw_pixbuf() and GdkGC usage.
2010-07-26 16:42:46 +02:00
Benjamin Otte
d203b830a9
entry: replace gdk_draw_pixbuf() call with Cairo version
2010-07-26 16:42:46 +02:00
Benjamin Otte
2883a274cc
gdk: Revert making get_size optional
...
49a0ec6e95 added this hunk without
explanations and it's obviously wrong because failing to have a get_size
vfunc will now not set width and height and they'll end up with invalid
values.
In fact, the GdkDrawableImpl{X11,Win32,Quartz} functions do not have
get_size implemented, so the patch was most likely an attempt to work
around calling this function erroneously on the impl objects.
The correct fix is to call impl->wrapper instead.
2010-07-26 16:42:46 +02:00
Benjamin Otte
8adfc326f8
x11: Query size on real drawable
...
The X11 drawable does not have a clue about the real size of the
surface.
This might also be the cause for:
https://bugzilla.gnome.org/show_bug.cgi?id=599574
2010-07-26 16:42:46 +02:00
Benjamin Otte
b806701cdb
docs: Fix sgml file to add gdk_keymap_get_num_lock_state()
2010-07-26 16:42:46 +02:00
Benjamin Otte
c90ba0a3be
cups: Fix cast warnings
2010-07-26 16:42:46 +02:00
Klemen Košir
90cd0f6ae7
Updated Slovenian translation
2010-07-26 14:45:57 +02:00
Szilárd Pfeiffer
ac34031b4e
Moved the drawing of horizontal grid lines after cell drawing.
...
Without the change if the cell background is set the horizontal
grid line cannot be seen.
2010-07-25 14:50:12 +02:00
John Stowers
fe603cccf2
Add gdk_cursor_get_cursor_type
...
https://bugzilla.gnome.org/show_bug.cgi?id=624087
2010-07-25 22:12:34 +12:00
Aron Xu
5616a82c0a
Update Simplified Chinese translation.
2010-07-24 13:15:32 +08:00
Federico Mena Quintero
917f5c1272
Clarify what the @event is used for when calling gtk_drag_begin()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-07-23 11:51:46 -05:00
Christian Dywan
1c5ee1df12
Correct marshaller for switch-page and adjust emission from menu
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
2010-07-23 13:21:33 +02:00
Stanislav Brabec
ccc3d2c69f
Fix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()
...
If gtk_drag_begin() gets passed GDK_CURRENT_TIME, try to use
gtk_get_current_event_time(). If it fails, use GDK_CURRENT_TIME when
ungrabbing in gtk_drag_end().
For more see https://bugzilla.gnome.org/show_bug.cgi?id=623865
2010-07-22 16:20:06 -05:00
Javier Jardón
c1a2ecc369
Check if childs actually exists before using it
...
Check seems to have gone lost during GtkBin sealing in commit 4427760b
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624707
2010-07-22 17:17:43 +02:00
Fran Diéguez
90db251624
Updated Galician translations
2010-07-22 16:28:52 +02:00
Tao Wang
a94ff624b6
Update Simplified Chinese translations.
2010-07-21 12:04:06 +08:00
Fran Diéguez
d3ef6af1a6
Updated Galician translations
2010-07-20 12:27:07 +02:00
Javier Jardón
6852137e13
Move GtkBoxChild from the public .h to gtkbox.c
...
https://bugzilla.gnome.org/show_bug.cgi?id=624397
2010-07-20 02:58:36 +02:00
Javier Jardón
82efd2d92f
Do not use GtkBoxChild in GtkStatusBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=624397
2010-07-20 02:35:49 +02:00
Javier Jardón
910ad4872c
gtkentrycompletion: check return value because It can be non-UTF8
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624270
2010-07-19 23:56:22 +02:00
Kjartan Maraas
0a8043da13
Updated Norwegian bokmål translation
2010-07-19 21:38:04 +02:00
Yaron Shahrabani
4a7cff0cab
Updated Hebrew translation.
2010-07-19 21:39:43 +03:00
Javier Jardón
cd9a9e1548
GtkWindowGroup: Add guards to some gtk_window_group_* functions
2010-07-19 17:53:51 +02:00
Javier Jardón
9ee3d73a19
Add _gtk_check_menu_item_set_active() internal function
...
It's needed by gtkradiomenuitem
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624432
2010-07-19 16:08:07 +02:00
Christian Persch
1af1362a36
gtknotebook: Fix critical warnings on scroll events
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604391
2010-07-19 15:28:03 +02:00
Ted Gould
6330ea9e43
gtkstock: Adding a File label stock item.
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622658
2010-07-19 15:26:18 +02:00
Javier Jardón
1bfa931e20
Add _gtk_toggle_action_set_active() internal function
...
It's needed in gtkradioaction
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624540
2010-07-19 15:16:03 +02:00
Carlos Garnacho
4682d563cf
GtkWindow: keep a reference of the widget on focus change.
...
Focus out could lead to the widget being destroyed (for example,
in editable cell renderers when DnD starts), so keep the widget
alive while iterating through the devices.
2010-07-19 15:08:43 +02:00
Javier Jardón
0fd82767ff
gtktextbuffer: Remove GET_PRIVATE macro
...
It's only needed one time and should not be used again in the code.
2010-07-19 15:01:02 +02:00
Mario Blättermann
ad9a9b7915
[i18n] Updated German translation
2010-07-18 20:35:06 +02:00
Mario Blättermann
1411613a70
[i18n] Updated German translation
2010-07-18 20:31:28 +02:00
Jorge González
a9e96106f9
Updated Spanish translation
2010-07-18 12:03:33 +02:00
Andika Triwidada
edbee1d9fc
Updated Indonesian translation after reapply newest POT
2010-07-18 12:00:22 +07:00
Andika Triwidada
442f7fb2a6
Updated Indonesian translation
2010-07-18 11:56:38 +07:00
Ignacio Casal Quinteiro
a1be4eccb0
Move GtkTextBuffer sealed attributes to private struct.
2010-07-17 10:39:37 +02:00
Emmanuele Bassi
e42c29ca98
gail-util: Constify gchar argument
...
And avoid a compiler warning.
https://bugzilla.gnome.org/show_bug.cgi?id=624349
2010-07-16 17:44:15 +01:00
Yaron Shahrabani
ddcbc0e051
Updated Hebrew translation.
2010-07-16 17:17:13 +03:00
Matthias Clasen
271d66fc81
Remove accidental addition
2010-07-16 01:22:01 -04:00
Matthias Clasen
7491e9e97a
Allow windows to be dragged by clicking on empty areas
...
Allow windows to be dragged by clicking on empty areas in menubars
and toolbars. This is under theme control, via the GtkWidget::window-dragging
style property. The idea is that it makes sense to turn this on if a
theme makes the window frame and the menubar/toolbar appear visually
contiguous.
The main patch was written by Cody Russell, with a contribution by
Ayan George. See bug 611313.
2010-07-16 01:15:47 -04:00
Matthias Clasen
89d0955431
Back down glib requires
...
We really only need 2.25.11 after all.
2010-07-15 23:42:04 -04:00
Paolo Borelli
0754f2d72f
Do not use GtkBoxChild in GtkButtonBox.
...
Do not store the is_secondary bit in the deprecated parent struct, use a
simple flag on the object instead. Fixes bug #624367 .
2010-07-15 22:42:07 +02:00
Javier Jardón
133f0744b9
docs: gitignore GtkRecentManager .sgml template
...
THis completes commit 8eeeb97de6
2010-07-15 15:43:48 +02:00
Emmanuele Bassi
8eeeb97de6
docs: Inline GtkRecentManager documentation
2010-07-15 09:10:55 +01:00
Javier Jardón
cfa241a891
Remove GtkRecenManager:limit deprecated property
2010-07-15 03:12:12 +02:00
Javier Jardón
678e738f8d
Deprecate GtkRecenManager::limit property
...
The :limit property of GtkRecentManager does not serve any useful
purpose: the length of the list should be managed by the view
(implementing GtkRecentChooser), and not by the model (the recent
manager).
https://bugzilla.gnome.org/show_bug.cgi?id=624333
2010-07-15 02:40:28 +02:00
Jonh Wendell
5c2966dda3
Do not access an invalid ActionGroup. Closes #624362 .
2010-07-14 14:50:28 -03:00
Chao-Hsiung Liao
b35c2e695a
Updated Traditional Chinese translation (Hong Kong and Taiwan)
2010-07-14 19:25:57 +08:00
Javier Jardón
8fbccfb1a9
GtkTreeView: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
66c0673a41
GtkTreeModelFilter: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
aedc5e967f
GtkToolItem: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
c90ca18c2f
GtkToggleToolButton: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
87b0f02403
GtkPrintUnixDialog: unseal private pointer
2010-07-14 02:11:00 +02:00
Javier Jardón
9db9c5f247
GtkPrintOperation: unseal private pointer
2010-07-14 02:07:04 +02:00
Javier Jardón
6fae72c419
GtkExpander: unseal private pointer
2010-07-14 02:01:20 +02:00
Javier Jardón
a2fef51b64
GtkToolButton: unseal private pointer
2010-07-14 01:58:29 +02:00
Javier Jardón
461f055da6
GtkAlignment: move public members to private structure
2010-07-14 01:48:53 +02:00
Javier Jardón
5828453ae5
Use accessor functions to access GtkAlignment
2010-07-14 01:48:53 +02:00
Javier Jardón
e1184e362c
GtkViewport: move public members to private structure
2010-07-14 01:17:28 +02:00
Javier Jardón
3ea904fa49
gtkuimanager: unseal private pointer
2010-07-14 01:17:28 +02:00
Javier Jardón
18a06d6b6a
gtktoggleaction: move public members to private structure
2010-07-14 01:17:28 +02:00
Javier Jardón
3ce68cd5de
Use accessor functions to access GtkToggleAction
2010-07-14 01:17:28 +02:00
Javier Jardón
e69979f7b6
gtktearoffmenuitem: Move public members to private structure
2010-07-14 01:17:28 +02:00
Jonh Wendell
5f1b5d2406
Merge branch 'windows_list'
2010-07-13 16:49:21 -03:00
Javier Jardón
703f7121ae
GtkTable: move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
1af22acbf7
Use accessor functions to access GtkTable
2010-07-13 19:40:50 +02:00
Javier Jardón
ff27677957
gtkstatusicon: unseal private pointer
2010-07-13 19:40:50 +02:00
Javier Jardón
9114c4c410
gtkstatusbar: Move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
bf976cc1e4
Use accessor functions to access GtkStatusbar
2010-07-13 19:40:50 +02:00
Javier Jardón
e6db32de44
gtkspinner: Remove GET_PRIVATE macro
2010-07-13 19:40:50 +02:00
Javier Jardón
c17dad9d32
Use accessor functions to access GtkSpinButton
2010-07-13 19:40:50 +02:00
Javier Jardón
cbbffa18f8
Add _gtk_spin_button_get_panel private function
...
It's needed in gtktestutils.c
2010-07-13 19:40:50 +02:00
Javier Jardón
57d870ac5b
gtkspinbutton: move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
d5c3fb5231
gtksizegroup: Move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
22d4515d9a
gtkseparatortoolitem: unseal private pointer
2010-07-13 19:40:50 +02:00
Javier Jardón
675745e1ca
Use accessor functions to access GtkScrolledWindow
2010-07-13 19:40:50 +02:00
Javier Jardón
65acc3641a
GtkScale: move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
de9c5f8d3d
Use accessor functions to access GtkScale
2010-07-13 19:40:50 +02:00
Javier Jardón
9ddda9c844
GtkScaleButton: Move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
bcc8494899
Use accessor functions to access GtkScaleButton
2010-07-13 19:40:49 +02:00
Javier Jardón
6fb0e3a09f
GtkRuler: move public member to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
f17a345998
gtkrecentmanager: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
c1da2a9204
gtkrecentchooserwidget: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
3dfaf72745
gtkrecentchoosermenu: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
37a499cea6
gtkrecentchooserdialog: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
e6bd773fda
GtkRecentAction: move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
133502d798
GtkRadioMenuItem: Move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
ec4c06105d
GtkRadioButton: Move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
6ce52cab3c
GtkRadioAction: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
0ddeccefe9
GtkProgressBar: Move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
e3a4dfe0e1
gtkprinter: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
168fbac7f6
gtkprintbackend: Use private pointer instead GET_PRIV() macro
2010-07-13 19:40:49 +02:00
Javier Jardón
8c041cde30
GtkPaned: move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
92a1382bd6
Use accessor functions to access GtkPaned
2010-07-13 19:40:49 +02:00
Javier Jardón
28cf61a2ca
gtkpagesetupunixdialog: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
1ca6edf6bf
GtkMisc: move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
978a031b76
Use accessor functions to access GtkMisc
2010-07-13 19:40:49 +02:00
Javier Jardón
e2b8112fd8
GtkMessageDialog: move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
ecce43bcd1
GtkMenuToolButton: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
4d7ecabaf0
GtkMenuBar: Use private pointer instead GET_PRIV() macro all the time
2010-07-13 19:40:48 +02:00
Javier Jardón
a3b039d317
GtkListStore: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
59942f91cb
GtkLinkButton: unseal private pointer
2010-07-13 19:40:48 +02:00
Javier Jardón
801708b9e6
GtkLayout: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
fbf1de72c4
Use accessor funtions to access GtkLayout
2010-07-13 19:40:48 +02:00
Javier Jardón
bf9875860b
GtkLabel: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
511560ba88
GtkInvisible: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
d4a59142ad
Use accessor funtions to acces GtkInvisible
2010-07-13 19:40:48 +02:00
Javier Jardón
75686d04a0
GtkInfoBar: use private pointer instead GET_PRIV() macro
2010-07-13 19:40:48 +02:00
Javier Jardón
e2a662b93d
GtkIMMulticontext: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
47e824a5e4
GtkImageMenuItem: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
ad3b5941ab
GtkImageMenuItem: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
86f0bd5cc9
GtkImage: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
41d2a4d059
Use accessor funtions to acces GtkImage
2010-07-13 19:40:48 +02:00
Javier Jardón
754dc6491b
GtkIconView: Unseal private pointer
2010-07-13 19:40:48 +02:00
Javier Jardón
f66ebd8e59
GtkIconTheme: unseal private pointer
2010-07-13 19:40:48 +02:00
Javier Jardón
e1d182ce5c
GtkIconFactory: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
c0228f609c
GtkHSV: unseal private pointer
2010-07-13 19:40:48 +02:00
Javier Jardón
997c7b96a8
gtkhandlebox: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
817d1f93cd
gtkframe: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
2d9aaf4cf3
Use accessor funtions to acces GtkFrame
2010-07-13 19:40:47 +02:00
Javier Jardón
6fe5203c0a
GtkFontSelection: move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
324ab58710
GtkFontSelectionDialog: move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
558a02c730
Use accessor funtions to access GtkFontSelectionDialog
2010-07-13 19:40:47 +02:00
Javier Jardón
f86456ccb5
gtkfontbutton: unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
0991115ada
gtkfixed: Move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
58030409d8
gtkfilechooserwidget: Unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
9b63c322ee
gtkfilechooserdialog: Unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
01bdc682fd
gtkfilechooserbutton: unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
d4813408b0
gtkentrycompletion: Do not use GET_PRIV() macro all the time
...
Also, unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
a8014e6fec
gtkdialog: Move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
7f2cc85db9
Use accessor functions to access GtkDialog
2010-07-13 19:40:47 +02:00
Javier Jardón
80df961edb
gtkbin: Move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
63d3b197c2
Add _gtk_bin_set_widget() internal function
2010-07-13 19:40:47 +02:00
Javier Jardón
4427760bcc
Use GtkBin accessors
2010-07-13 19:40:47 +02:00
Javier Jardón
2de1f3f88c
gtkcontainer: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
63f8313015
gtkcontainer: Add _gtk_container_get_reallocate_redraws internal accessor
...
Only used in gtkwidget
2010-07-13 19:40:46 +02:00
Javier Jardón
dfb24fd56e
gtkcontainer: Add _gtk_container_*_need_resize internal accessors
...
gtkoffscreenwindow and gtkwindow need access to need_resize var
2010-07-13 19:40:46 +02:00
Javier Jardón
3a10216dd0
Use accessor functions to acces GtkContainer
2010-07-13 19:40:46 +02:00
Javier Jardón
009acc263e
gtkcustompaperunixdialog: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
5fd442eda2
gtkcomboboxentry: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
56cc11a416
gtkcombobox: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
ebf6ce274a
gtkcolorseldialog: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
9663801be7
Use accessor functions to access GtkColorSelectionDialog
2010-07-13 19:40:46 +02:00
Javier Jardón
56eafbaad8
gtkcolorsel: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
ad45f1ce9d
gtkcolorbutton: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
06dfffa132
gtkcheckmenuitem: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
94fd7a3502
Use accessor functions to access GtkCheckMenuItem
2010-07-13 19:40:46 +02:00
Javier Jardón
72f515a0f3
gtkcellrendererpixbuf: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
637c9f16e3
gtkcellview: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
3c90ecf27b
gtkcellrenderertoggle: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
7fdb991b99
gtkcellrenderertext: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
6736c085b3
Use accessor functions to access GtkCellRendererText
2010-07-13 19:40:45 +02:00
Javier Jardón
b71d539fd0
gtkcellrendererspinner: Remove GET_PRIV() macro
...
This macro shouldn't be used in any function, but ->priv pointer
instead.
2010-07-13 19:40:45 +02:00
Javier Jardón
c2b079ca05
gtkcellrendererspin: Use private pointer instead GET_PRIV macro
2010-07-13 19:40:45 +02:00
Javier Jardón
ee1d9df94c
gtkcellrendererprogress: unseal private pointer
2010-07-13 19:40:45 +02:00
Javier Jardón
c0b0b84c6e
gtkcellrenderercombo: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
5e815bfee2
gtkcellrenderer: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
db584abef3
Use accessor functions to access GtkCellRenderer
2010-07-13 19:40:45 +02:00
Javier Jardón
932568d1ed
gtkcellrendereraccel: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
4d40f88310
gtkbuilder: unseal private pointer
2010-07-13 19:40:45 +02:00
Javier Jardón
0677bb2785
gtkbox: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
a46c1eba64
Use accessor functions to access GtkBox
2010-07-13 19:40:45 +02:00
Javier Jardón
abe267641a
gtkbbox: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
123717510f
gtkassistant: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
472753330d
gtkaccessible: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
5ee19bdafe
Use accessor functions to access GtkAccesible variables
2010-07-13 19:40:45 +02:00
Javier Jardón
a6e0fb92c6
gtkaspectframe: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
3862bf3208
gtkarrow: Move public members to private structure
2010-07-13 19:40:44 +02:00
Javier Jardón
fa740ae012
gtkactiongroup: Unseal private pointer
...
Also, use ->priv instead GET_PRIV() macro all the time
2010-07-13 19:40:44 +02:00
Javier Jardón
8ad3afce95
gtkaction: unseal private pointer
2010-07-13 19:40:44 +02:00
Christian Dywan
335549b46a
Move definition of GtkNotebookPage out of the header
2010-07-13 18:47:45 +02:00
Ignacio Casal Quinteiro
dba6592601
Add annotations for GtkAccelMap
2010-07-13 18:37:41 +02:00
Javier Jardón
33960b737d
GtkNotebook: Move public members to private structure
2010-07-13 18:16:06 +02:00
Javier Jardón
d562611660
Use accessor functions to access GtkNotebook
2010-07-13 17:50:48 +02:00
Pablo Castellano
c6b6ab0599
Bump glib to 2.25.12
...
g_variant_new_bytestring_array() was introduced in
424842e3a9 and requires in glib 2.25.12
2010-07-13 17:33:02 +02:00
Christian Dywan
828f5cbe2e
Change GtkNotebookPage in switch-page into GtkWidget
2010-07-13 17:05:22 +02:00
Christian Dywan
04c54efe5c
Deprecate GtkNotebookPage as used in switch-page
...
Fixes: 618327
2010-07-13 16:49:53 +02:00
Aron Xu
a5272c82a6
Update Simplified Chinese po-propertiese translation.
2010-07-13 19:56:02 +08:00
Ignacio Casal Quinteiro
d219adfa5a
Move sealed attributes to private struct.
2010-07-12 21:12:46 +02:00
Tadej Borovšak
75e75cd305
Migrate GtkActionGroup API docs
2010-07-12 19:45:32 +02:00
Matthias Clasen
41671d1514
Bump version
2010-07-12 11:56:35 -04:00
Matthias Clasen
9a812edff8
Fix distcheck
2010-07-12 11:53:36 -04:00
Matthias Clasen
4f3d5e3655
Include cairo-1.0.gir when building Gdk-3.0.gir
...
Seems necessary with the cairo_region_t changes.
2010-07-12 10:30:06 -04:00
Matthias Clasen
b81d141a26
More updates
2010-07-12 10:09:18 -04:00
Matthias Clasen
d20ac9715e
Updates
2010-07-12 10:05:34 -04:00
Aron Xu
7cf895257f
Update Simplified Chinese translation.
2010-07-12 21:57:24 +08:00
Aron Xu
3604c279ff
Following the just now change.
2010-07-12 21:50:53 +08:00
Aron Xu
66e85255aa
Complete Simplified Chinese translation.
2010-07-12 21:48:02 +08:00
Baurzhan Muftakhidinov
78bde3c4c0
Updated Kazakh translation
2010-07-12 16:21:11 +03:00
Alan Monfort
99ee143a71
Updated Breton translation
2010-07-11 19:12:38 +02:00
Petr Kovar
f73115b6a0
Update Czech translation
2010-07-11 18:54:48 +02:00
Kjartan Maraas
ef5e6c1057
Updated Norwegian bokmål translation
2010-07-11 15:46:01 +02:00
Paolo Borelli
0df65779bb
The hash owns a ref to the cursor
2010-07-10 18:49:21 +02:00
Kristjan Schmidt
a9cf42ea42
Updated Esperanto translation
2010-07-10 12:43:35 +02:00
Kristjan Schmidt
59504f58d9
Updated Esperanto translation
2010-07-10 12:29:33 +02:00
Javier Jardón
eaab96c066
Use GSlice for GtkRequisition
...
Also add gtk_requisition_new to avoid memory allocator confusions when
using GtkRequisitions.
Based on a Christian Persch patch.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=461618
2010-07-10 06:13:45 +02:00
Matthias Clasen
bcbb976d91
Respect GtkEntry::state-hint when drawing spinbutton features
...
As proposed in bug 589904 by Thomas Wood.
2010-07-09 22:23:25 -04:00
Matthias Clasen
ab6927e4fa
Small GtkTable doc improvement
2010-07-09 21:40:46 -04:00
Matthias Clasen
813bee6f0a
Try to fix !srcdir build wrt to introspection
...
This requires a recent gobject-introspection, so bump the
dependency to 0.9.0. Should fix bug 623520
2010-07-09 21:01:40 -04:00
Javier Jardón
0a07e9733b
gtk/: fully remove gtkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:51:26 +02:00
Javier Jardón
404e7d0e00
gdk/: fully remove gdkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
Javier Jardón
7cabad6b77
Use -Bsymbolic-functions, drop g*alias PLT hackery
...
This is a minimal patch-out of the galias functionality.
Based on a Glib pach by Ryan Lortie
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
Javier Jardón
e4e477161a
Add check for -Bsymbolic-functions linker flag
...
Based on a Glib patch by Ryan Lortie
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
Javier Jardón
7e9d384fc0
[docs] GtkPaned: Do not use gutter_size deprecated member in examples
2010-07-09 23:24:38 +02:00
Colin Walters
ae16b31038
Actually build the tutorial if enabled
...
Previously we required an explicit "make html" in this subdirectory
for no reason. Just build it if make is invoked at the toplevel
and we have docbook.
2010-07-09 16:16:48 -04:00
Colin Walters
f8f3b635a6
Actually build faq if enabled
...
Previously we required an explicit "make html" in this subdirectory
for no reason. Just build it if make is invoked at the toplevel
and we have docbook.
2010-07-09 10:49:46 -04:00
Ivar Smolin
c4f12b95cb
[l10n] Updated Estonian translation
2010-07-09 10:32:14 +03:00
John (J5) Palmieri
b74ee87b17
annotation (transfer-none) fix that somehow got dropped from last patch
...
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
to avoid double frees
2010-07-08 15:26:55 -04:00
John (J5) Palmieri
b5f878dec8
fix some tree model annotations
...
* gtk_tree_model_iter_next - 'inout' is poorly defined and causes bugs so
revert back to the default 'in' annotation
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
to avoid double frees
2010-07-08 15:06:55 -04:00
Emmanuele Bassi
15646b6e74
docs: Document the GtkApplication::quit signal behavior
...
And add Since: annotations to the GtkApplication signals.
2010-07-08 14:12:27 +01:00
Ryan Lortie
424842e3a9
GtkApplication: use new GVariant bytestring API
2010-07-07 16:37:55 -04:00
Philip Withnall
0b51abbfdf
Add (out) annotations to GtkTreeIter parameters
2010-07-07 18:20:37 +02:00
Fran Diéguez
c4832a9d0e
Updated Galician translations
2010-07-07 17:54:03 +02:00
Javier Jardón
675b05f91d
[docs] GtkCellEditable: Move documentation to inline comments
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617392
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-07-06 22:46:40 +02:00
Javier Jardón
dd1f0c46b3
[docs] GtkCalendar: Move documentation to inline comments
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617389
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-07-06 22:46:40 +02:00
Tadej Borovšak
2ed1bab6bf
[docs] GtkButton: Move documentation to inline comments
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617386
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-07-06 22:46:40 +02:00
Colin Walters
c609c4e807
Fix annotation syntax for gtk_widget_class_path
2010-07-06 15:50:07 -04:00
John (J5) Palmieri
74b3875ab2
fix annotation for gtk_window_set_default_icon_list
2010-07-06 15:46:14 -04:00
Colin Walters
aff8fb2ea2
Fix annotation on gtk_tree_model_get_value
2010-07-06 15:01:56 -04:00
Matej Urbančič
337e53f62e
Updated Slovenian translation
2010-07-06 15:14:13 +02:00
Matej Urbančič
12560cece2
Updated Slovenian translation
2010-07-06 15:13:48 +02:00
Jonh Wendell
9125ccb1cb
[GtkApplication] Add gtk_application_get_windows()
...
Closes #623598 .
2010-07-05 17:12:53 -03:00
Ignacio Casal Quinteiro
f50d06baea
Bind get_bounds and use out instead of out caller-allocates.
...
There is no need to use caller-allocates if the scanner already detects it.
2010-07-05 18:41:22 +02:00
Tadej Borovšak
90cd7f44f1
[docs] Minor documentation fixes.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-07-05 17:21:55 +02:00
Tor Lillqvist
34e8bd9dba
Fix build breakage on Windows caused by the region changes
...
Patches by Sam Thursfield, from bug #623476 .
2010-07-05 12:57:13 +03:00
Jorge González
1ac5011873
Updated Spanish translation
2010-07-03 12:32:29 +02:00
Yaron Shahrabani
ef44de1392
Updated Hebrew translation.
2010-07-03 02:00:27 +03:00
Xan Lopez
533ea97c67
Remove leftover uses/references of GtkNotebook::group-id
2010-07-02 22:38:39 +02:00
Javier Jardón
1a03a65e36
Remove GtkWindow:allow-grow and GtkWindow::allow_shrink deprecated properties
2010-07-02 21:45:08 +02:00
Javier Jardón
1f38a7ac10
Deprecate GtkWindow:allow-grow and GtkWindow::allow_shrink properties
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610346
2010-07-02 21:44:56 +02:00
Matthias Clasen
1cfe57530e
Add gdk_keymap_get_num_lock_state to the docs
2010-07-02 12:59:07 -04:00
Florian Müllner
1e1c5e3ca1
[iconview] Fix segfault when using rubberband selection
...
When iterating over the cairo region's rectangles, do not decrement
the counter twice ...
https://bugzilla.gnome.org/show_bug.cgi?id=623389
2010-07-02 15:39:02 +02:00
Baurzhan Muftakhidinov
6adb034cb7
Updated Kazakh translation for gtk+
2010-07-02 14:31:46 +03:00
Tomeu Vizoso
eae60c34d2
Annotate gdk_display_manager_list_displays return value
...
https://bugzilla.gnome.org/show_bug.cgi?id=623307
2010-07-02 10:51:45 +02:00
William Jon McCann
85e3f22c19
Show lock warning for num lock as well as caps lock
...
https://bugzilla.gnome.org/show_bug.cgi?id=623239
2010-07-01 21:46:08 -04:00
William Jon McCann
0cfb94cdd4
[gdk] Add gdk_keymap_get_num_lock_state
...
https://bugzilla.gnome.org/show_bug.cgi?id=623239
2010-07-01 21:44:09 -04:00
Javier Jardón
319d2bb4f1
[gdk] Remove GdkWindowObject public structure
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Javier Jardón
df106318f8
[gdk] Add gdk_window_has_native() function
...
https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Ivar Smolin
f40fea1317
[l10n] Updated Estonian translation
2010-06-30 23:55:39 +03:00
Kristian Rietveld
be27fba3f3
Remove dummy for gdk_event_get_graphics_expose()
...
This was a deprecated function that has been removed.
2010-06-30 21:43:25 +02:00
Kristian Rietveld
43f4398dbd
Remove mention of gdk_event_get_graphics_expose()
2010-06-30 21:43:25 +02:00
Ignacio Casal Quinteiro
fa752d156b
Fix annotation.
2010-06-30 20:37:22 +02:00
Kristian Rietveld
1564d8922a
Fix typos in Cairo region conversion so that Quartz actually compiles
2010-06-30 11:10:29 +02:00
Kristian Rietveld
53fbf2a30a
Update Quartz DnD code to set device on DnD events
2010-06-30 10:56:44 +02:00
Kristian Rietveld
03a313d2a9
Implement gdk_drag_context_{get,set}_device in Quartz backend
2010-06-30 10:56:44 +02:00
Benjamin Otte
95a1c31c18
configure: Bump required Cairo version to 1.9.10
2010-06-29 17:05:28 +02:00
Benjamin Otte
5a02283fbf
API: Remove all GdkRegion API
...
Remove the deprecated region APIs completely from GTK.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:58 +02:00
Benjamin Otte
6c5dffd1a3
examples: Port example to use cairo region API
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
300e6b84cd
s/GdkRegion/cairo_region_t/ in all of gtk
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
3e96cfe8fc
Deprecate the GdkRegion API
...
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
52200eee01
Remove _gdk_region_new_from_yxbanded_rects()
...
It was an internal function and we can use
cairo_region_create_rectangles() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
78018767ba
Implement GdkRegion in terms of cairo_region_t
...
Only changes in headers: GdkRegion and GdkRectangle are typedeffed to
cairo_region_t and cairo_rectangle_int_t respectively. The region type
was opaque anyway so it doesn't matter and the rectangle types are
identical.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Matthias Clasen
b6cc7dbd21
Make sure we always include gdk-pixbuf in the gdk requires
...
This is needed since we include gdk-pixbuf.h in public gdk headers
2010-06-29 07:57:40 -04:00
Colin Walters
6aae994a66
Support NOCONFIGURE (from gnome-common)
...
gnome-common's autogen.sh uses NOCONFIGURE to skip running configure.
Support that in addition to the current AUTOGEN_SUBDIR_MODE.
2010-06-28 17:46:31 -04:00
Javier Jardón
b4ed51fd93
Remove XID_FONT_BIT
2010-06-28 23:38:03 +02:00
Javier Jardón
06e48c50a1
Remove GDK_GC_FONT
2010-06-28 23:38:03 +02:00
Christian Dywan
655dcff096
Remove deprecated GdkFont
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604196
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-28 23:38:03 +02:00
Javier Jardón
34573b53f3
[GtkStyle] Remove deprecated GdkFont usage
2010-06-28 23:38:03 +02:00
Javier Jardón
c1affa4f3c
Remove deprecated code from X interaction
2010-06-28 23:38:03 +02:00
Javier Jardón
c3987f9ee2
[GdkGC] Remove deprecated GdkFont from GdkGCValues structure
2010-06-28 23:38:03 +02:00
Javier Jardón
418d84f311
[GtkFontSel] Remove GdkFont "font" deprecated property
2010-06-28 23:38:02 +02:00
Matthias Clasen
18132ecae5
Differentiate between stepper B and C in the detail string
2010-06-28 14:45:25 -04:00
Colin Walters
905f988166
Revert "Add length to gtk_tree_path_get_indices"
...
This reverts commit eebb16eb1a .
Was an accidental commit.
2010-06-28 14:15:10 -04:00
Colin Walters
17f8b5e581
GdkX11.gir depends on Gdk.gir
2010-06-28 13:50:57 -04:00
Colin Walters
eebb16eb1a
Add length to gtk_tree_path_get_indices
...
The old version wasn't introspectable as it didn't have a length
return parameter. Also, delete gtk_tree_path_get_indices_with_depth,
since it's no longer needed.
2010-06-28 13:50:36 -04:00
Matthias Clasen
289f3b1b2b
Avoid a stray 'yes' in configure output
...
The corresponding AC_MSG_CHECKING line got lost
2010-06-28 12:36:33 -04:00
Benjamin Otte
42abeadbb8
Can't select file on file browser after changing sort order
...
The row values are 1-indexed not 0-indexed, this has to be taken into
account when producing the new_order array.
https://bugzilla.gnome.org/show_bug.cgi?id=621414
2010-06-28 14:19:18 +02:00
Benjamin Otte
cd266cb8de
Make declaration return a boolean when the function does that
2010-06-28 14:19:18 +02:00
Benjamin Otte
14e0cbe2d3
Get rid of navigation region in GtkMenu
...
This completes the move to get rid of using a GdkRegion for the
navigation region and the only user of gdk_region_polygon(). We keep
track of the triangle and compute in/out points ourselves now.
Unfortunately the DRAW_STAYUP_TRIANGLES debugging code doesn't work
using cairo, so I removed it completely.
2010-06-28 14:19:18 +02:00
Benjamin Otte
7ad08f19aa
Create the navigation region without flipping
...
Gets rid of some code in preparation to switching to do the computation
completely without GdkRegion.
2010-06-28 14:19:18 +02:00
Yaron Shahrabani
9928158d41
Updated Hebrew translation.
2010-06-28 14:42:40 +03:00
Yaron Shahrabani
680c1d26e3
Updated Hebrew translation.
2010-06-28 13:42:58 +03:00
Tor Lillqvist
e545ed58ed
Drop a leftover reference to libgdk_pixbuf-3.0.la
2010-06-28 00:28:55 +03:00
Tor Lillqvist
f0e24348a0
We need to link gdk with the gio library for non-X11 backends
...
(For X11, we link with gio-unix which takes care of it.)
2010-06-28 00:20:44 +03:00
Tor Lillqvist
4aa75fcf43
Revert "Use wide character API in the Windows IME module"
...
Ha, pango_win32_font_logfontw hasn't been exported from libpangowin32
after all due to a typo. This will have to wait. And actually
libpangowin32 is supposed to be deprecated surely, so that
functionality should be moved to libpangocairo or something.
This reverts commit 804effba99 .
2010-06-27 23:44:14 +03:00
Tor Lillqvist
d7ceebda3f
Drop gdk-pixbuf files
2010-06-27 23:30:02 +03:00
Tor Lillqvist
804effba99
Use wide character API in the Windows IME module
2010-06-27 23:21:41 +03:00
Philip Withnall
d78cee6791
Add allow-none to gdk_window_set_cursor()
2010-06-27 19:19:39 +01:00
Jorge González
1c14997df2
Updated Spanish translation
2010-06-27 13:10:13 +02:00
Emmanuele Bassi
5789ea35cc
Do not return values from a function returning void
2010-06-27 11:28:44 +01:00
Kristian Rietveld
7f2e4c38a9
Move Leopard-specific type definitions to gdkquartz.h
...
Update includes subsequently where it matters. Fixes build on Mac OS
X 10.4.
(cherry picked from commit e634f3fbe0 )
2010-06-27 11:00:42 +02:00
Kristian Rietveld
64f11c366a
Refactor to use API that's available in OS X 10.4 as well
...
(cherry picked from commit 3770d914ec )
2010-06-27 11:00:31 +02:00
John Ralls
98d47b57bf
Bug 622333 - Crash in gdk_window_impl_quartz_begin_paint_region
...
(cherry picked from commit 093a867e51 )
2010-06-27 11:00:20 +02:00
Kristian Rietveld
019ccc686d
Flip clip mask image when setting clip mask on GC
...
(cherry picked from commit 9f5f47f8be )
2010-06-27 11:00:09 +02:00
Kristian Rietveld
88cae1769b
Rework color translation to support gray scale and bitmaps
...
(cherry picked from commit 49f72c1fb4 )
2010-06-27 10:59:46 +02:00
Kristian Rietveld
18b233fe2a
Add gray visual, implement "get_best" functions
...
(cherry picked from commit 42d07ad6ce )
2010-06-27 10:59:11 +02:00
Matthias Clasen
2326d76efa
bump version
2010-06-27 00:15:06 -04:00
Matthias Clasen
92efbf2302
Update po files after the gdk-pixbuf removal
2010-06-26 23:22:43 -04:00
Matthias Clasen
45f6bbb56f
Updates
2010-06-26 23:16:36 -04:00
Matthias Clasen
12cdd1e33b
Use SED instead of sed
2010-06-26 23:02:08 -04:00
Matthias Clasen
48a5b4ee97
Misc documentation fixes
2010-06-26 23:00:47 -04:00
Matthias Clasen
0ef0b9c68b
Use GREP, not grep
...
As reported in bug 621927
2010-06-26 22:35:56 -04:00
Matthias Clasen
ac18bc7cb1
Update for the new, external gdk-pixbuf
2010-06-26 21:56:03 -04:00
Matthias Clasen
75b9f68338
don't build testapplication on OS X
...
See bug 622827
2010-06-26 21:41:58 -04:00
Matthias Clasen
8a590711da
Remove stray references to gtk-2.0
2010-06-26 21:40:55 -04:00
Matthias Clasen
89e67b8ec2
Remove gdk-pixbuf pc files
...
Noticed in bug 622847.
2010-06-26 21:29:21 -04:00
Mirsal Ennaime
23a61525f6
Add an accessor for the GSEALed Gtkbutton's event_window attribute
...
* Add the gtk_button_get_event_window() function
Closes: bgo#622581
2010-06-26 21:22:02 -04:00
Matthias Clasen
e73a2e5654
Add context to detail strings when drawing steppers
...
As usual, this is protected by a style property:
GtkRange::stepper-position-details
The detail strings are
<detail>_start, <detail>_end and <detail>_middle.
See bug 621250
2010-06-26 21:04:31 -04:00
Matthias Clasen
53796b7f1f
Add an accessor for GdkImage->mem
...
See bug # 522756
2010-06-26 16:48:06 -04:00
Matthias Clasen
67cd929267
Remove deprecated notebook api
2010-06-26 16:29:43 -04:00
Ignacio Casal Quinteiro
4601ad2352
Fix GtkTextBuffer annotations.
2010-06-26 20:47:42 +02:00
Khaled Hosny
5aaec9d7e0
Updated Arabic translation
2010-06-26 21:39:02 +03:00
Matthias Clasen
cc5500ad85
Remove pure gdk-pixbuf tests
...
These have been moved over to the gdk-pixbuf module.
2010-06-26 01:09:05 -04:00
Matthias Clasen
16ecf55832
Make GTK+ use an external gdk-pixbuf
2010-06-26 01:09:05 -04:00
John Ralls
d722adb76a
[quartz] Delete the typedef of GdkDevicePrivate
...
It's in gdkdevice.h now.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622765
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-26 00:23:32 +02:00
Javier Jardón
ef25dba303
[docs] Remove deprecated gdk_draw_bitmap() and gdk_draw_pixmap()
...
This completes commit 947cde30d9
2010-06-25 18:18:30 +02:00
Tristan Van Berkom
17516dc83c
Exposed GtkTreeView's internal GtkTreeSelection for builder files
2010-06-25 12:15:49 -04:00
Colin Walters
d986066cb5
Add --add-include-path to find just-built .gir files
2010-06-25 12:14:12 -04:00
Javier Jardón
947cde30d9
Remove gdk_draw_bitmap() and gdk_draw_pixmap() functions
2010-06-25 02:32:44 +02:00
Matthias Clasen
92befe0c06
Mention pot file update in the release howto
2010-06-24 13:15:52 -04:00
Javier Jardón
d35e4848a2
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
2010-06-24 18:10:03 +02:00
Javier Jardón
71e69e4701
[GtkTable] Add gtk_table_get_size()
...
Add accessor function to retrieve the number of rows and columns
in the table.
2010-06-24 17:46:12 +02:00
Matthias Clasen
9bf7f99a17
Make gtk_window_group_get_current_grab public
...
See bug #620832 .
2010-06-24 11:16:09 -04:00
Matthias Clasen
f010eeb7d3
Make the message area available in gtkbuilder as well
...
See bug 32069.
2010-06-24 09:37:14 -04:00
Ignacio Casal Quinteiro
7e3e2bf29a
Fix annotation of gtk_text_iter_(forward/backward)_search.
2010-06-24 11:11:02 +02:00
Marek Kasik
998459afb7
Don't handle CUPS' "connecting-to-device" state reason
...
CUPS backend shouldn't handle "connecting-to-device" state reason.
It shows "Printer '%s' may not be connected" for this state,
which is not true in almost all cases. Better is to use
"printer-state-message" which contains correct message (#622011 ).
2010-06-24 09:27:16 +02:00
Matthias Clasen
686294cb3b
Add an expander-in-dialog example
...
To show how I expect this kind of construction to work, makes it
easier to find the code the next time I need it somewhere.
2010-06-24 00:35:24 -04:00
Matthias Clasen
32925cd579
Turn on GSEAL_ENABLE by default
...
We do this by adding -DGSEAL_ENABLE to the Cflags in the .pc files,
so you can get out of it by adding -UGSEAL_ENABLE after the pkg-config
generated flags.
2010-06-23 23:19:58 -04:00
Carlos Garnacho
604beadbcd
testinput: Do not use deprecated API.
2010-06-24 02:30:54 +02:00
Carlos Garnacho
882fdfab78
GtkWidget: ensure device events are set on realize.
...
https://bugzilla.gnome.org/show_bug.cgi?id=621690
2010-06-24 02:30:54 +02:00
Carlos Garnacho
9c4657fb73
GtkWindow: Use client pointer on pointer-dependent positioning.
...
GTK_WIN_POS_MOUSE and GTK_WIN_POS_CENTER* now work relatively to the client
pointer.
2010-06-24 02:30:54 +02:00
Carlos Garnacho
928e2a5780
GtkDnD: Use client pointer if no event is available.
2010-06-24 02:30:53 +02:00
Carlos Garnacho
6cde835acd
GdkDeviceManager: Add gdk_device_manager_get_client_pointer().
...
This function makes a better replacement for
gdk_display_get_core_pointer(), wherever it might yet be needed, for
XI2 resorts to XIGetClientPointer(), for the others return the only
core pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=621685
2010-06-24 02:30:53 +02:00
Javier Jardón
009e26f32f
[gtk-example-application] Use the new api
2010-06-24 02:02:10 +02:00
Javier Jardón
1569f722cd
[testapplication] Fix some compilation warnings
2010-06-24 01:51:33 +02:00
Javier Jardón
dcfdbc4ca6
[gailprogressbar] Remove unused variables
2010-06-24 01:42:14 +02:00
Javier Jardón
a7041e9c40
[testinput] Fix compilation warning: Use guint instead int
2010-06-24 01:39:24 +02:00
Javier Jardón
c6650bfa01
[gdkim] Remove unused function
2010-06-24 01:37:29 +02:00
Javier Jardón
7ea1556cd0
Remove unnused variable
2010-06-24 01:32:23 +02:00
Javier Jardón
79350fcd8a
Fix warning: should pass gboolean*, not gboolean**
2010-06-24 01:31:01 +02:00
Fran Diéguez
208c82c809
Updated Galician translations
2010-06-24 01:00:49 +02:00
Tristan Van Berkom
55f8b4742f
Fixing debug build (s/extended layout/size request/ in GTK_NOTE flags).
2010-06-23 18:09:29 -04:00
Paolo Borelli
d17fbd06cb
Do not leak devices list in do_focus_change
2010-06-23 12:43:49 +02:00
noch
d33d31446e
Added Armenian translation - po file.
2010-06-23 14:51:41 +05:00
noch
eb1913d145
Modified Armenian translation - po file.
2010-06-23 14:51:41 +05:00
noch
0124dd0b8f
Added Armenian translation - po file. Modified LINGUAS.
2010-06-23 14:51:41 +05:00
Javier Jardón
cb21d4473e
[gtk] Add gtk_font_selection_dialog_get_font_selection()
...
This is needed to access the fontsel sealed member.
2010-06-23 01:28:51 +02:00
Javier Jardón
626240b0fe
[test] Exclude message-area as it's a object property
2010-06-22 22:26:18 +02:00
Javier Jardón
a681c37604
Add new api to gtk.symbols
...
Add newly added api gtk_accessible_set_widget() and
gtk_message_dialog_get_message_area()
2010-06-22 21:52:01 +02:00
Jorge González
1801a65a84
Updated Spanish translation
2010-06-22 21:15:38 +02:00
Javier Jardón
3c46d9acbc
[gtkaccessible] Use the correct guards in gtk_accessible_set_widget()
...
Also, allow the widget variable to be NULL
2010-06-22 21:12:53 +02:00
Tor Lillqvist
adf1bbe28a
Generate correct grab broken event for WM_KILLFOCUS
...
WM_KILLFOCUS means that a keyboard grab (not a pointer grab), if any,
has been broken. I don't think this bug has matterd much as gtk
generates a grab-broken-event signal for both keybord and pointer
grabs being broken anyway.
2010-06-22 21:33:49 +03:00
Federico Mena Quintero
9b9bb4c6e8
bgo#328069 - Add gtk_message_dialog_get_message_area()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-06-22 13:13:44 -05:00
Vincent Untz
abfc6f8f07
bgo#622371 - Add gtk_accessible_set_widget() - the widget field was GSEAL()ed.
...
https://bugzilla.gnome.org/show_bug.cgi?id=622371
2010-06-22 12:14:38 -05:00
Chris Kühl
078da34a26
[docs] Fixes issue with GtkEntryBuffer signal documentation
2010-06-21 19:59:06 +02:00
Murray Cumming
d927df0c3d
gtkenums.h: Remove trailing comma to fix warning.
2010-06-21 15:21:44 +02:00
Klemen Košir
a090f331b9
Updated Slovenian translation
2010-06-20 11:40:58 +02:00
Javier Jardón
d47e63856b
Do not distribute GIRs
2010-06-20 08:20:42 +02:00
Javier Jardón
f96be1ab10
[gdkpango] Fix typo
2010-06-20 01:14:17 +02:00
Javier Jardón
d5d7fd9f51
Remove unused gtk_style_get_font_internal() function
...
This function is no longer necesary as draw_string() function
was dropped from GtkStyle
See commit 5300dc2b36
2010-06-20 00:50:52 +02:00
Javier Jardón
349f8c561d
Remove gdk_input_* callbacks on file descriptors deprecated functions
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619687
2010-06-20 00:46:38 +02:00
Javier Jardón
3c8a54b2f7
Remove GdkWChar deprecated code
2010-06-20 00:22:26 +02:00
Javier Jardón
ca046f0cfb
Remove deprecated gdk_text_* and gdk_string_* functions
...
Remove gdk_string_extents(), gdk_text_extents(),
gdk_text_extents_wc(), gdk_string_width(), gdk_text_width(),
gdk_text_width_wc(), gdk_string_measure(), gdk_text_measure(),
gdk_string_height(), gdk_text_height()
2010-06-20 00:22:26 +02:00
Javier Jardón
0de0914021
Remove gdk_char_* deprecated functions
...
Remove gdk_char_width(), gdk_char_width_wc(), gdk_char_measure()
and gdk_char_height()
2010-06-20 00:21:51 +02:00
Javier Jardón
4cf4470fcd
Remove deprecated GdkDrawable functions
...
Remove gdk_drawable_get_data(), gdk_drawable_set_data(),
gdk_drawable_ref(), gdk_drawable_unref(),
gdk_draw_string(), gdk_draw_text(), gdk_draw_text_wc()
2010-06-19 21:39:22 +02:00
Matthias Clasen
2a2843c041
Prevent concurrent use of GTK+ 2 and 3
...
If we detect a gtk2-only symbol, error out early.
2010-06-18 22:27:26 -04:00
Matthias Clasen
32dd5882a0
Fix make check
2010-06-18 21:58:36 -04:00
Matthias Clasen
91268713a0
A forgotten rename
2010-06-18 21:58:19 -04:00
Emmanuele Bassi
b98667d41e
application: Remove a variable and silence a compiler warning
2010-06-18 14:26:57 +01:00
Emmanuele Bassi
2755b93913
application: Revert the leak plug
...
The &s in the signature of a GVariant means "pass me a pointer". To
avoid repeating the same mistake, use a const gchar* to declare the
key.
2010-06-18 14:26:05 +01:00
Emmanuele Bassi
3e1b82336c
application: Plug a leak
...
The key returned by g_variant_iter_next() should be freed as well.
Also, clean up the coding style a bit.
2010-06-18 12:06:39 +01:00
Tristan Van Berkom
5f4309be96
Fixed some typos in new docs that are about GtkSizeRequest (not GtkSizeGroup)
2010-06-18 00:32:09 -04:00
Tristan Van Berkom
4e23171803
Removed extendedlayoutexample.c (was a failed git mv --> testheightforwidth.c)
2010-06-18 00:12:55 -04:00
Tristan Van Berkom
edd57602b8
Mass api change from GtkExtendedLayout --> GtkSizeRequest
...
This commit makes a few massive changes to the extended layout
code:
a.) gtkextendedlayout.c --> gtksizerequest.c
b.) _is_height_for_width --> get_request_mode()
c.) get_desired_size(), get_desired_width(), get_desired_height() -->
get_size(), get_width(), get_height()
This is the first partial commit and only effects portions
of the tree that have already been merged in master (in order to
easily cherry pick this commit).
Conflicts:
gtk/Makefile.am
gtk/gtk.h
gtk/gtk.symbols
gtk/gtkextendedlayout.h
2010-06-18 00:11:26 -04:00
Matthias Clasen
cf75457faa
Bump version
2010-06-17 21:09:50 -04:00
Matthias Clasen
aab1a96d46
Updates
2010-06-17 20:06:41 -04:00
Christian Persch
9d0b941da6
application: Fix marshaler for GVariant gtype change
...
Use VARIANT instead of BOXED.
2010-06-18 00:25:06 +02:00
Stanislas Marquis
a14c820aa9
[docs] Fix gtk_tree_sortable_set_sort_column_id()
...
@sortable => @sort_column_id
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-17 18:22:54 +02:00
Matthias Clasen
9eef134efb
Bump glib requirement
2010-06-17 11:57:02 -04:00
Javier Jardón
d581c619db
[docs/gtk-faq] Close <para> tag
2010-06-17 17:43:32 +02:00
Emmanuele Bassi
4f357dbf95
application: Allow sub-classes to override the Window creation
...
Sub-classes of GtkApplication might want to override the way an
application window is created - for instance, to hook into GtkBuilder
or to set up some basic UI or state.
A new GtkApplication::create_window() virtual function is added to the
GtkApplicationClass vtable, which returns the newly created GtkWindow.
The gtk_application_create_window() function calls the vfunc and adds
the returned window to the list of windows managed by the application
instance.
Calling gtk_application_add_window() will also set the default window,
if one is not already set.
This commit also removes a spurious g_object_ref_sink() on the newly
created GtkWindow.
2010-06-17 15:41:12 +01:00
Javier Jardón
b74fb44c11
gail: do not use removed GTK_WIDGET_*SET macros
...
In the absence of new API to port to, left the code commented
with a /* FIXME */ state, for somebody with better gail knowledge
to fix.
2010-06-16 20:41:05 +02:00
Javier Jardón
2747f9d84d
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-06-16 20:36:30 +02:00
Javier Jardón
318fa1e179
[gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()
...
Reported by ageorge@datasys.net in bug
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=621683
2010-06-16 20:18:39 +02:00
Javier Jardón
36c669aaca
[docs] Fix missing comma in gtkrc docs
...
Reported by Alexander Saprykin in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621775
2010-06-16 19:51:04 +02:00
Stanislas Marquis
972e75e8b0
[docs] Add 'Since: 2.16' tag to GtkEntryIconPosition
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-16 19:42:24 +02:00
Colin Walters
bdaefd7efe
[GtkApplication] Update for GApplication API changes
...
Move appid parameter first to match GApplication.
2010-06-16 11:02:39 -04:00
Carlos Garnacho
c5a4bd0578
GtkMenuShell: Store device on GTK+ device grab.
...
gtk_menu_shell_deactivate() needs to know the device to end the
GTK+ grab.
2010-06-16 15:04:27 +02:00
Carlos Garnacho
404f4c5d40
GtkMenuShell: take a single device for grabs.
...
The other device will always be the associated device.
2010-06-16 15:04:27 +02:00
Jorge González
dfc9c87a46
Updated Spanish translation
2010-06-16 06:02:53 +02:00
Carlos Garnacho
4c3a829bb6
configure.ac: Fix build if no XInput libraries are available.
2010-06-15 23:28:49 +02:00
Carlos Garnacho
cd76d995eb
gdk_event_get_device(): Fallback to core pointer/keyboard.
...
Events could be injected by third party code, which could not have a
GdkDevice set for newer GdkEvent types holding a GdkDevice. This
function will now fallback to core pointer/keyboard, plus issuing
a warning about the problem.
2010-06-15 21:06:11 +02:00
Carlos Garnacho
385f83ff4a
GtkTextView: Scroll on the pointer doing DnD.
2010-06-15 21:06:11 +02:00
Carlos Garnacho
8c957ef3ef
GtkWidget: Undef GDK_DISABLE_DEPRECATED
...
This is needed for gdk_input_set_extension_events(), used by its GTK+
counterpart.
2010-06-15 21:06:10 +02:00
Carlos Garnacho
ed3198146c
GdkDeviceManagerXI2: Make focus events contain a GdkDevice.
2010-06-15 21:06:10 +02:00
Carlos Garnacho
07b1a2e081
GdkDeviceManagerCore: protect against xevent->xany.window not being a GdkWindow.
...
Conceivably this GdkEventTranslator may still be asked for events such as
NoExpose or GraphicsExpose for pixmaps. It is not meant to translate such events,
but should at least behave with them.
2010-06-15 21:06:10 +02:00
Tristan Van Berkom
1b2e9124f0
Fixed negative allocations from gtk_box_size_allocate()
...
Fixed the allocation loop to check if it was allocated at least
enough space to hold its visible children before going and distributing
extra space among children. Fixes bgo #617444 .
2010-06-15 14:27:12 -04:00
Carlos Garnacho
b238c0124a
Make GTK+ device grabs take precedence over GTK+ grabs
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=620440 (Reported by
Marek Kašík), where the print dialog modality would impair the pop-up
window from getting events. Device GTK+ grabs gain in specificness.
2010-06-15 19:39:59 +02:00
Javier Jardón
f62e000be4
Use a GPid on gdk_spawn_on_screen[_with_pipes]. Take 2
...
Really fixes
https://bugzilla.gnome.org/show_bug.cgi?id=602289
2010-06-15 17:16:43 +02:00
Javier Jardón
2e4ba929ba
[docs] Make GtkUIManager signal documentation more consistent
...
Reported by Alexander Saprykin in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621631
2010-06-15 15:29:59 +02:00
Matthias Clasen
294f810021
Docmentation improvements
...
Don't mention removed _defaults functions in the docs, also try
to clarify the situation around fill and expand defaults.
2010-06-15 01:23:30 -04:00
Thomas Wood
e19c50b538
GtkCalendar: some functions always return TRUE, so change them to void
...
Certain functions for GtkCalendar always return the same value. Therefore
they do not actually need to return a value at all.
Bug #621136 .
2010-06-15 00:00:40 -04:00
Matthias Clasen
e9fc660d7e
Add a variant of gtk_icon_theme_load_symbolic that takes a style
...
As proposed by Owen in bug 621578 to reduce code duplication.
2010-06-14 23:46:46 -04:00
Matthias Clasen
d53b0c200d
Remove some useless defines
2010-06-14 17:23:07 -04:00
Martin Schlemmer
213994b565
win32: Avoid type warning for offscreen windows in xp theme
...
See bug #598299
2010-06-14 20:57:22 +02:00
Colin Walters
6c71da01cc
[GtkApplication] Update for GApplication API changes
...
We now implement "quit" and "action" signals here.
https://bugzilla.gnome.org/show_bug.cgi?id=621003
2010-06-14 18:30:51 -04:00
Paolo Borelli
cf14d4f368
Annotate the methods to get TextBuffer iters
2010-06-14 19:04:47 +02:00
Claudio Saavedra
ef6ef84221
Fix typo in docs for GtkFileChooser
...
Reported by Martin Olsson in
https://bugzilla.gnome.org/show_bug.cgi?id=621479
2010-06-14 17:46:09 +03:00
Kjartan Maraas
e044efdbd2
Updated Norwegian bokmål translation
2010-06-13 23:18:03 +02:00
Fran Diéguez
d4bccb7029
Updated Galician translations
2010-06-13 18:06:27 +02:00
Fran Diéguez
86940de734
Updated Galician translations
2010-06-12 18:57:37 +02:00
Paolo Borelli
230f47224b
Fix the build broken in previous commit
2010-06-12 12:54:04 +02:00
Martin Schlemmer
4696e94138
win32: Fix the xp there to correctly clip when drawing
...
This makes the xp theme work again, and also enables it.
2010-06-11 20:20:07 +02:00
John (J5) Palmieri
76db7d69f1
annotate gtk_color_selection_get_current_color color param as out
2010-06-10 14:53:12 -04:00
Cosimo Cecchi
4467145e43
Add a missing accessor for GdkDragContext->source_window.
2010-06-10 16:04:28 +02:00
Michael Natterer
61aa2af23d
gdk: fix typo in the docs for gdk_drag_context_get_selected_action()
...
(cherry picked from commit e494ec1d61 )
2010-06-10 13:16:25 +02:00
Javier Jardón
71c501d895
Use a GPid on gdk_spawn_on_screen[_with_pipes] instead a gint
...
Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=602289
2010-06-10 03:52:35 +02:00
Javier Jardón
785027751a
constify gtk_init_with_args()'s GOptionEntry argument
...
Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621111
2010-06-10 03:51:51 +02:00
Stanislas Marquis
09fe6e7d44
[docs] GdkPixmap fix: gdk_pixmap_draw() does not exist.
...
Using gdk_draw_drawable() instead.
2010-06-10 02:21:13 +02:00
Javier Jardón
e902786017
[docs] Saturation is the intensity of the color, not the "deepness"
...
Reported by Seán de Búrca in bug
https://bugzilla.gnome.org/show_bug.cgi?id=466475
2010-06-09 20:02:31 +02:00
Cosimo Cecchi
4f66b8e37c
Add an accessor for GtkViewport->view_window ( #621081 ).
2010-06-09 18:22:35 +02:00
Tor Lillqvist
9b2ffc4b80
One more s/2.0/3.0
2010-06-09 13:54:43 +03:00
Tor Lillqvist
f772f3a1bb
Use correct libgdkincludedir in gdk/win32 too
...
Thanks to Hib Eris.
2010-06-09 12:34:01 +03:00
Richard Hughes
707535434c
Fix distcheck by removing references to gtk/gtkprogress.c
2010-06-09 09:29:50 +01:00
Tor Lillqvist
eb1233d11b
Fix build breakage on non-Unix
...
gdesktopappinfo.h does is in gio-unix headers, so can compile
testapplication only on Unix.
2010-06-09 11:10:22 +03:00
Tor Lillqvist
cd23f1e080
Fix build breakage on non-X11
...
AM_CONDITIONALs need to be seen in all code paths. The one for
XINPUT_NONE was only in the X11 if branch. But as that Automake
confitional wasn't used in any Makefile.am anyway, just drop the
AM_CONDITIONAL.
2010-06-09 10:52:11 +03:00
Javier Jardón
b618ca8923
[docs] Added some missing documentation to GdkDnd
...
The docs was removed by error in commit
9399114802
2010-06-09 06:39:02 +02:00
Matthias Clasen
5e0dfed135
Get rid of GtkProgress
...
The entire api was deprecated since 2.0. This patch detangles
GtkProgress from GtkProgressBar and moves all the pieces into
GtkProgressBar that are required for non-deprecated progressbar
functionality.
Bug #620618
2010-06-09 00:35:09 -04:00
Matthias Clasen
882660e13d
Bump version
2010-06-09 00:35:09 -04:00
Javier Jardón
9ad9c193ea
[docs] Added some GtkIconView missing documentation
...
Document GtkIconViewDropPosition and GtkIconViewForeachFunc.
The docs was removed by error in commit
e17b9f282f
2010-06-09 06:25:28 +02:00
Javier Jardón
ee483ec328
[docs] .gitignore some template files
2010-06-09 06:25:28 +02:00
Matthias Clasen
9399114802
Remove one more gtk-doc template
2010-06-08 21:10:15 -04:00
Matthias Clasen
897cf634c3
Don't call update-po in make dist
...
This is causing the bulk of the conflicts I have during distcheck,
and is not really necessary.
2010-06-08 19:48:15 -04:00
Matthias Clasen
e17b9f282f
Get rid of templates that gtk-doc touches during distcheck
...
In an attempt to make distcheck not touch any files under source
control.
2010-06-08 19:48:15 -04:00
Steve Frécinaux
8147019930
[gtkwidget] Add type annotations for the event signals.
2010-06-08 22:37:55 +02:00
Matthias Clasen
59108b5d98
Move docs inline
2010-06-08 15:37:52 -04:00
Matthias Clasen
4bf5a171e2
Distcheck fixes
2010-06-08 15:37:52 -04:00
Matthias Clasen
34deb14eff
Fix !srcdir build
2010-06-08 15:37:52 -04:00
Michael Natterer
bffd85c2b7
gail: don't use removed GtkTooltips API
...
In the absence of new API to port to, left the code in a useless
if(FALSE /* FIXME */) state, for somebody with better gail knowledge
to fix.
2010-06-08 21:29:52 +02:00
Seán de Búrca
9959986ecd
Updated Irish translation
2010-06-08 12:35:54 -06:00
Federico Mena Quintero
2f990d4726
bgo#608537 - Make the file chooser's sort arrows consistent with the HIG
...
... Although I think the HIG gets things backwards anyway.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-06-08 12:09:48 -05:00
Matthias Clasen
4603196287
Updates
2010-06-08 12:03:09 -04:00
Matthias Clasen
2d9b7335bf
Bump the gobject-introspection requires
2010-06-08 10:27:53 -04:00
Richard Hughes
b32ef72ea5
Get one step closer to fixing the gobject-introspection compile failure
2010-06-08 14:07:46 +01:00
Matthias Clasen
79b161f709
Use gtk_action_group_get_action when looking up actions
...
...instead of open-coding it. Pointed out by Christian Persch
in bug 620960
2010-06-08 09:03:07 -04:00
Matthias Clasen
cca298ad7d
Remove debug spew
2010-06-08 08:58:16 -04:00
Matthias Clasen
b366ae9c22
Update to GApplication api changes
2010-06-08 08:29:01 -04:00
John (J5) Palmieri
0491b409a9
add transfer-none to return value of gtk_widget_get_window
2010-06-07 18:21:21 -04:00
Steve Frécinaux
586d60dbee
[gdkevents] Add annotations for GdkEvent getters.
2010-06-08 00:00:28 +02:00
Steve Frécinaux
046069d918
[gtktextbuffer] Annotate gtk_text_buffer_create_mark()
...
Add (transfer none) to the return value of gtk_text_buffer_create_mark(),
as the documentation clearly states the caller doesn't have ownership of
the returned value.
2010-06-08 00:00:28 +02:00
Matthias Clasen
1ae257d00a
Add GtkApplication
...
This is a work in progress to stub out an application class. The
primary goal is to provide a mechanism for applications to export
GtkActions, and there is a standard "Quit" action.
This is based on GApplication.
Future work:
* Add a way to say "This is my application menubar", which gets
put into all toplevel windows on non-OS-X, and into the top
on OS X.
* Support session management.
* Support application settings.
https://bugzilla.gnome.org/show_bug.cgi?id=127958
2010-06-07 16:46:30 -04:00
John (J5) Palmieri
2c5871479e
annotate allow-none for gtk_image_menu_item_new_from_stock accel_group param
2010-06-07 16:15:39 -04:00
John (J5) Palmieri
0d2366d5eb
add allow-none annotation to gtk_clipboard_set_can_store's targets parameter
2010-06-07 13:15:27 -04:00
Marek Kasik
ca6aacc32d
Return error instead of showing an error dialog when printing
...
Remove message dialogs showing an error when printing. Return
GTK_PRINT_OPERATION_RESULT_ERROR and set error in such a case.
Also return GTK_PRINT_OPERATION_RESULT_CANCEL when cancelled.
Do it for synchronous and asynchronous cases (#549127 ).
2010-06-07 14:52:38 +02:00
Tomeu Vizoso
42deb581f9
Split gdk x11 funcs to their own typelib
...
https://bugzilla.gnome.org/show_bug.cgi?id=617863
2010-06-07 14:06:21 +02:00
Sven Herzberg
5300dc2b36
drop the draw_string() function from GtkStyle
...
Reviewed by Michael Natterer.
* gtk/gtkstyle.c,
* gtk/gtkstyle.h: gdk_draw_string() has been deprecated and removed
already. There's no one left who should be using this function
(found this when porting sapwood to GTK+ 3.0)
* modules/engines/pixbuf/pixbuf-draw.c: don't implement this unused
function
2010-06-07 13:56:10 +02:00
Matthias Clasen
7644ac519a
Fix up abi checking
...
The abicheck script was hardcoding assumptions about XI2 being used,
making it fail on e.g. RHEL5.
2010-06-07 06:16:21 -04:00
Javier Jardón
da8643e457
Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards
2010-06-07 04:50:05 +02:00
Javier Jardón
47f8beb0a6
Remove gdkx_colormap_get() deprecated function
2010-06-07 04:37:06 +02:00
Matthias Clasen
25864cf0ce
Make gdk build against old X headers
...
The XI.h in RHEL5 is missing some defines that are used
in the new device code.
2010-06-06 19:40:20 -04:00
Javier Jardón
2ace397eb5
Remove deprecatedd code from GdkColor
...
https://bugzilla.gnome.org/show_bug.cgi?id=619649
2010-06-07 00:35:40 +02:00
Kristjan Schmidt
a18f23c478
Updated Esperanto translation
2010-06-06 21:23:45 +02:00
Kristjan Schmidt
38abc03af4
Updated Esperanto translation
2010-06-06 21:23:45 +02:00
Kristjan Schmidt
98f3226fb7
Updated Esperanto translation
2010-06-06 21:23:45 +02:00
Javier Jardón
917cd2ce3e
Bump Glib required version as is needed by g_source_set_name()
...
The use of this new api was added in
95bc0f5405
2010-06-05 04:38:40 +02:00
Christian Dywan
35be520983
Make progressbars render progress again
...
This was broken during some earlier deprecation cleanup.
Bug 620509.
2010-06-04 20:03:19 -04:00
Matthias Clasen
db21688908
Remove remaining single-include guards
2010-06-04 19:40:43 -04:00
Matthias Clasen
9f873fa7bc
Don't install private headers
2010-06-04 19:28:01 -04:00
Stanislas Marquis
fe8d093a3c
[docs] Fix GtkWindow: activate-default => activate-focus.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-05 00:45:37 +02:00
Matthias Clasen
233388e693
Fix a parameter name mismatch
2010-06-04 16:15:58 -04:00
Matthias Clasen
14118a5697
Add a few missing symbols
2010-06-04 16:14:52 -04:00
Matthias Clasen
dbe82e0e83
Fix a doc comment typo
2010-06-04 16:13:34 -04:00
Javier Jardón
a277789270
[docs] gtktoolshell: Fix some "Since" tags
...
get_ellipsize_mode(), get_text_alignment(), get_text_orientation()
and get_text_size_group() were added in GTK+ 2.20, not 2.14.
Reported by Stanislas Marquis on IRC.
2010-06-04 17:54:56 +02:00
Colin Walters
95bc0f5405
Use g_source_set_name for all custom GSources in GTK+
...
Naming the sources allows easier debugging with e.g. SystemTap
probes.
https://bugzilla.gnome.org/show_bug.cgi?id=620511
2010-06-03 21:49:22 -04:00
Matthias Clasen
b96a05b81f
Silence a few warnings in !HAVE_RANDR builds
2010-06-03 20:24:54 -04:00
Tadej Borovšak
2c8e635a62
[docs] Improve GtkAction documentation
...
Simple GtkAction API docs update that makes it easier to understand
how action affects the appearance of proxy.
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-04 00:06:05 +02:00
Matthew Barnes
bb5c585777
Bug 596428 - GtkAssistant: Support ending with a progress page
...
- Add gtk_assistant_commit()
This function discards the visited pages list so the back button is not
shown on the current page, and removes the cancel button from subsequent
pages. Use this when information provided thus far cannot be revisited.
- Don't show the Forward button on a GTK_ASSISTANT_PAGE_PROGRESS if it's
the last page (according to the forward page function).
- Append a progress page to the GtkAssistant demo.
2010-06-03 17:03:14 -04:00
Matthias Clasen
112d97d498
Silence a few configure warnings about datarootdir
2010-06-03 13:38:15 -04:00
Matthias Clasen
354086bafc
Fix a typo
2010-06-03 13:36:09 -04:00
Matthias Clasen
974d7137a0
Avoid a 'EXTRA_DIST multiply defined' warning
2010-06-03 13:22:31 -04:00
Seán de Búrca
dd4251909b
Updated Irish translation
2010-06-03 08:11:06 -06:00
Seán de Búrca
75d1de2d3b
Updated Irish translation
2010-06-03 08:04:59 -06:00
Marek Kasik
f8ac123192
Test connection to all given addresses when printing
...
Go to the next address given by CUPS if we fail to connect to
previous address (#603637 ).
2010-06-03 10:13:17 +02:00
Matthias Clasen
9fbfbda8cc
Remove indices for 2.x additions
2010-06-03 01:23:13 -04:00
Matthias Clasen
1b53565bf9
GtkSeparator is no instantiatable
2010-06-03 01:21:18 -04:00
Matthias Clasen
700196f71e
Update documentation for orientables
...
Don't document these as abstract anymore, since they are now
instantiatable.
2010-06-03 01:18:42 -04:00
Matthias Clasen
d93b99a273
Remove old migration docs
...
This information will still be available in the 2.22 docs.
For 3.0, we'll do sortof a clean start.
2010-06-03 01:09:53 -04:00
Matthias Clasen
6a8a2f7ef3
Remove docs about 1.2 <> 2.0 differences
...
These should not be kept in 3.0.
Noticed by Dan Winship in bug #619838 .
2010-06-02 19:59:41 -04:00
Matthias Clasen
ee0d695a91
Fix a doc typo
...
See bug #620244
2010-06-02 19:56:47 -04:00
Michael Natterer
2b89d46a9a
app: forgot to update API docs in the last commit
...
(cherry picked from commit 22c61e0c8f )
2010-06-02 21:12:40 +02:00
Michael Natterer
19236d68d9
gdk: rename gdk_drag_context_get_action() to gdk_drag_context_get_selected_action()
...
so its purpose is clear.
(cherry picked from commit d393cb377c )
2010-06-02 20:45:31 +02:00
Garrett Regier
2e4a066cd0
Bug 611709 - Add gtk_statusbar_remove_all
2010-06-02 17:50:28 +02:00
Cody Russell
8e142788a5
Bug 608218 - GtkOffscreenWindow causes bad window with GtkEntry
...
We now exit early from gdk_window_register_dnd() to avoid crashing if the
window type is GDK_WINDOW_OFFSCREEN and does not support dnd operations.
This makes it possible to use any dnd-enabled widgets, such as GtkEntry,
within a GtkOffscreenWindow.
2010-06-01 10:32:18 -05:00
Johan Dahlin
5c283cacbe
[gtktreeview] Add a couple of annotations
2010-05-31 12:12:06 -03:00
Matthias Clasen
c557f7b7c4
Improved icon view keynav
...
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
2010-05-30 02:17:51 -04:00
Matthias Clasen
6737d91d28
Trivial typo fix
2010-05-30 02:17:51 -04:00
Matthias Clasen
654bb6ca66
Simple typo fix
2010-05-30 02:17:51 -04:00
Javier Jardón
e51f02ce67
[docs] Add GTK+3 migration guide
2010-05-29 19:37:57 +02:00
Michael Natterer
9b9945b8e7
Bug 607628 - DnD operation doesn't work when using offscreen
...
Changed the way to find the drop widget from a top->bottom recursion
using GdkWindow positions to a liner bottom->top walk up the widget
hierarchy using _gtk_widget_find_at_coords() and
gtk_widget_translate_coordinates(), which both do the right things for
offscreen widgets.
(cherry picked from commit cb8c076321 )
2010-05-29 05:10:19 +02:00
Yaron Shahrabani
3e38ddd3e6
Updated Hebrew translation.
2010-05-28 15:55:57 +03:00
Yaron Shahrabani
0236a9a3fa
Updated Hebrew translation.
2010-05-28 15:50:41 +03:00
John (J5) Palmieri
c707e445ca
gtk_tree_selection_get_selected: added transfer none annotation to model out arg
2010-05-27 18:36:04 -04:00
Javier Jardón
25ec337a16
Revert "Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum"
...
This reverts commit 72467ba2e6 .
2010-05-28 00:14:59 +02:00
John (J5) Palmieri
256759a3b7
gtk_tree_view_get_model: return value annotated transfer none
2010-05-27 16:58:52 -04:00
John (J5) Palmieri
c21e9ba7c3
annotation fixes
...
* gtk_tree_model_get_column_type: transfer none added to the return value
* gtk_tree_model_get_path: value parameter switched from inout to out
so that it is annotated with caller-allocates
2010-05-27 16:53:42 -04:00
Javier Jardón
86441c6427
gtkwidget.h: Fix a typo
...
Fix a type introduced in
commit 818d444e2f
Reported by Garrett Regier.
2010-05-27 22:01:15 +02:00
Javier Jardón
72467ba2e6
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-05-27 19:58:24 +02:00
Javier Jardón
818d444e2f
Remove GTK_NO_REPARENT deprecated widget flag
2010-05-27 18:05:02 +02:00
Javier Jardón
45aa82d85f
Deprecate GTK_NO_REPARENT
2010-05-27 18:04:05 +02:00
Javier Jardón
d6bacafc52
[docs] Use the correct gtk-doc notation
...
Use 'Deprecated: 3.0:' intead 'Deprecated: 3.0.'
2010-05-27 15:37:19 +02:00
Li Yuan
5c8bdc1a69
Bug #619080 .
...
Do not emit the text-changed::insert signal when the entry is empty.
2010-05-27 14:57:38 +08:00
Javier Jardón
258f9e814a
gtkmain: remove some unused code
2010-05-27 05:54:18 +02:00
Javier Jardón
485bbadc0a
gtkmain: Remove unused GtkClosure struct
2010-05-27 05:45:27 +02:00
Javier Jardón
d91c0d38c6
[docs] Remove deprecated documentation
2010-05-27 05:16:15 +02:00
Javier Jardón
154e3ba502
gtkcontainer: Remove unused GtkForeachData struct
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619672
2010-05-27 03:37:32 +02:00
Javier Jardón
da25f8f89d
[docs] Move some widgets: they are not abstract now
2010-05-26 19:09:14 +02:00
Michael Natterer
6b4e19a132
Bug 607628 - DnD operation doesn't work when using offscreen
...
Turn find_widget_under_pointer() into internal API
_gtk_widget_find_at_coords() which is needed for fixing above
bug. This should actually be a public utility function, and will be
moved to another file when its final API has been decided.
(cherry picked from commit c4b1bbf3e2 )
2010-05-26 17:21:09 +02:00
Carlos Garcia Campos
6bac9dfd28
GtkWindow: Add gtk_window_has_group()
...
To check whether the window has an explicit group
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618271#c2
2010-05-26 16:49:31 +02:00
Christian Beier
95c824c553
gdk/gdkwindow.c: fix a typo in gdk_window_set_device_cursor().
...
Signed-off-by: Christian Beier <dontmind@freeshell.org >
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-05-26 15:42:10 +02:00
Javier Jardón
019563c322
Remove gdk_*et_use_xshm() deprecated functions
2010-05-26 05:18:05 +02:00
Matthias Clasen
7ab09f1597
Bump version
2010-05-25 23:01:37 -04:00
Matthias Clasen
473b7aa6a2
2.90.1
2010-05-25 22:57:46 -04:00
Matthias Clasen
7164d71abf
Some more devicegroup purging
2010-05-25 22:12:51 -04:00
Matthias Clasen
0e1d84c954
Make gio sniffing test work again
2010-05-25 21:33:40 -04:00
Matthias Clasen
cbab03df69
Fix up distcheck
2010-05-25 20:26:07 -04:00
Matthias Clasen
19e0444669
Updates
2010-05-25 20:07:52 -04:00
Matthias Clasen
c7a48881c6
Documentation fixes
2010-05-25 19:27:42 -04:00
Matthias Clasen
f5e21ceb00
Some additions
2010-05-25 19:18:06 -04:00
Matthias Clasen
86ba6378cd
Remove duplicates
2010-05-25 19:03:16 -04:00
Matthias Clasen
b4e2ff3da3
Make orientable base classes instantiable
...
This commit adds constructors for GtkPaned, GtkBox, GtkButtonBox,
GtkRuler, GtkScale, GtkScrollbar and GtkSeparator and makes these
types instantiable.
2010-05-25 18:55:15 -04:00
Matthias Clasen
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00
Bruce Cowan
a538f639b6
Fix conflict Git markers
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619655
2010-05-25 21:46:35 +02:00
Javier Jardón
0c6565e1d3
Fix typo in previous patch
2010-05-25 20:48:59 +02:00
Matthias Clasen
b5ae99bf19
Add indexes
...
Add an index for 2.22 api additions, and one for 3.0.
2010-05-25 12:21:13 -04:00
Matthias Clasen
ebbadf3709
Add some leftover symbols
2010-05-25 12:01:04 -04:00
Matthias Clasen
50a72eda2d
Seal gdk
...
Add G_SEAL annotation for struct members, and add accessors for
the (useful) fields. Patch based on work by Garrett Regier,
see bug #592580 .
2010-05-25 12:01:04 -04:00
John (J5) Palmieri
57754edef6
add a transfer none annotation to gtk_tree_view_get_selection
...
* it returns the selection from its priv structure without reffing
2010-05-25 11:49:10 -04:00
Matthias Clasen
067fe4b05d
Some additions
2010-05-25 10:24:53 -04:00
Matthias Clasen
8d2e20c2dc
Fix up gtk_paned_get_handle_window docs
2010-05-25 09:47:54 -04:00
Matthias Clasen
c4134a535e
Fix up gtk_icon_info_load_symbolic docs
2010-05-25 09:47:20 -04:00
Matthias Clasen
4df758dd16
Document GtkRange::adjust-bounds
2010-05-25 09:44:29 -04:00
Matthias Clasen
54cf057f11
Document GtkMovementStep
2010-05-25 09:42:09 -04:00
Matthias Clasen
1c6de294d8
Document GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
2010-05-25 09:34:38 -04:00
Caolan McNamara
00be72aef4
Fix many fuzzy translations of default:mm
...
Many of these were translated to either default:LTR or @#$^%&:mm.
Bug #619595 .
2010-05-24 21:30:04 -04:00
Javier Jardón
cc8dcf738a
Remove deprecated GtkToolbar code
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616817
2010-05-24 20:16:07 +02:00
Marek Kasik
33097d65b7
Honor PPD reading over listing of printers
...
Reading of PPD files collides with getting list of printers.
It helps to give higher priority to getting of PPDs than to
getting list of printers (#614581 ).
2010-05-24 16:39:19 +02:00
Javier Jardón
b18b33ae82
Revert "Forward-port a GtkAdjustment compatibility fix"
...
In the early 2.14.x releases, GtkAdjustment was changed to enforce
that values are restricted to the range [lower, upper - page_size].
This has always been the documented behaviour, and the recommended
practice is to set page_size to 0 when using adjustments for simple
scalar values, like in a slider or spin button.
Due to the large number of applications that are affected by this
change, the behaviour has been reverted to the old behaviour in
2.14.3, with an explicit warning that this change will be
reintroduced in 2.90.
This reverts commit e6373738fc .
https://bugzilla.gnome.org/show_bug.cgi?id=619474
2010-05-24 15:39:30 +02:00
Tomeu Vizoso
14f7717770
Actually expose the X11 funcs through introspection
...
https://bugzilla.gnome.org/show_bug.cgi?id=617863
2010-05-24 15:27:44 +02:00
Javier Jardón
5917eba911
gdkevents-x11: Do not break strict-aliasing rules
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619385
2010-05-22 23:17:58 +02:00
Javier Jardón
7f89bf262b
gdkevents-x11.c: Remove unused function: graphics_expose_predicate()
2010-05-22 22:49:58 +02:00
Matthias Clasen
8e315466b9
Fix libjasper test
...
This was reported in bug 551322.
2010-05-22 00:29:58 -04:00
Matthias Clasen
94abf4733f
Deprecate GtkBoxChild
...
This was discussed in bug 613132.
2010-05-22 00:15:00 -04:00
Matthias Clasen
bb91ebcb8f
Fix signal parameters in GtkEntryCompletion
...
The ::match-selected and ::cursor-on-match signal were emitted
with the internal filter model instead of the user-provided model.
Fixes bug #555087 .
2010-05-21 23:50:46 -04:00
Matthias Clasen
54093354e4
Clean up man page handling
2010-05-21 22:41:35 -04:00
Matthias Clasen
7652c2b3e0
Remove long-obsolete docs
...
There are no traces of GDK_USE_XFT, GXID_HOST or GXID_PORT in the
code anymore.
2010-05-21 22:14:46 -04:00
Matthias Clasen
747c834f27
Document GSEAL_ENABLE with other preprocessor symbols.
2010-05-21 22:07:46 -04:00
Matthias Clasen
70e503e448
Convert to UTF-8
2010-05-21 20:49:41 -04:00
Matthias Clasen
eff1fe2500
Make the !xkb build survive a little longer
...
This fixes bug 619114.
2010-05-21 12:13:05 -04:00
Christian Dywan
82e27aede9
Explain that unmap-event may never be emitted
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=613302
2010-05-21 17:10:25 +02:00
Javier Jardón
280b01a8db
Move documentation to inline comments: GtkRecentChooserDialog
2010-05-21 04:15:02 +02:00
Javier Jardón
98cee5e6e2
Move documentation to inline comments: GtkRecentChooserMenu
2010-05-21 03:19:02 +02:00
Javier Jardón
2f28e88dea
Move documentation to inline comments: GtkRange
2010-05-21 03:09:43 +02:00
Didier Roche
6847407eda
Fix fail to build when building with introspection:
...
in debian/ubuntu, builddir != srcdir. This trigger an error
on introspection_files where srcdir is added to x11/*.c.
Indeed, srcdir is added again later:
$(addprefix $(srcdir)/,$(introspection_files))
making $(srcdir)/$(srcdir)/x11/*.c (not an issue on jhbuild as srcdir = .)
2010-05-21 09:00:55 +10:00
Javier Jardón
ae8c4b8f7b
[docs] Fix a typo in the tutorial
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=412331
2010-05-20 21:57:56 +02:00
Mattias Põldaru
04dc62cfe3
Estonian translation updated
2010-05-20 14:58:34 +03:00
Tristan Van Berkom
80ee7f793a
Amending GtkBuildable documentation.
...
GtkBuildable documentation has forever stated that "only
objects which implement GtkBuildable can parsed by GtkBuilder" fixed.
2010-05-20 00:33:20 -04:00
Javier Jardón
68701c828c
Move documentation to inline comments: GtkRadioButton
2010-05-20 00:42:50 +02:00
John (J5) Palmieri
85b53969b2
[PATCH] add the binding friendly join_group method to GtkRadioAction
...
* Due to object ownership issues it is impossible to correctly use
get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
GtkRadioAction objects and not with the list of objects that gets
modified in the library
2010-05-19 15:16:46 -04:00
Matthias Clasen
c51f965782
Some cleanups after the module cache file change
...
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.
Patch by Tadej Borovsak.
2010-05-18 19:23:06 -04:00
Javier Jardón
fac142c25a
gtk/gtkobject: use G_DEFINE_ABSTRACT_TYPE
2010-05-18 18:21:18 +02:00
Javier Jardón
dfa9214681
Move documentation to inline comments: GtkRecentChooser
2010-05-18 18:16:35 +02:00
Murray Cumming
f54910cf86
GtkDebug: Remove a trailing comma on an enum.
2010-05-18 09:32:44 +02:00
Jan Arne Petersen
4704a239ac
GtkRange: Redraw if GtkRange is a GtkScale and value is drawn.
...
* gtk/gtkrange.c: (gtk_range_adjustment_value_change):
Queue the draw also if the range is a scale and the value is drawn,
fixing bug #533946 (Markus Brinkmann), when two HScales use one
adjustment.
2010-05-18 08:51:01 +02:00
Matthias Clasen
735bee47be
Let query utilities update the cache file directly
...
This is much more convenient for packagers than having to
redirect the output into the cache file, and much less error-prone.
2010-05-17 22:58:25 -04:00
Matthias Clasen
0b0f176ac4
Move the module cache files below libdir
...
These files contain architecture-dependent paths, and thus placing
them into sysconfdir causes unnecessary hassle. Now the immodule cache
file is looked for in libdir/gtk-3.0/3.0.0/immodules.cache, and the
pixbuf loader cache is looked for in libdir/gtk-3.0/3.0.0/loaders.cache.
2010-05-17 21:30:46 -04:00
Volker Grabsch
8a487aca2c
Fix CAIRO_PREFIX for cross-build environments
...
configure.ac was using pkg-config instead of $PKG_CONFIG for this
prefix, leading to incorrect results in cross-build environments.
Bug 618870.
2010-05-17 19:00:02 -04:00
Thomas Thurman
3f96117903
Updated Shavian translation
2010-05-16 17:53:39 -04:00
Thomas Thurman
489085ca02
Updated Shavian translation
2010-05-16 17:53:39 -04:00
Andika Triwidada
fcbbbbf139
Updated Indonesian translation
2010-05-16 08:33:26 +07:00
Javier Jardón
98e773d93d
Move documentation to inline comments: GtkSeparatorToolItem
2010-05-16 02:39:50 +02:00
Javier Jardón
19448b9712
Move documentation to inline comments: GtkPrinter
2010-05-16 02:11:16 +02:00
Javier Jardón
b00a09de11
Move documentation to inline comments: GtkTreeView drag-and-drop
2010-05-16 02:04:12 +02:00
Javier Jardón
56d7417fcc
Move documentation to inline comments: GtkRecentChooserWidget
2010-05-16 01:58:06 +02:00
Javier Jardón
885b6d8a75
Move documentation to inline comments: GtkStyle
2010-05-16 01:37:36 +02:00
Javier Jardón
f121a502f9
Move documentation to inline comments: GtkSeparatorMenuItem
2010-05-16 00:40:11 +02:00
Javier Jardón
08bd42cf8d
Move documentation to inline comments: GtkScaleButton
2010-05-16 00:32:05 +02:00
Javier Jardón
8e06ef4f63
Move documentation to inline comments: GtkRadioAction
2010-05-16 00:26:22 +02:00
Javier Jardón
bddf455874
Move documentation to inline comments: GtkRecentAction
2010-05-16 00:20:53 +02:00
Khaled Hosny
41f327051c
Updated Arabic translation
2010-05-15 22:58:15 +03:00
Javier Jardón
b2f5af3fb0
Remove deprecated functions from GDK docs
2010-05-14 18:36:59 +02:00
Javier Jardón
618d15e991
Remove deprecated gdk_window_get_toplevels() function
2010-05-14 18:18:10 +02:00
Javier Jardón
dc83131c9b
gdkwindow: Move includes to the beginning of the file
2010-05-14 17:28:37 +02:00
Tadej Borovšak
ff61948d13
Move documentation to inline comments: GdkWindow
...
Use examples/gdk to store documentation code examples.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618498
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-05-14 17:11:51 +02:00
Luca Ferretti
47dd78a713
Updated Italian translation
2010-05-14 12:53:44 +02:00
Fran Diéguez
2cc6154571
Updated Galician translations
2010-05-14 09:47:29 +02:00
Javier Jardón
157d618d6b
Move documentation to inline comments: GtkObject
2010-05-13 19:39:44 +02:00
Javier Jardón
3d481f735a
Use ACLOCAL in autogen.sh
2010-05-13 17:11:12 +02:00
Javier Jardón
9e630dc17d
Clean autotools configuration a bit
...
New requirements:
automake >= 1.10
libtool >= 2.2
2010-05-13 15:54:01 +02:00
Javier Jardón
1205012cb4
Fix doc generation: rename gdk-overrides.txt to gdk3-overrides
...
Also, remove unnneded *-overrides files
Patch by Tadej Borovšak
2010-05-13 05:02:59 +02:00
Javier Jardón
95bb12ee66
Move documentation to inline comments: GtkOrientable
2010-05-13 03:35:02 +02:00
Javier Jardón
8319585673
Move documentation to inline comments: GtkToggleAction
2010-05-13 03:23:30 +02:00
Javier Jardón
45434cc699
Move documentation to inline comments: GtkPageSetupUnixDialog
2010-05-13 01:26:10 +02:00
Javier Jardón
e59f1a64c1
Move documentation to inline comments: GtkSeparator
2010-05-13 01:26:09 +02:00
Javier Jardón
c4bb15a4f2
Move documentation to inline comments: GtkTextIter
2010-05-13 01:26:09 +02:00
Javier Jardón
c477b2fa0b
Move documentation to inline comments: GtkToolItem
2010-05-13 01:26:09 +02:00
Thomas Thurman
f1ea0d127b
Updated Shavian transliteration
2010-05-12 19:01:48 -04:00
Thomas Thurman
fd3c3dc981
Updated Shavian transliteration
2010-05-12 19:01:48 -04:00
Johan Dahlin
39f4b34e70
Merge commit 'origin'
2010-05-12 19:54:28 -03:00
Johan Dahlin
7b81420974
[GtkExtendedLayout] Add annotations
...
Add missing annotations for out values.
2010-05-12 19:53:43 -03:00
Johan Dahlin
a81f00ff33
[GtkWidget] Add annotations
...
Add a couple of out/inout annotations
2010-05-12 19:53:24 -03:00
Johan Dahlin
4bc3f99b6d
[GtkWindow] Add annotations
...
Add introspection annotations for lists and functions with
multiple out values.
2010-05-12 19:51:55 -03:00
Matthias Clasen
006d5718fa
Another attempt to handle pngs changing int types
2010-05-12 15:02:02 -04:00
Kristian Rietveld
f3fa17a16a
Bug 565559 - Incorrect leave-notify signals for treeview
...
Set enter and leave notify mask on header window.
Extract from a patch by Hans van Hintum.
2010-05-12 12:15:48 +02:00
Paul Davis
aea9f1b6cf
Remove arbitrary limit on number of redraw rectangles
...
The aim of this limit was to not degrade performance too much, however,
it actually did degrade performance to a large extent.
2010-05-12 12:11:40 +02:00
Manoj Kumar Giri
b82150c100
Updated Oriya Translation
2010-05-12 13:35:28 +05:30
Javier Jardón
2b64a7fd54
Remove some deprecated stuff from GdkWindow
...
Also, substitute the deprecated functions with the correct ones
2010-05-12 04:29:55 +02:00
Javier Jardón
c6a789998a
Remove deprecated gdk_exit() function
2010-05-12 03:44:07 +02:00
Matthias Clasen
902628f593
Reset gail library versioning to 0.0.0, since we changed soname
2010-05-11 15:21:17 -04:00
Matthias Clasen
d8ceadaf3b
Minor stylistic fix
2010-05-11 15:09:16 -04:00
Matthias Clasen
a376adbcea
Try to fix up man page handling
2010-05-11 15:09:16 -04:00
Javier Jardón
d9bb439c89
Remove deprecated GtkObject macros
...
Remove GTK_OBJECT_TYPE() and GTK_OBJECT_TYPE_NAME(),
G_OBJECT_TYPE() and G_OBJECT_TYPE_NAME() should be used instead.
2010-05-11 17:01:36 +02:00
Caolán McNamara
37bb7ea2a0
Update list of US Letter locales
...
Sync paper size fallbacks with the latest 1.8.1 CLDR table (#618000 ).
2010-05-11 16:38:07 +02:00
Tor Lillqvist
e5c2c2e9fb
More gtk3 file name changes
2010-05-11 17:14:57 +03:00
Matthias Clasen
20f3f9d9f2
One forgotten rename
2010-05-11 08:37:35 -04:00
Murray Cumming
4fe044b77d
Fix typos in 2 gobject-introspection annotations.
2010-05-11 09:01:19 +02:00
Alan Knowles
ee357cf885
Fix various gir annotations on tree API
...
Just add (out) tags where needed to generate valid gir.
2010-05-11 13:40:15 +08:00
Sebastian Dröge
57a7079a30
Don't include __bss_start, _edata and _end symbols in the abichecks
...
They are added by the binutils gold linker.
2010-05-11 06:39:35 +02:00
Matthias Clasen
827ce1b1bf
bump version
2010-05-11 00:28:33 -04:00
Matthias Clasen
48a3e5c074
2.90.0
2010-05-11 00:26:49 -04:00
Matthias Clasen
4ac165b59e
Fix tests
2010-05-10 23:57:24 -04:00
Matthias Clasen
f08d244c05
Remove remnants of filechooser backend property
2010-05-10 23:43:49 -04:00
Matthias Clasen
78079e04d6
Fix abicheck scripts
2010-05-10 23:22:02 -04:00
Matthias Clasen
d379ece3e5
Updates
2010-05-10 22:22:09 -04:00
Matthias Clasen
7d7bb3c999
Updates
2010-05-10 20:45:21 -04:00
Matthias Clasen
2c13b36d75
Install gtk-demo as gtk3-demo
2010-05-10 20:06:10 -04:00
Matthias Clasen
c75bf0b2d3
More gail.pc renaming
2010-05-10 20:06:10 -04:00
Matthias Clasen
4b7e72b3a8
Make the docs parallel installable
2010-05-10 20:06:10 -04:00
Matthias Clasen
7f1f1c09ce
Make gail parallel-installable too
...
Move libgail-util to libgail-util-3.0, and gail.pc to gail-3.0.pc
2010-05-10 20:06:10 -04:00
Javier Jardón
37b62be296
[tests] Move filechooser test files to correct location
2010-05-11 00:50:54 +02:00
Javier Jardón
0fd4db396b
[tests] Remove GtkOptionmenu from gail tests
2010-05-11 00:02:37 +02:00
Jorge González
3c228d6064
Updated Spanish translation
2010-05-10 19:44:10 +02:00
Jorge González
2de0f57779
Updated Spanish translation
2010-05-10 19:27:42 +02:00
Jorge González
d83afa2ea1
Updated Spanish translation
2010-05-10 19:27:37 +02:00
Richard Hughes
3fc7f408ce
Fix make dist after breaking it in my last commit
2010-05-10 17:56:00 +01:00
Tor Lillqvist
fecfebbf9c
Update API version in file and directory names
2010-05-10 19:18:32 +03:00
Tor Lillqvist
bd439bb9f9
Update GtkApiVersion
2010-05-10 19:18:31 +03:00
Tor Lillqvist
40b56c2342
GtkCList is gone
2010-05-10 19:18:30 +03:00
Tor Lillqvist
a709056140
Don't use g_drag_context_ref
2010-05-10 19:18:29 +03:00
Richard Hughes
671db307cc
Install gdk-pixbuf-xlib-3.0.so.0, although this might be nuked in the near future
2010-05-10 17:15:24 +01:00
Richard Hughes
e18eb24c1d
Install the gail tests in /usr/lib/gtk-3.0/modules
2010-05-10 17:08:20 +01:00
Richard Hughes
cb115a65a6
Modify the gettext translation domain for the gtk3 rename
2010-05-10 15:47:47 +01:00
Matthias Clasen
a4d4b54a7d
Add padding around the status icons
...
The amount of padding is determined by reading a _NET_SYSTEM_TRAY_PADDING
property off the manager window, in the same way that orientation and visual
are obtained.
Signed-off-by: Richard Hughes <richard@hughsie.com >
2010-05-10 15:26:44 +01:00
Richard Hughes
88f41f10ad
Change the location of the gdk-pixbuf.loaders for gtk3 ABI
2010-05-10 14:03:20 +01:00
Richard Hughes
c59bfed6dd
Fix make distcheck
2010-05-10 12:07:01 +01:00
Bastien Nocera
4551509af1
Make it easy for apps to have dark themes
...
Some types of applications would benefit from having "dark" themes,
usually black backgrounds, such as:
* Movie players
* Photo management and display applications
To make it easy for those applications to prefer a dark theme,
we're adding the "gtk-application-prefer-dark-theme" GtkSetting, which
will make the theme loading code automatically look for a "gtkrc-dark"
file in the same directory you would usually find a gtkrc file.
the same name and a "-dark" suffix.
If no "-dark" gtkrc variant is available, the normal gtkrc will
be used.
https://bugzilla.gnome.org/show_bug.cgi?id=617955
2010-05-10 01:15:14 +01:00
Javier Jardón
b76557e944
[docs] Fix GdkColor description: blue and green colors are changed
...
Reported by César Themudo here:
https://bugzilla.gnome.org/show_bug.cgi?id=618162
2010-05-10 01:57:22 +02:00
Javier Jardón
7b2024c1bd
Fix typo in gtkprintoperation
...
Reported by Andika Triwidada in
https://bugzilla.gnome.org/show_bug.cgi?id=618093
2010-05-08 16:36:38 +02:00
Matthias Clasen
41d36aef3c
remove some deprecated parts from the docs
2010-05-08 01:46:02 -04:00
Matthias Clasen
7447ef0fc2
Make 3.0 parallel-installable to 2.x
...
In particular, rename
- libraries to lib*-3.0.so
- pc files to *-3.0.pc
- include paths to /usr/include/gtk-3.0/*
- module paths to /usr/lib/gtk-3.0/*
- rc files names to gtk-3.0/gtkrc
- commandline utilities to *-3.0
- adjust documentation
Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Matthias Clasen
51ddf0e1c9
Better tooltip positioning
...
Avoid the covering up the widget that you are tipping, as
far as possible. Bug 599618.
2010-05-07 23:28:07 -04:00
Richard Hughes
a473b593ff
Remove links to code that no longer exists to fix make dist
2010-05-07 23:14:00 +01:00
Seán de Búrca
8c5dca4c5c
Clear out removed deprecations from POTFILES
2010-05-07 15:23:03 -06:00
Richard Hughes
8c55aee54f
Remove a missing include in one of the tests that broke the build from a fresh checkout
2010-05-07 21:37:35 +01:00
Khaled Hosny
a8f1512b92
Typo
2010-05-07 20:46:01 +03:00
Javier Jardón
46a841cadb
[test] Fix floating test
...
The test was broken by commit e0969a13
2010-05-07 16:42:42 +02:00
Andika Triwidada
f2b40a1ff3
Updated Indonesian translation, 100% as of 20100507
2010-05-07 15:22:19 +07:00
Andika Triwidada
2ace72c1f8
Updated Indonesian translation
2010-05-07 15:19:36 +07:00
Martin Nordholts
ccc53b9a45
Rename configure.in to configure.ac
...
In the autoconf manual the recomended name for the autoconf input file
is configure.ac and not configure.in. Follow this recomendation.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=598768
2010-05-07 10:07:23 +02:00
Javier Jardón
3781b24476
[test] Do not test deprecated GtkText
2010-05-07 09:26:36 +02:00
Javier Jardón
291ead9105
Reintroduce gtk_progress_* api in gtk.symbols
...
This api is deprecated but GtkToolBar still uses it
2010-05-07 09:24:34 +02:00
Javier Jardón
9aabc1b1a7
Remove deprecated functions from GtkProgressBar
2010-05-07 09:10:52 +02:00
Matthias Clasen
2f6b88ff48
Clean up docs, disable testtext for now.
2010-05-07 00:04:57 -04:00
Matthias Clasen
77d4d3cdae
Merge branch 'gtk-2-90'
...
Conflicts:
gtk/gtkentry.h
2010-05-06 22:55:02 -04:00
John (J5) Palmieri
b3e0e25d65
[GtkRadioAction] fix annotation _set_group, _get_group
...
* should be element-type GtkRadioAction not GtkAction
2010-05-06 17:30:03 -04:00
Colin Walters
14fef0abba
[GtkRadioAction] Annotate _set_group
2010-05-06 16:58:36 -04:00
Javier Jardón
713f2b638e
Use event instead key in the previous patch
2010-05-05 04:06:17 +02:00
Javier Jardón
7692a427a6
Added api to reset the im context in GtkTextView and GtkEntry
...
Also, added api to allow an input method to internally handle
key press and release events in the GtkTextView and GtkEntry
cases.
This is simply a wrapper to the gtk_im_context_filter_keypress()
function, but It's added to not access the ->im_context
directly.
Based on a Christian Dywan patch
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=163251
2010-05-05 03:14:28 +02:00
Matthias Clasen
8a4528eb2a
Fix a problem with marks on vertical scales
2010-05-04 20:33:21 -04:00
Javier Jardón
a141c35271
Remove the definition of libpixbufloader_gdip_png_la_*
...
libstatic-pixbufloader-gdip-png.la should not be built or at least not
included in STATIC_GDIPLUS_LIBS as we don't want to use the GDI+-based
loader for PNG, because if we do, we can't get (or was it set?) the
options of a PNG pixbuf that for instance some code in GIMP wants to do.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=607839
2010-05-04 16:07:51 +02:00
Danielle Madeley
227d59c190
Expose visible() and modify() as vcalls in class
...
This makes it possible to create filter subclasses by implementing the vcalls.
You can optionally chain up to the parent class' implementation, to make it
possible to have "your filter + additional custom filtering".
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604150
2010-05-04 03:42:22 +02:00
Javier Jardón
64812ce662
Added an extra validation in gdk_pixbuf_loader_set_size()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=380196
2010-05-04 00:39:46 +02:00
Wouter Bolsterlee
4fb6b9d579
Dutch translation updated by Wouter Bolsterlee
2010-05-03 23:35:18 +02:00
Javier Jardón
c1d36af3e8
Do not use C99 constant INFINITY
...
Use G_MAXDOUBLE instead
2010-05-03 22:47:21 +02:00
Benjamin Otte
ba3e997dae
Make toolbutton not call functions on non-GtkMisc
2010-05-03 20:20:44 +02:00
John (J5) Palmieri
33194ff5f4
add a get_indices_with_depth method to GtkTreePath with proper GI array annotations
...
* get_indices does not return a length so we can not annotate it to return an
array in bindings that use GObject Introspection
* this method is the same as get_indices except it takes an int * as the depth
parameter which we can then use in the array annotation
* in C this function returns an integer pointer array and updates depth to the
number of integers in the array
* in a GI binding this returns the native array type for the bound language
(e.g. in PyGI this returns a list of integers)
2010-05-03 12:47:38 -04:00
Tor Lillqvist
5098f34234
Update the Makefile for scribble-xinput
...
Don't use GTK_DISABLE_DEPRECATED as scribble-xinput does use
deprecated API. Also, make the CC command line more canonical.
2010-05-03 13:49:16 +03:00
Matthias Clasen
0eaa177210
Updates
2010-05-02 23:00:55 -04:00
Javier Jardón
bcfc53066a
tests: Too many arguments in call to 'create_menu'
2010-05-03 02:59:35 +02:00
Javier Jardón
0de8601327
Use accessor functions to access GtkLabel variables
2010-05-03 01:51:23 +02:00
Javier Jardón
901105766e
Do not use deprecated GtkNoteBook api in testgtk
2010-05-03 01:51:23 +02:00
Javier Jardón
7065c566a3
Remove deprecated GtkProgress functionality from testgtk
2010-05-03 01:51:23 +02:00
Javier Jardón
0e79972d24
Remove GtkTreeItem completely
2010-05-03 01:51:23 +02:00
Javier Jardón
d7786d4a9e
Remove GtkTree completely
2010-05-03 01:51:23 +02:00
Javier Jardón
0669d8d6e9
Remove GtkText completely
2010-05-03 01:51:23 +02:00
Javier Jardón
c77c69502c
Restore non-deprecated GtkToolbar functions in gtk.symbols
...
The functions gtk_toolbar_set_icon_size() and
gtk_toolbar_unset_icon_size() are not deprecated
2010-05-03 01:51:23 +02:00
Javier Jardón
9a4e3371e2
Remove GtkTooltips completely
2010-05-03 01:51:23 +02:00
Javier Jardón
3d6b45f7d2
Remove GtkOptionMenu completely
2010-05-03 01:51:23 +02:00
Javier Jardón
6f3d152bee
Remove all gtk_marshal_* functions from the gtk.symbols
2010-05-03 01:51:23 +02:00
Javier Jardón
2c2726f818
Port testtreeview to new API
...
Use GtkComboBox instead the deprecated GtkOptionMenu
https://bugzilla.gnome.org/show_bug.cgi?id=616679
2010-05-03 01:51:23 +02:00
Javier Jardón
623966b6da
Remove all gtk_draw_* deprecated functions completely
2010-05-03 01:51:23 +02:00
Javier Jardón
eb3efdf242
Remove gtk_color_selection_set_update_policy() completely
2010-05-03 01:51:23 +02:00
Christian Dywan
765882ce9a
Declare random item correctly in stresstest-toolbar
2010-05-03 01:51:23 +02:00
Christian Dywan
b4188f876f
Use GtkComboBox, GtkOrientable and no GtkObject in testtoolbar
2010-05-03 01:51:23 +02:00
Christian Dywan
7ccd787f04
Don't set child-min-width/ height in the button box test
...
This is not a property. The feature was removed.
2010-05-03 01:51:23 +02:00
Christian Dywan
786b5774e3
Revert accidental removal of book pixmap strings
2010-05-03 01:51:23 +02:00
Christian Dywan
09c84a006f
Remove unused dump_accels() function from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
0c0976be1d
Remove GtkTipsQuery demo from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
1dabde28ac
Don't use gtk_widget_set_uposition/size in testgtk
...
Use gtk_window_move and gtk_widget_set_size_request instead.
2010-05-03 01:51:22 +02:00
Christian Dywan
646b417c20
Remove unused text helper functions from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
6536ad7299
Use new 2.14 GtkColorSelection API in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
eaf3ccfba0
Replace GtkFileSelection with GtkFileChooser in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
c30e1865d8
Use GtkComboBoxEntry for the display list in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
36c3426efb
Use GtkComboBoxEntry in entry test in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
81c8fcb72b
Declare book_open/closed_xpm in testgtk notebook
2010-05-03 01:51:22 +02:00
Christian Dywan
a927f1f17d
Remove item factory test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
298f1ea9f6
Use "activate" rather than "clicked" for menu items
2010-05-03 01:51:22 +02:00
Christian Dywan
187e49992d
Use GtkComboBox instead of GtkCombo in testsocket
2010-05-03 01:51:22 +02:00
Christian Dywan
464eeda24c
Don't use GtkItemFactory in testsocket
2010-05-03 01:51:22 +02:00
Christian Dywan
44af4852ee
Replace GtkText in testselection with GtkTextView
2010-05-03 01:51:22 +02:00
Christian Dywan
e0602fd6a8
Remove obsolete GtkText test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
2f70bb98cb
Remove obsolete GtkTree test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
1eefd43961
Use an array and new toolbar API in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
b8727e11fd
Replace option menu with combo box in testoffscreen
2010-05-03 01:51:22 +02:00
Christian Dywan
274395063a
Replace option menus in testgtk with combo boxes
2010-05-03 01:51:22 +02:00
Christian Dywan
63131903ad
Use new progress bar API in testgtk progress test
2010-05-03 01:51:22 +02:00
Christian Dywan
3b721ea9c9
Use a tree view in testgtk selection target test
2010-05-03 01:51:21 +02:00
Javier Jardón
9fa9d792a8
Remove GTK_WIDGET_* macros
2010-05-03 01:51:21 +02:00
Javier Jardón
ffd80c80c9
Remove gtk_fixed_get_has_window() and gtk_fixed_set_has_window()
2010-05-03 01:51:21 +02:00
Javier Jardón
55e3fa8d34
Remove GtkCtree documentation
2010-05-03 01:51:21 +02:00
Javier Jardón
32697682cc
Remove GtkOldEditable completely
2010-05-03 01:51:21 +02:00
Javier Jardón
e850958c56
Remove GtkOptionMenu tests
2010-05-03 01:51:21 +02:00
Javier Jardón
6927a24df4
Restore gtk_paned_get_handle_window()
2010-05-03 01:51:21 +02:00
Javier Jardón
244ed9aec7
Restore gtk_entry_get_icon_window() again
2010-05-03 01:51:21 +02:00
Christian Dywan
4019007ceb
Remove GtkSideType, GtkMatchType, GtkPreviewType and GtkSignalRunType
2010-05-03 01:51:21 +02:00
Christian Dywan
c742482d48
Remove GtkType legacy API and type definitions
2010-05-03 01:51:21 +02:00
Christian Dywan
e8f1a3ccf0
Remove deprecated GtkTooltips
2010-05-03 01:51:21 +02:00
Christian Dywan
e0969a1327
Remove GtkObject floating, weak, arg and user data handling
2010-05-03 01:51:21 +02:00
Christian Dywan
729d4c3624
Look for accessible file chooser dialogue instead of file selection
2010-05-03 01:51:21 +02:00
Christian Dywan
6179e0e8a7
Remove obsolete GtkOptionMenu test case from Gail tests
2010-05-03 01:51:21 +02:00
Christian Dywan
6216ce2dfd
Remove uses of GtkCombo and gtk_widget_set_uposition in Gail
2010-05-03 01:51:21 +02:00
Javier Jardón
e84a330f5a
Cleaning gtk-symbols file
...
Remove some already removed symbols
2010-05-03 01:51:21 +02:00
Javier Jardón
8424256a39
[gdk] Remove gdki18n.h completely
2010-05-03 01:51:21 +02:00
Javier Jardón
b7bc5331fa
[gdk/directfb] Remove deprecated gdkdirectfb stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
d3fc78bfb6
[gtk/gtktoolitem] Remove deprecated GtkToolItem stuff
...
This completes 221dcb6955cb89d1f89e71f442fc4c42fb76fcf3
2010-05-03 01:51:20 +02:00
Javier Jardón
04a548a463
Removed a call to a recently removed test function
...
The function was a test of the deprecated GtkList
2010-05-03 01:51:20 +02:00
Javier Jardón
697eeee7c2
Don't use direct accessors to GtkAccelLabel in gail module
2010-05-03 01:51:20 +02:00
Javier Jardón
f39f644fb2
Move GtkAccelGroup private structure to shared header file
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602174
2010-05-03 01:51:20 +02:00
Javier Jardón
341d8605b6
[gdk] Remove deprecated GdkRGB stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
81d1e2ca76
[gdk] Remove deprecated GdkVisual stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
ce340e3b62
[gdk] Remove deprecated gdktypes stuff.
2010-05-03 01:51:20 +02:00
Javier Jardón
4a70b282de
[gdk] Remove deprecated GdkSelection stuff.
2010-05-03 01:51:20 +02:00
Javier Jardón
6281645cbb
Remove deprecated GtkMenu stuff.
...
Also, substitute the deprecated functions with the new ones in
documentation.
2010-05-03 01:51:20 +02:00
Javier Jardón
74e6844488
Remove GtkCurve completely
2010-05-03 01:51:20 +02:00
Javier Jardón
d97ca04f5b
Remove GtkGammaCurve completely
2010-05-03 01:51:20 +02:00
Javier Jardón
a86b5ad47b
Remove gtk_toggle_button_set_state() documentation
2010-05-03 01:51:20 +02:00
Javier Jardón
caca8a9696
Remove gtk_toggle_button_set_state() from GtkToggleButton
2010-05-03 01:51:20 +02:00
Javier Jardón
4325501301
Substitute deprecated function
...
Use gtk_editable_set_editable() instead gtk_entry_set_editable()
2010-05-03 01:51:20 +02:00
Javier Jardón
e45d8f557a
Remove unused variable
...
'default_spacing' is not used anymore
2010-05-03 01:51:20 +02:00
Javier Jardón
73b066814b
Remove unused function
...
gtk_container_foreach_unmarshal() is not used anymore.
2010-05-03 01:51:19 +02:00
Javier Jardón
00d3d8516b
Fix compilation warning: cast to GTK_WIDGET
2010-05-03 01:51:19 +02:00
Javier Jardón
6389f13ea5
Fix compilation error
...
Substitute gtk_menu_bar_append() deprecated function by
gtk_menu_shell_append() and cast to correct type
2010-05-03 01:51:19 +02:00
Javier Jardón
a27da3239e
Use gtk_label_get_text() instead direct access
2010-05-03 01:51:19 +02:00
Javier Jardón
2c774ffdcd
Substitute deprecated stuff from GtkContainer in documentation
2010-05-03 01:51:19 +02:00
Javier Jardón
8d9e37f407
Remove all deprecated stuff from GtkContainer
2010-05-03 01:51:19 +02:00
Christian Dywan
72323e6d9a
Do not use lock_count of GtkAccelGroup directly in GtkWidget
2010-05-03 01:51:19 +02:00
Christian Dywan
4045b71824
Remove old GtkToolbar compatibility API
2010-05-03 01:51:19 +02:00
Christian Dywan
2d84d88539
Remove internal GtkNotebook tab homogeneousnes and border helpers
2010-05-03 01:51:19 +02:00
Christian Dywan
8d3814f044
Do not use lock_count of GtkAccelGroup directly in GtkMenu
2010-05-03 01:51:19 +02:00
Christian Dywan
059c22c3b2
Add and use internal accessor for accelerables in GtkAccelGroup
2010-05-03 01:51:19 +02:00
Christian Dywan
a13d2c200b
Remove obsolete helper function gtk_rc_add_rc_sets
2010-05-03 01:51:18 +02:00
Cody Russell
5959005fad
Use gtk_accel_grouop_get_is_locked() rather than trying to access group->lock_count.
2010-05-03 01:51:18 +02:00
Cody Russell
0779d0a37e
Move GSEAL'd members of GtkAccelLabel into private struct.
2010-05-03 01:51:18 +02:00
Cody Russell
3c8c4004b6
Move GSEAL'd members of GtkAccelGroup into private struct
2010-05-03 01:51:18 +02:00
Cody Russell
bcb663096d
Remove unnecessary casting
2010-05-03 01:51:18 +02:00
Cody Russell
ba128ceab2
Fix GtkAboutDialog to stop using GSEAL'd members of GtkDialog
2010-05-03 01:51:18 +02:00
Cody Russell
03849dd358
Unseal GtkAboutDialog's private_data member, convert from gpointer to GtkAboutDialogPrivate
2010-05-03 01:51:18 +02:00
Javier Jardón
fb88f34e06
Remove remaining deprecated GtkInputDialog stuff
2010-05-03 01:51:18 +02:00
Javier Jardón
8d38057de5
Remove deprecated GtkEntry stuff from docs and tutorial.
...
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Javier Jardón
20342702f4
Remove gtkmain stuff from docs and tutorial.
...
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Michael Natterer
f7813125bb
Remove all deprecated stuff from gtkmain
2010-05-03 01:51:18 +02:00
Michael Natterer
f25e1b0a47
Remove the deprecated gtkmarshal.* entirely
2010-05-03 01:51:18 +02:00
Michael Natterer
5e29973773
Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDES
...
...and disallow inclusion of individual files unconditionally.
2010-05-03 01:51:18 +02:00
Christian Dywan
90d514a8a5
Remove deprecated GtkEntry functions
2010-05-03 01:51:18 +02:00
Christian Dywan
2fafb74105
Force shooter process updates to match gtk_widget_draw closely
2010-05-03 01:51:17 +02:00
Christian Dywan
d72b1e35c9
Use GtkComboBox in the property editor code
2010-05-03 01:51:17 +02:00
Christian Dywan
46b170ba0e
Don't use GtkInputDialog in testinput
2010-05-03 01:51:17 +02:00
Christian Dywan
5995cdb370
Use gtk_widget_queue_draw_area instead of gtk_widget_draw in shooter
2010-05-03 01:51:17 +02:00
Christian Dywan
b2b6bb17ac
Remove GtkInputDialog completely
2010-05-03 01:51:17 +02:00
Christian Dywan
bab775e087
Deprecate GtkInputDialog
...
Deprecate the widget and adjust the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=594903
2010-05-03 01:51:17 +02:00
Christian Dywan
77ff51b0c0
Remove GailPixmap completely
2010-05-03 01:51:17 +02:00
Christian Dywan
575d3ffa83
Include gtkspinner.h in GtkStyle
2010-05-03 01:51:17 +02:00
Javier Jardón
1e8fa9354a
Remove GtkPixmap completely
2010-05-03 01:51:17 +02:00
Javier Jardón
e031c4f54a
Remove GtkSignal completely
2010-05-03 01:51:17 +02:00
Javier Jardón
d98aeeff45
Ops, enable GtkInputDialog again
2010-05-03 01:51:17 +02:00
Javier Jardón
86eee0258e
Revert a still used variable in GtkHButtonBox
2010-05-03 01:51:17 +02:00
Javier Jardón
c9251c99e7
Remove deprecated code: GtkHButtonBox
2010-05-03 01:51:17 +02:00
Javier Jardón
c3991cf024
Remove remaining GtkVButtonBox deprecated documentation
...
This completes commit d6cbe4caeb97ef92db3feebacce85004928b904b
2010-05-03 01:51:17 +02:00
Javier Jardón
48efe2ca80
Remove remaining GtkWindow deprecated documentation
...
This completes commit d853fb05ea904acb9cc60d740b151c0a2bced0b8
2010-05-03 01:49:50 +02:00
Javier Jardón
e606a4ec2a
Remove remaining GtkWindow deprecated documentation
...
This completes commit 89e3ec8c3d766c333f6e67764ebd7633d61e21cd
2010-05-03 01:49:50 +02:00
Javier Jardón
123830b133
Remove remaining GtkTreeViewColumn deprecated documentation
...
This completes commit a6e692b057569960d2a2368c59c1e40fc31571cc
2010-05-03 01:49:50 +02:00
Javier Jardón
0fa70d014a
Remove remaining GtkGtkCellRenderer deprecated documentation
...
This completes commit 31a0825a5709b81916c5b6ece59400dda083f10a
2010-05-03 01:49:50 +02:00
Javier Jardón
2ec9cb9ca6
Remove remaining GtkAction deprecated documentation
...
This completes commit 35570ed56eb94b7a05f63daed0ca2bf2c320a8bc
2010-05-03 01:49:50 +02:00
Javier Jardón
858d4fb007
Remove remaining GtkButtonBox deprecated stuff
...
This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14
2010-05-03 01:49:40 +02:00
Javier Jardón
3b696774fc
Remove deprecated code: GdkPixbuf
2010-05-03 01:49:25 +02:00
Javier Jardón
740a1007eb
Remove remaining GtkContainer deprecated stuff
...
This completes commit 600216daac6df8deb0cdc042fc27f07a9c5c7c27
2010-05-03 01:49:25 +02:00
Javier Jardón
668e9eaabb
Remove deprecated code: GdkPixbufAnimation
2010-05-03 01:48:45 +02:00
Javier Jardón
fead8cd49a
Remove deprecated code: GtkLabel
2010-05-03 01:48:45 +02:00
Javier Jardón
b5917e7a6f
Remove deprecated code: GtkFileChooserButton
2010-05-03 01:48:45 +02:00
Javier Jardón
bf49830f07
Remove deprecated code: GtkRadioButton
2010-05-03 01:48:45 +02:00
Javier Jardón
9e30bf3d60
Remove deprecated code: GtkPaned
2010-05-03 01:48:45 +02:00
Javier Jardón
3e9fac395a
Remove deprecated code: GtkAccelLabel
2010-05-03 01:48:45 +02:00
Javier Jardón
c9dae4c600
Remove deprecated code: GtkCheckMenuItem
2010-05-03 01:48:45 +02:00
Javier Jardón
51079eb1ba
Remove deprecated GtkAccelGroup documentation references
2010-05-03 01:48:45 +02:00
Javier Jardón
73111cd295
Remove deprecated GtkAccelGroup functions
2010-05-03 01:48:45 +02:00
Javier Jardón
3d3fb6edc6
Remove deprecated code from GdkPango
2010-05-03 01:48:45 +02:00
Javier Jardón
906a510007
Remove deprecated code from GdkImage
2010-05-03 01:48:45 +02:00
Javier Jardón
7894951cee
Remove deprecated code from GdkEvent
2010-05-03 01:48:45 +02:00
Javier Jardón
8c46ef830b
Remove deprecated code from GdkDnd
2010-05-03 01:45:00 +02:00
Javier Jardón
e53a1ad236
Remove deprecated code from GdkCursor
2010-05-03 01:45:00 +02:00
Javier Jardón
134690ed8f
Remove deprecated code from GdkGc
2010-05-03 01:45:00 +02:00
Javier Jardón
b9b8efc528
Remove deprecated code from GdkPixmap
2010-05-03 01:45:00 +02:00
Javier Jardón
92e5d321d6
Remove deprecated code from GdkPixbuf
2010-05-03 01:45:00 +02:00
Javier Jardón
3d4c434659
Remove deprecated GtkHButtonBox functions and macros
2010-05-03 01:45:00 +02:00
Javier Jardón
5ed56120a6
Remove deprecated GtkVButtonBox functions
2010-05-03 01:42:37 +02:00
Javier Jardón
0d322676dc
Remove deprecated GtkWidget functions
2010-05-03 01:41:37 +02:00
Javier Jardón
2b71ef33fb
Remove deprecated GtkWindow function
2010-05-03 01:41:37 +02:00
Javier Jardón
55d5ce88ec
Remove deprecated GtkTreeViewColumn functions
2010-05-03 01:41:37 +02:00
Javier Jardón
0a6557d721
Remove deprecated GtkCellRenderer function
2010-05-03 01:41:37 +02:00
Javier Jardón
c1182debd0
Remove deprecated GtkAction functions
2010-05-03 01:41:37 +02:00
Christian Dywan
ed60f1e5ad
Update gtk.symbols according to removed symbols
2010-05-03 01:41:36 +02:00
Christian Dywan
014b05e6bd
Don't use gtk_socket_steal in the socket test
2010-05-03 01:41:36 +02:00
Christian Dywan
6f5b7bad3a
Don't use old toolbar API in toolbar stress test
2010-05-03 01:41:36 +02:00
Christian Dywan
43ed74c5cd
Remove deprecated GtkCellView function
2010-05-03 01:41:36 +02:00
Christian Dywan
e641742ca0
Omit removed classes from GTK makefile
2010-05-03 01:41:36 +02:00
Christian Dywan
161e1b6916
Don't include deprecated classes in gtk.h
2010-05-03 01:40:42 +02:00
Christian Dywan
97fbd32684
Remove deprecated GtkRecentChooser functions
2010-05-03 01:40:42 +02:00
Christian Dywan
1261b3173d
Remove GtkOptionMenu completely
2010-05-03 01:40:42 +02:00
Christian Dywan
5f3178a87a
Remove GtkTipsQuery completely
2010-05-03 01:40:42 +02:00
Christian Dywan
42eb2aa930
Omit removed classes from Gail makefile
2010-05-03 01:40:42 +02:00
Christian Dywan
c44295f58c
Remove GailOptionMenu completely
2010-05-03 01:40:42 +02:00
Christian Dywan
5e686c5ec3
Remove GailCombo completely
2010-05-03 01:40:41 +02:00
Christian Dywan
754647ddd3
Remove GailList completely
2010-05-03 01:40:41 +02:00
Christian Dywan
6a7a138855
Remove GailCListCell completely
2010-05-03 01:40:41 +02:00
Christian Dywan
c1df0965d9
Remove GailCList completely
2010-05-03 01:40:41 +02:00
Christian Dywan
d7c1242a4f
Don't use deprecated classes in Gail
2010-05-03 01:40:41 +02:00
Christian Dywan
e5c56b7c0f
Remove GtkText completely
2010-05-03 01:40:41 +02:00
Christian Dywan
528e74a481
Remove GtkPreview completely
2010-05-03 01:40:41 +02:00
Christian Dywan
a8ecd09852
Remove GtkListItem completely
2010-05-03 01:40:41 +02:00
Christian Dywan
bb475d5d2e
Remove deprecated GtkStatusIcon functions
2010-05-03 01:40:41 +02:00
Christian Dywan
61a294d820
Remove deprecated GtkSocket functions
2010-05-03 01:40:41 +02:00
Christian Dywan
2da9103e0c
Remove deprecated GtkScaleButton functions
2010-05-03 01:40:41 +02:00
Christian Dywan
032b38ccfd
Remove deprecated GtkRecentManager functions
2010-05-03 01:40:41 +02:00
Christian Dywan
d21bf0c1ec
Remove deprecated GtkFileChooser functions
2010-05-03 01:40:41 +02:00
Christian Dywan
07501cf02e
Remove GtkOldEditable completely
2010-05-03 01:40:41 +02:00
Christian Dywan
49ec071c59
Remove GtkFileSelection completely
2010-05-03 01:40:41 +02:00
Christian Dywan
2d763d3430
Remove GtkList completely
2010-05-03 01:40:41 +02:00
Christian Dywan
dc21c8ef06
Remove deprecated GtkToolItem functions
2010-05-03 01:40:41 +02:00
Christian Dywan
aa21bd702f
Remove deprecated GtkColorSelection functions
2010-05-03 01:40:41 +02:00
Christian Dywan
d974436aec
Remove deprecated GtkFontSelection(Dialog) functions
2010-05-03 01:40:41 +02:00
Christian Dywan
d2468351ca
Remove deprecated GtkSpinButton function (macro)
2010-05-03 01:40:40 +02:00
Christian Dywan
474529e2c0
Remove GtkItemFactory completely
2010-05-03 01:40:40 +02:00
Christian Dywan
ea36fff086
Remove GtkCombo completely
2010-05-03 01:40:40 +02:00
Christian Dywan
b653f66b05
Remove GtkCList completely
2010-05-03 01:40:40 +02:00
Christian Dywan
f210f816ca
Remove GtkCTree completely
2010-05-03 01:40:40 +02:00
Christian Dywan
f3ea5702ab
Remove GtkTreeItem completely
2010-05-03 01:40:40 +02:00
Christian Dywan
b0149a9f3f
Remove GtkTree completely
2010-05-03 01:40:40 +02:00
Christian Dywan
5c3b5ecfce
Remove deprecated/ broken types from the default value test
2010-05-03 01:40:40 +02:00
Christian Dywan
16011da879
Remove some deprecated functions from GtkWidget
2010-05-03 01:40:40 +02:00
Christian Dywan
6513947473
Prefix gtk_selection_clear with an underscore
2010-05-03 01:39:50 +02:00
Christian Dywan
a42886d81d
Remove GtkCList, GtkCTree, GtkFileSelection and GtkPreeview tests
2010-05-03 01:39:50 +02:00
Christian Dywan
8ac9a0e67f
Remove deprecated GtkStyle functions
2010-05-03 01:39:50 +02:00
Christian Dywan
165fd5903f
Remove deprecated GtkToolbar functions
2010-05-03 01:39:50 +02:00
Christian Dywan
7d3dbb9532
Remove deprecated GtkMenuBar functions (macros)
2010-05-03 01:39:50 +02:00
Christian Dywan
956a5c47ed
Remove deprecated GtkRcStyle functions
2010-05-03 01:39:50 +02:00
Christian Dywan
2e1b3abad3
Remove deprecated GtkRadioMenuItem function (macro)
2010-05-03 01:39:50 +02:00
Christian Dywan
11e97600f0
Remove deprecated GtkTreeView functions
2010-05-03 01:39:50 +02:00
Christian Dywan
b7eed8cbff
Remove deprecated GtkMenuToolButton function
2010-05-03 01:39:50 +02:00
Christian Dywan
7e67ec8414
Remove deprecated GtkTreeModel functions (macros)
2010-05-03 01:39:50 +02:00
Christian Dywan
c4b3b13f9d
Remove deprecated GtkNotebook functions
2010-05-03 01:39:50 +02:00
Christian Dywan
025eebb49d
Remove deprecated GtkMenuItem function
2010-05-03 01:39:49 +02:00
Christian Dywan
2f1a59c0f2
Remove deprecated GtkLayout functions
2010-05-03 01:39:49 +02:00
Christian Dywan
7fd68866fe
Remove deprecated GtkImage functions
2010-05-03 01:39:49 +02:00
Christian Dywan
605705fd6b
Remove deprecated gtk_drag_set_default_icon
2010-05-03 01:39:49 +02:00
Christian Dywan
2eb26d68f6
Remove deprecated function from GtkDrawingArea
2010-05-03 01:39:49 +02:00
Christian Dywan
304f36b587
Remove deprecated functions from GtkCalendar
2010-05-03 01:39:49 +02:00
Christian Dywan
0d7d1ae8dc
Remove deprecated functions from GtkBox
2010-05-03 01:39:49 +02:00
Christian Dywan
de29ee15c6
Remove deprecated gtk_binding_entry functions
2010-05-03 01:39:49 +02:00
Christian Dywan
5a33eb8d67
Remove deprecated functions from GtkAboutDialog
2010-05-03 01:39:49 +02:00
Reşat SABIQ
dc00452d34
Updated Crimean Tatar (Crimean Turkish) translation
2010-05-02 14:07:17 -05:00
Reşat SABIQ
0a05a199c4
Updated Crimean Tatar (Crimean Turkish) translation
2010-05-02 14:07:16 -05:00
Benjamin Otte
b08a6750dc
filechooser: Fix a crash when removing files
...
The file removal code was not properly clearing the file=>array index
cache, so later lookups into that cache would return invalid array
indexes.
The easiest way to reproduce it is to create a directory with two files
and deleting both of them.
Reported-by: Javier Jardón <jjardon@gnome.org >
2010-05-02 14:34:43 +02:00
Matthias Clasen
4cf9ac5b4d
Add a frame to the examples
2010-05-01 21:40:44 -04:00
Matthias Clasen
1782151092
Doc fixes
...
Correct some Since tags.
2010-05-01 21:40:43 -04:00
Matthias Clasen
201635a203
Fix doc typos
2010-05-01 21:40:43 -04:00
Matthias Clasen
82647f274c
Integrate GtkExtendedLayout docs
2010-05-01 21:40:43 -04:00
Fran Diéguez
89a645108d
Updated Galician translation
2010-05-02 00:17:01 +02:00
Fran Diéguez
f3b2632731
Updated Galician translation
2010-05-02 00:10:08 +02:00
Kjartan Maraas
c2ef54fa5f
Updated Norwegian bokmål translation
2010-05-01 17:06:26 +02:00
Javier Jardón
1cf85176e4
Add gtk_extended_layout_get_desired_size() to gtk.symbols
2010-05-01 16:04:51 +02:00
Javier Jardón
0d85671bc9
Fix some compilation warnings
2010-05-01 03:52:03 +02:00
Matthias Clasen
db76c77b81
Merge branch 'native-layout-incubator'
...
Conflicts:
configure.in
docs/reference/gtk/tmpl/gtkaction.sgml
docs/reference/gtk/tmpl/gtkbuilder.sgml
gdk/directfb/gdkkeys-directfb.c
gdk/gdk.symbols
gdk/x11/gdkwindow-x11.c
gtk/gtkalignment.c
gtk/gtkbox.c
gtk/gtkbutton.c
gtk/gtkcelleditable.c
gtk/gtkfilechooser.c
gtk/gtkframe.c
gtk/gtkinvisible.c
gtk/gtklabel.c
gtk/gtkscrolledwindow.c
gtk/gtksearchenginetracker.c
gtk/gtktextview.c
gtk/gtktoolbutton.c
gtk/gtktooltip.c
gtk/gtkviewport.c
gtk/gtkwidget.c
gtk/gtkwindow.c
po-properties/ca@valencia.po
po-properties/es.po
po-properties/kn.po
po-properties/mr.po
po/ca.po
po/ca@valencia.po
po/el.po
po/es.po
po/gl.po
po/id.po
po/kn.po
po/lv.po
po/mr.po
po/th.po
2010-04-30 17:56:50 -04:00
Jorge González
6ea712fe09
Updated Spanish translation
2010-04-30 07:56:20 +02:00
Jorge González
e50c6e5837
Updated Spanish translation
2010-04-30 07:56:15 +02:00
Matthias Clasen
fc1450d55d
Set an appropriate title on the folder selection dialog for print-to-file
2010-04-29 17:14:14 -04:00
Matthias Clasen
556531b16f
Get symbolic colors for statusicons from systray
...
Uses the X property _NET_SYSTEM_TRAY_COLORS.
2010-04-29 17:01:25 -04:00
Matthias Clasen
1335275548
Add a way to set symbolic colors per-widget
...
The new function, gtk_widget_modify_symbolic_color() is similar
in spirit to the other gtk_widget_modify_ functions.
2010-04-29 17:01:25 -04:00
Tadej Borovšak
be3a1abc04
Move documentation to inline comments: GtkBuilder
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611742
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-28 18:41:34 +02:00
Tadej Borovšak
d6bc1a99dc
Move documentation to inline comments: GtkButtonBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612349
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-28 18:41:34 +02:00
Tadej Borovšak
ef4e7b2473
Move documentation to inline comments: GtkBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611742
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-28 18:41:33 +02:00
Javier Jardón
fa3bb041eb
Fix <ulink> tag in previous commit
2010-04-28 18:41:33 +02:00
Matthias Clasen
3833ef5c35
Fix the build
2010-04-28 11:17:30 -04:00
Matthias Clasen
b3dd3a89d3
Formatting tweaks
2010-04-28 11:15:15 -04:00
Matthias Clasen
5d5d93e624
Make the docs build
...
Grr
2010-04-28 11:10:34 -04:00
Matthias Clasen
50656c74e3
Some doc and formatting tweaks
2010-04-28 10:04:21 -04:00
Matthias Clasen
6b939d57c7
Support 'symbolic' themed icons
...
Add gtk_icon_info_load_symbolic() to load symbolic icons, and
theme their background/foreground colours to match the
colours used in the theme.
Adds the gtk_icon_info_load_symbolic() function, explicit
support in GtkImage and GtkCellRendererPixbuf, and test cases
for those 2 widgets.
With help from Bastien Nocera <hadess@hadess.net >
https://bugzilla.gnome.org/show_bug.cgi?id=614711
2010-04-28 12:02:05 +01:00
Matthias Clasen
c8dd9895e4
Add some documentation about width-chars and max-width-chars
...
Explain how these properties determine the width of ellipsized
and wrapped labels.
2010-04-28 00:48:15 -04:00
Matthias Clasen
538ec4efbb
Add a GtkExtendedLayout implementation for GtkFrame
2010-04-26 18:07:42 -04:00
Matthias Clasen
cd45dfaa1d
Tiny documentation tweak
2010-04-26 07:34:01 -04:00
Matthias Clasen
a0b61a5a72
Make testellipsize work for rotating non-ellipsized labels
2010-04-25 20:58:36 -04:00
Matthias Clasen
36c3eaea81
Refer to GtkExtendedLayout from the container docs
2010-04-25 17:32:44 -04:00
Matthias Clasen
f285ed1348
Treat h and v boxes the same way
...
...we've got the money!
2010-04-25 17:12:15 -04:00
Matthias Clasen
ff267664b8
Fix a few typos
2010-04-25 16:59:13 -04:00
Matthias Clasen
bcbd7cce13
Don't add padding to a pointer
2010-04-25 16:45:21 -04:00
Matthias Clasen
ff0eb03201
Fix a regression in RTL flipping
...
This was only showing up with pack-end packing in horizontal boxes.
The RTL flipping has to be applied after moving the reference point
to the left edge of the child.
2010-04-25 16:23:01 -04:00
Matthias Clasen
148ea63dba
Formatting and typo fixes
2010-04-23 21:52:55 -04:00
Tristan Van Berkom
909ca43c1a
Renamed testextendedlayout2 --> extendedlayoutexample, also removed testextendedlayout and letting it reside for now in native-layout branch.
2010-04-21 04:11:55 -04:00
Tristan Van Berkom
2a5272647d
Mega commit backing out everything from the native-layout branch that
...
is not ready for integration
This commit makes the native-layout branch into a reasonable
patch applicable to git master, it pulls out GtkCellRenderer
support, ComboBox support, the Plug/Socket api is also not ready
and is pulled out.
2010-04-21 03:42:23 -04:00
Tristan Van Berkom
9306a73dfd
Added documentation, implemented gtk_extended_layout_is_height_for_width() where needed.
2010-04-21 01:32:55 -04:00
Tristan Van Berkom
504ec365a7
Improved legibility of the label parameters test.
2010-04-20 22:02:48 -04:00
Tristan Van Berkom
7db18bb726
Added test reflecting the usage of GtkLabel parameters.
2010-04-20 20:44:24 -04:00
Tristan Van Berkom
a3a245ab56
Updated test for api change.
2010-04-20 20:44:11 -04:00
Tristan Van Berkom
4d06d75dce
Updating test for api change.
2010-04-20 20:43:41 -04:00
Tristan Van Berkom
680d7762ba
Make sure not to base the minimum size on "max-width-chars", only the natural size.
2010-04-20 20:30:10 -04:00
Tristan Van Berkom
630357beb3
Added test to demonstrate width-for-height labels.
2010-04-20 18:58:44 -04:00
Tristan Van Berkom
dfd311497d
Fixed GtkLabel to wrap correctly and report width-for-height correctly when vertical.
2010-04-20 18:54:50 -04:00
Tristan Van Berkom
d5b31c303c
Slightly reduced extended layout cache size, updated authors/copywrite year.
2010-04-20 18:53:54 -04:00
Tristan Van Berkom
17883f3ce6
Fixed GtkLabel to include GtkMisc padding when calculating height-for-width.
2010-04-20 15:23:13 -04:00
Tristan Van Berkom
80428e7745
Restore layout in get_desired_size() after guessing a wrap width
...
This fixes the label layout in cases where gtk_widget_size_request()
is called on a label without a following size_allocate(), for instance
when a button state changes.
2010-04-20 14:16:13 -04:00
Tristan Van Berkom
4ed5e6d526
Various updates to follow new gtk_extended_layout_get_desired_size added argument.
2010-04-20 01:30:56 -04:00
Tristan Van Berkom
b7a05d1832
Fixed missing return from get_desired_width/height in GtkViewport (causing testgtk to have a small width).
2010-04-20 01:27:32 -04:00
Tristan Van Berkom
c927f5e60d
Split up width and height queries so that they make more sense (extended-layout)
2010-04-20 01:26:58 -04:00
Tristan Van Berkom
0330658a7f
Added request_natural argument to get_desired_size()
...
Currently get_desired_size() is more of an emulation of
gtk_widget_size_request() for the minimum size as it bases the
contextual request on the minimum preferred size; this argument
lets you do the request with the natural preferred size as well.
2010-04-20 01:24:51 -04:00
Tristan Van Berkom
3a9ab87489
GtkAlignment now tries to allocate natural size to the child if available and does the height-for-width calculation depending on allocation.
2010-04-20 01:22:31 -04:00
Tristan Van Berkom
0b92348077
Fixed acces of child->requisition; call gtk_widget_get_child_requisition instead.
...
This fixes squished pathbar issue (as access to ->requisition is really
not supported anymore).
2010-04-20 00:33:20 -04:00
Tristan Van Berkom
b0fc43e958
Reduced natural request padding for rotating ellipsizing labels
...
After fixing height requests this works much smoother, although in
some places pango seems to ellipsize a rotated label when given
the width it requested.
2010-04-19 21:50:55 -04:00
Tristan Van Berkom
8ae5e01225
Fixed another caching bug in extended layout
...
Was confusing width/height REQUEST_NEEDED flags, this caused
the volumebutton test to not re-request the height properly
when changing orientations.
2010-04-19 21:37:44 -04:00
Tristan Van Berkom
de4a8f8ddc
Unconditionally return the height for the minimum width when doing get_desired_height()
...
This is the correct support for the opposing orientation for widgets
that support height-for-width, in an interface that was realized as
width-for-height, a height-for-width supporting widget should return
the minimum height for the minimum width when the initial
get_desired_height() is run.
2010-04-19 20:43:19 -04:00
Tristan Van Berkom
ee8db39393
Fixed height-for-width cache
...
Fixed the cache to be cleared when flagged with WIDTH/HEIGHT_REQUEST_NEEDED.
This error was causing some widgets to not be sized correctly (the stock and
icon browser in the demo for instance).
2010-04-19 20:41:23 -04:00
Tristan Van Berkom
119267d7c8
Removing old comments in gtkbin.c
2010-04-19 20:40:04 -04:00
Tristan Van Berkom
3783a0a54f
Fixed computation of sizegroups when no explicit request is set.
...
My previous commit to GtkSizeGroup made sure that when
gtk_widget_set_size_request() is set on a widget, it will be
taken into account when computing the widget's own request,
this commit fixes the case where there is no explicit size
request.
2010-04-19 14:46:28 -04:00
Tristan Van Berkom
e9e3725ee7
Fixed testellipsize
2010-04-19 14:04:20 -04:00
Tristan Van Berkom
a141c66253
Added testextendedlayout2.c to tests.
...
This test is a collection of builder files which demonstrate the
added features of natural sizes and height-for-width geometry; so
far it only contains 3 cases, more to come...
2010-04-19 01:07:20 -04:00
Tristan Van Berkom
0dff033a64
Fixed GtkSpinner to request 12x12 at init time instead of at expose time.
...
This should not change the space taken by the spinner when hidden,
and it should only set the minimum size not the actual size (i.e. code
in place was conditionally setting it if not allocated 12x12, which
doesnt really make sense)... This fixes spinners showing at the correct size
in gtk-demo.
2010-04-18 20:46:30 -04:00
Tristan Van Berkom
4c1fa76520
Fixed _gtk_size_group_bump_requisition() to properly handle values specified by gtk_widget_set_size_request()
2010-04-18 20:45:42 -04:00
Tristan Van Berkom
e997ac37a7
Added GTK_DEBUG_EXTENDED_LAYOUT flag and use that for debuggin in gtkextendedlayout.c
2010-04-18 20:14:13 -04:00
Tristan Van Berkom
6dc5cdb981
Implemented GtkExtendedLayout on GtkWindow.
2010-04-18 20:13:46 -04:00
Tristan Van Berkom
fe257d23dd
Fixed GtkAssistant to not access ->requisition of children directly.
...
This was causing a 0 height action-area because a GtkBox does not
generally update ->requisition with anything useful
(call gtk_widget_get_child_requisition() here instead).
2010-04-18 20:11:43 -04:00
Tristan Van Berkom
3cbd9e9313
Further fixed base outputs of GtkLabel desired geometries.
...
Now (when wrapping), if no "width-chars" was specified for a minimum
width, default to the width guessed by gtk_label_ensure_layout(), small
specified widths will otherwise result in very large height requests.
2010-04-18 18:13:56 -04:00
Tristan Van Berkom
da318411dc
Fixed bug in gtk_extended_get_desired_size().
...
gtk_extended_get_desired_size() was mixing up orientations based
on the preference, considering ditching the preference anyway.
Also slightly enhanced debug prints.
2010-04-18 18:12:30 -04:00
Tristan Van Berkom
35cc52f418
Compute the collective heights for the width of a horizontal box.
...
Introduce an algorithm to allocate children some virtual widths based on
their base widths returned by ->get_desired_width(), then return the
collective desired heights for each or thier virtually allocated width.
This will only work in the horizontal orientation.
2010-04-18 18:09:40 -04:00
Tristan Van Berkom
33039c1452
Fixed extended layout test to compile without the gtk_label_set_fullsize() api.
2010-04-18 17:56:58 -04:00
Tristan Van Berkom
e8a365ce36
Restore functionality where ellipsizing label *minimum* size grows to "max-char-width".
2010-04-17 23:06:24 -04:00
Tristan Van Berkom
64e23c42bd
Fixed GtkLabel reported minimum and natural sizes
...
This commit makes GtkLabel use "max-width-chars" to determine the
desired natural width for wrapping labels as well as all around refactoring
the initially reported values in get_desired_width/height. this also
addresses some issues with rotating ellipsizing text.
2010-04-17 22:54:29 -04:00
Tristan Van Berkom
8b57ad94c0
Now gtk_extended_layout_get_desired_size() returns a minimum for minimum in the minimum requisition and a natural for minimum in the natural.
2010-04-17 22:52:27 -04:00
Tristan Van Berkom
b30445c927
Make GtkWindow use the generic smallest size for the requisition again
2010-04-17 22:51:35 -04:00
Tristan Van Berkom
19ff8cb026
Fixed test to call the extended layout api instead of consulting ->requisition
2010-04-17 22:50:12 -04:00
Tristan Van Berkom
9247bc8d6d
Fixed GtkExtendedLayout interaction with sizegroups plus cleanups
...
Fixed GtkExtendedLayout to interact with sizegroups, "size-requsts"
and caching the values all in the same code segment.
Migrated the cache code to be internal to gtkextendedlayout.c
2010-04-17 01:51:10 -04:00
Tristan Van Berkom
46fe9c3f00
Disabling natural sizes of labels.
...
Since GtkLabel is returning invalid natural sizes for now,
in order to test regressions well with the new width-for-height
api, I've temporarily disabled the natural values.
2010-04-17 01:49:35 -04:00
Tristan Van Berkom
caba7992b8
Refactored GtkSizeGroup for GtkExtendedLayout
...
Removed _gtk_size_group_compute_requisition and
_gtk_size_group_get_child_requisition in favor of
_gtk_size_group_bump_requisition() which does an orientation
contextual computation of the size group and returns the
collective value in one pass.
2010-04-17 01:46:59 -04:00
Tristan Van Berkom
8432f54c51
Added _gtk_size_group_bump_requisition()
...
Added a function to update sizegroups in multiple passes, this
way the width and height can be updated in the sizegroups after
querying the extended layout implementor for these.
Implemented this in GtkExtendedLayout, sizegroups should be working reasonably now.
2010-04-14 18:07:27 -04:00
Tristan Van Berkom
d2c35ec62a
Mega commit to change ->get_desired_size() for ->get_desired_width/height().
...
This commit changes gtk_extended_layout_get_desired_size() for
per dimension variants. Furthermore this commit reverts the actions
done in size-groups for now as it needs a different approach.
The natural width/height parameters added to aux_info have been changed
for a per width cache for heights and a per height cache for widths.
gtk-demo is still working, currently sizegroups are not taken
into account as mentioned above - size groups need to be alerted both
when the widths and heights are updated independantly and then that
information needs to repropagate also to other extended layout implementors.
2010-04-12 22:21:46 -04:00
Tristan Van Berkom
1b2be80f10
Constrain the window to the minimum width for the natural height
...
GtkWindow now requests the minimum width for the natural height
of its child, or the opposite; depending on ->get_height_for_width.
Currently its not done for GTK_WINDOW_POPUP windows as the menushells
aren't working right yet.
2010-04-10 22:48:13 -04:00
Tristan Van Berkom
6b89f05a99
Implemented gtk_extended_layout_is_height_for_width() and added another guess algorithm
...
This patch adds another commented algorythm to find the collective
minimum and natural height for a said width of a horizontally oriented
box (or the opposite). The algorithm works quite well and can be optimized
a bit more - currently its commented because GtkLabel cannot effectively
do width-for-height calculations (doh).
Further, this patch returns an is_height_for_width() preference depending
on the boxes orientation (vertical boxes are width-for-height).
2010-04-10 22:39:11 -04:00
Tristan Van Berkom
639e396147
Fixed gtkbin.c:parent_extended_layout_iface to be static.
2010-04-10 22:38:47 -04:00
Tristan Van Berkom
24950ec144
Added gtk_extended_layout_is_height_for_width()
...
Added an indicator telling whether a widget prefers to be allocated
as height-for-width or width-for-height. Usually this depends on the
orientation of a container or the nature of a content widget like GtkLabel.
This indicator is only used in the seldom case where a parent is allocating
free space to the child and the child can flow in either direction, GtkWindow
and GtkScrolledWindow are users of this api.
2010-04-10 22:32:55 -04:00
Tristan Van Berkom
629bb5a265
Fixed warnings due to missing GTK_WIDGET (cellview) casting.
2010-04-10 22:31:52 -04:00
Tristan Van Berkom
c0e950f17b
Fixed wrapping labels to show up correctly aligned inside their allocations.
2010-04-10 22:30:42 -04:00
Tristan Van Berkom
c67559ad03
Adding tests ported over from the old branch by Matthias.
2010-04-10 22:03:20 -04:00
Tristan Van Berkom
1041a186c7
Added get_height_for_width/get_width_for_height implementation to GtkBox.
...
In order for natural size information to cascade correctly up through
the ancestry GtkBox needs to report height-for-width and width-for-height,
this patch includes an implementation for both in both orientations, one
of them is commented for now as its much too cpu intensive to actually use.
2010-04-09 21:50:33 -04:00
Tristan Van Berkom
35e2dfce08
Fixing height-for-width wrapping of GtkLabel
...
Merged in fixes from the old branch in a patch prepared by Matthias Clasen,
added some fixes of my own to make sure that label wrapping follows allocation
and not requisition at show time (allocate time).
2010-04-09 21:47:25 -04:00
Tristan Van Berkom
73056e92d8
Reimplemented GtkExtendedLayout on GtkBin
...
Instead of implementing ->get_desired_size() on GtkBin, which
cant really be done because border widths are in the domain of
the concrete subclasses; here we implement only the get_height_for_width
and get_width_for_height apis - GtkBin subclasses whom might have a
variable border width depending on allocations need to write their
own height-for-width implementations.
2010-04-09 00:19:42 -04:00
Tristan Van Berkom
b3303727ad
Fixed regression in GtkImage size requests
...
Fixed gtksizegroup.c:do_size_request() to never force an initial requisition
as some widgets expect it to remain unchanged across resizes (GtkImage
with pixbufs/filenames assigned is one of these cases).
2010-04-08 22:05:36 -04:00
Tristan Van Berkom
7304e4227f
Fixed gtk_box_size_allocate() for homogeneous boxes
...
gtk_box_size_allocate() was forgetting to fetch the minimum
size for children when allocating in homogeneous mode and then
accessing the uninitialized allocated values in that case, fixed.
2010-04-08 21:45:07 -04:00
Tristan Van Berkom
ffffa7361c
Implemented GtkExtendedLayout on GtkComboBox.
...
With this commit it is possible to use ellipsizing text
in the combobox's cell renderers and have them desire to
expand to natural size when placed in a GtkBox.
2010-04-08 18:54:47 -04:00
Tristan Van Berkom
531b449580
Deprecated gtk_widget_size_request and gtk_widget_get_child_requisition()
...
Ever since size groups gtk_widget_size_request() can be used in place
of gtk_widget_get_child_requisition(), deprecating both now in favor
of gtk_extended_layout_get_desired_size().
2010-04-08 18:53:23 -04:00
Tristan Van Berkom
99425f15f5
Added assertions
...
Added assersions that gtk_extended_layout_get_height_for_width()
methods return minimum sizes lesser than the natural size.
2010-04-08 18:52:12 -04:00
Tristan Van Berkom
1706608de3
Simplified code in GtkSizeGroup, fixes minimum natural size.
...
collapse get_fast_child_requisition && get_fast_natural_size into
a single get_fast_size() function which uses the possibly hard coded
minimum request as a minimum value for the returned desired size
(this fixes cases where widgets unwarily return height-for-width
with minimum size > natural size).
2010-04-08 18:49:34 -04:00
Tristan Van Berkom
36ef655061
Added gtk_cell_view_get_size_of_row() to gtk.symbols
2010-04-08 18:48:42 -04:00
Tristan Van Berkom
143660eff6
GtkCellView refactoring for extended layout
...
Added gtk_cell_view_get_desired_size_of_row() to report full
extended layout information for a said row, this obsoletes
gtk_cell_view_get_size_of_row(). Also make GtkCellView queue
a resize on itself when cell renderers are added/removed.
2010-04-08 18:46:19 -04:00
Tristan Van Berkom
b10f2fc001
Some extended layout fixes for GtkCellView
...
Fixed GtkCellView to use the new GtkExtendedCell interface to get
natural size from cells and factored out the old size_request() method.
2010-04-07 01:27:15 -04:00
Tristan Van Berkom
51ffd59884
Implement GtkExtendedLayout on GtkButton
...
GtkButton as a content type of widget needs to forward natural size information
to parent containers in order to be resized naturally.
2010-04-06 20:48:41 -04:00
Tristan Van Berkom
85a55b2921
Implement GtkExtendedLayout on Alignment
...
GtkAlignment is already using the height for width api to align
the child in the cases where space is available, but also needed
to implement the extended layout in order to reflect natural sizes
to parent widgets.
2010-04-06 20:47:15 -04:00
Tristan Van Berkom
388ad4090c
Implemented GtkExtendedLayout on GtkViewport
2010-04-06 17:15:50 -04:00
Tristan Van Berkom
a17e12c87d
Implement GtkExtendedCell on GtkCellRendererText
2010-04-06 03:05:52 -04:00
Tristan Van Berkom
59dafa77dc
Use new gtk_tree_view_column_get_desired_size()
2010-04-06 03:05:20 -04:00
Tristan Van Berkom
3128bd0937
Added gtk_tree_view_column_get_desired_size() as its a corner case
...
that does not fall under the two categories.
2010-04-06 03:03:55 -04:00
Tristan Van Berkom
bb86e61171
Added GtkExtendedCell interface (last commit)
2010-04-06 03:03:03 -04:00
Tristan Van Berkom
7beb83cea4
Add new GtkExtendedCell interface
...
Added a new interface to extend layout information of GtkCellRenderers,
GtkCellRenderer is a prerequisite of GtkExtendedCellIface and provides
a base implementation of ->get_desired_size() with ->get_size().
Note that the api for GtkExtendedCell differs from GtkExtendedLayout
since the cells need to be passed an additional widget to calculate
sizes contextual to the widget/screen (fonts etc).
2010-04-06 02:59:21 -04:00
Tristan Van Berkom
8263633478
Remove gtk_widget_get_desired_size()
2010-04-06 02:56:20 -04:00
Tristan Van Berkom
68c38e0ffd
Fixed classes to call gtk_extended_layout_get_desired_size_again()
...
The previous patch removes the ambiguous gtk_widget_get_desired_size().
2010-04-06 02:55:07 -04:00
Tristan Van Berkom
ef32192329
Call the ->get_desired_size() method directly on the vtable
...
This commit is a mistake, it should have been included with the last
commit.
2010-04-06 02:53:51 -04:00
Tristan Van Berkom
92309019e5
Make GtkWidget a prerequisite of extended layout
...
As it is not allowed to called gtk_extended_layout_get_desired_size()
on a GtkWidget directly; gtk_widget_get_desired_size() was really an
ambiguous api. This patch removes the added GtkWidget api, calls
the appropriate sizegroup code which in turn envokes the interface
vtable, this patch also accordingly makes GtkWidget a prerequisite
of GtkExtendedLayout (the api doesnt work for cell renderers anyway,
patch comming...).
2010-04-06 02:47:20 -04:00
Tristan Van Berkom
52eabce3c4
Revert "Implement extended layout for GtkBin"
...
This reverts commit 5e8045b14d .
Conflicts:
gtk/gtkbin.c
2010-04-05 18:10:41 -04:00
Tristan Van Berkom
24ed2f8aa1
Fixed 2 bugs in gtk_box_size_allocate()
...
This commit fixes the loop to take into consideration the
child->padding that will be allocated to the child while calculating
full available size. Additionally it fixes the initial positioning
of child widgets when packed at the end (a special case because the
x position used starts from the end of the box).
2010-04-05 18:01:56 -04:00
Tristan Van Berkom
eb537a6773
Fixed do_size_request() to start with a 0 base requisition instead of -1
2010-04-05 17:57:06 -04:00
Tristan Van Berkom
4b1315cedc
Changed initial values for requisition from -1 to 0.
...
When doing size-requests and get_natural_size() calls, use 0 as
the base value instead of -1, because size_request code assumes
that widget->requesition is initialized at 0.
2010-04-04 16:38:36 -04:00
Tristan Van Berkom
75b8f7d3ae
Fixed GtkBox to not call get_desired_size() on a child when no child is present.
2010-04-04 16:37:06 -04:00
Tristan Van Berkom
1212f263c3
Making function private in gtktreeviewcolumn to pass the abi test.
2010-04-03 21:37:42 -04:00
Tristan Van Berkom
ae2c0b02c3
Refixed merge conflicts for GTK_WIDGET_MAPPED/GTK_WIDGET_VISIBLE
2010-04-03 21:35:18 -04:00
Tristan Van Berkom
5d83f5eba5
Fixed internal native layout algorythm wrt size-request singals/implementations.
...
Because "size-request" signal can be handled by signal connections as well
as by third party derived classes it is necessary to always fire the
"size-request" signal for every recalculation of the widget requisition,
now gtksizegroup.c:do_size_request() fires the signal first and allows it
to overflow the minimum/natural sizes returned by extended layout
implementations.
GtkWidget->get_natural_size() is now left assigning default -1 values to
ensure they both get overridden by the size-request handling.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
a33053db74
Fixed extended layout implementors to not call ->get_desired_size() directly
...
Getting the desired size of a GtkWidget must always be done with
gtk_widget_get_desired_size() and never with
gtk_extended_layout_get_desired_size() directly as the former passes
through size group logic and updates the widget->requisition cache.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
8413f22d90
Removed casing of GTK_IS_EXTENDED_LAYOUT() from GtkViewport.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
61fab15139
Fixed invalid pointer access in gtk_tree_view_column_get_desired_size()
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
22de1a7c65
Partially fixed GtkTreeview for extended layout
...
Removed the size_request() handling on the class and calculate
minimum size from get_desired_size(); base the natural width on
either the minimum of column headers, or a greater natural request
of the columns renderers.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
a18af0b980
Applied Jan Arne Petersen's patch for GtkScrolledWindow
...
Applied patch to add height-for-width/width-for-height suppot
to GtkScrolledWindow plus modifications to use gtk_widget_get_desired_size()
to query children sized instead of directly calling the layout api, plus
removed the ->size_request() implementation interfering with the mess.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
894e887370
Fixed GtkCellRendererText invalid pointer access.
...
Fixed get_desired_size() to not access parameters when NULL and
also not to access priv->object if it hasnt yet been assigned.
2010-04-03 20:59:27 -04:00
Jan Arne Petersen
0fbdb3c73f
Take extended layout into account in viewport
...
Make sure the right height is used in GtkViewPort.
2010-04-03 20:59:27 -04:00
Matthias Clasen
c4dec47536
Don't use gio-unix on win32
...
We only need gio-unix when building the x11 backend.
Reported by Yevgen Muntyan in bug 614540.
2010-04-03 20:59:27 -04:00
Inaki Larranaga Murgoitio
f48299c86e
Updated Basque language
2010-04-03 20:59:27 -04:00
Inaki Larranaga Murgoitio
67eccabfca
Updated Basque language
2010-04-03 20:59:27 -04:00
Inaki Larranaga Murgoitio
923e37e908
Updated Basque language
2010-04-03 20:59:27 -04:00
Kenneth Nielsen
829cfe21e1
Updated Danish translation
2010-04-03 20:59:26 -04:00
Runa Bhattacharjee
65a322c94d
Updated Bengali India Translation
2010-04-03 20:59:26 -04:00
Runa Bhattacharjee
93df7c133e
Updated Bengali India Translation
2010-04-03 20:59:26 -04:00
Jordi Serratosa
299cd7fec1
Fixes to Catalan translation
2010-04-03 20:59:26 -04:00
Tristan Van Berkom
523283bb36
Fixed possible devision by zero in size negotiations
...
Fixed GtkToolItemGroup to avoid deviding by zero when all children
are invisible or there are no children. bgo #613974 .
2010-04-03 20:59:26 -04:00
Tristan Van Berkom
9fe9898045
Added missing default events in realize() implementations
...
Added gtk_widget_get_events() to the event masks declared by
GtkToolPalette & GtkToolItemGroup.
2010-04-03 20:59:26 -04:00
Tristan Van Berkom
96793999df
Added missing break statement to mutator: gtk_tool_item_group_set_property()
2010-04-03 20:59:26 -04:00
Benjamin Otte
80efec2a8c
Fix error case in filesystem model
...
We should not unref the model here, it might not even exist anymore.
Instead check if it exists and only use it if it does.
The unref was leftover from a previous fix in
ba9f53397f .
Spotted by Matthias Clasen in
https://bugzilla.gnome.org/show_bug.cgi?id=614099
2010-04-03 20:59:25 -04:00
David Planella
9441d96620
Updated Catalan translation with a couple of fixes
2010-04-03 20:59:25 -04:00
David Planella
0df8e5e3f0
Updated Catalan translation
2010-04-03 20:59:25 -04:00
Jamil Ahmed
a4a0019586
Updated Bengali translation
2010-04-03 20:59:25 -04:00
Christian Dywan
69b241c66d
Fix a misspelling in gtk_cell_view_new_with_markup
...
This fixes bug 613887.
2010-04-03 20:59:25 -04:00
Ask H. Larsen
e8f9085426
Updated Danish translation
2010-04-03 20:59:25 -04:00
Maxim V. Dziumanenko
5559cbeb70
Updated Ukrainian translation
2010-04-03 20:59:25 -04:00
Maxim V. Dziumanenko
8e0088dcea
Updated Ukrainian translation
2010-04-03 20:59:24 -04:00
Jamil Ahmed
839a347db1
Updated Bengali translation
2010-04-03 20:59:24 -04:00
Jamil Ahmed
b19d76a156
Updated Bengali translation
2010-04-03 20:59:24 -04:00
Hiroyuki Ikezoe
d995132ca5
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_map_virtual_modifiers.
2010-04-03 20:59:24 -04:00
Hiroyuki Ikezoe
61a73b3df6
Use g_value_take_string to avoid redundant invoking g_free.
2010-04-03 20:59:24 -04:00
Javier Jardón
7ef003f7d4
Fix compilation warning: Use GtkWidget instead GtkMenuItem
2010-04-03 20:59:23 -04:00
Matthias Clasen
aaf541903b
Fix a 64bit issue
...
Thank you libpng, for typedef unsigned long png_uint_32.
2010-04-03 20:59:23 -04:00
Matthias Clasen
6af58c6208
Add notes about gobject-introspection
2010-04-03 20:59:23 -04:00
Matthias Clasen
3be389fe96
Bump version to 2.20.1
2010-04-03 20:59:23 -04:00
Matthias Clasen
5a5a24d4dc
2.20.0
2010-04-03 20:59:23 -04:00
Miloš Popović
39779813ab
Updated Serbian translations
2010-04-03 20:59:20 -04:00
Matthias Clasen
f743b2460a
Bump required version of glib in INSTALL.in, too
2010-04-03 20:59:20 -04:00
Matthias Clasen
cbfdfb8450
Set version to 2.20.0
2010-04-03 20:59:20 -04:00
Matthias Clasen
381d892079
Another small doc cleanup
2010-04-03 20:59:20 -04:00
Matthias Clasen
7431550129
Minor doc cleanup
2010-04-03 20:59:20 -04:00
Matthias Clasen
a22afdb642
Updates
2010-04-03 20:59:20 -04:00
Wouter Bolsterlee
15bc2b787b
Dutch translation updated by Tino Meinen
2010-04-03 20:59:20 -04:00
Sjoerd Simons
177973bdfc
Prevent the destruction of the menu label on page removal
...
In certain cases the menu label of a notebook page will be reused after the
page was removed from the notebook, for instance when a page is dragged from
one notebook to another. For such cases make sure that the menu label isn't
destroyed as part of destroying the menu item it was in.
2010-04-03 20:59:19 -04:00
Matthias Clasen
b1ca3163a6
Add a dependency for Gtk-2.0.gir on Gdk-2.0.gir
...
Another parallel build fix, see bug 610946.
2010-04-03 20:59:19 -04:00
Damien Lespiau
2055066d92
introspection: Fix parallel builds
...
One needs to add an explicit dependency between the gir files and the
.la libtool wrapper as this dependency is not added automatically by
Makefile.introspection. Not adding these breaks parallel builds as make
does not wait for the .la to be generated before launching g-ir-scanner.
2010-04-03 20:59:19 -04:00
Inaki Larranaga Murgoitio
449bc50b24
Updated Basque language
2010-04-03 20:59:19 -04:00
Clytie
69e86f56be
Updated Vietnamese translation
2010-04-03 20:59:19 -04:00
Clytie
472ffe7539
Updated Vietnamese translation
2010-04-03 20:59:19 -04:00
Inaki Larranaga Murgoitio
0b0b960122
Updated Basque language
2010-04-03 20:59:19 -04:00
Sweta Kothari
99b6a3df76
Updated Gujarati translations
2010-04-03 20:59:18 -04:00
Sweta Kothari
cf87932bba
Updated Gujarati Translations
2010-04-03 20:59:18 -04:00
Daniel Nylander
984a16df2a
Updated Swedish translation
2010-04-03 20:59:18 -04:00
Daniel Nylander
deb012bd34
Updated Swedish translation
2010-04-03 20:59:18 -04:00
Daniel Nylander
5f7e8547f9
Updated Swedish translation
2010-04-03 20:59:18 -04:00
Tommi Vainikainen
ad87a23ffe
Updated Finnish translation
2010-04-03 20:59:18 -04:00
Chao-Hsiung Liao
637df00c87
Updated Traditional Chinese translation(Hong Kong and Taiwan)
2010-04-03 20:59:17 -04:00
Matthias Clasen
fe34ee4ff3
Avoid spurious notifications from GtkEntry
...
Using gtk_entry_set_buffer() in dispose() causes problematic
notifications, so just get rid of the buffer manually. See bug 613241.
2010-04-03 20:59:17 -04:00
Tomas Bzatek
95dbbe2bda
search: update for tracker 0.8 API
...
Tracker 0.8 series (and late 0.7.xx) introduces new API based on SPARQL
query language. The queries here use fulltext search, just like with
with previous tracker versions. Old tracker 0.6 support is still maintained.
2010-04-03 20:59:17 -04:00
Fabrício Godoy
e64cc4edeb
Updated Brazilian Portuguese Translation
2010-04-03 20:59:17 -04:00
A S Alam
151c6c2a78
Completed Punjabi Translation by A S Alam
2010-04-03 20:59:17 -04:00
Dumitru Mișu Moldovan
036fa03550
Updated Romanian translation
2010-04-03 20:59:16 -04:00
Mattias Põldaru
291e8bd913
Estonian translation updated
2010-04-03 20:59:16 -04:00
Matthias Clasen
643c7c2060
Make menu scrolling work with auto mnemonics
...
The menu scrolling code is not robust against menu repositioning so
we have avoid causing unnecessary recalculations of labels in parent
menuitems.
2010-04-03 20:59:16 -04:00
Hiroyuki Ikezoe
837b998810
Fix a tiny documentation typo
2010-04-03 20:59:16 -04:00
Marek Kasik
bc57726d91
Define httpGetHostname() for CUPS 1.1 and lower
...
Function httpGetHostname() is in CUPS since version 1.2, that is why we need
its equivalent for lower versions of CUPS (#610176 ).
2010-04-03 20:59:16 -04:00
Javier Jardón
add084329c
More uses of g_strcmp0
2010-04-03 20:59:16 -04:00
Rafal Luzynski
7a6e782184
Use g_strcmp0 where it makes sense
2010-04-03 20:59:16 -04:00
Hiroyuki Ikezoe
5f30ba46ea
Don't get settings unless we need them
...
Pointed out in bug 613028.
2010-04-03 20:59:15 -04:00
Matthias Clasen
1f3a57691f
Don't crash in DND when the X server doesn't support SHAPE
...
Reported in bug 612768
2010-04-03 20:59:15 -04:00
Matthias Clasen
4b7b8e513f
Require a new-enough glib
2010-04-03 20:59:15 -04:00
Jan Arne Petersen
ed9cff6fbb
Fix notify::label emmision in GtkMenuItem
...
Emit notify::label in GtkMenuItem also when label is changed through GtkAction.
Refactor GtkMenuItem and remove duplicated code for GtkLabel creation. Reset
the accel-widget back to the GtkMenuItem itself when there is no action related
to the GtkMenuItem anymore.
Add test for notify::label emmisions.
Fixes bug 612574 - GtkMenuItem does not emit notify::label when label is
changed through GtkAction.
2010-04-03 20:59:15 -04:00
Tristan Van Berkom
c8ee1927a5
Refixed patch for bug 612505.
...
New patch makes sure to update the display even when
the GtkEntry's buffer is set to NULL, it also breaks the
reference to the buffer in ->dispose() instead of ->finalize().
2010-04-03 20:59:15 -04:00
Matthias Clasen
56c488e690
Improve the behaviour of automatic mnemonics
...
With this change, key events continue to go to an open menu even
when the pointer is moved over a non-selectable menuitem. The mnemonics
are shown and hidden accordingly.
2010-04-03 20:59:15 -04:00
Matthias Clasen
5b20892a3d
Update release notes
...
Add a warning about the change in GtkBuilders id/name handling.
2010-04-03 20:59:15 -04:00
Colin Walters
a0508bc64c
[startup notification] Set APPLICATION_ID
...
http://lists.freedesktop.org/archives/xdg/2010-February/011321.html
In addition to ICON, BINARY_NAME etc., it's very helpful if launcher
programs include the name of the .desktop file they're launching.
This is APPLICATION_ID.
https://bugzilla.gnome.org/show_bug.cgi?id=611118
2010-04-03 20:59:14 -04:00
Fran Diéguez
d240b649e7
Update Galician translation
2010-04-03 20:59:14 -04:00
Luca Ferretti
0f90c49440
Updated Italian translation
2010-04-03 20:59:14 -04:00
Matthias Clasen
de1b75aabb
Fix tests
2010-04-03 20:59:14 -04:00
Luca Ferretti
908915c9da
Updated Italian translation
2010-04-03 20:59:14 -04:00
Matthias Clasen
9408915114
Recompute label contents when the buffer changes
...
Also reset cursor positions to avoid assertions.
This fixes bug 612505, patch by Tristan Van Berkom.
2010-04-03 20:59:14 -04:00
Matthias Clasen
df95db7649
Fix gdk_window_set_icon_name
...
A typo kept this from working on toplevel windows.
Reported in bug 612346.
2010-04-03 20:59:14 -04:00
Matthias Clasen
b04186d272
updates
2010-04-03 20:59:13 -04:00
Christian Dywan
f909f3866f
Remove most G_OBJECT casts in the tutorial
...
This fixes bug 605333.
2010-04-03 20:59:13 -04:00
Christian Dywan
1b61e9dc2b
Reword explanation of delete-event and destroy
2010-04-03 20:59:13 -04:00
Christian Dywan
e85b9b3523
Spell delete-event with hyphen and don't cast to G_OBJECT
2010-04-03 20:59:13 -04:00
Christian Dywan
63d03344f9
Improve docs of gtk_notebook_set_tab_label_packing
...
Use the term tab label rather than bookmark and point out
that packing type is deprecated.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=612575
2010-04-03 20:59:13 -04:00
Tor Lillqvist
2b1ec1b227
Check for __MINGW64__ and not __MINGW64
...
Should fix bug #612308 .
2010-04-03 20:59:12 -04:00
Javier Jardón
74c7588040
Improve GTK_WIDGET_FLAGS() deprecation documentation
...
Also, use GTK_OBJECT_FLAGS() instead.
Note that some internal code still uses GTK_WIDGET_FLAGS().
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:12 -04:00
Christian Dywan
08bce451b7
Fix definition of GTK_VOLUME_BUTTON_CLASS cast
...
There is an extra 'e' there.
2010-04-03 20:59:12 -04:00
Alan Knowles
48cc791fb2
Fix introspection on return value transfer for gtk_clipboard_get*
...
ownership transfer set to none for clipboard get methods
2010-04-03 20:59:12 -04:00
Alan Knowles
2e00e16650
Fix gtk_text_tag_table_lookup transfer introspection notes
...
transfer should be none for return value of gtk_text_tag_table_lookup
2010-04-03 20:59:12 -04:00
Jorge González
68e833dc1b
Updated Spanish translation
2010-04-03 20:59:12 -04:00
Jorge González
8cc486ace5
Updated Spanish translation
2010-04-03 20:59:12 -04:00
David Planella
b447f59fe0
Updated Catalan translation
2010-04-03 20:59:12 -04:00
Matthias Clasen
c470e592a3
Bump version
2010-04-03 20:59:11 -04:00
Matthias Clasen
167413e7c3
2.19.7
2010-04-03 20:59:11 -04:00
Matthias Clasen
07f2bb0b84
Updates
2010-04-03 20:59:08 -04:00
Javier Jardón
6750ffebc8
Fix compilation warning: use entry var correctly initilized
...
The warning was added in
commit c744594b20
2010-04-03 20:59:08 -04:00
Matthias Clasen
7b7f8f1e5d
Remove conflicting legacy compose sequences in favour of X.org sequences
...
Patch by Jeroen Hoek. See bug 557420 for a prolonged discussion.
Quick summary of the removed sequences:
<Multi_key> <asciicircum> <0>
Consistency. <Multi_key> <asciicircum> [1..9] gives the superscript digit,
legacy sequence for zero is inconsistent.
<Multi_key> <c> <o>
<Multi_key> <c> <O>
Consistency. <Multi_key> <c> [:letter:] already gives vowel plus caron, legacy
sequence for c is inconsistent.
<Multi_key> <comma> <e>
<Multi_key> <comma> <E>
Consistency. <Multi_key> <comma> [:letter:] is for letter with cedilla,
<Multi_key> <semicolon> [:letter:] is for letter with ogolek
<Multi_key> <C> <slash>
<Multi_key> <slash> <C>
Unintuitive. ¢ is visually a vertical bar through a lowercase c, not a slash
through an uppercase C. ₡ has no alternatives, whilst ¢ can be typed as
<Multi_key> <bar> <c>.
<Multi_key> <d> <minus>
đ can be input through <Multi_key> <minus> <d>. <Multi_key> <d> <minus> is used
for ₫.
<Multi_key> <equal> <L>
<Multi_key> <L> <equal>
Unintuitive. ₤ has two dashes, £ one; therefore L + = > ₤, and L + - = £.
<Multi_key> <exclam> <s>
<Multi_key> <exclam> <S>
Consistency. <Multi_key> <exclam> [:letter:] is used for letter with dot below.
§ can be input using <Multi_key> <o> <s>.
<Multi_key> <period> <period>
Might need an alternative for ˙, but … (upstream) has no alternative either.
<Multi_key> <underscore> <a>
<Multi_key> <underscore> <A>
<Multi_key> <underscore> <o>
<Multi_key> <underscore> <O>
Consistency. <Multi_key> <underscore> [:vowel:] gives vowel with macron for ȳ ū
ī ē too.
<Multi_key> <minus> <d>
<Multi_key> <minus> <D>
<Multi_key> <o> <e>
<Multi_key> <O> <E>
Redundant. In upstream as is.
2010-04-03 20:59:08 -04:00
Matthias Clasen
04fd3f14ac
Regenerated compose tables
...
Now without non-BMP keysyms.
2010-04-03 20:59:08 -04:00
Matthias Clasen
040d8d1414
Updates to the compose-parse.py script
...
Get gdkkeysyms.h from git, instead of the outdated copy from svn.
Get Unicode 5.2.0 data. Fix a few issues with missing keysyms in
keysyms.txt. Make the filtering of non-BMP keysyms work.
2010-04-03 20:59:08 -04:00
Matthias Clasen
d50cd83fd0
Add some keysyms missing from keysyms.txt
2010-04-03 20:59:07 -04:00
Matthias Clasen
94e80bbbed
fix file permissions
2010-04-03 20:59:07 -04:00
Matthias Clasen
f185967ba1
Add some more annotation to the DND api
2010-04-03 20:59:07 -04:00
Matthias Clasen
57a3de1bcd
Fix file chooser refcounting issues
...
This was reported in bug 600992.
2010-04-03 20:59:07 -04:00
Matthias Clasen
b229aa8d5e
Add missing colons
2010-04-03 20:59:07 -04:00
Christian Dywan
4c86b6112e
Document the use of NULL in gtk_window_set_transient_for
...
This fixes bug 611319.
2010-04-03 20:59:07 -04:00
Matthias Clasen
870fefbfaf
Minor doc clarification for gdk_drag_begin
...
Mention that targets is a list of atoms. Bug 611317.
2010-04-03 20:59:07 -04:00
Javier Jardón
8ea37e551b
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:06 -04:00
Matthias Clasen
ca43e7d3be
Remove obsolete translator comments
...
Reported in bug 611217
2010-04-03 20:59:06 -04:00
Matthias Clasen
f77c10b0b0
Add accessible alternatives to entry icon functionality
...
Inspired by the complaint in bug 611051.
2010-04-03 20:59:06 -04:00
Matthias Clasen
e566c96137
Add introspection annotations to gtk_drag_(source|dest)_set
...
Also move docs inline at the same time. Bug 610905.
2010-04-03 20:59:05 -04:00
Ryan Lortie
313e1b9c2f
Update release HOWTO
...
- 'cvs' -> 'git'
- gnome-hackers is now closed. Reply-to: desktop-devel-list instead.
2010-04-03 20:59:05 -04:00
Matthias Clasen
ba4695e8e5
Don't scroll to insert after middle-click paste
...
Patch by Ignacio Casal Quinteiro, bug 612119.
2010-04-03 20:59:05 -04:00
Matthias Clasen
0a12113d9d
Fix an infinite loop in gtk_dialog_map()
...
The new focus handling with links in labels tripped up the code
that tries to avoid focussing labels. Bug 612066
2010-04-03 20:59:05 -04:00
Nils-Christoph Fiedler
248719c771
Updated LowGerman translation
2010-04-03 20:59:05 -04:00
Nils-Christoph Fiedler
9a19752da4
Updated LowGerman translation
2010-04-03 20:59:05 -04:00
Nils-Christoph Fiedler
39ff3a4822
Updated LowGerman translation
2010-04-03 20:59:05 -04:00
Alexander Shopov
6b1126ab54
Updated Bulgarian translation
2010-04-03 20:59:04 -04:00
Michael Natterer
7eedb7a0b3
gtk: remove begin-user-action/end-user-action around copying
...
Copying to the clipboard is not a buffer mutation, so calling
gtk_text_buffer_begin_user_action() and _end_user_action() is only
confusing apps which connect to these signals in order to build undo
stacks or otherwise track buffer changes. Most likely, these apps
either didn't notice the bugus undo step or simply work around it.
2010-04-03 20:59:04 -04:00
Jennie Petoumenou
f000d83f00
Updated Greek translation.
2010-04-03 20:59:04 -04:00
Jennie Petoumenou
8411cd3282
Updated Greek translation.
2010-04-03 20:59:04 -04:00
Claude Paroz
92c6be8ac0
Updated French translation
2010-04-03 20:59:04 -04:00
Javier Jardón
1931a8db5d
Don't use GTK_WIDGET_SET_FLAGS() in gtk_widget_init()
2010-04-03 20:59:04 -04:00
Javier Jardón
bbf5e95c41
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_PARENT_SENSITIVE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
9f3d23a900
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RC_STYLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
5c2c742c8d
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_APP_PAINTABLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
a602ff82eb
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)
...
Use new API instead: gtk_widget_set_mapped ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
e082783fbb
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
...
Use new API instead: gtk_widget_set_realized ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
e2f79c33ff
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
...
Use new API instead: gtk_widget_set_has_window ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:02 -04:00
Daniel Nylander
e5aca4ac88
Updated Swedish translation
2010-04-03 20:59:02 -04:00
Daniel Nylander
01bb46fefe
Updated Swedish translation
2010-04-03 20:59:01 -04:00
Joanmarie Diggs
70d2c392ca
Add/Remove ATK_STATE_SENSITIVE according to cells' state.
...
Bug #569042 .
2010-04-03 20:59:01 -04:00
Patrick Bernaud
fe0a89e251
Move documentation to inline comments: GtkPlug
...
https://bugzilla.gnome.org/show_bug.cgi?id=611707
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:59:01 -04:00
Steven Harms
09e4738682
Move documentation to inline comments: GtkVBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611831
2010-04-03 20:59:01 -04:00
Fran Diéguez
190096f41e
Update Galician translation
2010-04-03 20:59:01 -04:00
Friedel Wolff
8ad3276a77
Update Afrikaans translation
2010-04-03 20:59:01 -04:00
Li Yuan
828c4f7aa5
Return FALSE in signal handlers to make the signals be propagated
...
Bug #611686 .
2010-04-03 20:59:00 -04:00
Steven Harms
0cdcfcca9f
Move documentation to inline comments: GtkVSeparator
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611662
2010-04-03 20:59:00 -04:00
Steven Harms
ba22b91e31
Move documentation to inline comments: GtkVScrollbar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611658
2010-04-03 20:59:00 -04:00
Gabor Kelemen
83430719d1
Updated Hungarian translation
2010-04-03 20:59:00 -04:00
Steven Harms
15a797e8e9
Update gtkvscale documentation for in code comments. Removed template document
2010-04-03 20:59:00 -04:00
Inaki Larranaga Murgoitio
a0441bcb4c
Updated Basque language
2010-04-03 20:59:00 -04:00
Javier Jardón
cb4f39c7a8
Add version info about the deprecation of GTK_WIDGET_SENSITIVE
...
This completes the patch of
commit 64f526d34e
2010-04-03 20:59:00 -04:00
Inaki Larranaga Murgoitio
fa934294a7
Updated Basque language
2010-04-03 20:59:00 -04:00
Javier Jardón
ee0bf98769
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:59 -04:00
Javier Jardón
e53efb120a
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:58 -04:00
Nils-Christoph Fiedler
8c1f5dbc03
Updated LowGerman translation
2010-04-03 20:58:24 -04:00
Nils-Christoph Fiedler
2bb5e9e75a
Updated Low German translation
2010-04-03 20:58:24 -04:00
Nils-Christoph Fiedler
289948f1d3
Updated Low German translation
2010-04-03 20:58:23 -04:00
Kjartan Maraas
3ffee3e6e5
Updated Norwegian bokmål translation
2010-04-03 20:58:23 -04:00
Javier Jardón
2dc372a657
Fix gtk_widget_is_sensitive() function. Second try
...
Use GTK_PARENT_SENSITIVE flag instead
gtk_widget_get_sensitive(widget->parent)
2010-04-03 20:58:23 -04:00
Gabor Kelemen
6d8fee9879
Updated Hungarian translation
2010-04-03 20:58:23 -04:00
Javier Jardón
2dd2650215
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_SHOW_ALL)
2010-04-03 20:58:23 -04:00
Javier Jardón
e6572c0939
Fix gtk_widget_is_sensitive() function
...
The bug was introduced in
commit a27d5a2c9e
2010-04-03 20:58:23 -04:00
Javier Jardón
ec20658b51
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)
...
Use new API instead: gtk_widget_set_can_default ()
2010-04-03 20:58:22 -04:00
Javier Jardón
76943117be
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)
...
Use new API instead: gtk_widget_set_can_focus ()
2010-04-03 20:58:22 -04:00
Gabor Kelemen
6379f64a37
Updated Hungarian translation
2010-04-03 20:58:21 -04:00
Petr Kovar
aabe0b16cf
Update Czech translation
2010-04-03 20:58:21 -04:00
Javier Jardón
2d96f39335
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_SENSITIVE)
2010-04-03 20:58:21 -04:00
Javier Jardón
5d4af6ca80
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_DOUBLE_BUFFERED)
...
Use new API instead: gtk_widget_set_double_buffered ()
2010-04-03 20:58:21 -04:00
Javier Jardón
3ebbee6958
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RECEIVES_DEFAULT)
...
Use new API instead: gtk_widget_set_receives_default ()
2010-04-03 20:58:21 -04:00
Javier Jardón
08d42ed8fe
Deprecate widget flag: GTK_WIDGET_PARENT_SENSITIVE
...
Use gtk_widget_get_sensitive() on the parent widget instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:21 -04:00
Javier Jardón
edc65ce1d2
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:20 -04:00
Javier Jardón
eb90ec7513
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
...
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:30 -04:00
Javier Jardón
c3f8b4226d
Deprecate widget flag: GTK_WIDGET_SENSITIVE
...
Use gtk_widget_get_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:30 -04:00
Javier Jardón
c44c026ee9
Don't use GTK_WIDGET_NO_WINDOW in internal code anymore
...
Use gtk_widget_get_has_window() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:30 -04:00
Javier Jardón
e7127daf84
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:29 -04:00
Javier Jardón
04aba4bde2
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:29 -04:00
Mario Blättermann
126133a927
Updated German translation
2010-04-03 20:56:28 -04:00
Nils-Christoph Fiedler
9a33ab970f
Updated LowGerman translation
2010-04-03 20:56:28 -04:00
Nils-Christoph Fiedler
79453a952f
Updated LowGerman translation
2010-04-03 20:56:28 -04:00
Florian Müllner
f5aa0fad6c
Add introspection annotation for gtk_builder_get_object
2010-04-03 20:56:28 -04:00
Nils-Christoph Fiedler
2e78caa5a2
Updated LowGerman translation
2010-04-03 20:56:28 -04:00
Piotr Drąg
7044a9d027
Updated Polish translation
2010-04-03 20:56:28 -04:00
Piotr Drąg
fe2cb223ea
Updated Polish translation
2010-04-03 20:56:27 -04:00
Leonid Kanter
9dd2609525
Update Russian translation
2010-04-03 20:56:27 -04:00
Leonid Kanter
1d34e445e9
Update Russian translation
2010-04-03 20:56:27 -04:00
Nils-Christoph Fiedler
d3db379573
Updated LowGerman translation
2010-04-03 20:56:27 -04:00
Duarte Loreto
4e8d4ead22
Updated Portuguese translation
2010-04-03 20:56:27 -04:00
Duarte Loreto
87e7f3c0c1
Updated Portuguese translation
2010-04-03 20:56:27 -04:00
Khaled Hosny
9c054e3029
Updated Arabic translation
2010-04-03 20:56:26 -04:00
Bruce Cowan
7c9f3072eb
Updated British English translation
2010-04-03 20:56:26 -04:00
Matej Urbančič
109ca57aa8
Updated Slovenian translation
2010-04-03 20:56:26 -04:00
Nils-Christoph Fiedler
af51a093fe
Updated LowGerman translation
2010-04-03 20:56:26 -04:00
Nils-Christoph Fiedler
599d6f0a2c
Updated LowGerman translation
2010-04-03 20:56:26 -04:00
Alexander Shopov
4e3c3baac2
Updated Bulgarian translation
2010-04-03 20:56:26 -04:00
Gintautas Miliauskas
f8cd486871
Updated Lithuanian translation.
2010-04-03 20:56:25 -04:00
Gintautas Miliauskas
0fa5fb2894
Updated Lithuanian translation.
2010-04-03 20:56:25 -04:00
Ask H. Larsen
76a752b69d
Updated Danish translation
2010-04-03 20:56:25 -04:00
Ask H. Larsen
9889445169
Updated Danish translation
2010-04-03 20:56:25 -04:00
Matthias Clasen
83518ec77c
Bump version
2010-04-03 20:56:25 -04:00
Matthias Clasen
b51edbe745
2.19.6
2010-04-03 20:56:25 -04:00
Jorge González
468a947285
Updated Spanish translation
2010-04-03 20:56:23 -04:00
Matthias Clasen
daf00f6f94
Updates
2010-04-03 20:56:23 -04:00
Matthias Clasen
53bebef4bf
Some forgotten docs
2010-04-03 20:56:23 -04:00
Matthias Clasen
b23c114b95
Add some missing docs
2010-04-03 20:56:22 -04:00
Matthias Clasen
3fe334c3a8
doc fixes
2010-04-03 20:56:22 -04:00
Jorge González
f5d67c8b44
Updated Spanish translation
2010-04-03 20:56:22 -04:00
Matthias Clasen
462a491fa7
Add 2.20 index for gdk docs
2010-04-03 20:56:22 -04:00
Matthias Clasen
21b1a03e1e
Init gdk in the same order as other backends
...
Patch by Andre Draszik, bug 609172
2010-04-03 20:56:22 -04:00
Matthias Clasen
d1babc7775
Fix a memory leak in gdk_display_open in the directfb backend
...
Patch by Andre Draszik, bug 609172
2010-04-03 20:56:22 -04:00
Matthias Clasen
db0faed54c
Simplify the DirectFBInit call
...
Patch by Andre Draszik, bug 609172
2010-04-03 20:56:22 -04:00
Matthias Clasen
f6a173d302
Catch directfb errors in gdk_colormap_new
...
Patch by Andre Draszik, bug 609172.
2010-04-03 20:56:22 -04:00
Matthias Clasen
938795f922
Fix a crash at startup in the directfb backend
...
Patch by André Draszik, bug 600789
2010-04-03 20:56:22 -04:00
Matthias Clasen
9160cf1af7
Fix gdk_windowing_window_at_pointer in the directfb backend
...
Patch by Hiroyuki Ikezoe, see bug 604799.
2010-04-03 20:56:21 -04:00
Matthias Clasen
28dda32acc
Correct annotations for gtk_tree_view_get_path_at_pos
...
Patch by Alan Knowles, bug 609514.
2010-04-03 20:56:21 -04:00
Matthias Clasen
c5dc38c142
Protect against X errors when clearing the DND cache
...
This was reported as a problem in bug 609952.
2010-04-03 20:56:21 -04:00
Mario Blättermann
4815119eab
Updated German translation
2010-04-03 20:56:21 -04:00
Matthias Clasen
df32ea9960
Prevent a crash in the TGA loader
...
Reported in bug 609744.
2010-04-03 20:56:21 -04:00
Matthias Clasen
624ac853ba
Handle out-of-bounds parameters in gtk_assistant_get_nth_page
...
Better do what the docs say...fix by Tadej Borovšak, bug 610141.
2010-04-03 20:56:21 -04:00
Matthias Clasen
d405d997bd
Fix a segfault in gtk_assistant_set_current_page
...
Reported by Tadej Borovšak in bug 610184
2010-04-03 20:56:21 -04:00
Matthias Clasen
f90b880ce8
Clarify the docs for gtk_info_bar_set_default_response
...
According to bug 610632
2010-04-03 20:56:20 -04:00
Matthias Clasen
d316798685
Add some padding in tool buttons
...
The default value of the icon-spacing style property was 0, which
is just not good. Themes are of course free to change this anyway.
Bug 610381.
2010-04-03 20:56:20 -04:00
Matthias Clasen
2f772399ce
Only look at x11 backend for gtk-doc comments for now
...
See followup discussion in bug 610701
2010-04-03 20:56:20 -04:00
Mario Blättermann
dc8965f9ea
Updated German translation
2010-04-03 20:56:20 -04:00
Matej Urbančič
2eab767d4c
Updated Slovenian translation
2010-04-03 20:56:20 -04:00
Alexander Shopov
5781ea200b
Updated Bulgarian translation
2010-04-03 20:56:20 -04:00
Matthias Clasen
2c6b8680c3
Fix incorrect string
...
String change. See bug 610235.
2010-04-03 20:56:20 -04:00
Matthias Clasen
9414dc2cf6
Add some missing introspection annotations
2010-04-03 20:56:19 -04:00
Johan Dahlin
087ff5f220
[build] Include all target source files
...
Include all target source files when buildin the gir
https://bugzilla.gnome.org/show_bug.cgi?id=610701
2010-04-03 20:56:19 -04:00
Matthias Clasen
12b8b8bf7c
Add a missing introspection annotation for gdk_screen_get_default_colormap
2010-04-03 20:56:19 -04:00
Rimas Kudelis
f773c8975d
Updated Lithuanian translation
2010-04-03 20:56:17 -04:00
Carlos Garcia Campos
7edbc6b6ee
[docs] Fix GtkPlug::embedded signal documentation
...
See bug #609650 .
2010-04-03 20:56:17 -04:00
Carlos Garcia Campos
576f2770c7
Emit GtkPlug::embedded signal when plug/socket are in the same process too
...
Fixes bug #609650 .
2010-04-03 20:56:17 -04:00
Masato Hashimoto
7835a51040
Updated Japanese translation.
...
Translator: Masato Hashimoto <cabezon.hashimoto@gmail.com >
Reviewed by: Nishibori Kiyotaka <ml.nishibori.kiyotaka@gmail.com >
2010-04-03 20:56:17 -04:00
Khaled Hosny
7a8a188b4c
Updated Arabic translation
2010-04-03 20:56:17 -04:00
Alexander Shopov
3394c2fbe5
Updated Bulgarian translation
2010-04-03 20:56:17 -04:00
Lucian Adrian Grijincu
d170fb7983
Updated Romanian translation
2010-04-03 20:56:16 -04:00
Piotr Drąg
87fb3d9e08
Updated Polish translation
2010-04-03 20:56:16 -04:00
Piotr Drąg
c393ce993f
Updated Polish translation
2010-04-03 20:56:16 -04:00
Jorge González
54f851b5b5
Updated Spanish translation
2010-04-03 20:56:16 -04:00
Viktor Pracht
62a5e11483
[Annotations] Add array length for GtkTreeStore
...
https://bugzilla.gnome.org/show_bug.cgi?id=603923
2010-04-03 20:56:16 -04:00
Johan Dahlin
71df0c45ba
[annotations] Add allow-none for gtk_menu_popup
2010-04-03 20:56:16 -04:00
Johan Dahlin
eee7bb2b2e
[annotations] Add allow-none
...
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
2010-04-03 20:56:15 -04:00
Michael Natterer
87334d465c
Bug 548026 - No accessor for GtkWidget.requisition
...
Add gtk_widget_get_requisition().
2010-04-03 20:56:15 -04:00
Matej Urbančič
91302444cc
Updated Slovenian translation
2010-04-03 20:56:14 -04:00
Manoj Kumar Giri
58d7a0e2d7
Updated Oriya Translation
2010-04-03 20:56:14 -04:00
Mattias Põldaru
3d71d992a6
Estonian translation updated
2010-04-03 20:56:14 -04:00
Mario Blättermann
998591adf6
Updated German translation
2010-04-03 20:56:14 -04:00
Javier Jardón
2140a5b107
[gdk/x11] Change the name of the functions in the header file
...
_gdk_keymap_add_virtual_modifiers() changed to
_gdk_keymap_add_virtual_modifiers_compat() in
commit 13d69e552d
This patch change the header name too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610063
2010-04-03 20:56:14 -04:00
Changwoo Ryu
f148059b7b
Update Korean translation
2010-04-03 20:56:14 -04:00
Matej Urbančič
94480795c7
Updated Slovenian translation
2010-04-03 20:56:14 -04:00
Matej Urbančič
9cd074b663
Updated Slovenian translation
2010-04-03 20:56:13 -04:00
Stefan Kost
4b8a91bb85
widget: ensure boolean before comparing
...
Ensure boolean value like done elsewhere.
2010-04-03 20:56:13 -04:00
Stefan Kost
100c6dc513
widget: don't check before setting to avoid costly type checks
...
There are no side effect of setting these flags and we don't fire g_object
notifies also. Thus set/unset right away without costly check of current state.
2010-04-03 20:56:13 -04:00
Javier Jardón
501f327b56
Revert "Drop duplicate declarations"
...
The issue is already fixed in f9a3ce06cc
This reverts commit 6f566057e8 .
2010-04-03 20:56:13 -04:00
Matthias Clasen
29efd9a753
Fix a compatibility problem
...
It turns out that my attempt at handling Super, Hyper and Meta better
is causing problems, mostly because Alt and Meta are commonly colocated
in the modmap, and apps do a check for the Alt modifier regularly.
See e.g bug 607697.
2010-04-03 20:56:13 -04:00
Matthias Clasen
966b619705
Drop duplicate declarations
2010-04-03 20:56:13 -04:00
Christian Dywan
ce07f4403b
Remove duplicate definitions of gtk_widget_set/get_realized/mapped
2010-04-03 20:56:13 -04:00
Michael Natterer
800fbc513f
Allow calling gtk_widget_style_attach() only when realized
2010-04-03 20:56:12 -04:00
Petr Kovar
42f920c77b
Update Czech translation
2010-04-03 20:56:12 -04:00
Javier Jardón
fc246a9305
Fix compilation warning: return FALSE instead NULL
2010-04-03 20:56:12 -04:00
Javier Jardón
c59386ba1d
Fix compilation warning: cast to GCompareFunc
2010-04-03 20:56:12 -04:00
Kjartan Maraas
92b1c9150d
Updated Norwegian bokmål translation
2010-04-03 20:56:12 -04:00
Jorge González
78b42c67e6
Updated Spanish translation
2010-04-03 20:56:12 -04:00
Matthias Clasen
5eccd0d20e
bump version
2010-04-03 20:56:11 -04:00
Matthias Clasen
11788b71e1
2.19.5
2010-04-03 20:56:11 -04:00
Matthias Clasen
96e42fb1ee
Updates
2010-04-03 20:56:09 -04:00
Matthias Clasen
5438a7b608
Add some more goddamn accessors
2010-04-03 20:56:09 -04:00
Matthias Clasen
d154b115e5
Avoid overlap of scale marks
...
This was reported to be a problem in bug 608807.
2010-04-03 20:56:08 -04:00
Matthias Clasen
9983f2e551
Avoid a crash when setting a tooltip on a GtkCalendar
...
The details code was assuming that it controls ::has-tooltip.
Reported by Bill Nottingham, bug 607344.
2010-04-03 20:56:08 -04:00
Matthias Clasen
6247ef7a32
Fix a refcounting issues in GtkPlug
...
When the foreign window already has a GdkWindow, we forget to take
an extra references, leading to crashes later on. Patch by
Karl Tomlinson, bug 607061.
2010-04-03 20:56:08 -04:00
Matthias Clasen
2c53b675c3
Allow running without any im context
...
Setting GtkSettings::im-module to gtk-im-context-none will make
GtkIMMultiContext just pass through.
2010-04-03 20:56:08 -04:00
Alan Knowles
7485d64249
Add introspection annotations for gtk_tree_model_get_path+gtk_tree_store_newv
2010-04-03 20:56:08 -04:00
Christian Persch
a4186b6aa5
Correctly clone the toolbutton's icon-name image widget
...
Bug #608162 .
2010-04-03 20:56:08 -04:00
Alejandro Piñeiro
b6139abb37
Solve a wrong reference on gdk_keymap_translate_keyboard_state
...
Solves https://bugzilla.gnome.org/show_bug.cgi?id=608345
2010-04-03 20:56:08 -04:00
Tor Lillqvist
067cce5d63
Use correct processorArchitecture for x86_64 in manifest file
2010-04-03 20:56:07 -04:00
Javier Jardón
541448732d
Move documentation to inline comments: GtkAccelLabel
...
https://bugzilla.gnome.org/show_bug.cgi?id=403485
2010-04-03 20:56:07 -04:00
Javier Jardón
239570abdd
[tests] Not use GtkOptionMenu deprecate widget.
...
Replace GtkOptionMenu with GtkComboBox.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606288
2010-04-03 20:56:07 -04:00
Theppitak Karoonboonyanan
8633c6ffc6
Updated Thai translation.
2010-04-03 20:56:07 -04:00
André Draszik
935a3f7b65
gdk/directfb: cursor size is artificially limited
...
Cursor sizes in DirectFB can be large (4095x4095), limit to 128x128
though, because the x11 backend has this limit, too - for max.
compatibility.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609201
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:07 -04:00
André Draszik
987256968b
gdk/directfb: convert gdkgc-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609199
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:07 -04:00
André Draszik
9bc658f6ed
gdk/directfb: gdkdnd-directfb's private data is used uninitialized
...
Use G_TYPE_INSTANCE_GET_PRIVATE() instead
In the process, convert to using G_DEFINE_TYPE, too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609195
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:07 -04:00
André Draszik
2e9a0028fb
gdk/directfb: convert gdkcolor-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609191
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:07 -04:00
André Draszik
442f7a9d26
gdk/directfb: fix _gdk_windowing_pointer_grab()
...
Fix for bgo #609188
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:06 -04:00
Steffen Macke
029b7b6361
Fix menu bar problem in ms-windows theme engine on Windows 7
...
Patch from bug #591186 . It won't have any effect in this branch as the
whole XP-and-later theming code is broken and disabled, but when/if
that is fixed, then this patch should help.
2010-04-03 20:56:06 -04:00
Christian Dywan
931ed06beb
[gtk] Deprecate GtkCurveType enum
...
It's only used by already deprecated GtkCurve and GtkGammaCurve
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=556263
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:06 -04:00
Claude Paroz
cc895cc924
Updated French translation
2010-04-03 20:56:06 -04:00
Michael Natterer
ca9e029838
gtk: fix crash in _gtk_rbtree_find_offset() called from update_prelight()
...
Move the check for tree_view->priv->tree being NULL into update_prelight()
so the function will never call _gtk_rbtree_find_offset() on a NULL rbtree.
2010-04-03 20:56:06 -04:00
Jonh Wendell
e9d53fd675
Updated Brazilian Portuguese translation
2010-04-03 20:56:06 -04:00
Jonh Wendell
d0c4e2d762
Updated Brazilian Portuguese translation
2010-04-03 20:56:05 -04:00
Matthias Clasen
fe7af7a9e5
Make DND work better with shaped windows
...
If mouse clicks go through, drag-and-drop should too...
Fixes bug 608615.
2010-04-03 20:56:05 -04:00
Cody Russell
bc01a0cbcf
Bug 554420 - Seal GtkTextTag
...
Seal GtkTextTag.
2010-04-03 20:56:05 -04:00
Petr Kovar
2194ee02e3
Update Czech properties translation
2010-04-03 20:56:05 -04:00
Petr Kovar
b6d139f954
Update Czech translation
2010-04-03 20:56:05 -04:00
Michael Natterer
9dfadca46c
Bug 608993 - Add gtk_widget_style_attach()
...
As replacement for:
widget->style = gtk_style_attach (widget->style, widget->window);
2010-04-03 20:56:05 -04:00
Pavol Šimo
0a037fa4fe
Updated Slovak translation
2010-04-03 20:55:30 -04:00
Javier Jardón
4b85311951
[docs] Add anchor for keybinding signals
2010-04-03 20:55:30 -04:00
Mattias Põldaru
e193b20d50
Updating Estonian translation
2010-04-03 20:55:30 -04:00
Mattias Põldaru
a9f0710686
Updating Estonian translation
2010-04-03 20:55:30 -04:00
Mattias Põldaru
fb0c247e30
Updating Estonian translation
2010-04-03 20:55:30 -04:00
Kjartan Maraas
b802beb0b1
Updated Norwegian bokmål translation
2010-04-03 20:55:30 -04:00
Jorge González
686efe8145
Updated Spanish translation
2010-04-03 20:55:29 -04:00
Kristian Rietveld
a86bbf759f
Improve enter/motion notify semantics
...
On X11 we receive enter notify and motion notify events for a window
regardless of its focus state. On Mac OS X this is not the case. This
commit improves the semantics to overcome this difference. It improves
on my earlier patch that sent a motion notify event when a window became
main.
Instead of sending a motion notify when a window becomes main, we now
send one when a window becomes key, which comes closest to a window
getting focus in X11. This motion notify is needed because Mac OS X does
not send motion events when an application is inactive (none of its
windows have focus), these events are sent in X11. This dummy motion
notify event (with current coordinates of the mouse cursor) allows an
application to get its prelight and other state right when it gets focus
and thus user attention.
Another change is to send an enter notify event when updating the
tracking rectangle of a GdkQuartView and the mouse cursor is currently in
this rectangle. This rectangle is at least updated on window creation.
This enter notify event is important for the case where a new window
appears right below the mouse cursor. The window has to receive an enter
notify event for the subsequent events to be processed correctly. Mac
OS X does not send one in this case, so we generate it ourselves.
Both of these synthesized events have to go through
_gdk_windowing_got_event() for updating statekeeping, etc.
append_event() has a boolean flag now to make this convenient.
2010-04-03 20:55:29 -04:00
Jorge González
453ac4a2ec
Updated Spanish translation
2010-04-03 20:55:29 -04:00
Jorge González
39945324bc
Updated Spanish translation
2010-04-03 20:55:29 -04:00
Jorge González
a622ca52a0
Updated Spanish translation
2010-04-03 20:55:29 -04:00
Andre Klapper
05bc895378
Add missing files to POTFILES.in to make l10n.gnome.org happy
2010-04-03 20:55:29 -04:00
Cody Russell
1ae55844f7
Remove existing signal connections in gtk_drag_dest_unset().
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=608370
2010-04-03 20:55:29 -04:00
Christian Dywan
21ef8f9ad9
Implement gtk_paned_get_handle_window
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=607885
2010-04-03 20:55:28 -04:00
Christian Dywan
bffcae28d7
Do not update paned position if it's already at the given value
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=561816
2010-04-03 20:55:28 -04:00
Theppitak Karoonboonyanan
36b1586f86
Updated Thai translation.
2010-04-03 20:55:28 -04:00
Li Yuan
5067f69ff1
Bug #608410 . Set cursor position after inserting text.
2010-04-03 20:55:28 -04:00
Jamil Ahmed
8a9dabd683
Updated Bengali translation
2010-04-03 20:55:28 -04:00
Jamil Ahmed
47c66ad3bc
Updated Bengali translation
2010-04-03 20:55:28 -04:00
Jamil Ahmed
7e978d3447
Updated Bengali translation
2010-04-03 20:55:28 -04:00
Javier Jardón
d8453e7826
[docs] Fix GtkOffscreenWindow documentation
2010-04-03 20:55:27 -04:00
Matthias Clasen
4343bc8d0a
Bump version
2010-04-03 20:55:27 -04:00
Matthias Clasen
539545688c
2.19.4
2010-04-03 20:55:27 -04:00
Matthias Clasen
c51d3805a7
Doc additions
2010-04-03 20:55:25 -04:00
Matthias Clasen
a7e91ca4ca
Minor doc fix
2010-04-03 20:55:24 -04:00
Matthias Clasen
a17acc0572
Updates
2010-04-03 20:55:24 -04:00
Jamil Ahmed
30101c195c
Updated Bengali translation
2010-04-03 20:55:24 -04:00
Alexander Shopov
2bd8ea3084
Updated Bulgarian translation
2010-04-03 20:55:24 -04:00
Alexander Shopov
6d84afc2f5
Updated Bulgarian translation
2010-04-03 20:55:24 -04:00
Christian Dywan
8f49f935df
Remove the destination file if trying to save a pixbuf failed
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591102
2010-04-03 20:55:24 -04:00
Javier Jardón
bb7ff7b586
[test] Fix some typos
2010-04-03 20:55:23 -04:00
Paul Davis
1c9cc0acf0
Small memory fix
2010-04-03 20:55:23 -04:00
Michael Natterer
88977f73eb
Bug 607778 - Add accessors for GtkEntry's windows
...
Add gtk_entry_get_text_window() and get_icon_window() so we can
distinguigh them in expose-event callbacks.
2010-04-03 20:55:23 -04:00
Michael Natterer
5585335dd9
Bug 607082 - Add accessors for sealed GtkRange members
...
Add accessors for range->range_rect, range->slider_range,
range->slider_size_fixed and range->min_slider_size. Didn't add
properties for any of them because thir purpose is mostly to enable
proper subclassing.
2010-04-03 20:55:23 -04:00
Claudio Saavedra
189a35fe59
GtkTreeView: plug a leaking GtkTreeRowReference
...
This is exposed by overshooting in a HildonPannableArea. Leaking
a GtkTreeRowReference also means leaking the whole model, since
the GtkTreeModel reference count is increased for each row
reference.
Fixes bug #607770 - Leak in GtkTreeView with HildonPannableArea
2010-04-03 20:55:23 -04:00
Alexander Larsson
b8a0ff9e04
Avoid integer overflow in gdk_rectangle_intersect
...
If e.g. the right edge of the leftmost rectangle is near MIN_INT, and
the left edge of the rightmost rectangle is large then subtracting these
can lead to an integer overflow, making the resultant "width" falsely
positive, thus returning a very wide result instead of the expected
no-intersection result.
We avoid the overflow by not doing the subtraction unless we know the
result will be positive. There are still risks for overflow if x + width
or y + width is larger than MAXINT, but we won't ever overflow for valid
rects now.
This may fix #607687
2010-04-03 20:55:23 -04:00
Matthias Clasen
c81131ff21
Add a way to set wm_class on statusicons
...
Since the shell uses wm_class for sorting statusicons.
2010-04-03 20:55:22 -04:00
Alexander Larsson
b26536162c
When native window requests button presses request other button related events
...
We need to do this because otherwise the implicit button grab for this
(native) window will not deliver the button events not selected for
by this window. This is a problem because non-native child windows may
select using a wider event mask, and we can't emulate these events if we
don't get the native events.
Fixes bug #607508
2010-04-03 20:55:22 -04:00
Javier Jardón
06eb74410d
Fix some compilation warnings
...
The warnings was introduced with the changes in commit
a491091e29
2010-04-03 20:55:22 -04:00
Alexander Larsson
8f125f9b93
Drop outstanding cairo surfaces when window is made native
...
Any old cairo_surface referencing the old impl window will be wrong
when we make a window native, so drop it.
This fixes bug #599511
2010-04-03 20:55:22 -04:00
Alexander Larsson
26d5674b65
Move common gdkwindow.c code into function gdk_window_drop_cairo_surface
...
This code is duplicated in several places, and more to come, so put
it all in one place.
2010-04-03 20:55:22 -04:00
Russell Kyaw
3dcb9d4bfc
Added Burmese translation for gtk+ properties
2010-04-03 20:55:22 -04:00
Russell Kyaw
23d870de2f
Added Burmese translation
2010-04-03 20:55:22 -04:00
Simos Xenitellis
2de67d907b
Added Burmese (my) to po/LINGUAS
2010-04-03 20:55:21 -04:00
Alexander Larsson
e9da5b95de
Track direct window cairo access and avoid tricks when used
...
When a cairo surface is requested for direct window access (i.e. not
when double-buffering) we can't really track when the actual drawing happens
as cairo drawing is not virtualized. This means we can't properly flush
any outstanding window moves or implicit paints.
This actually causes problems with e.g. abiword (bug #606009 ) where they
draw without double-buffering. If you press down it scrolls the window
and then draws the caret, but the caret drawing does not flush the
outstanding move from the scroll, so the caret gets drawn on the wrong
screen.
We fix this by never allowing either implicit paints or outstanding window
moves on impl-windows where any windows related to it has an outstanding
direct cairo surface. Luckily this is not very common so in practice this
doesn't matter much.
2010-04-03 20:55:21 -04:00
Kjartan Maraas
4aa4093b6e
Updated Norwegian bokmål translation
2010-04-03 20:55:21 -04:00
Kjartan Maraas
04bc35f060
Updated Norwegian bokmål translation
2010-04-03 20:55:21 -04:00
Kjartan Maraas
c8fdec0419
Updated Norwegian bokmål translation
2010-04-03 20:55:21 -04:00
Murray Cumming
2a762bf6ca
GtkToolPalette: Fix a compiler warning introduced in my last commit.
2010-04-03 20:55:21 -04:00
Javier Jardón
ef3dc5fd42
Add gtk_widget_has_rc_style() accessor
...
Add gtk_widget_has_rc_style() as accessor for sealed
GTK_WIDGET_RC_STYLE widget flag.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:21 -04:00
Kristian Rietveld
9743d2e83c
Bug 607322 - Double-click doesn't work if the item is selected in...
...
Slight correction to fix for #596473 .
2010-04-03 20:55:20 -04:00
Murray Cumming
eed0dd0944
GtkToolPalette: Change gtk_tool_palette_get_drop_group() return.
...
* gtk/gtktoolpalette.[h|cc]: gtk_tool_palette_get_drop_group():
Change the return type from GtkWidget* to GtkToolItemGroup*,
for consistency with other parts of GTK+, such as GtkToolbar.
2010-04-03 20:55:20 -04:00
Matthias Clasen
2091807b24
Fix some issues with action widgets
...
We need to hide/show them depending on show_tabs, and we should
not grow the notebooks requisition unless we have to. Reported
in bug 601412.
2010-04-03 20:55:20 -04:00
Matthias Clasen
c31f02b455
Fix declaration of gtk_print_job_set_status
...
The problem was reported in bug 606698.
2010-04-03 20:55:20 -04:00
Matthias Clasen
b5061249e7
Reset effective_attrs when necessary
...
This fixes both bug 607217 and bug 607269.
2010-04-03 20:55:19 -04:00
Matthias Clasen
58956ad7e2
Fix a few C99isms
...
Reported in bug 606761.
2010-04-03 20:55:19 -04:00
Daniel Nylander
38c309869d
Updated Swedish translation
2010-04-03 20:55:19 -04:00
Matej Urbančič
ac4d89113b
Updated Slovenian translation
2010-04-03 20:55:19 -04:00
Alexander Larsson
51b774f59a
Avoid drawing implicit paints to destroyed windows
...
It may happen that a window gets destroyed during painting, if so
we should not draw the implicit paint double-buffered pixmap to it
as that will cause a BadDrawable X error.
This fixes bug 600865
2010-04-03 20:55:19 -04:00
Xandru Armesto Fernandez
07d3c79945
Updated asturian translation
2010-04-03 20:55:19 -04:00
Xandru Armesto Fernandez
84c77b7ca5
Updated asturian translations
2010-04-03 20:55:19 -04:00
Xandru Armesto Fernandez
0d0f3a1e4c
Updated asturian translations
2010-04-03 20:55:18 -04:00
Murray Cumming
18b7ad4182
GtkToolPalette: Use GtkToolItemGroup* instead of GtkWidget* for setter parameters.
...
See Bug #567729
2010-04-03 20:55:18 -04:00
Michael Natterer
27f81d8918
Some fixes in gtkoffscreenwindow.h
...
- use (void) not () for void functions
- disallow individual inclusion unconditionally
2010-04-03 20:55:18 -04:00
Inaki Larranaga Murgoitio
e40dcff11b
Updated Basque language
2010-04-03 20:55:18 -04:00
Inaki Larranaga Murgoitio
4f37e160af
Updated Basque language
2010-04-03 20:55:18 -04:00
Javier Jardón
905edf9478
[docs] Use the correct GTK-doc syntax to refer to GTK+ properties
2010-04-03 20:55:18 -04:00
Jorge González
74a104d73a
Updated Spanish translation
2010-04-03 20:55:18 -04:00
Javier Jardón
149f5891fa
[docs] Use the correct GTK-doc syntax to refer to GTK+ property
2010-04-03 20:55:17 -04:00
Javier Jardón
29e8460604
[docs] Remove GTK+ 1.2 tutorial from master
...
The tutorial it's still inside the gtk-1-2 branch if It's needed
2010-04-03 20:55:17 -04:00
Khaled Hosny
eaac92f621
Updated Arabic translation
2010-04-03 20:55:17 -04:00
Javier Jardón
f01e0670f8
[docs] Fix documentation build warnings
...
Fix issues when using GI annotations so the xslt does a
fallback if the local links do not exist.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604876
2010-04-03 20:55:17 -04:00
Matthias Clasen
c0d7fe2ad4
Correct PRC6 and PRC9 envelope sizes
...
See bug 603144 for the full story.
2010-04-03 20:55:17 -04:00
Matthias Clasen
e3cf8611b2
Bump version
2010-04-03 20:55:17 -04:00
Matthias Clasen
f0d57f40f5
2.19.3
2010-04-03 20:55:16 -04:00
Matthias Clasen
82956742c0
Dco updates
2010-04-03 20:55:14 -04:00
Matthias Clasen
57ca68d591
Updates
2010-04-03 20:55:14 -04:00
Christian Persch
cf9edf9ff7
Implement property editor for GdkColor properties
...
Bug #606434 .
2010-04-03 20:55:14 -04:00
Christian Dywan
4285f21b3b
Limit GtkContainer::border-width to 65535
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199
2010-04-03 20:55:13 -04:00
Matthias Clasen
6860f86724
Plug a pixmap leak
...
We were getting our refcounts tangled up when setting drawable clips on
GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.
2010-04-03 20:55:13 -04:00
Christian Dywan
43572af86e
Implement "preedit-changed" in GtkEntry and GtkTextView
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=602284
2010-04-03 20:55:13 -04:00
Christian Dywan
cad18bbfe3
Use const gchar* in gtk_window_get_icon_name implementation
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597100
2010-04-03 20:55:13 -04:00
Christian Dywan
174c126b6e
Document GtkWidget::state-changed signal properly
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
2010-04-03 20:55:13 -04:00
Javier Jardón
a821df1577
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-04-03 20:55:13 -04:00
Daniel Nylander
99e2f97f30
Updated Swedish translation
2010-04-03 20:55:12 -04:00
Daniel Nylander
4f0619de15
Updated Swedish translation
2010-04-03 20:55:12 -04:00
Christian Persch
66882103cc
Allow NULL iter in gtk_combo_box_set_active_iter to unset
...
Bug #606230 .
2010-04-03 20:55:12 -04:00
Matthias Clasen
7673c45fec
Try a little harder to survive close to OOM
2010-04-03 20:55:12 -04:00
Matthias Clasen
675ead1d82
Avoid an FPE for ludicrous scale values
...
...just bail out early.
2010-04-03 20:55:12 -04:00
Javier Jardón
b3e06e8302
Use g_strcmp0() instead custom safe_strcmp()
...
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=606415
2010-04-03 20:55:12 -04:00
Xandru Armesto Fernandez
e9d18c8e07
Updated asturian language
2010-04-03 20:55:11 -04:00
Javier Jardón
01a3ad45b8
Fix links in GtkComboBox migration guide
...
Some link to GTK+ classes are not gererated because the ":" near
the class name; solution: "#GtkComboBox<!---->:"
Also, added some links to the proper signals
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606291
2010-04-03 20:55:11 -04:00
Jean Brefort
694bf7230e
fix critical in gtk_editable_insert_text
2010-04-03 20:55:11 -04:00
Javier Jardón
f8d1cf58af
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:11 -04:00
Javier Jardón
69de358b38
Deprecate some widget flags
...
Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:10 -04:00
Shankar Prasad
312263233f
Made couple of translation changes in kn.po
2010-04-03 20:55:10 -04:00
Matthias Clasen
bd5431e620
Setup libjpeg error handlers early enough
...
See bug 606068 for details.
2010-04-03 20:55:10 -04:00
Jorge González
95ccaa02de
Updated Spanish translation
2010-04-03 20:55:10 -04:00
Timo Jyrinki
9d7ef2875d
One-line fix to a noticiable translation bug.
2010-04-03 20:55:10 -04:00
Matej Urbančič
6972375688
Updated Slovenian translation
2010-04-03 20:55:10 -04:00
Maxim V. Dziumanenko
e4d9e5dd63
Update Ukrainian translation
2010-04-03 20:55:10 -04:00
Kjartan Maraas
bfadb65fb0
Updated Norwegian bokmål translation.
2010-04-03 20:55:09 -04:00
Inaki Larranaga Murgoitio
5c35215457
Updated Basque language
2010-04-03 20:55:09 -04:00
Javier Jardón
02b2810a0e
Fix compilation warning: use const *gchar variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605090
2010-04-03 20:55:09 -04:00
Javier Jardón
7ed2cbcfce
Fix compilation warning: use the correct conversion specifier
...
Use G_GSIZE_FORMAT instead of %i
The warning was added in
commit ba651d4022
2010-04-03 20:55:08 -04:00
Christian Dywan
4b03789551
Don't use GTK_WIDGET_NO_WINDOW in GtkEventBox
2010-04-03 20:55:08 -04:00
Christian Dywan
5db40e41b3
No GTK_WIDGET_NO_WINDOW in GtkFixed and deprecate gtk_fixed_set_has_window
2010-04-03 20:55:08 -04:00
Christian Dywan
bcb255593d
Don't use GTK_WIDGET_NO_WINDOW in GtkContainer
2010-04-03 20:55:08 -04:00
Christian Dywan
fc2cbf960c
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:07 -04:00
Christian Dywan
20dcd8a723
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
2010-04-03 20:53:49 -04:00
Christian Dywan
ea7bd00e92
Fix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics
2010-04-03 20:53:49 -04:00
Benjamin Otte
d3e91fbba6
Document missing signal parameter
2010-04-03 20:53:49 -04:00
Javier Jardón
54573f1582
[docs] Add documentation for GdkWindow 'cursor' property
...
Reported by Rafal Luzynski here:
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2010-04-03 20:53:49 -04:00
Theppitak Karoonboonyanan
62a2dd6c78
Updated Thai translation.
2010-04-03 20:53:49 -04:00
Hiroyuki Ikezoe
699fc85a67
Use CAIRO_VERSION instead of CAIRO_VERSION_CODE
...
Cairo does not have CAIRO_VERSION_CODE macro.
Fix for bug #605472 .
2010-04-03 20:53:49 -04:00
Matthias Clasen
e337bd8583
Make mnemonic hiding work in all cases
...
Both gtk-enable-mnemonics and gtk-auto-mnemonis did not work with
gtk_label_set_markup_with_mnemonic(). Also, fix gtk_label_set_pattern().
2010-04-03 20:53:49 -04:00
Matthias Clasen
facb5e7d60
Update dependency information
2010-04-03 20:53:48 -04:00
Matthias Clasen
37e71e4e28
Don't use string concatentation in translated strings
...
gettext can't handle it, and there is no real need to use G_GSIZE_FORMAT
here anyway.
2010-04-03 20:53:48 -04:00
Matej Urbančič
1566b3af8a
Updated Slovenian translation
2010-04-03 20:53:48 -04:00
Matej Urbančič
3dca3822fb
Updated Slovenian translation
2010-04-03 20:53:48 -04:00
Kristian Rietveld
51f9ce390f
Plug leaks in quartz implementation of gtk_drag_begin_idle()
2010-04-03 20:53:48 -04:00
Kristian Rietveld
91663e0791
Rework a previous commit to not crash in addition to fixing leaks
...
The target list/entry to pasteboard entry conversions return a NSSet
now instead of NSArray.
2010-04-03 20:53:48 -04:00
Murray Cumming
b2d6bf1526
GtkToolPalette: docs: Minor English corrections.
2010-04-03 20:53:48 -04:00
Johan Dahlin
3871291ba3
Make sure Gdk-2.0.gir is installed
...
Fixes a variable name typo
2010-04-03 20:53:47 -04:00
Johan Dahlin
9242d1414d
Avoid warnings when introspetion is not available
...
-include is the same as include but will never warn if the
file is not available
2010-04-03 20:53:47 -04:00
Johan Dahlin
e4ac9609a2
Fix build with system install of introspection
...
Or redo it properly and remove previous hack by Matthias.
2010-04-03 20:53:47 -04:00
Kristian Rietveld
753e30667f
Fix compiler warning
2010-04-03 20:53:47 -04:00
Kristian Rietveld
80a015529d
Fix memory management of types array
...
Also add autorelease pool to gtk_drag_begin_idle().
2010-04-03 20:53:47 -04:00
Kristian Rietveld
b48c8318a1
Do not leak the NSMutableSet
2010-04-03 20:53:47 -04:00
Kristian Rietveld
b8fa675a6a
Release view after setting it as contentView
...
Fixes GdkQuartzView being leaked.
2010-04-03 20:53:47 -04:00
Kristian Rietveld
969ff4c863
Fix memleak in get_nsscreen_for_point()
...
One codepath did not go through GDK_QUARTZ_RELEASE_POOL, refactored
the code to fix this.
2010-04-03 20:53:47 -04:00
Kristian Rietveld
81cf73ae8a
Fix memory leak in GdkQuartzView
...
Should remove the tracking rect in dealloc.
2010-04-03 20:53:46 -04:00
Kristian Rietveld
8273349eca
Use CGFLOAT_DEFINED, don't rely on NSINTEGER_DEFINED for this
2010-04-03 20:53:46 -04:00
Kristian Rietveld
50c7d672c1
Unset expander_column when expander column is removed from tree view
2010-04-03 20:53:46 -04:00
Kristian Rietveld
0d51400b29
Add gdk_keymap_map_virtual_modifiers() to Quartz backend
2010-04-03 20:53:46 -04:00
Kristian Rietveld
f7daeec10f
Start using CGFloat
...
Fixes a bunch of compiler warnings. Since CGFloat does not exist on
Tiger and earlier, we have added a typedef likewise as was done for
NSInteger.
2010-04-03 20:53:46 -04:00
Kristian Rietveld
5d3e414994
Fix compile warning in gdk_cursor_new_from_pixmap
2010-04-03 20:53:46 -04:00
Kristian Rietveld
b86b00b387
initWithContentRect: has a NSUInteger parameter now
...
The typedef in place for Tiger and earlier systems should change this
to unsigned int without problems.
2010-04-03 20:53:46 -04:00
Cody Russell
1fa4359218
Add GtkOffscreenWindow to gtk-sections.txt
2010-04-03 20:53:46 -04:00
Cody Russell
a739d9fb80
Documentation changes.
2010-04-03 20:53:45 -04:00
Cody Russell
2831ef6b19
Add 'Since 2.20' documentation.
2010-04-03 20:53:45 -04:00
Cody Russell
b7fd519822
Add documentation note for GtkOffscreenWindow emission of damage-event.
2010-04-03 20:53:45 -04:00
Cody Russell
4c14a043eb
Add gtk-doc section for GtkOffscreenWindow
2010-04-03 20:53:45 -04:00
Cody Russell
a078bd09b0
Add gtk_offscreen_window_get_{pixmap,pixbuf} to gtk.symbols
2010-04-03 20:53:45 -04:00
Cody Russell
da2d84c0bf
Add gtkoffscreenwindow.sgml
2010-04-03 20:53:45 -04:00
Cody Russell
4c4f795da9
Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), some API docs.
2010-04-03 20:53:45 -04:00
Cody Russell
e0e2c768dd
Add headers
2010-04-03 20:53:45 -04:00
Cody Russell
f76e9f5804
Add offscreen window symbols to gtk.symbols
2010-04-03 20:53:44 -04:00
Cody Russell
cab66c128c
Add gtk_offscreen_window_new() prototype to gtkoffscreenwindow.h
2010-04-03 20:53:44 -04:00
Cody Russell
6b9924db1c
Add delete-event callback to window, use gtk_widget_queue_draw() instead of gtk_widget_draw()
2010-04-03 20:53:44 -04:00
Cody Russell
87487cea62
GtkOffscreenWindow implementation for #604901
2010-04-03 20:53:44 -04:00
Jorge González
ddf4cde3af
Updated Spanish translation
2010-04-03 20:53:44 -04:00
Kristian Rietveld
e9b593c2e6
Start using NSInteger and NSUInteger
...
These have been introduced in Leopard and default to int and unsigned int.
In 64-bit Snow Leopard they are long and unsigned long. This caused issues
with the getRectsBeingDrawn message which needs a pointer to a NSInteger
(long on 64-bit!) but we passed in an integer. Surprisingly this problem
was visible when compiling with -O0 (segfault), but *not* when compiling
with -O1. Other messages were NSInteger is now needed have also been
adapted.
Since NSInteger and NSUInteger are not available on Tiger, a define
has been added to add typedefs for these when they have not been defined
by the system headers.
2010-04-03 20:53:44 -04:00
Ivar Smolin
324c3e4ced
Updating Estonian translation
2010-04-03 20:53:44 -04:00
Iestyn Pryce
f099bf1f58
Updated Welsh translation
2010-04-03 20:53:44 -04:00
Iestyn Pryce
1d3707ca56
Updated Welsh translation
2010-04-03 20:53:43 -04:00
Kristian Rietveld
3e9dabbdb8
Fix call to update_prelight()
...
Seems like some minus signs sneaked in while diffing and reapplying...
Fixes regression noted in 480065.
2010-04-03 20:53:43 -04:00
Theppitak Karoonboonyanan
fa60b41c52
Updated Thai translation.
2010-04-03 20:53:43 -04:00
Jonh Wendell
3750e4fb67
Fix a memory leak in gtk_label_compose_effective_attrs()
2010-04-03 20:53:43 -04:00
Matthias Clasen
8928fd096e
Forgotten news
2010-04-03 20:53:42 -04:00
Matthias Clasen
33a021868a
Bump version and add dist-bzip2
2010-04-03 20:53:42 -04:00
Matthias Clasen
1de99c2c95
2.19.2
2010-04-03 20:53:42 -04:00
Kristian Rietveld
a763546c8f
Correct problems with earlier fix for bug #480065
...
Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify. Fix up calls to
update_prelight() from size allocate. Unconditionally doing these calls
caused problems with hover selection. Now we only do this call when
the "width before the expander column" has changed. (Which might be
awkward, but it is the best heuristic I could come up with so far).
2010-04-03 20:53:38 -04:00
Kristian Rietveld
0cbf76ed47
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
...
Commit again after revert.
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2010-04-03 20:53:38 -04:00
Matthias Clasen
00ec5fcd7a
Updates
2010-04-03 20:53:38 -04:00
Tor Lillqvist
a75065a458
Add gdk_keymap_map_virtual_modifiers() implementation
2010-04-03 20:53:38 -04:00
Matthias Clasen
afbc052916
Fix a think in the CSW input extension handling
...
This was causing stack overflow due to an obvious infinite recursion.
See e.g. RH #548849 .
2010-04-03 20:53:38 -04:00
Matthias Clasen
58f7b084b5
Fix make check
2010-04-03 20:53:37 -04:00
Matthias Clasen
a8fcc1c482
Improve selection/arrow key behaviour in GtkTextView
...
This patch makes the text view behave more similar to entries.
Patch by Michael Natterer, see bug 50942
2010-04-03 20:53:37 -04:00
Matthias Clasen
87075b3b97
Add a release note about virtual modifiers
2010-04-03 20:53:37 -04:00
Matthias Clasen
d1c3745b07
Try harder to handle accelerators involving virtual modifiers
...
This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.
This should fix bug 603190 and bug 427409.
2010-04-03 20:53:37 -04:00
Richard Hughes
94f6a09585
Add icc-profile option to gdk-pixbuf for the TIFF image format
2010-04-03 20:53:37 -04:00
Javier Jardón
af09dd08c1
Move documentation to inline comments: GtkMountOperation
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Javier Jardón
dab1cacba7
Move documentation to inline comments: GtkImage
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Javier Jardón
f746afc794
Move documentation to inline comments: GtkFileChooser
...
Also, use Gtk-Doc markup to improve documentation
cross-references.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Benjamin Otte
9889c4db88
Build adds not-yet-built libgtk-x11-2.0.la into the linker flags
...
Commit 9e7c91bf83 added a bit too many
LDFLAGS to the build of gtk-update-icon-cache, revert it to only use the
required ones. Bug 605036
2010-04-03 20:53:36 -04:00
Matthias Clasen
1f50800129
Make mnemonic hiding work for printer option widgets
...
By making the widget itself insensitive.
2010-04-03 20:53:36 -04:00
Matthias Clasen
132276fa75
More auto-mnemonics tweaks
...
When auto-mnemonics are on, hide mnemonics with insensitive target.
2010-04-03 20:53:36 -04:00
Matthias Clasen
779d3d58ea
Some improvements to the auto-mnemonics code
2010-04-03 20:53:36 -04:00
Matthias Clasen
9de876c222
Handle reading the create-folders property
2010-04-03 20:53:36 -04:00
Javier Jardón
2abf1056c9
Fix compilation warning: cast to GTK_WIDGET()
2010-04-03 20:53:36 -04:00
Javier Jardón
14724073a4
Fix compilation warning: use the correct conversion specifier
...
Use G_GSIZE_FORMAT instead of %d
2010-04-03 20:53:36 -04:00
Jorge González
c12194feae
Updated Spanish translation
2010-04-03 20:53:35 -04:00
Matthias Clasen
d68d78de81
Only show the mnemonic underline when pressing Alt
...
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
2010-04-03 20:53:35 -04:00
Matthias Clasen
ce9c3df4c8
Small documentation correction
2010-04-03 20:51:58 -04:00
Matthias Clasen
4bc8dcede8
Properly free damage events
...
This was reported in bug 605008
2010-04-03 20:51:57 -04:00
Benjamin Otte
3659db3a4a
Fix up linker flags
...
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
2010-04-03 20:51:57 -04:00
Benjamin Otte
71d7b97a90
Disconnect signal handlers on adjustment in destroy handler
...
Not removing the signal handler caused crashes if the adjustment
survived longer than the scrolled window and still emitted signals. This
could happen inside WebKit.
2010-04-03 20:51:57 -04:00
Jorge González
7545e7211c
Updated Spanish translation
2010-04-03 20:51:57 -04:00
Carlos Garcia Campos
acca24e9c1
Fix a crash on print preview
...
There's no printer when doing print preview so it's not possible to get
its hard margins.
2010-04-03 20:51:57 -04:00
Dan Winship
507bf6a85f
Change GtkIconSize to int in params/return values
...
GtkIconSize is an extensible enumeration (via
gtk_icon_size_register()), so methods that claim to take/return a
GtkIconSize need to actually use "int" to work correctly with bindings
that are strict about enum values.
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2010-04-03 20:51:56 -04:00
Dan Winship
750a96e4cc
Fix out/transfer annotations on GtkImage getters
...
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2010-04-03 20:51:56 -04:00
Matthias Clasen
b68bbbb892
Fix doc typos
...
Reported in bug 604902.
2010-04-03 20:51:56 -04:00
Javier Jardón
1abc649b8c
[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
...
Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
2010-04-03 20:51:56 -04:00
Hiroyuki Ikezoe
f8b8bb4bf9
[gtk] GtkCellEditable::editing-cancelled should be writable
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:51:56 -04:00
Matthias Clasen
360820e9bf
Fix a thinko in computing damage for segments
...
The code was not taking the endpoint of the first segment into account.
This was reported in bug 604747.
2010-04-03 20:51:56 -04:00
Matthias Clasen
214d5efdd4
Ensure native windows in gdk_property_change
...
Using X properties on non-toplevel windows is somewhat exotic,
but some people seem to do it, so better to keep it working.
See bug 604787.
2010-04-03 20:51:55 -04:00
Torsten Schoenfeld
600ae2db92
[docs] Add some 'Since: 2.4' tags
...
This patch adds Since: 2.4 tags to gtk_bindings_activate_event,
gtk_window_propagate_key_event and gtk_window_activate_key.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604859
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:51:55 -04:00
Hiroyuki Ikezoe
5cb043d5dd
Use g_value_dup_string instead.
...
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
2010-04-03 20:51:55 -04:00
Richard Hughes
f289f667e7
Add color management support to gdk_pixbuf_save
...
This patch adds an icc-profile option to a GdkPixbuf which can
be used to read or write an embedded ICC profile.
Add PNG support for now, but other image formats are awaiting
review.
2010-04-03 20:51:55 -04:00
Alexander Larsson
89ac81e767
Actually send exposes from gdk_window_clear_area_e
2010-04-03 20:51:55 -04:00
Javier Jardón
0c991c5645
Add 'Since: 2.18' tag
...
Add missing 'Since:' tag in gdk_window_get_root_coords() and
gdk_window_is_destroyed()
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2010-04-03 20:51:55 -04:00
Nguyễn Thái Ngọc Duy
901aa0d645
vi.po: Updated Vietnamese translation
2010-04-03 20:51:54 -04:00
Christian Dywan
2336ebca5c
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
2010-04-03 20:51:54 -04:00
Tor Lillqvist
9d4e82a0dc
Make the OLE2 DND code selectable at run-time instead of compile-time
...
(It still doesn't work, though.)
2010-04-03 20:51:54 -04:00
Johan Dahlin
b0e01bee7f
Make sure dist check includes introspection
2010-04-03 20:51:54 -04:00
Johan Dahlin
944bf11cee
Bump the required introspection version
...
Makefile.introspection was added in 0.6.7
2010-04-03 20:51:54 -04:00
Johan Dahlin
3a4f027074
Use Makefile.introspection
...
Use the new fancy rules from the Makefile.introspection, it makes
the rules prettier and avoids quite a bit of duplication
2010-04-03 20:51:54 -04:00
Johan Dahlin
a8bf73cfa7
Update introspection.m4
...
This one includes the INTROSPECTION_MAKEFILE variable
which we will include in all Makefiles which are going
to build introspection girs/typelibs
2010-04-03 20:51:54 -04:00
Johan Dahlin
4330bd6e52
Bump required introspection version to 0.6.6
2010-04-03 20:51:54 -04:00
Johan Dahlin
6c9bfc5f39
Make sure dist check works with introspection
...
We need to prepend the srcdir to all variables
passed into the scanner as it runs with srcdir != builddir during
distcheck.
2010-04-03 20:51:53 -04:00
Johan Dahlin
9d4674a5ec
Re-add accidentially removed gtkintl header
2010-04-03 20:51:53 -04:00
Johan Dahlin
cd50594db8
Add no-portability option to automake
...
We require GNU Make and has done so for a while already
2010-04-03 20:51:53 -04:00
Colin Walters
fcbbd763cd
[introspection] Merge in Gtk-custom.c annotations
...
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
2010-04-03 20:51:53 -04:00
Johan Dahlin
99de88c452
Bump the required version of autoconf to 2.62
...
It's need by the new introspection macro.
2010-04-03 20:51:52 -04:00
Johan Dahlin
7c0624aa92
Separate private from public gdk headers
...
We don't want to parse the private gdk headers when
creating the GIR.
2010-04-03 20:51:52 -04:00
Johan Dahlin
b1397c64e4
Add an m4 directory and a introspection.m4
...
So we don't need the introspection.m4 file
to create a dist of gtk+
2010-04-03 20:51:52 -04:00
Tomeu Vizoso
1ba7e8eb15
Add a few more annotations to GtkIconTheme
2010-04-03 20:51:51 -04:00
Colin Walters
f584679cfa
Merge in Gdk-custom.c introspection annotations
...
The Gdk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GDK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2010-04-03 20:51:51 -04:00
Colin Walters
41342b23e5
Build introspection data for gdk-pixbuf, gdk, and gtk
...
Generate .gir and .typelib files for gdk-pixbuf, gdk, and gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2010-04-03 20:51:51 -04:00
Tor Lillqvist
3546feb389
Add copyright note and comment for merged old code
2010-04-03 20:51:51 -04:00
Tor Lillqvist
af37f76bc6
Work on OLE2-based generic DND
...
Intermediate commit of work in progress on integrating the old code
for OLE2-based generic drag and drop from Arhaeopteryx Software, from
a long time ago in the GTK+ 1.3 timeframe. Does still not work and is
as before not compiled in unless OLE2_DND is defined in
gdkdnd-win32.c. (Thus, for inter-process DND, still only WM_DROPFILES
style dropping of files on GTK+ apps works.)
Related slight refactoring of other code that shouldn't change how it
works. Add more global variables for run-time constants (once
initialized) representing well-known GdkAtoms and registered Windows
clipboard formats, as they with the generic DND code will be needed in
several source files. Some improved debugging output.
2010-04-03 20:51:51 -04:00
Tor Lillqvist
e5b4a51b6b
Make more GdkAtom variables visible in all gdk/win32 files
...
Make the GdkAtoms for the image formats extern and usable from all
gdk/win32 files.
2010-04-03 20:51:51 -04:00
Tor Lillqvist
750fa5398e
Make the gdk/win32 event debug printing function non-static
...
Make print_event() extern and rename it to _gdk_win32_print_event() so
it can be used from all gdk/win32 source files.
2010-04-03 20:51:51 -04:00
Tor Lillqvist
e70ef71c3a
Remove unused functions and variables
2010-04-03 20:51:50 -04:00
Benjamin Otte
fb0968a99f
Revert dd511e825a
...
The patch completely breaks entry completion - as can be seen when using
epiphany. Bug 480065 has been reopened.
2010-04-03 20:51:50 -04:00
Javier Jardón
4f0f6243c9
Add info about single includes when compiling GTK+ apps
...
gtk.h, gdk.h, gdk-pixbuf.h. are the recommended includes.
But there are some exceptions: gdkkeysyms.h, gdkx.h and
gtkunixprint.h
https://bugzilla.gnome.org/show_bug.cgi?id=604117
2010-04-03 20:51:49 -04:00
Matthew Barnes
52e84a9ecc
Bug 602099 - Actions can be activatable too
...
Add a couple type checks in gtk_activatable_do_set_related_action() to
allow both GtkWidgets and GtkActions to implement GtkActivatable. Bug
602099 describes a use case for this.
Also add a GObject prerequisite to the GtkActivatable interface.
2010-04-03 20:51:49 -04:00
Matthias Clasen
a2a990aa0b
Fix a typo
2009-12-19 13:12:16 -05:00
Matthias Clasen
d99742e1cb
implement extended layout for GtkCellRendererText
2009-12-19 10:31:16 -05:00
Matthias Clasen
5e62f81196
implement extended layout for GtkCellView
2009-12-19 10:23:58 -05:00
Matthias Clasen
d4b1f0cadf
implement extended layout for GtkTreeView and GtkTreeViewColumn
2009-12-19 02:07:51 -05:00
Matthias Clasen
56edab3553
Implement extended layout for plug/socket
2009-12-19 01:23:58 -05:00
Matthias Clasen
9a48091064
Implement extended layout for GtkScrolledWindow
2009-12-19 00:57:49 -05:00
Matthias Clasen
5e8045b14d
Implement extended layout for GtkBin
2009-12-19 00:34:04 -05:00
Matthias Clasen
7a69bdc5f0
Make it compile
2009-12-18 23:44:43 -05:00
Johannes Schmid
21ebf5df86
native-layout: Change test-case so that it is more obvious that the algorithm tries to show as many
...
widgets with full size as possible.
2009-12-14 17:24:52 +01:00
Johannes Schmid
24c1a4f24b
native-layout: Fix typo that brakes layout completely
2009-12-14 17:16:21 +01:00
Johannes Schmid
462dc0643b
native-layout: Bump version of GtkExtendedLayout gtk-doc comments to 2.20
2009-12-14 16:30:26 +01:00
Johannes Schmid
9724366289
native-layout: Don't expose extra gtk_widget_* function that are similar to the GtkExtendedLayout interface
2009-12-14 16:28:56 +01:00
Johannes Schmid
c659d1a505
Merge branch 'master' into native-layout
2009-12-14 15:36:22 +01:00
Johannes Schmmid
e08d04b561
native-layout: Introduce GtkExtendedLayout interface.
2009-12-14 15:32:49 +01:00
Johannes Schmid
a8ec02c930
gtknotebook: Avoid drawing artifacts with action widgets and long tab labels (bgo#603245)
2009-12-02 09:36:53 +01:00