Alexander Larsson
6bf32999b1
widget: Track when the window scale factor changes and notify
...
The scale-factor property on the widgets will be notified, and the
scale will change on the style property, causing us to pick up
new css assets.
2013-07-03 14:34:13 +02:00
Michael Natterer
c0ea0b5aad
gtk: add gtk_widget_get_scale_factor()
2013-07-03 14:34:13 +02:00
Michael Natterer
d4607be003
quartz: Implement get_scale_factor() on screen and window
2013-07-03 14:34:13 +02:00
Alexander Larsson
30080faf2b
offscreenwindow: Handle window_scale
...
We create similar windows in the right way to get the
device scale right.
2013-07-03 14:34:13 +02:00
Michael Natterer
8ad851f725
add gdk_screen_ and gdk_window_get_scale_factor()
...
These report the internal scaling factor, mapping from UI pixels
to hardware pixels.
2013-07-03 12:27:10 +02:00
Alexander Larsson
995a7e95b9
win32: Remove unused functions
...
The _gdk_windowing_* stuff is not used anymore
2013-07-03 12:27:10 +02:00
Alexander Larsson
aa3f0f8ec9
quartz: Remove unused functions
...
The _gdk_windowing_* stuff is not used anymore
2013-07-03 12:27:10 +02:00
Piotr Drąg
96abd26501
Updated POTFILES.skip
2013-07-03 00:05:34 +02:00
Alexander Larsson
2a81d6f396
listbox: Use new private model, remove priv pointer
2013-07-02 13:44:17 +02:00
Alexander Larsson
06a808cf2a
stack: Use new private model, remove priv pointer
2013-07-02 13:43:20 +02:00
Alexander Larsson
09d22284f7
revealer: Use new private model, remove priv pointer
2013-07-02 13:42:43 +02:00
Matthias Clasen
6aa1d69978
Fix a copy-paste error
2013-07-01 13:18:22 -04:00
Alexander Larsson
09a975a765
gdk: Fix shaped toplevels
...
We need to apply the shape for toplevels that have a shape.
https://bugzilla.gnome.org/show_bug.cgi?id=702831
2013-07-01 15:34:15 +02:00
Alexander Larsson
970edd7e25
Fix typo in Makefile.am
2013-07-01 15:00:19 +02:00
Chun-wei Fan
fb6f34e499
Include crypt(3) implementation for MSVC
...
This adds a crypt(3) implementation for use with broadwayd as Visual Studio
does not support crypt(3) out of the box.
The public domain implementation is taken from the following URL,
http://michael.dipperstein.com/crypt/ , where AFAICT this implementation
would not be subject to licensing restrictions that would prevent it from
being bundled.
2013-07-01 14:52:45 +02:00
Chun-wei Fan
2268e9d6c9
Broadway: Allow Compilation on Windows/MSVC
...
-Don't include unistd.h unconditionally as it's not available in Visual
Studio, but include io.h where necessary.
-Avoid C99isms, and use _chsize_s in place of ftruncate when unistd.h is
not available (as in the case of Visual Studio)
2013-07-01 14:51:03 +02:00
Tarnyko
4b49c44b0a
win32: Make broadway build
2013-07-01 14:46:25 +02:00
Matthias Clasen
7702c6a512
Add GtkHeaderBar to the a11y tests
2013-06-30 22:33:12 -04:00
Matthias Clasen
2941196f84
Add GtkStack and GtkStackSwitcher to the a11y tests
2013-06-30 22:33:12 -04:00
Matthias Clasen
e11039a973
Add GtkListBox to the a11y tests
2013-06-30 22:33:12 -04:00
William Jon McCann
a9e82cd46a
Deprecate and ignore gtk-enable-tooltips setting
...
It is enabled by default except on touch input devices.
2013-06-30 14:28:02 -04:00
William Jon McCann
85c0614707
Remove gtk-im-status-style and gtk-im-preedit-style from GDK as well
2013-06-30 13:45:43 -04:00
William Jon McCann
7ca327c9bb
Deprecate the unused gtk-file-chooser-backend setting
2013-06-30 13:44:24 -04:00
William Jon McCann
3d5d3e8eae
Fix a couple of deprecation warnings related to stock items
2013-06-30 13:14:18 -04:00
William Jon McCann
c6ca2374cc
Deprecate and ignore gtk-im-status-style and gtk-im-preedit-style
2013-06-30 12:57:44 -04:00
William Jon McCann
d1817e7a5d
Add deprecation warnings to GTK_STOCK macros
2013-06-30 12:33:22 -04:00
William Jon McCann
6f83657288
Fix the build
...
Remove references to removed files
2013-06-30 11:30:37 -04:00
William Jon McCann
4d6f9d280f
Add xpadding around the image in message dialogs
2013-06-30 11:19:50 -04:00
William Jon McCann
c96a1c4980
Deprecate GtkAction and GtkUIManager
...
It is recommended to use GAction et al and GtkBuilder.
2013-06-30 11:19:50 -04:00
William Jon McCann
32ce8fa60a
Remove deprecated UIManager from the demo
2013-06-30 11:19:50 -04:00
William Jon McCann
f7f46b9155
Port print-editor test to GtkBuilder from UIManager
2013-06-30 11:19:50 -04:00
Sébastien Wilmet
158451b1ab
textiter: better document "tag" functions
...
https://bugzilla.gnome.org/show_bug.cgi?id=703313
2013-06-30 10:38:25 +02:00
Matthias Clasen
2741672cf1
Add GtkListBox to the widget gallery
2013-06-30 01:28:37 -04:00
Matthias Clasen
8b9370d194
Add missing GtkSearchEntry API to the docs
2013-06-30 01:02:46 -04:00
Matthias Clasen
587fb5efa1
GtkSearchBar: formatting trivia
2013-06-30 00:50:29 -04:00
Matthias Clasen
c6daaa16c9
GtkHeaderBar: documentation improvements
...
Add some more information about title allocation.
2013-06-30 00:27:45 -04:00
Matthias Clasen
894b1ae76a
Avoid integer overflow
...
Use g_malloc_n in gdk_cairo_set_source_pixbuf when allocating
a large block of memory, to avoid integer overflow.
Pointed out by Bert Massop in
https://bugzilla.gnome.org/show_bug.cgi?id=703220
2013-06-29 22:06:54 -04:00
Benjamin Otte
f0a8d11563
reftests: Add a reftest for the expand change in GtkBox
...
The change was introduced in 80513aa2c7
See that commit for details.
2013-06-30 03:39:09 +02:00
Matthias Clasen
39f95f1b9b
Add a --direction option to gtk-reftest
...
gtk_test_init() hardcodes the locale to "C", so the --direction
option is useful to check reftests in rtl.
2013-06-29 20:03:29 -04:00
Matthias Clasen
ab7b83d97c
typo fix
2013-06-29 19:55:14 -04:00
Matthias Clasen
1bf16944c9
Add a testcase for closing display before exit
...
It works right now, lets keep it that way.
2013-06-29 19:24:22 -04:00
Matthias Clasen
dfa2e91cd7
GdkScreenX11: Dispose visuals
...
If we let them hold onto their X resources until finalize,
it is too late.
2013-06-29 19:23:23 -04:00
Matthias Clasen
42e45f4f75
GdkVisualX11: Add a dispose implementation
...
We need to be able to drop X resources before finalization.
2013-06-29 19:22:51 -04:00
Matthias Clasen
459e10196d
GdkDeviceManagerXI2: chain up in constructed
...
Dispose does chain up, and the parent class' dispose expects
that the object has been fully constructed.
2013-06-29 19:21:28 -04:00
Matthias Clasen
328f221b5c
csd: Improve window button handling
...
Group the buttons on each side in a box, and give them different
style classes, so themes can differentiate (this is partially a
workaround for limitations in our css selectors). The boxes also
let us add a margin below the buttons, without affecting the
allocation of the buttons themselves.
2013-06-29 19:00:40 -04:00
Matthias Clasen
534a7a9397
csd: use the correct icon name for close button
...
The icon is called window-close-symbolic.
2013-06-29 19:00:40 -04:00
Matthias Clasen
da55c86d3f
csd: Use a dedicated style class for window buttons
...
This allows themes to differentiate between regular buttons
in a title bar, and window buttons.
2013-06-29 19:00:39 -04:00
Matthias Clasen
cacac4f85b
csd: Improve the window title
...
Manually create the label, so that we can set its margins.
2013-06-29 19:00:39 -04:00
Sébastien Wilmet
f0a481d97b
textiter: doc precision for forward_search() and backward_search()
...
https://bugzilla.gnome.org/show_bug.cgi?id=703313
2013-06-29 17:01:58 +02:00
Matthias Clasen
cf006cbee3
Add a titlebar testcase
...
This is an experiment towards how we want client-side titlebars
to look.
2013-06-29 08:52:04 -04:00