Matthias Clasen
8d0e88bac7
gtk: Don't use GDK_THREADS_ENTER/LEAVE macros internally
...
These are just wrappers for the functions, and we want to
deprecate them. Stopping to use them internally is a good
first step.
2012-07-30 18:01:47 +02:00
Benjamin Otte
04c5fdaca6
css: Remove old animation code
...
Deprecate public API where appropriate and make it no-ops.
Remove all calls to it.
Get rid of the 'transition' css property.
For now, this means spinners don't animate anymore.
2012-04-17 08:59:19 +02:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Rui Matos
8bb0773535
toolitemgroup: Use the widget state flags as a base for drawing
2012-01-09 16:45:44 +00:00
Diego Celix
71dc365e8a
gtktoolitemgroup: gtk_misc_set_alignment replacing
...
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtktoolitemgroup.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
2011-06-10 17:59:58 -04:00
Javier Jardón
bf0d8402f5
gtk: Use const instead G_CONST_RETURN
2011-06-10 13:07:54 +01:00
Benjamin Otte
4dbeac9275
toolpalette: Remove composite support
...
It seems to be very broken wrt input handling, causing random icons to
light up etc.
So until this is fixed, better remove composite support. It only removes
animations, so it's not a big loss for functionality.
2011-06-09 05:51:36 +02:00
Matthias Clasen
0e58ec7dcd
GtkToolItemGroupPrivate: Improve struct packing
2011-04-12 12:49:40 -04:00
Matthias Clasen
d9fcc4c630
Silence new gcc warnings
...
gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.
2011-01-23 21:51:38 -05:00
Carlos Garnacho
6ff7a8daf2
Make GtkToolItemGroup use GtkStyleContext
2011-01-12 20:54:34 +01:00
Benjamin Otte
79cc672f3f
toolitemgroup: Update adjustment usage for sealing
2011-01-05 14:30:58 +01:00
Matthias Clasen
98440ad031
Remove gtktypeutils altogether
...
Based on patches by Javier Jardón.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2011-01-04 14:51:19 -05:00
Carlos Garnacho
c0d08ff627
GtkToolItemGroup: Set widget state as state flags.
2010-12-04 15:38:33 +01:00
Chun-wei Fan
76dc9e6b53
gtk: fix C99-style variable declarations in various sources
2010-11-10 10:08:14 +08:00
Ryan Lortie
fbdcf193ae
gtktoolitemgroup: don't use GTimeSpec
...
Use gint64 time instead.
2010-11-03 08:26:27 -04:00
Matthias Clasen
69c7213ba9
GtkToolitemGroup: Use monotonic clock for animation timeout
2010-11-01 11:43:15 -04:00
Tristan Van Berkom
1523509467
Removed size_request from GtkToolItemGroup
...
Ofcourse GtkToolPalette needs real migration to height-for-width
apis, this patch just removes the need for the size_request
signal and vfunc.
2010-10-28 15:16:06 +09:00
Tristan Van Berkom
6e22c646c6
Use gtk_widget_set_size_request() instead of handling "size-request" signals.
2010-10-28 14:56:04 +09:00
Michael Natterer
a46dec176e
gtk: use the new scrollable API to get scroll adjustments
2010-10-22 17:03:21 +02:00
Benjamin Otte
d9c9259861
Move GtkSizeRequest into GtkWidget
...
It doesn't make sense to keep them separate as GtkSizeRequest requires a
GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
one without the other.
It also makes the code a lot easier because no casts are required when
calling functions.
Also, the names would translate to gtk_widget_get_width() and people
agreed that this would be a too generic name, so a "preferred" was added
to the names.
So this patch moves the functions:
gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
gtk_size_request_get_width() => gtk_widget_get_preferred_width()
gtk_size_request_get_height() => gtk_widget_get_preferred_height()
gtk_size_request_get_size() => gtk_widget_get_preferred_size()
gtk_size_request_get_width_for_height() =>
gtk_widget_get_preferred_width_for_height()
gtk_size_request_get_height_for_width() =>
gtk_widget_get_preferred_height_for_width()
... and moves the corresponding vfuncs to the GtkWidgetClass.
The patch also renames the implementations of the vfuncs in widgets to
include the word "preferrred".
2010-09-26 15:11:45 +02:00
Benjamin Otte
1d3f6b30b0
API: Rename gtk_cairo_paint_*() to gtk_paint_*()
...
Large patch, but just renaming.
Indentation should still mostly be correct because I took care of
keeping the indentation for this function name.
2010-09-26 15:11:42 +02:00
Benjamin Otte
bec11c352d
toolitemgroup: Connect to draw signal
2010-09-26 15:11:40 +02:00
Benjamin Otte
2ee8fdb79b
gtk: gdk_drawable_get_display() => gdk_window_get_display()
2010-09-26 15:11:33 +02:00
Benjamin Otte
e8a6bad00b
gtk: Don't set colormap anymore when creating GDK windows
...
Colormaps are about to be removed, so not using them sounds like an
awesome idea.
2010-09-26 15:11:31 +02:00
Benjamin Otte
6607f2b794
API: Rename gdk_set_source_pixmap() to gdk_set_source_window()
...
That's what it's used for now.
2010-09-26 15:11:30 +02:00
Matthias Clasen
e0aa12eb0a
Tons of transfer annotations
2010-09-21 00:18:11 -04:00
Javier Jardón
b140884fec
Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
2010-09-15 03:02:58 +02:00
Philip Withnall
ba158a24fe
Miscellaneous property string fixes
2010-08-29 19:00:14 +01: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
3a10216dd0
Use accessor functions to acces GtkContainer
2010-07-13 19:40:46 +02: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
Tristan Van Berkom
b4d09fd5fb
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-03-29 13:27:40 -04:00
Tristan Van Berkom
7e43059e84
Added missing default events in realize() implementations
...
Added gtk_widget_get_events() to the event masks declared by
GtkToolPalette & GtkToolItemGroup.
2010-03-29 13:22:18 -04:00
Tristan Van Berkom
133e3e84a7
Added missing break statement to mutator: gtk_tool_item_group_set_property()
2010-03-29 13:16:54 -04:00
Javier Jardón
1934de4b65
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-03-06 11:51:33 +01:00
Javier Jardón
16a59ad912
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:41:05 +01:00
Javier Jardón
1fe7d3cefd
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Matthias Clasen
e601f6c478
doc fixes
2010-02-23 14:14:02 -05:00
Matthias Clasen
1f8d468123
Adjust default value for GtkToolItemGroup::label
2009-11-27 00:14:37 -05:00
Matthias Clasen
837775af7b
Fix up docs, and set up the aliasing machinery
2009-11-26 23:52:20 -05:00
Johannes Schmid
bffd43bd8f
toolpalette: Don't call gdk_window_process_updates() in the animation callback
...
That does not seem to make any difference.
2009-11-18 10:38:45 +01:00
Johannes Schmid
ffce5223fc
toolpalette: Fixed inconsistent spacing
2009-11-11 10:02:36 +01:00
Johannes Schmid
0e2a5509f6
toolpalette: fixed trailing whitespaces
2009-11-11 09:42:49 +01:00
Johannes Schmid
3b2ae9dc3e
toolpalettte: Fixed some style issues
2009-11-11 09:32:15 +01:00
Johannes Schmid
e8b640104e
toolpalette: Always show text horizontally
2009-11-11 09:27:00 +01:00
Johannes Schmid
1de2a55eaf
Ported gtktoolpalette from a custom array to GPtrArray.
...
...and some mixed fixes of things mentioned in the bug report
2009-11-09 22:16:15 +01:00
Johannes Schmid
02a9d9afd8
Remove G_GNUC_UNUSED
2009-11-07 10:56:59 +01:00
Johannes Schmid
ed41fa8b50
Fixed GtkToolPalette API docs to mention 2.20 instead of 2.18
2009-10-28 13:17:13 +01:00
Johannes Schmid
e83013c066
Fix custom label handling in gtktoolitemgroup
2009-10-28 13:11:37 +01:00