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
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
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
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
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
Javier Jardón
3cc9575323
Move documentation to inline comments: GtkHBox
2010-04-28 04:29:41 +02:00
Javier Jardón
a6ed128abf
Move documentation to inline comments: Testing utilities
2010-04-28 04:20:10 +02:00
Javier Jardón
1e2dabf31d
Allow NULL as 'icon_widget' in gtk_tool_button_new()
...
This completes the patch of
commit b8ec73a52f
2010-04-27 03:26:11 +02:00
Javier Jardón
d3d4cf0e84
Deprecate GTK_WIDGET_*SET_FLAGS() macro
...
The macro GTK_WIDGET_SET_FLAGS(w, GTK_VISIBLE) should
still be fixed internally.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-27 02:45:18 +02:00
Mirsal Ennaime
5eaff47e85
Add accessors for GtkTextView adjustments
...
GtkTextView is missing accessors for its sealed hadjustment
and vadjustment members.
This patch adds gtk_text_view_get_hadjustment() and
gtk_text_view_get_vadjustment() to GtkTextView
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616053
2010-04-27 02:23:07 +02:00
Matthias Clasen
538ec4efbb
Add a GtkExtendedLayout implementation for GtkFrame
2010-04-26 18:07:42 -04:00
Javier Jardón
41a073263a
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_DEFAULT)
...
Introduce internal _gtk_widget_set_has_default() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614515
2010-04-26 21:10:15 +02:00
Javier Jardón
45257e31c7
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)
...
Introduce internal _gtk_widget_set_is_toplvel() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614510
2010-04-26 21:07:20 +02:00
Javier Jardón
560e426f16
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_GRAB)
...
Introduce internal _gtk_widget_set_has_grab() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614513
2010-04-26 21:04:51 +02:00
Javier Jardón
b8ec73a52f
Only a GtkMisc widget should be passed to gtk_tool_button_new()
...
Reported by Hernando Torque here:
https://bugzilla.gnome.org/show_bug.cgi?id=616851
2010-04-26 20:23:39 +02:00
Emmanuele Bassi
621b415e5b
tree-view: Use gtk_widget_send_focus_change()
...
Remove the second (and last) internal user of the GTK_HAS_FOCUS flag.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:24 +01:00
Emmanuele Bassi
91930f86b2
window: Use gtk_widget_send_focus_change()
...
Remove the original user of the GTK_HAS_FOCUS flags.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:23 +01:00
Emmanuele Bassi
f04a720348
widget: Add send_focus_change()
...
Currently the only users of the GTK_HAS_FOCUS flag are setting it
before sending a focus change event. This is normally needed by
GtkWindow, but there are widgets that require controlling the focus
of widgets that are semantically their children even though they are
parented to another top-level. Case in point: the quick search entry
for GtkTreeView.
Over the years people have been hacking the focus change out of
gtkwindow.c and gtktreeview.c, thus leaking the direct access of the
GTK_HAS_FOCUS flag.
The simplest way to avoid that is to add a function that sends the
focus change event and controls the setting of the flag, thus removing
the need for external widgets to do the same.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:22 +01: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
f285ed1348
Treat h and v boxes the same way
...
...we've got the money!
2010-04-25 17:12:15 -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
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
Javier Jardón
95fd5011c2
Move documentation to inline comments: GtkMessageDialog
...
Also, add a note about GTK_BUTTONS_OK, GTK_BUTTONS_YES_NO
and GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-21 05:57:29 +02: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
dfd311497d
Fixed GtkLabel to wrap correctly and report width-for-height correctly when vertical.
2010-04-20 18:54:50 -04:00