Commit Graph

35985 Commits

Author SHA1 Message Date
Chun-wei Fan
bba5465bcc gtk.vcxprojin: Fix Missing Semicolon 2013-12-30 12:32:19 +08:00
Yuri Myasoedov
122d8e91e0 Updated Russian translation 2013-12-24 23:10:34 +04:00
Matej Urbančič
e4035942eb Updated Slovenian translation 2013-12-21 22:49:21 +01:00
Stas Solovey
d0dd8001f1 Updated Russian translation 2013-12-19 23:14:06 +04:00
Stas Solovey
fb77c15e4c Updated Russian translation 2013-12-19 23:11:51 +04:00
Volker Sobek
173a289729 GtkStyleContext: Invalidate contexts with a path
Fixes a tiny typo in commit f51c9d4154
which manifested itself in GtkSpinButton's panels being drawn with an
incorrect, not updated state.

This patch took me more hours than you might think! :P

https://bugzilla.gnome.org/show_bug.cgi?id=709491
2013-12-18 00:27:29 +01:00
Benjamin Otte
c7c4b0c5fd clipboard: Don't crash when data is requested from NULL window
This could happen if data was requested from a separate screen now that
multi-screen is no longer supported.

Ideally, we'd want to support copying to other screens, but that
requires solving in GDK as that's X-specific so cannot be well
abstracted by GDK (without the reintroduction of multiple screens).

https://bugzilla.gnome.org/show_bug.cgi?id=719314
2013-12-13 16:56:07 +01:00
Volker Sobek
31da6d5d50 GtkFileChooser: Don't fill location_entry if we just populated the file list
Only fill the location entry with the file name of the tree view's
selected file when the selection was done by the user.

When the file chooser's action is GTK_FILE_CHOOSER_ACTION_OPEN, it
selects the first file in the tree view once loading has finished. For
this case we don't want it to insert the file name in the location
entry, as it hinders efficient navigation using the location entry. To
achieve this, use a priv flag to keep track of whether the
selection-changed signal was caused by the file chooser itself.

https://bugzilla.gnome.org/show_bug.cgi?id=386569
2013-12-12 17:42:44 -06:00
Matthias Clasen
5dd70f6383 Add a missing brace
https://bugzilla.gnome.org/show_bug.cgi?id=719970
2013-12-08 01:04:49 -05:00
A S Alam
ad2cb69ff4 Update Punjabi Translation by Alam 2013-12-07 21:04:40 -06:00
Benjamin Otte
47c6ffb7b1 filechooser: Don't crash if invalid thumbnails exist
Failing to load a thumbnail returns a NULL pixbuf. Since the hidpi
patches this wasn't checked when creating the surface. Result: assertion
failure.

https://bugzilla.gnome.org/show_bug.cgi?id=719977
2013-12-06 19:22:34 +01:00
Matthias Clasen
b26a3d6440 docs: Add a missing Since: tag 2013-12-05 09:09:42 -05:00
Matthias Clasen
8dd899dae5 Don't distribute generated sources
This was causing problems when building 3.10.6 against an older
wayland.
2013-12-05 09:09:31 -05:00
Matthias Clasen
4b99821278 Bump version 2013-12-05 00:49:25 -05:00
Matthias Clasen
cfeeee3739 3.10.6 3.10.6 2013-12-05 00:48:15 -05:00
Matthias Clasen
db79815f01 Fix make dist 2013-12-05 00:48:08 -05:00
Jasper St. Pierre
eaa40321c6 recentchooserdefault: Clean up load_id when we have nothing left to do
Returning FALSE from a GSourceFunc will implicitly remove it, so we need
to do this in order to make the new g_source_remove happy.
2013-12-04 22:51:23 -05:00
Carlos Garnacho
61adef162d x11: Handle XINotifyPassiveGrab/Ungrab in focus events
The focus handling code is shared between core and XI2 implementations,
so just handle the extra XI2 types for passive grabs. Those must be dealt
with in the same way than active grabs. Focus events with this crossing
mode could happen currently through the XIGrabFocusIn passive grab.

https://bugzilla.gnome.org/show_bug.cgi?id=719762
2013-12-04 21:26:20 -05:00
Carlos Garnacho
25c087ed92 x11: Handle all XI2 crossing mode values in switch
This fixes potential assertions if a GTK+ app gets to receive
a XINotifyPassiveGrab/Ungrab pointer crossing event, currently
triggerable by XIGrabEnter passive grabs.

http://bugzilla.gnome.org/show_bug.cgi?id=719762
2013-12-04 21:26:11 -05:00
Matthias Clasen
6e90eba712 Revert "gdkwindow-x11: Don't set WM_TAKE_FOCUS if accept_focus is FALSE"
This reverts commit 76f585e086.
2013-12-04 11:18:05 -05:00
Benjamin Otte
3b25efffce treeview: Don't draw a background for the bin window
The bin window's background would have to be drawn in the bin window's
size and inside the pixel cache draw function to not cause transparency
issues.

But because it's unnecessary as the view window draws the same
background, we just skip it.

https://bugzilla.gnome.org/show_bug.cgi?id=709027
2013-12-04 10:41:37 +01:00
Lars Uebernickel
fbff02f778 gtk object tests: run under local environment
Make sure that the tests don't access the host's session bus or
installed gsettings schemas.

Also disable tests for some classes that leak a connection to the
session bus.

https://bugzilla.gnome.org/show_bug.cgi?id=711715
2013-12-03 14:22:00 +01:00
Matthias Clasen
90e4690111 GtkRevealer: Fix size allocation with disabled animation
When animation is disabled, we use 'none' as the effective
transition type. So far, this transition type failed to change
the size request, causing the revealer to always take up the
space of the child, even when the child is not shown.

https://bugzilla.gnome.org/show_bug.cgi?id=719568
2013-12-01 21:48:12 -05:00
Marco Brito
46d8efec5c Add class toolbar before the style context is created for the widget.
The call to gtk_button_set_relief() in gtk_toolbar_init() indirectly
used the style context of the half-created widget, before we had a
chance to add the "toolbar" style class to it.

Reorder gtk_toolbar_init() to ensure that the proper style class is
set first.

https://bugzilla.gnome.org/show_bug.cgi?id=719595
2013-12-01 17:21:23 -05:00
Christian Persch
c12d7c7e7b infobar: Fix visibility when enable-animations=false
When enable-animations is false, the revealer's child-revealed property is
notified immediately, so make sure to connect to it before toggling the
revealer.

https://bugzilla.gnome.org/show_bug.cgi?id=719510
(cherry picked from commit cc3c737088)
2013-12-01 23:18:04 +01:00
Aaron Hamilton
ee0726db00 Correct the deprecation annotation for gtk_widget_modify_bg
It was pointing to a nonexisting function.

https://bugzilla.gnome.org/show_bug.cgi?id=719469
2013-12-01 17:05:41 -05:00
Matthias Clasen
2436627eb4 Fix problems with dialog sizing
Many dialogs contain wrapping labels, but don't set
max-width-chars on them. Previously, we were capping their
width at 640, but since 3.10.5, they extend all the way to
the width of the screen, which is not the desired behaviour.

Go back to capping the width of dialogs at 640 in the stable
series. In git master, we will set max-width-chars on the
labels instead.

https://bugzilla.gnome.org/show_bug.cgi?id=719516
https://bugzilla.gnome.org/show_bug.cgi?id=719569
2013-12-01 14:55:02 -05:00
Matthias Clasen
ddf806c48d places sidebar: Use a symbolic desktop icon
This was pointed out in

https://bugzilla.gnome.org/show_bug.cgi?id=719505
2013-12-01 14:00:18 -05:00
Aurimas Černius
7da53e343c Updated Lithuanian properties translation 2013-12-01 17:55:48 +02:00
Мирослав Николић
84cb212052 Updated serbian translation 2013-11-30 10:30:02 +01:00
Chun-wei Fan
a286878d84 build/win32/vs*/README.txt: Re-word a bit
Use PATH rather than path to make things clearer
2013-11-29 09:54:46 +08:00
Fran Diéguez
046880706b Updated Galician translations 2013-11-29 00:38:17 +01:00
Juan Pablo Ugarte
41e876039b GtkAboutDialog: fixed calling gtk_about_dialog_set_logo_icon_name()
with a NULL icon_name. Now it will actually use the default
window icon set as mention in the docs
2013-11-28 17:32:32 -03:00
Juan Pablo Ugarte
bc7ce5eb74 GtkIconCache: find_image_offset() return 0 if icon_name is NULL.
This avoid a crash calling gtk_about_dialog_set_logo_icon_name() with a NULL icon_name.
2013-11-28 17:32:29 -03:00
Chun-wei Fan
79e512ba37 Visual C++ Projects: Add rules to generate GTK DBus sources
Since commit 7c2a5072 the gtkdbusgenerated.[c|h] are not included in the
dist tarball and thus have to be generated, which broke the Visual C++
builds.

This patch adds property sheets and custom build rules for the Visual C++
projects so that gtkdbusgenerated.[c|h] will be generated upon building the
GTK+ DLL sources.

This also tells people building GTK+ from the projects that they need to
have Python 2/3 installed and the Python interpretor needs to be in their
PATH before building GTK+ from the projects.
2013-11-27 18:06:23 +08:00
Chun-wei Fan
bae0506cbf Update GDK-Broadway MSVC Projects
-Improve optimization a bit for broadwayd, by enabling link time code
 generation
-Add PlatformToolset tag for the Visual C++ 2010 projects, to ease
 transition to Visual C++ 2012/2013
2013-11-27 16:48:24 +08:00
Matthias Clasen
3dd0e5956e Bump version 2013-11-26 19:18:20 -05:00
Matthias Clasen
2a0daba511 3.10.5 3.10.5 2013-11-26 18:28:15 -05:00
Matthias Clasen
76b9cda79f Don't distribute gdbus-generated sources
These are supposed to be regenerated at build time,
to avoid dependencies on the dist-systems glib version.
2013-11-26 18:28:15 -05:00
Benjamin Otte
86bd06b55f tests: Add max-width-chars to testwindowsize test 2013-11-26 16:20:37 -05:00
Benjamin Otte
061601225d menu: Do a proper min height request
The minimum height is the size of one menu item plus the arrows, not the
minimum size of all menu items.

https://bugzilla.gnome.org/show_bug.cgi?id=691974
https://bugzilla.gnome.org/show_bug.cgi?id=694859
2013-11-26 16:20:19 -05:00
Benjamin Otte
ca41e8b4ff window: Don't assume 640x480 max default size
Instead, use the monitor's work area.

This might have unforseen side effects that warrant a later revert, such
as:
- Apparently some WMs assume maximizing when a window is maximum screen
  size.
- WMs might not shrink the window by the decorations' size when it tries
  to be fullscreen.
- Applications might have buggy size request code that causes weirdly
  sized windows.
2013-11-26 16:20:03 -05:00
Benjamin Otte
99129d15c7 treemenu: Implement height-for-width properly 2013-11-26 16:19:47 -05:00
Philip Withnall
11d4cf9c90 testsuite: Fix potential strcmp() against NULL
Use g_strcmp0() instead.

Found by scan-build.

https://bugzilla.gnome.org/show_bug.cgi?id=712760
2013-11-26 16:19:09 -05:00
Philip Withnall
445af471e3 gtktreeviewaccessible: Fix a potential division by zero
Found with scan-build.

https://bugzilla.gnome.org/show_bug.cgi?id=712760
2013-11-26 16:19:02 -05:00
Philip Withnall
6cda70315f gdkwindow: Fix potential uses of uninitialised variables
Found with scan-build.

https://bugzilla.gnome.org/show_bug.cgi?id=712760
2013-11-26 16:18:55 -05:00
Christian Persch
d2c9988beb revealer: Respect gtk-enable-animations setting
https://bugzilla.gnome.org/show_bug.cgi?id=712632
2013-11-26 16:17:01 -05:00
Ryan Lortie
8882c6408b defaultvalue test: ignore show-desktop
Ignore the "show-desktop" property on GtkPlacesSidebar for the
defaultvalue test.

Currently, "make check" is passing because it runs the test under a xvfb
with no XSETTINGS provider, so we see the Gtk default value.  No matter
what we set the default value to in Gtk, however, there will be some
desktop environment in which someone running the installed test outside
of an xvfb will get the wrong result.  Best to ignore it.

https://bugzilla.gnome.org/show_bug.cgi?id=712302
2013-11-26 15:18:17 -05:00
Matthias Clasen
1f267a69bd Change the default for "show-desktop" back to TRUE
Change the GtkSettings default for "shell-shows-desktop" back to TRUE
and also change the default value of the "show-desktop" property on
GtkPlacesSidebar so that the defaultvalue test passes.

https://bugzilla.gnome.org/show_bug.cgi?id=712302
2013-11-26 15:18:05 -05:00
Michael Wood
687cfeac80 bindings: Fix stray semicolons in CSS example for bindings
Semicolon shouldn't be at the end of binding set
2013-11-26 14:50:15 -05:00