Colin Walters
6c6b493926
iconcache: Ensure we don't lose data on power loss
...
fsync() should ensure our data hits disk; since corrupt icon
caches break all apps, we need to ensure it's valid.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=635307
2010-11-22 20:49:59 +01:00
John (J5) Palmieri
f2a187f27a
[gi] add array annotations for DnD related methods
2010-11-19 15:06:40 -05:00
Michael Natterer
bc0e6b2b21
gtk: remove GtkWidget::size-request
...
Fixes Bug 633324 - Stop invoking size-request completely
2010-11-19 19:38:48 +01:00
Martin Pitt
3431f7a2d7
GtkRadioButtons: Mark group arguments as "allow-none"
...
In the current introspection data, the various gtk_radio_button_new_*
constructors take an existing group or widget. These all allow passing a NULL
widget or group list, so that it becomes easy to build a radio button list in a
loop (pass in None the first time, and the previously created button in all
other iterations).
Add the missing "allow-none" tag to the introspection data, so that this will
also eventually work for GIR users. NB that it does not actually work for some
constructors yet (like new_with_label_from_widget()) due to
https://bugzilla.gnome.org/show_bug.cgi?id=561264 .
https://bugzilla.gnome.org/show_bug.cgi?id=635253
2010-11-19 16:29:43 +01:00
Michael Natterer
c2fd7e8350
gtk: draw the frame around the spinbutton's buttons conditionally
...
(depending on GtkEntry::has-frame)
2010-11-19 14:55:47 +01:00
Javier Jardón
4e3db2e3a8
gtkcombobox: Use accessor functions to access GtkTreeViewColumn
2010-11-19 08:38:12 +01:00
Javier Jardón
224ce2cf6c
gtktreeview: Use accessor functions to access GtkTreeViewColumn
2010-11-19 08:38:12 +01:00
Javier Jardón
c4be956473
gtkentry: move public members to private structure
2010-11-19 08:38:12 +01:00
Javier Jardón
8c941d2b4e
Add _gtk_entry_get_im_context() internal accessor
...
It's needed by gtktreeview
2010-11-19 06:15:27 +01:00
Javier Jardón
fb3429e507
gtkcombobox: Do not access GtkEntry internals
...
It's not needed anymore
2010-11-19 06:15:27 +01:00
Javier Jardón
dec57f8ce9
Create a private header to access some GtkButton variables
2010-11-19 06:15:26 +01:00
Javier Jardón
c295ab0943
gtktbutton: Move public members to private structure
2010-11-19 06:15:26 +01:00
Javier Jardón
29fc179a89
gtkplug: Do not leak in gtk_plug_realize()
...
Indeed, we should check for window->wmclass_name
Reported by Guillaume Desmottes in bug
https://bugzilla.gnome.org/show_bug.cgi?id=635175
2010-11-18 17:52:18 +01:00
Tristan Van Berkom
c03a3ca601
Fixing GtkScrolledWindow inconsistent scrollbar visibility.
...
Also removing the hack to prevent hangs which is properly fixed by
the preceeding commit.
2010-11-19 00:53:19 +09:00
Tristan Van Berkom
f20ac5792f
Fixing hangs with GtkScrolledWindow
...
Now gtk_widget_size_allocate() unsets the resize_needed flags
before returning, essentially this means that any widget that
has a queued resize and is allocated before resize time, including
queued resizes from inside a size_allocate() method will be
cancelled.
2010-11-19 00:53:13 +09:00
Michael Natterer
881282e055
gtk: honor entry->has_frame again draw the frame conditionally
...
when GtkEntry had visible windows, it was never noticed that we always
draw the frame, because the text_area window would cover it if
draw_frame was FALSE.
2010-11-18 01:06:57 +01:00
Michael Natterer
3ec8daa66c
gtk: draw the progress only on the text area
...
so it doesn't extend under GtkSpinButton's buttons.
2010-11-18 01:06:57 +01:00
Javier Jardón
10d5686fe1
docs: Move Height-for-width geometry management virtual methods docs
2010-11-17 23:58:26 +01:00
Federico Mena Quintero
b8cde53350
bgo#634558 - filechooser - Actually focus the Search entry when selecting the Search shortcut
...
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-11-16 10:58:16 -06:00
John (J5) Palmieri
6ebc15028b
[gi] add "array" annotations to GtkAboutDialog methods
...
* set_authors, set_documenters and set_artists required the array annotation
to work properly
2010-11-16 11:07:20 -05:00
Javier Jardón
70d95f04e7
gtkmain: Remove deprecated gtk_init_add() function
...
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2010-11-16 06:54:01 +01:00
Javier Jardón
77d6bd12b9
Deprecate GtkCallbackMarshal and GtkFunction
...
As they're only used by already deprecated API
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2010-11-16 06:54:01 +01:00
Javier Jardón
5f3d819746
GtkArg is deprecated since 2.2
2010-11-16 06:43:16 +01:00
Javier Jardón
d45fd566b1
docs: Add cross-reference in GtkAlign docs
2010-11-16 03:51:53 +01:00
Javier Jardón
9e78176685
docs: Fix a typo in gtk_button_set_alignment() docs
2010-11-16 03:37:42 +01:00
John (J5) Palmieri
a3da018a64
[gi] add "out" annotations to gtk_tree_store_sort_column_id params
2010-11-15 12:14:43 -05:00
Carlos Garcia Campos
3b90a21763
docs: Mention that tooltip_column text should be escaped in GtkIconView
2010-11-14 12:39:48 +01:00
Javier Jardón
97862638ec
docs: Update URL of some documentation links
...
http://developer.gnome.org -> http://library.gnome.org
2010-11-14 01:24:19 +01:00
Owen W. Taylor
63913ffe54
Pass the correct GDK library when working around Debian libtool
...
We need to link against gdk/libgdk-x11-3.0.la, not
gdk/x11/libgdk-x11.la, which is the convenience library containing
the backend functions.
2010-11-10 17:10:45 -05:00
Murray Cumming
7c21974009
gtk_dialog_get_content_area(): Fix the docs.
...
This returns a GtkBox now, not a GtkVBox.
Language bindings may need to adjust their APIs accordingly.
2010-11-10 11:35:34 +01:00
Murray Cumming
ba4dde9b45
gtkdialog.c: Remove trailing whitespace
2010-11-10 11:35:09 +01:00
Chun-wei Fan
8c674c5d84
gtklabel.c: Added hack for rint()
2010-11-10 10:21:08 +08:00
Chun-wei Fan
086bfc723e
gtkwocket-win32.c Added missing include to avoid C4013
2010-11-10 10:15:45 +08:00
Chun-wei Fan
ce3680fe15
Merge ssh://git.gnome.org/git/gtk+
2010-11-10 10:14:13 +08:00
Chun-wei Fan
76dc9e6b53
gtk: fix C99-style variable declarations in various sources
2010-11-10 10:08:14 +08:00
John (J5) Palmieri
eb34f3350f
[introspection] mark invokers for gtkeditable vfuncs
2010-11-09 21:00:14 -05:00
Matthias Clasen
6929db78a3
fix up accidental exports
2010-11-09 13:51:55 -05:00
Matthias Clasen
185bb2837b
Another attempt at scrolledwindow size allocation
...
Patches taken from bug 633278.
2010-11-09 13:19:42 -05:00
Colin Walters
4acf92c08d
introspection: Explicitly include libgdk-x11.la when scanning gtk
...
Debian changed the behavior of libtool to not follow dependencies
from .la files. Fortunately, the scanner explicitly looks at the
.la files to see if they're really shared; if not it doesn't add
them to the .gir, so there's no cost.
https://bugzilla.gnome.org/show_bug.cgi?id=633405
2010-11-09 11:37:25 -05:00
Matthias Clasen
6613fc7b36
Fix the doc build
2010-11-09 08:16:33 -05:00
Matthias Clasen
88366ad5fe
Don't export _gtk_cell_renderer_calc_offset
...
This is just a private convenience function, and exporting _-prefixed
functions doesn't work with our libtool setup. Just do the 3 line
calculation in gail.
2010-11-09 08:15:06 -05:00
Matthias Clasen
1ddf183bac
Fix entry completion window sizing
...
I don't think we are at the end of scrolledwindow tweaks yet,
but this will make things work for now, as they used to.
https://bugzilla.gnome.org/show_bug.cgi?id=633670
2010-11-08 18:39:02 -05:00
Patrick Bernaud
76ba033f59
docs: Move documentation to inline comments: GtkPaned
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634338
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-08 23:22:03 +01:00
Patrick Bernaud
6a93e3bbe1
docs: Move documentation to inline comments: GtkProgressBar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634339
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-08 23:21:57 +01:00
Patrick Bernaud
692024940c
docs: Move documentation to inline comments: GtkPageSetup
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634340
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-08 23:21:49 +01:00
Hans Breuer
9452b271a0
Bug 609622 - disappearing statusicon
...
Windows 7 is managing status icon visibility across process lifetime,
which did not work with GTK+ create icons. Apparently the mechanism
does not require use of new API (like suggested by MSDN), but it is
enough to give a "unique" tooltip at creation time.
Formerly this initial tooltip was not set at all, later setting via
gtk_status_icon_set_tooltip_text() is not enough, but luckily
different follow-up tooltips don't disturb the intended behavior.
(cherry picked from commit ae0544c636
)
(cherry picked from commit 8a9d458baf
)
2010-11-07 23:58:29 +01:00
Hans Breuer
dc40e17af8
Update msvc build
2010-11-07 23:35:04 +01:00
Matthias Clasen
9dfeee8127
Make GtkFileChooserButton behave as expected when expanding
2010-11-07 11:22:07 -05:00
Garrett Regier
3aad9f6617
docs: Move documentation to inline comments: GtkCellView
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 18:21:36 +01:00
Garrett Regier
d5593dec9e
docs: Move documentation to inline comments: GtkCellRendererText
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 18:21:36 +01:00