Matthias Clasen
f636a2668b
Don't segfault when setting opacity on an offscreen window
...
This was causing the treeview tests to fail.
2013-07-09 20:05:46 -04:00
Matthias Clasen
3247058a30
Revert the private macro change for GtkToolButton
...
There was a reason that GtkToolButton was not using the
G_DEFINE_TYPE macros - we need the klass argument to get
the proper button type at init time.
2013-07-09 19:33:31 -04:00
Rob Bradford
af26a18032
wayland: Handle the display connection erroring out
...
wl_display_flush or wl_display_dispatch can return -1 if there is an
error on the display connection.
https://bugzilla.gnome.org/show_bug.cgi?id=703892
2013-07-09 18:52:56 -04:00
Kristian Høgsberg
99b78fdd7f
wayland: Don't clear revents until we've checked for G_IO_HUP
...
https://bugzilla.gnome.org/show_bug.cgi?id=703892
2013-07-09 18:38:32 -04:00
Matthias Clasen
0b45a5968f
Fix a typo
2013-07-09 13:49:39 -04:00
Matthias Clasen
2c8ffef284
Document new environment variables
...
Explain GDK_SCALE and GDK_DPI_SCALE.
2013-07-09 10:25:40 -04:00
Matthias Clasen
660a1f304e
Add new api to the gtk docs
2013-07-09 10:25:40 -04:00
Matthias Clasen
822f9019fa
Add new gdk api to the docs
2013-07-09 10:25:40 -04:00
William Jon McCann
6218fb45be
Deprecate and hardcode gtk-recent-files-limit
...
The GtkRecentChooser already has a property that can be used
to set this on a per widget basis and the recent manager already
has a max-age limit.
2013-07-09 09:38:52 -04:00
Matthias Clasen
d0a2e06c7d
places sidedbar: deal with lack of symbolics
...
Use g_themed_icon_new_with_default_fallbacks, so we don't end up
without icons when the theme doesn't have symbolic icons.
https://bugzilla.gnome.org/show_bug.cgi?id=703606
2013-07-09 07:12:18 -04:00
Kjell Ahlstedt
4d86472b92
Continue the deprecation of GtkIconSet
...
Deprecate gtk_icon_set_render_icon_surface() and gtk_image_get_icon_set(),
which take parameters of the deprecated GtkIconSet.
https://bugzilla.gnome.org/show_bug.cgi?id=703616
2013-07-09 06:54:27 -04:00
Kjell Ahlstedt
16c08ae135
Fix some inconsistent deprecations
...
Some functions had only a deprecation comment in the .c file, or only a
deprecation annotation in the .h file. Add the missing parts.
https://bugzilla.gnome.org/show_bug.cgi?id=703616
2013-07-09 06:54:26 -04:00
aakash
fc6e725d2f
gtkrecentmanager: Avoid confusion between the meta-data and the actual resource.
...
Fixed the documentation to clarify that gtk_recent_info_get_visited
and gtk_recent_info_get_modified are actually about the recent info
meta-data rather than the resource itself.
https://bugzilla.gnome.org/show_bug.cgi?id=703827
2013-07-09 06:51:45 -04:00
Victor Ibragimov
d837803fcf
Tajik translation updated
2013-07-09 15:11:15 +05:00
Rob Bradford
0dbd9dc0a7
wayland: request appropriate compositor version to support buffer scale
...
With the introduction of the use of buffer scaling in ed4fcee4ct we
must request version 3 of the compositor as that is the version of the
surface interface that adds this new functionality. See the following
commit in weston:
commit a85118c1b85df6fbf8f896dca971a5b79a94da71
Author: Jason Ekstrand <jason@jlekstrand.net>
Date: Thu Jun 27 20:17:02 2013 -0500
Use wl_resource_create() for creating resources
This commit sets the version numbers for all added/created objects. The
wl_compositor.create_surface implementation was altered to create a surface
with the same version as the underlying wl_compositor. Since no other
"child interfaces" have version greater than 1, they were all hard-coded to
version 1.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
https://bugzilla.gnome.org/show_bug.cgi?id=703817
2013-07-09 10:11:58 +01:00
Emmanuele Bassi
19bc27c6f1
docs: Update the coding style
...
We should mention that newly written code should not have the private
data pointer in the instance structure, and that private data should be
added using the new GObject macros.
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
Emmanuele Bassi
a71def87c5
tests: Use the new macros for adding instance private data
...
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
Emmanuele Bassi
76df3ba7d0
gtk-demo: Use the new macros for adding instance private data
...
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
Emmanuele Bassi
84186ef11b
deprecated: Use the new macros for adding instance private data
...
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
Emmanuele Bassi
0899ef7cc9
gtk: Use new macros for defining private data
...
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
Emmanuele Bassi
365919d5f6
a11y: Use new macros for defining private data
...
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:28:49 +01:00
Emmanuele Bassi
9f2ca8d851
gdk: Use new macros for defining private data
...
Drop the g_type_class_add_private() function, and use the macros
instead.
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:28:49 +01:00
Emmanuele Bassi
e77733ea2c
Bump GLib dependency to 2.37.3
...
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:28:49 +01:00
Bastien Nocera
dbee6e1b56
GtkSearchBar: Don't show a close button by default
...
And mention in which cases we should show one in the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=703656
2013-07-09 09:17:01 +02:00
Jürg Billeter
7f9f3aad5a
wayland: Fix build due to missing symbol export
...
https://bugzilla.gnome.org/show_bug.cgi?id=703765
2013-07-09 07:09:13 +02:00
Daiki Ueno
837a0d3e40
textlayout: avoid double-free when adding preedit color
...
In add_preedit_attrs, don't free foreground/background colors already
set in the underlying text attributes (style). They will be free'd by
release_style.
https://bugzilla.gnome.org/show_bug.cgi?id=703533
2013-07-09 13:21:17 +09:00
Matthias Clasen
50c3eb9acc
Fix the small text for text in GtkAboutDialog
...
The conversion from gtk_widget_override_font to a GtkTextTag
in fbbb66ae7d
was defective.
https://bugzilla.gnome.org/show_bug.cgi?id=701119
2013-07-08 21:46:43 -04:00
William Jon McCann
72c3879893
Add missing G_PARAM_DEPRECATED to stock deprecations
2013-07-08 15:39:55 -04:00
William Jon McCann
aeb878a859
Add missing G_PARAM_DEPRECATED to gtksettings
2013-07-08 15:28:25 -04:00
William Jon McCann
7b66956e63
Deprecate and hardcode default toolbar icon size setting
...
Toolbar icon size can still be changed on a per-widget basis as
needed by the application developer.
2013-07-08 15:02:28 -04:00
William Jon McCann
425e977bb6
Deprecate and hardcode default toolbar style setting
...
Toolbar style can still be changed on a per-widget basis as
needed by the application developer.
2013-07-08 15:02:28 -04:00
William Jon McCann
e61c124509
Deprecate and hardcode values for gtk-tooltip* timeouts
2013-07-08 15:02:28 -04:00
William Jon McCann
c9bfd12d2f
Deprecate and hardcode the value of visible-focus setting
...
Just use the default value of AUTOMATIC and make it just work.
2013-07-08 15:01:33 -04:00
Benjamin Otte
eb62084f2a
build: Update for perf/ directory removal
...
Ooops.
2013-07-08 16:23:42 +02:00
Benjamin Otte
41010d15b3
perf: Delete
...
The perf/ directory was unused and the code was outdated. So it's easier
to delete than trying to modernize the code.
2013-07-08 16:17:46 +02:00
Benjamin Otte
6449b4a610
tools: Fix casting warnings
2013-07-08 16:17:18 +02:00
Matthias Clasen
8137b282e9
fix close button in testtitlebar as well
...
Same disease as with the previous fix.
2013-07-06 23:11:19 -04:00
Matthias Clasen
e5b51050c6
csd: Fix up close buttons
...
Must pass the window as first argument to the signal handler.
2013-07-06 23:11:19 -04:00
Matthias Clasen
c0c752fab1
Cosmetics
2013-07-06 23:11:19 -04:00
Piotr Drąg
555c2135a2
Updated POTFILES.skip
2013-07-06 17:09:15 +02:00
Trần Ngọc Quân
9b9dd29b9c
Updated Vietnamese translation
2013-07-06 18:39:37 +07:00
Nguyễn Thái Ngọc Duy
10884afb49
po/vi: import from Damned Lies
2013-07-06 18:30:54 +07:00
Matthias Clasen
ffadfbf322
Don't prematurely mark window as realized
...
Other code assumes that the widget has a window if it is realized.
Since we might trigger such code indirectly from gtk_window_realize,
don't mark the window as realized before we've registered its window.
2013-07-05 17:15:31 -04:00
Matthias Clasen
6bcf8a2584
Cosmetic cleanups
...
Avoid some unnecessary casts.
2013-07-05 15:53:30 -04:00
Matthias Clasen
3982532145
csd: hide invisible borders when tiled or fullscreen
...
This is the expected behavior, and matches what mutter does.
2013-07-05 15:53:30 -04:00
Matthias Clasen
776111fadf
csd: fix a resizing artifacts when unmaximizing
...
When using Super-up/down to maximize and unmaximize a csd window,
the titlebar and content was not picking up the window borders.
2013-07-05 15:53:30 -04:00
Matthias Clasen
c2196e596f
csd: no border when fullscreen
...
The was a missing fullscreen check in get_decoration_size was causing
the window background to have a transparent border when fullscreen.
2013-07-05 15:53:30 -04:00
Alexander Larsson
d08a12ae0b
reftest: Add reftest for scaled image borders - fails on GDK_SCALE=2
2013-07-05 15:21:55 +02:00
Matthias Clasen
38b7159c39
gtk-demo: Properly cleanup the revealer demo
...
We forgot to remove the timeout.
2013-07-04 17:53:40 -04:00
Kalev Lember
5d121a8aaa
GtkListBox: Add g_return_if_fail checks to public row functions
2013-07-04 16:00:30 +02:00