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
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
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
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
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
d837803fcf
Tajik translation updated
2013-07-09 15:11:15 +05:00
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
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
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
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
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
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
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
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
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
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
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
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
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
72c3879893
Add missing G_PARAM_DEPRECATED to stock deprecations
2013-07-08 15:39:55 -04:00
aeb878a859
Add missing G_PARAM_DEPRECATED to gtksettings
2013-07-08 15:28:25 -04:00
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
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
e61c124509
Deprecate and hardcode values for gtk-tooltip* timeouts
2013-07-08 15:02:28 -04:00
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
eb62084f2a
build: Update for perf/ directory removal
...
Ooops.
2013-07-08 16:23:42 +02:00
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
6449b4a610
tools: Fix casting warnings
2013-07-08 16:17:18 +02:00
8137b282e9
fix close button in testtitlebar as well
...
Same disease as with the previous fix.
2013-07-06 23:11:19 -04:00
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
c0c752fab1
Cosmetics
2013-07-06 23:11:19 -04:00
555c2135a2
Updated POTFILES.skip
2013-07-06 17:09:15 +02:00
9b9dd29b9c
Updated Vietnamese translation
2013-07-06 18:39:37 +07:00
10884afb49
po/vi: import from Damned Lies
2013-07-06 18:30:54 +07:00
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
6bcf8a2584
Cosmetic cleanups
...
Avoid some unnecessary casts.
2013-07-05 15:53:30 -04:00
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
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
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
d08a12ae0b
reftest: Add reftest for scaled image borders - fails on GDK_SCALE=2
2013-07-05 15:21:55 +02:00
38b7159c39
gtk-demo: Properly cleanup the revealer demo
...
We forgot to remove the timeout.
2013-07-04 17:53:40 -04:00
5d121a8aaa
GtkListBox: Add g_return_if_fail checks to public row functions
2013-07-04 16:00:30 +02:00
1f9fd5a952
testsuite: Add tests for gtk_list_box_row_get_index
...
https://bugzilla.gnome.org/show_bug.cgi?id=703618
2013-07-04 15:19:47 +02:00
b46d583f87
GtkListBox: Add a function for getting the index of a row
...
https://bugzilla.gnome.org/show_bug.cgi?id=703618
2013-07-04 15:19:47 +02:00
a5d2565b7e
GtkListBox: Remove a double semicolon
2013-07-04 14:03:06 +02:00
e12d3cea47
stack: Use normal opacity groups rather than weird ones in GtkWidget
...
Since we now do all drawing propagation on the cairo_t (rather than
exposing multiple independent times on the GdkWindows) we no longer
need the opacity 0.999 hack.
2013-07-04 13:30:51 +02:00
5f245374ed
widget: Remove some leftover code
...
The norender stuff is not used anymore
2013-07-04 13:16:05 +02:00
9e4af0b746
widget: Don't crash if setting alpha on non-realized widget.
...
https://bugzilla.gnome.org/show_bug.cgi?id=703154
2013-07-04 13:10:58 +02:00
fa6a137478
GtkSearchBar: Fix automatic entry connection
...
Adding an entry to the search bar didn't automatically connect
the signals as expected as the code was in the wrong branch.
https://bugzilla.gnome.org/show_bug.cgi?id=703406
2013-07-04 12:52:30 +02:00
4eac681eba
Avoid deprecation warning
...
There was one overlooked use of GTK_STOCK_MISSING_IMAGE.
2013-07-03 19:52:11 -04:00