Commit Graph

10654 Commits

Author SHA1 Message Date
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
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
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
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
Paolo Borelli
cffda84e93 Annotate GtkTextBuffer insert methods 2010-08-04 21:04:04 +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
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
5d5332a493 paned: Remove unused GdkGC 2010-07-31 22:41:39 +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
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
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