Matthias Clasen
5230cfe805
GtkLabel: Fix a pointless expression
...
Clearly, what was meant here was that we create a new attribute
list if either of the input attribute lists are non-NULL.
This was found by Coverity.
2012-11-29 23:10:34 -05:00
Matthias Clasen
256f168525
Obtain the recent files max age setting from xsettings
...
This will help with implementing desktop-wide policy for
retaining of history.
https://bugzilla.gnome.org/show_bug.cgi?id=689047
2012-11-29 23:10:33 -05:00
Timothy Arceri
50acce4074
In the file chooser, use a proper apostrophe rather than a prime mark (tick mark)
...
https://bugzilla.gnome.org/show_bug.cgi?id=689012
2012-11-29 11:34:29 -06:00
Alan McGovern
149de71624
Fix broken function pointer declarations on windows
...
Both flashing a window and setting the window opacity were using
incorrect declarations for function pointers. They were missing the
WINAPI annotation as defined in windows.h. As a result, the stack
could be corrupted when these functions were invoked.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=689235
(cherry picked from commit 5637ef1f97
)
2012-11-29 15:07:42 +01:00
Michael Natterer
709f12b9ac
quartz: add mountain lion as version 8 to enum GdkOSXVersion
...
Also use GDK_OSX_UNSUPPORTED instead of 0 in gdk_quartz_osx_version().
(cherry picked from commit 9644e910a8
)
2012-11-29 15:00:57 +01:00
Michael Natterer
e2144fbb7e
quartz: call Gestalt() only once per session in gdk_quartz_osx_version()
...
Thanks to Paul Davis for pointing this out.
(cherry picked from commit d6533ffc44
)
2012-11-29 15:00:38 +01:00
Benjamin Berg
fd301e7847
Use the ppd groups "name" instead of "text" (bug #687065 )
...
This commit fixes a regression caused by a patch to remove Cups 1.2
ifdefs. This resulted in the "installable options" to appear in the
print dialog.
2012-11-29 10:02:08 +01:00
Benjamin Otte
4d0ca91c72
menuitem: Remove unused variables
2012-11-28 21:15:05 +01:00
Benjamin Otte
29c8420746
tests: Add CSS test for comment detection
...
Tests recent fix.
2012-11-28 21:11:48 +01:00
Marcus Kraßmann
7f3595a6be
cssparser: Don't detect /*/ as a comment
2012-11-28 21:11:48 +01:00
Cosimo Cecchi
ea415cd350
menubar: deprecate internal-padding style property
...
https://bugzilla.gnome.org/show_bug.cgi?id=689168
2012-11-28 10:09:16 -05:00
Cosimo Cecchi
1a79ee4d3e
menubar: add support for CSS padding
...
In preparation for the removal of the internal-padding style property.
https://bugzilla.gnome.org/show_bug.cgi?id=689168
2012-11-28 10:09:16 -05:00
Cosimo Cecchi
01dc23cdec
menu: deprecate horizontal-padding and vertical-padding
...
https://bugzilla.gnome.org/show_bug.cgi?id=689168
2012-11-28 10:09:16 -05:00
Cosimo Cecchi
a69619edbc
menuitem: deprecate horizontal-padding style property
...
https://bugzilla.gnome.org/show_bug.cgi?id=689168
2012-11-28 10:09:16 -05:00
Nilamdyuti Goswami
d3051ca79c
Assamese translation updated
2012-11-28 13:49:44 +05:30
Nilamdyuti Goswami
9ac005abee
Assamese translation updated
2012-11-28 13:47:38 +05:30
Matej Urbančič
943de24211
Updated Slovenian translation
2012-11-26 21:12:00 +01:00
Matej Urbančič
db6d6fcc84
Updated Slovenian translation
2012-11-26 21:07:25 +01:00
David King
941851fc86
docs: Add gtk-doc comment for GtkTreeRowReference
...
https://bugzilla.gnome.org/show_bug.cgi?id=93381
2012-11-26 14:12:14 +00:00
Christophe Fergeau
e8659679cd
Sanitize memory handling in cups_request_printer_list_cb
...
gtk+ was trying to display already freed strings, leaking memory,
...I noticed this because I was getting weird blinking characters
as the status of my cups printers, and valgrind confirmed something
was wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=683072
2012-11-26 10:19:31 +01:00
Philip Withnall
693581250e
i18n: Update British English translation
2012-11-26 09:00:59 +00:00
Philip Withnall
ceb866dfe6
Bug 595615 — Use proper ellipses
...
Use ‘…’ instead of ‘...’ in translatable strings.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=595615
2012-11-26 08:59:27 +00:00
Piotr Drąg
788f1a0934
Updated POTFILES.skip
2012-11-26 00:46:05 +01:00
Benjamin Otte
6b33ee9c53
reftests: Add reftest for broken fixed height mode
...
https://bugzilla.gnome.org/show_bug.cgi?id=687816
2012-11-26 00:09:35 +01:00
Benjamin Otte
239c631ad3
treeview: Delay computing fixed height
...
In the setter, we only set fixed height mode and queue a revalidation of
the row heights.
https://bugzilla.gnome.org/show_bug.cgi?id=687816
2012-11-26 00:09:35 +01:00
Emmanuele Bassi
4498ff314e
sizegroup: Use g_hash_table_add()
...
This is the function to use when treating hash tables as a set.
2012-11-25 22:58:19 +01:00
Benjamin Otte
87b351e6e6
styleproperty: Use _gtk_css_initial_value_get()
...
See previous commit(s).
2012-11-25 22:29:14 +01:00
Benjamin Otte
1d805139db
cssvalue: Use _gtk_css_initial_value_get() for the inherit value
...
See previous commit(s).
2012-11-25 22:29:14 +01:00
Benjamin Otte
f204473ee0
cssvalue: Add _gtk_css_initial_value_get()
...
... so we don't bump a refcount whenever we get the initial singleton.
We want to use this function instead of
_gtk_css_style_property_get_initial_value() everywhere where we compute
values, because some initial values may depend on settings soon.
2012-11-25 15:31:59 +01:00
Benjamin Otte
2ab65ef771
izegroup: Improve performance
...
Keep a list of all groups and avoid groups we already handled. Speeds up
GtkToolpalette a lot.
2012-11-25 13:32:21 +01:00
Benjamin Otte
da7a4089fe
widget: Remove an unneeded queue_resize()
...
Resizes are queued via
gtk_widget_propagate_state()
=> gtk_style_context_set_state()
=> gtk_style_context_queue_invalidate()
=> gtk_style_context_validate()
=> _gtk_widget_style_context_invalidated()
so there's no need to queue an extra one.
2012-11-25 04:46:36 +01:00
Benjamin Otte
41486895d5
deprecations: Move files into deprecated/ dir
2012-11-25 04:16:43 +01:00
Benjamin Otte
0862afaded
gtkgradient: Deprecate
2012-11-25 03:47:51 +01:00
Benjamin Otte
fb643c1c12
symboliccolor: Deprecate
...
Symbolic colors are an implementation detail of the CSS engine and have
been superceded by GtkCssColorValue. We don't want them clobbering the
public API. In particular because the only use I could find in the
public API is people using it to shade colors.
2012-11-25 03:43:28 +01:00
Benjamin Otte
df25349d63
themingengine: Do shading with GtkHSLA
...
... instead of with symbolic colors.
2012-11-25 03:34:02 +01:00
Benjamin Otte
9aac4dffc5
hsla: Add _gtk_hsla_shade()
...
We use it in multiple places, so better split it out.
2012-11-25 03:25:15 +01:00
Benjamin Otte
4f9a8e6b3d
symboliccolor: Remove extra includes
...
That header was included in way too many places.
2012-11-25 02:59:15 +01:00
Benjamin Otte
42dc0ea0fd
styleprovider: Change function prototype
...
Make _gtk_style_provider_private_get_color() return a GtkCssValue (a
GtkCssColorValue to be exact) instead of GtkSymbolicColor.
With this, the symbolic color usage inside GTK is minimized.
2012-11-25 02:45:10 +01:00
Benjamin Otte
08ac1504d2
symboliccolor: Implement using GtkCssValue
2012-11-25 02:41:17 +01:00
Benjamin Otte
b8e58015eb
symboliccolor: symbolic color is no longer a CssValue
...
This is not needed anymore, because we have GtkCssColorValue for that
now.
2012-11-25 01:51:18 +01:00
Benjamin Otte
94b80cc774
symboliccolor: Change prototype of function
...
Makes it easier to use the function in the places where it's still used.
2012-11-24 21:56:47 +01:00
Benjamin Otte
5ca35bd5dd
settings: Remove support for color schemes
...
Color schemes were unused and their interaction with CSS3 themes was
undefined. So we decided to remove support for them.
This commit does that.
2012-11-24 21:27:33 +01:00
Benjamin Otte
932794e105
styleprovider: Remove (broken) implementations of get_style
...
The implementations were broken and get_style() is deprecated and
documented to return NULL now.
2012-11-24 21:12:00 +01:00
Benjamin Otte
324ff12553
stylecascade: Remove get_icon_factory() implementation
...
It was redundant.
2012-11-24 21:12:00 +01:00
Benjamin Otte
45b4fb02b1
styleprovider: Deprecate two non-working functions
...
Both of them weren't used inside GTK. And apparently they weren't used
outside of GTK either, as alex recently mentioned them being severly
broken.
2012-11-24 21:12:00 +01:00
David King
fbdb81bbdf
docs: gtk_file_chooser_get_filename() returns absolute paths
...
The documentation for gtk_file_chooser_get_filenames() states that the
returned filenames are absolute paths, and uses g_file_get_path() to
construct the filename. The same function is used to construct the
filename in gtk_file_chooser_get_filename(), so it should also return
absolute paths.
https://bugzilla.gnome.org/show_bug.cgi?id=371034
2012-11-24 19:58:10 +00:00
Nilamdyuti Goswami
840f09bdc8
Assamese translation updated
2012-11-23 20:18:36 +05:30
Nilamdyuti Goswami
b05ee6aa29
Assamese translation updated
2012-11-23 20:17:24 +05:30
David King
73c436f43e
docs: Fix typo in gtk_tree_view_set_tooltip_column comment
...
https://bugzilla.gnome.org/show_bug.cgi?id=688884
2012-11-22 22:25:51 +00:00
David King
c627b22126
docs: Improve GtkTreeModel iteration pattern
...
Iterating over the model in this way means that use of continue is less
error-prone, as the increment is part of the loop construct.
https://bugzilla.gnome.org/show_bug.cgi?id=548793
2012-11-22 21:36:46 +00:00