Cody Russell
4a73b41a34
add getter function for widget->allocation
...
Add gtk_widget_get_allocation() to retrieve a widget's allocation.
Needed as a step to enable GSEAL building.
This fixes bug #585211
2009-07-29 22:28:17 -05:00
Alejandro Piñeiro Iglesias
f22239c4aa
Report ATK_STATE_SHOWING only when all parents are visible
...
Bug #509650 . Checks if all the predecesors (the parent widget,
his parent, etc) are visible. Only reports ATK_STATE_SHOWING when
all parents are visible.
Signed-off-by: Li Yuan <li.yuan@sun.com>
2009-07-29 11:55:53 +08:00
Jamy
a96bf76db3
Updated breton translation
2009-07-28 13:46:41 +02:00
Jamy
29870ca2f9
Updated breton translation
2009-07-28 13:45:35 +02:00
Stefan Kost
0e6d121b83
docs: add missing <variablelist> tags
...
Fixes docbook validation for these files.
2009-07-28 11:21:49 +03:00
Stefan Kost
ed58c1028a
docs: inline see_also to sections docs and add missing <variablelist>
...
This fixes docbook validation for the file.
2009-07-28 11:20:22 +03:00
Federico Mena Quintero
d55ff39ad0
bgo#161489 - In the file chooser, let the left/right arrow keys switch focus between the file list and shortcuts
...
Based on a patch by Christian Neumair <cneumair@gnome.org>
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-07-27 19:24:42 -05:00
Federico Mena Quintero
b50548e350
From the shortcuts pane, focus the GtkEntry and redirect unhandled keystrokes to it
...
This lets us do this:
1. click on a folder in the shortcuts pane
2. start typing a filename
Then, the typed filename will actually go to the filename entry, like
the user expects. (Or to the search entry, in case the user clicked
on the Search shortcut.)
Also, removed the obsolete callback that made "/" and "~" typed in the
shortcuts pane bring up the location entry.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-07-27 19:12:41 -05:00
Federico Mena Quintero
0f5f7539f3
bgo#534462: Disable interactive search in the file chooser's shortcuts pane
...
People often do this:
1. Bring up a SAVE dialog
2. Click on a folder in the shortcuts pane
3. Start typing a filename
4. Oops! The interactive-search entry in the shortcuts pane appears.
With this, the shortcuts pane will not bring up the interactive-search entry. Then it
will be clear that you are not typing in the right place.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-07-27 19:12:41 -05:00
Daniel Nylander
00ff4d622b
Updated Swedish translation
2009-07-28 02:22:30 +02:00
Cody Russell
313b6f39a6
_gdk_window_impl_new() on directfb
2009-07-27 15:39:28 -05:00
Kjartan Maraas
10e249f035
Fix translation
2009-07-27 16:36:56 +02:00
Hans Breuer
a7394dc887
Implement GdkDrawableImplWin32::draw_pixbuf
2009-07-26 19:14:08 +02:00
Hans Breuer
45344cdf7c
Use G_DEFINE_TYPE (GdkDrawableImplWin32, ...)
2009-07-26 19:14:07 +02:00
Hans Breuer
c5c87a918f
Some cursor work for csw(win32), more left to do
2009-07-26 19:14:06 +02:00
Hans Breuer
31357a7ab6
Enable big_window bench on win32, dialog for everyone
2009-07-26 19:14:05 +02:00
Hans Breuer
4d2c165b75
Formatting and removing commented/obsolete code
2009-07-26 19:14:04 +02:00
Philip Withnall
f9a1bfb7b9
Bug 589336 – Add GtkTreeViewColumn:sort-column-id property
...
Add the property, change notifications and documentation stubs.
2009-07-26 10:52:30 +01:00
Matthias Clasen
88d96c7246
Bump version
2009-07-24 23:51:47 -04:00
Matthias Clasen
a99a4d35e4
2.17.6
2009-07-24 23:49:37 -04:00
Matthias Clasen
012ff55b84
Updates
2009-07-24 22:52:21 -04:00
Alexander Larsson
a504784b4b
Fix cairo rendering on large subwindows
...
We get the real pixmap size and use as cairo surface size rather
than doing some magic to try to get clipping on the right hand size
(and the magic looks wrong anyway).
The previous code could result in the width/height being to big for
the cairo 28.4 fix point size and thus not drawing anything.
This fixes bug #588076 .
2009-07-24 21:44:57 +02:00
Li Yuan
ee876f94b1
Remove both SHOWING and SELECTED states when menuitem is not visible
...
Bug #582674 and Bug #574674 . Remove SHOWING state also.
2009-07-24 16:23:57 +08:00
Li Yuan
de718dbe93
Remove ATK_STATE_SHOWING state when menuitem is not visible
...
When the menu is not selected, remove ATK_STATE_SHOWING state. And
emit state change signal if the menu is selected/unselected.
2009-07-24 16:17:59 +08:00
Matthias Clasen
9660bfe9da
Fix issues with resize handles
...
The resize handles were not correctly redrawn and not positioned
correctly, initially.
2009-07-24 00:47:09 -04:00
Alexander Larsson
9d69355e6f
Fix clipping of pixbuf drawing to windows
...
When the fallback for gdk_draw_pixbuf (gdk_drawable_real_draw_pixbuf)
is called with a window destination we have already applied any clip
regions and offsets for the window, but the window we get is a wrapper
and not an impl. We have to ensure we really draw to the impl, as
otherwise the pixbuf drawing will be clipped by client side subwindows.
This fixes bug 588553.
2009-07-23 22:03:15 +02:00
Alexander Larsson
e71c5d3ab5
Avoid unnecessary indirect call
...
Call klass->draw_pixbuf directly inside gdk_window_draw_pixbuf
instead of gdk_draw_pixbuf to avoid doing all checks twice.
2009-07-23 22:03:15 +02:00
Ivar Smolin
82ba9628e5
Updating Estonian translation
2009-07-23 19:08:44 +03:00
Daniel Nylander
141e983d24
Updated Swedish translation
2009-07-22 14:23:31 +02:00
Daniel Nylander
0c5e3b390b
Updated Swedish translation
2009-07-22 13:51:09 +02:00
Tristan Van Berkom
cfc27be34e
Slightly updated grammer in migrating-GtkBuilder.sgml
...
Just fixes the previous patch concerning using Glade if
possible before resorting to gtk-builder-convert to have
better grammer.
2009-07-21 12:54:33 -04:00
Javier Jardón
f4d1246700
Suggesto to use Glade instead gtk-builder-convert script (GnomeBug:587337)
...
* docs/reference/gtk/migrating-GtkBuilder.sgml
2009-07-21 12:54:32 -04:00
Cody Russell
d84b575cd0
Bug 589275 – [csw] Trying to destroy NULL regions
...
gdk_window_input_shape_combine_mask() can accept NULL for the mask
parameter, but it wasn't checking for NULL before passing the
resulting GdkRegion to gdk_region_destroy(). Fixes #589275
2009-07-21 11:44:25 -05:00
Alexander Larsson
18048308e4
Revert all handling of clip_region being unset for non-viewable windows
...
This is now handled by explicitly setting it to empty for all non-viewable
windows.
This reverts these commits:
82e609c2a0
36861cf608
454160ad9e
7adf894a29
ed2c837574
2009-07-20 23:26:02 +02:00
Alexander Larsson
3c03683e09
Set clip region to empty for non-viewable windows
...
This lets us avoid lots of viewable checks and still not waste
time computing clip regions for non-viewable windows
2009-07-20 23:15:34 +02:00
Alexander Larsson
82e609c2a0
Make gdk_window_begin/end_paint handle non-viewable windows
...
These are updated to not read clip region is not viewable
2009-07-20 22:36:02 +02:00
Alexander Larsson
36861cf608
Make gdk_drawable_get_visible/clip_region handle the !viewable case
...
We can't access ->clip_region for these cases as its not yet calculated.
2009-07-20 22:30:48 +02:00
Alexander Larsson
bf78db5690
Calculate clip region when window goes viewable
...
Since we're no longer calculating clip regions for non-viewable windows
we need to calculate it when it goes viewable.
2009-07-20 22:19:35 +02:00
Jorge González
6e4aff8608
Updated Spanish translation
2009-07-20 20:28:40 +02:00
Jorge González
6b3613d30c
Updated Spanish translation
2009-07-20 20:27:43 +02:00
Jorge González
dbc80f47b1
Updated Spanish translation
2009-07-20 20:19:09 +02:00
Paolo Borelli
c564b3ef2b
Microoptimization in interactive search handling
2009-07-20 15:54:48 +02:00
Paolo Borelli
48f1b45b62
Bug 588943 – set correct selection before emitting cursor-changed when searching
...
Make sure the correct selection is set when emitting cursor-changed
during an interactive search
2009-07-20 15:54:35 +02:00
Xan Lopez
3484246dc3
g_strdup_print does not exist, the function is g_strdup_printf.
2009-07-20 09:58:22 +03:00
Matthias Clasen
267d209441
Remove markup from translatable strings
...
Pointed out in bug 588964. String change !
2009-07-20 01:10:52 -04:00
Matthias Clasen
8430e215a7
Remove a duplicate include.
...
This was pointed out in bug 588897.
2009-07-20 00:31:20 -04:00
Matthias Clasen
d6afa6eff2
Fix a typo in the startup-id property definition
...
As well as some new GtkPrintOperation properties, which were not
correctly set up. This was noticed in bug 588958.
2009-07-19 23:52:58 -04:00
Matthias Clasen
4f49287659
Add a translator comment
...
This fixes bug 589035.
2009-07-19 23:21:52 -04:00
Alexander Larsson
aa47fca68f
Exit remove_child_area when region is empty
...
When the region is empty we can return early, because there
is no more area to remove. This happens often for children
of scrolled windows (i.e. things that are clipped out.
2009-07-19 22:38:06 +02:00
Alexander Larsson
a057c03889
Optimize remove_child_area for children outside region
...
If a child is totally outside the current region, bail early instead
of doing costly calculations to subtract the child region.
2009-07-19 22:38:06 +02:00