Commit Graph

35845 Commits

Author SHA1 Message Date
Arash Mousavi
2a54b0fc70 L10N: Updated Persian translations 2013-10-11 09:57:07 +03:30
Matthias Clasen
b191a18f0d Bump version 2013-10-10 22:15:53 -04:00
Matthias Clasen
9b1b3c12cf 3.10.1 2013-10-10 22:14:54 -04:00
Matthias Clasen
397d5d6dcf Quell a compiler warning 2013-10-10 22:14:54 -04:00
John Ralls
010f30ecf2 Suppress cursor theme unsupported warning when there's no theme. 2013-10-10 15:40:03 -07:00
John Ralls
a96f4e77c7 Implement gtk_drag_begin_with_coordinates () for quartz. 2013-10-10 15:40:02 -07:00
John Ralls
7580503f49 Suppress frequent device assertions
Because send crossing event is usually called with a NULL source_device in quartz.
2013-10-10 15:40:02 -07:00
John Ralls
38d400ff99 Quartz: Set the drag context target list
So that gdk_drag_context_list_targets() actually returns something.
2013-10-10 15:40:02 -07:00
Matthias Clasen
72d883d06b Add various tests for stock widgets
This test demonstrates that various deprecated ways
to construct buttons and menuitems still work as they
are supposed to, including always-show-image functionality.
2013-10-10 14:51:43 -04:00
Benjamin Otte
5f3cfc60b5 widget-factory: Remove accel-groups
GtkMenuItem doesn't have accel groups anymore.
2013-10-10 14:51:43 -04:00
John Lindgren
90dfe56a0d Populate GtkPlacesSidebar at initialization
Previously, the "Places" sidebar was populated by the update_places()
call from within gtk_places_sidebar_style_set(). After
742a2f11a9, update_places() is never called
and the sidebar is never populated unless gtk_places_sidebar_add_shortcut()
happens to be called. This commit fixes this by calling update_places()
at the end of gtk_places_sidebar_init().

https://bugzilla.gnome.org/show_bug.cgi?id=709522
2013-10-10 14:51:42 -04:00
Timothy Arceri
bfc0fb71f9 Remove unused function
https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
2013-10-10 14:51:42 -04:00
Timothy Arceri
2076b7414d Remove a bunch of unused variables.
https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
2013-10-10 14:51:42 -04:00
Timothy Arceri
54afbe790d Dont set enum to NULL fixes build issues on Solaris 10
https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
2013-10-10 14:51:42 -04:00
Timothy Arceri
e7b92ee829 Reorder message in configure.ac to display result on the same line
https://bugzilla.gnome.org/show_bug.cgi?id=341146

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
2013-10-10 14:51:42 -04:00
Kjell Ahlstedt
2f86f03a58 GtkWindow: Override gtk_container_remove ()
Check which child is being removed, title_box or the GtkBin child.

https://bugzilla.gnome.org/show_bug.cgi?id=709049
2013-10-10 14:51:42 -04:00
Matthias Clasen
89c3585ecc Improve gtk_container_add docs
Mention that some containers add intermediate children automatically.
2013-10-10 14:51:42 -04:00
William Jon McCann
2bea8f8497 Fix typo in gtk-win32-base.css 2013-10-10 14:51:42 -04:00
John Ralls
3c2008e89d Clarify Cursor Theme GDK Warning 2013-10-10 14:51:42 -04:00
Matthias Clasen
40d7ee5e2a Trivial: remove an unused declaration
_gtk_list_box_accessible_update_selected is not used and
does not exist.
2013-10-10 14:51:42 -04:00
Matthias Clasen
2d03c71cf9 csd: Avoid jumping windows
The size of the shadow and invisible borders can (and usually
will) change between backdrop and focused windows, while the
overall window size remains unchanged. This causes the visible
window to visually 'jump'. We can avoid this by always reserving
the maximum of the focused and unfocused border sizes. The code
for positioning the input-only windows making up the invisible
border is adjusted to deal with this. We now always place the
invisible border right outside the visible content, even if the
shadow extends out much farther.

https://bugzilla.gnome.org/show_bug.cgi?id=707524
2013-10-10 14:51:42 -04:00
Matthias Clasen
7d36488d90 GtkAboutDialog: prevent unintended visibility
Some of the labels were not marked as no-show-all. But the
code clearly tries to manage their visibility, so gtk_widget_show_all()
should not affect them.

https://bugzilla.gnome.org/show_bug.cgi?id=681484
2013-10-10 14:51:42 -04:00
Mario Sanchez Prada
699e3e2834 a11y: don't shutdown accessibility, so the atk bridge is always valid
This will fix issues in applications that for some reason make
several and not nested calls to gtk_main() during their lifetime,
effectively initializing a11y when the first, top most, main loop
is being run and shutting it down then that loop is quit.

https://bugzilla.gnome.org/show_bug.cgi?id=708024

https://bugzilla.gnome.org/show_bug.cgi?id=684076
2013-10-10 14:51:42 -04:00
Benjamin Otte
96a28488ea gdkcairo: Actually paint the pixbuf
I accidentally a line before committing
b41787bc78 - whoops.
2013-10-10 14:51:42 -04:00
Benjamin Otte
b6512eea3f testsuite: Add a test for functions that work without gtk_init()
So far, this is just supposed to be gdk_cairo_set_source_pixbuf().

Note that this is usually not an API guarantee but courtesy to
applications that used these APIs without a gtk_init() call.

https://bugzilla.gnome.org/show_bug.cgi?id=708547
2013-10-10 14:51:42 -04:00
Benjamin Otte
16c8445cc1 gdkcairo: Don't require gtk_init() for set_source_pixbuf()
Instead of using the default display's root window's surface, use the
target surface of the passed in cairo_t to create the similar image from.

https://bugzilla.gnome.org/show_bug.cgi?id=708547
2013-10-10 14:51:42 -04:00
Benjamin Otte
f1ea85e514 gdkcairo: Split out a function
This is in preparation for the next patch.
2013-10-10 14:51:42 -04:00
Xavier Claessens
bde811bed0 GtkSearchBar: replace incomplete example with a real one
https://bugzilla.gnome.org/show_bug.cgi?id=709745
2013-10-10 14:42:46 -04:00
Xavier Claessens
e879720495 Add example app for GtkSearchBar
https://bugzilla.gnome.org/show_bug.cgi?id=709745
2013-10-10 14:42:46 -04:00
Xavier Claessens
af2c540a95 GtkMenu: Document that gtk_widget_insert_action_group() can be used 2013-10-10 14:03:23 -04:00
Matthias Clasen
fba0a9e8af Fix build with explicit --enable-wayland-backend
We forgot to set set WAYLAND_SCANNER in this case.
2013-10-10 12:48:48 -04:00
Matthias Clasen
668eb79086 configure: Make Wayland backend optional
As long as we are not ready to switch over the default backend,
arrange ./configure without explicit backend options makes the
x11 backend mandatory and the wayland backend optional (depending
on whether we find Wayland dependencies).

http://bugzilla.gnome.org/show_bug.cgi?id=709212
2013-10-10 12:48:48 -04:00
Gabor Kelemen
9746ab3539 Updated Hungarian translation 2013-10-10 14:55:08 +02:00
David King
71affbeec0 stack: Warn when setting a visible child which is not in the stack
https://bugzilla.gnome.org/show_bug.cgi?id=709613
2013-10-09 12:11:56 +01:00
William Jon McCann
5b9524f0f7 range: start autoscrolling near the edges of ranges
If a range goes all the way to the edge of the screen then we don't
have any way to activate autoscrolling. By adding a small region
at the ends of the range we can handle this case. This is the same
approach used in treeviews.
2013-10-07 16:40:26 -04:00
Khaled Hosny
09dc2ea808 Update Arabic translation 2013-10-07 17:08:02 +02:00
Victor Ibragimov
42c09b9065 Tajik translation updated 2013-10-07 15:16:15 +05:00
Timm Bäder
6c77f65ea6 gtk_list_box_set_focus: Handle ist_box == NULL
Rows without a parent GtkListBox can happen in Glade and its previewer.
2013-10-03 14:11:50 +02:00
Chun-wei Fan
6c60cdb816 gengir_gtk.bat: Correctly handle time_t
...on x64 Windows/MSVC builds.  This is because time_t is a long long on
x64 arch on Windows.
2013-10-03 17:26:01 +08:00
Bastien Nocera
55c75cd6dc iconhelper: Fix leak when rendering to cairo surface
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:17:06 +02:00
Bastien Nocera
5b5a4b5dfc iconhelper: Use g_clear_* helpers
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:17:06 +02:00
Bastien Nocera
0eccb06cb2 icon-theme: Fix 2 memory leaks in GtkIconInfo
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:17:06 +02:00
Bastien Nocera
1429ebffb2 icon-theme: Use g_clear_* helpers in finalize
https://bugzilla.gnome.org/show_bug.cgi?id=709264
2013-10-02 17:17:06 +02:00
Alexander Larsson
8300c1683a GtkTextView: Fix horizontal scrolling
We didn't properly invalidate when scrolling horizontally.

https://bugzilla.gnome.org/show_bug.cgi?id=708019
2013-10-02 16:24:42 +02:00
Alexander Larsson
9f04e9ccb1 GtkTextView: Fix regression in GtkSourceView drawing
GtkSourceView draws before chaining upo to GtkTextView and assumes
that this will be visible, but the pixelcache will just overdraw
that with background.

So, we stop drawing the background to the pixel cache and instead
make it an CAIRO_CONTENT_COLOR_ALPHA surface to make the previously
drawn content see through.

This is slower, but more backwards compatible.

https://bugzilla.gnome.org/show_bug.cgi?id=708423
2013-10-02 16:24:40 +02:00
Rūdolfs Mazurs
190bdf0592 Updated Latvian translatio 2013-10-02 11:50:30 +03:00
Rūdolfs Mazurs
809df4da4f Updated Latvian translatio 2013-10-02 11:47:22 +03:00
Kenneth Nielsen
dfeb51f1f2 Updated Danish translation 2013-10-01 19:11:17 +02:00
Мирослав Николић
2c6cabf1dc Updated Serbian translation 2013-10-01 09:55:50 +02:00
Cosimo Cecchi
9196deec8d entrycompletion: set the GtkWindow as attached to the GtkEntry
This way themes can easily select that window to apply custom styles.

https://bugzilla.gnome.org/show_bug.cgi?id=708414
2013-09-30 09:47:01 -07:00