Commit Graph

24087 Commits

Author SHA1 Message Date
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
323df2b280 Make gdk_event_apply_filters safe against changes in filter list
An event filter may add or remove filters itself.  This patch does
two things to address this case.  The first is to take a temporary
reference to the filter while it is being used.  The second is
to wait until after the filter function is run before determining
the next node in the list to process.  This guards against
changes to the next node.  It also does not run functions
that have been marked as removed.  Though I'm not sure if this
case can arise.

https://bugzilla.gnome.org/show_bug.cgi?id=635380
2010-11-22 13:16:24 -05:00
abe20a7c97 docs: Add private structures to private sections 2010-11-20 21:26:50 +01:00
a61d63d607 docs: Add new GtkAssitant API to gtk3-sections 2010-11-20 21:15:00 +01:00
5cd64fbd08 docs: Add the new GtkScrollablePolicy API to gtk3-sections 2010-11-20 21:14:41 +01:00
f350c4c1b2 Added UG translation 2010-11-20 11:56:21 +01:00
85e15a3880 Updated Norwegian bokmål translation 2010-11-20 11:50:08 +01:00
f2a187f27a [gi] add array annotations for DnD related methods 2010-11-19 15:06:40 -05:00
bc0e6b2b21 gtk: remove GtkWidget::size-request
Fixes Bug 633324 - Stop invoking size-request completely
2010-11-19 19:38:48 +01:00
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
a4d59f7415 Create the icon pixmap with the system visual
Since what we are doing is turning an icon with alpha into a
no-alpha icon + mask for legacy window managers, it makes more sense
to use the system visual than the window's visual, which might
be ARGB.

https://bugzilla.gnome.org/show_bug.cgi?id=634821
2010-11-19 09:29:43 -05:00
d3f1312c98 docs: Copy GtkSizeGroup ownership discussion to GtkWindowGroup
The two behave identically, so the text is the same with s/size/window/.
2010-11-19 09:24:02 -05:00
c2fd7e8350 gtk: draw the frame around the spinbutton's buttons conditionally
(depending on GtkEntry::has-frame)
2010-11-19 14:55:47 +01:00
39f5740763 configure: define GTK+ version before AC_INIT
So the gtk_version varibale will be defined
2010-11-19 09:02:17 +01:00
4e3db2e3a8 gtkcombobox: Use accessor functions to access GtkTreeViewColumn 2010-11-19 08:38:12 +01:00
224ce2cf6c gtktreeview: Use accessor functions to access GtkTreeViewColumn 2010-11-19 08:38:12 +01:00
c4be956473 gtkentry: move public members to private structure 2010-11-19 08:38:12 +01:00
f2abd656f6 gail: Use accessor functions to access GtkEntry
Also, we can't access entry->preedit now. Commented that code until
some gail expert can fix it
2010-11-19 06:15:27 +01:00
8c941d2b4e Add _gtk_entry_get_im_context() internal accessor
It's needed by gtktreeview
2010-11-19 06:15:27 +01:00
fb3429e507 gtkcombobox: Do not access GtkEntry internals
It's not needed anymore
2010-11-19 06:15:27 +01:00
9fa0edd928 gail: we cant access button->in_button directly now.
Commented some code until some gail expert can fix this.
2010-11-19 06:15:27 +01:00
dec57f8ce9 Create a private header to access some GtkButton variables 2010-11-19 06:15:26 +01:00
c295ab0943 gtktbutton: Move public members to private structure 2010-11-19 06:15:26 +01:00
9f16f99358 docs: Improve cross-referencing in the migration guide 2010-11-19 04:44:42 +01:00
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
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
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
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
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
4782804b9d demos: Replace size_request by get_preferred_width/height 2010-11-17 23:58:53 +01:00
f427d6998d gtkoffscreenbox.c: Replace size_request by get_preferred_width/height 2010-11-17 23:58:53 +01:00
10d5686fe1 docs: Move Height-for-width geometry management virtual methods docs 2010-11-17 23:58:26 +01:00
ad2209135d Fix for Catalan translation 2010-11-16 19:39:20 -05:00
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
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
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
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
5f3d819746 GtkArg is deprecated since 2.2 2010-11-16 06:43:16 +01:00
d45fd566b1 docs: Add cross-reference in GtkAlign docs 2010-11-16 03:51:53 +01:00
9e78176685 docs: Fix a typo in gtk_button_set_alignment() docs 2010-11-16 03:37:42 +01:00
2e2effbb6c docs: Remove template of unused functions 2010-11-15 21:08:19 +01:00
b204995c6d docs: Move documentation to inline comments: event_structs
All the GDK documentation is now moved to inline comments
2010-11-15 21:08:11 +01:00
e2cfecf813 docs: Move documentation to inline comments: x_interaction 2010-11-15 21:06:35 +01:00
a384b35bb5 docs: Move documentation to inline comments: drawing 2010-11-15 21:06:35 +01:00
b63800bd33 docs: Move documentation to inline comments: gdkthreads 2010-11-15 21:06:35 +01:00
4400f997a8 docs: Move documentation to inline comments: gdkevents 2010-11-15 21:06:35 +01:00
d2915ed9d1 docs: Move documentation to inline comments: properties 2010-11-15 21:06:34 +01:00
2f06ec02be docs: Move documentation to inline comments: gdkselection 2010-11-15 18:24:31 +01:00
6bfdecef7a docs: Move documentation to inline comments: gdkvisual 2010-11-15 18:24:31 +01:00
9a8fcfa65a docs: Move documentation to inline comments: gdkpango 2010-11-15 18:24:31 +01:00