Matthias Clasen
f8a7810397
Deal with non-multiple-of-100 font weights
...
We should not run into an assertion so easily.
2012-06-01 16:15:16 -04:00
Jasper St. Pierre
d9a602f590
icon-theme: Allow symbolic GFileIcons
...
gtk_icon_info_load_symbolic checks for the existance of a filename parameter
so it can include it along with the stylesheet. We don't set the filename
parameter when creating the info for a GFileIcon, for some reason.
https://bugzilla.gnome.org/show_bug.cgi?id=676356
2012-06-01 09:17:00 -04:00
Bastien Nocera
d2d25dd290
docs: Fix duplicate declarations in sections
...
Copy/paste errors most likely.
https://bugzilla.gnome.org/show_bug.cgi?id=677203
2012-06-01 12:24:12 +01:00
Bastien Nocera
65d8c92be6
docs: Add section for new 3.6 symbols
...
https://bugzilla.gnome.org/show_bug.cgi?id=677202
2012-06-01 12:24:12 +01:00
Daniel Mustieles
4cf2516df4
Updated Spanish translation
2012-05-31 13:21:44 +02:00
Cosimo Cecchi
10a4771ae3
notebook: fix size requisition for the initial_gap style property
...
This is probably going to be replaced by something different soon, but
in the meantime, fix this annoying bug, visible e.g. in widget-factory
for left/right tab examples.
2012-05-30 18:02:42 -04:00
Matthias Clasen
2baba250b8
Revert "gtkmenubutton: Add menu button widget"
...
This reverts commit 9d35f7e512
.
2012-05-30 14:45:24 -04:00
Matthias Clasen
dbf44fdf2a
Revert "gtkmenutoolbutton: Use GtkMenuButton"
...
This reverts commit 1519a1e8c2
.
2012-05-30 14:45:15 -04:00
Matthias Clasen
5c76c1b059
Silence compiler warnings
2012-05-30 14:28:16 -04:00
Bastien Nocera
9d35f7e512
gtkmenubutton: Add menu button widget
...
As used in Totem and gnome-contacts. The widget
takes either a GtkMenu or a GMenuModel to construct
its menu, and can be given a parent widget to use to
position the drop-down (as used in GtkMenuToolButton).
https://bugzilla.gnome.org/show_bug.cgi?id=668013
2012-05-30 13:46:40 -04:00
Bastien Nocera
1519a1e8c2
gtkmenutoolbutton: Use GtkMenuButton
...
To implement the drop-down menu.
https://bugzilla.gnome.org/show_bug.cgi?id=668013
2012-05-30 13:46:39 -04:00
Matthias Clasen
644d62e2ce
Trivial: remove a bit of obfuscation
2012-05-30 13:46:39 -04:00
Cosimo Cecchi
21342cbfde
gtk-demo: unify Theming and CSS theming sections
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
887d83b685
gtk-demo: display tabs for CSS files in theming demos
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
46f967dd7a
gtk-demo: don't try to add tabs for empty filenames
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
c5629fd06a
gtk-demo: add a demo for CSS multiple backgrounds
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
561e24b77b
gtk-demo: move styling for the CSS editor to a separate file
...
So it can be shared by multiple demos
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
98fa2a39bc
gtk-demo: add a test for a CSS accordion
2012-05-30 13:17:23 -04:00
Benjamin Otte
6461105429
main: Don't overrun the file that's read
2012-05-30 13:17:23 -04:00
Benjamin Otte
075b259321
gtk-demo: Make CSS a resource
...
Also, improve the CSS to give you that basic feel.
2012-05-30 13:17:22 -04:00
Benjamin Otte
6c7f99d01e
gtk-demo: Include resources in main app
...
This is necessary for future changes
2012-05-30 13:17:22 -04:00
Benjamin Otte
45d0313001
gtk-demo: Rename resources file
...
More tests want to use resources, so make that possible.
2012-05-30 13:17:22 -04:00
Benjamin Otte
04e8a8a5ed
gtk-demo move application demo resources into a namespace
2012-05-30 13:17:22 -04:00
Benjamin Otte
3d98275961
gtk-demo: Add a name property to the demos
2012-05-30 13:17:22 -04:00
Benjamin Otte
8a5f08976d
gtk-demo: Add a simple example for theming
2012-05-30 13:17:22 -04:00
Bastien Nocera
d708d43a31
gtkmenutoolbutton: Fix show-menu API docs
...
It's "set" not "get" that one needs to call to set the menu.
https://bugzilla.gnome.org/show_bug.cgi?id=677055
2012-05-30 17:49:25 +01:00
Bastien Nocera
cbc541d779
gtkmenutoolbutton: Remove unused variable
...
Set but unused.
https://bugzilla.gnome.org/show_bug.cgi?id=677055
2012-05-30 17:49:25 +01:00
Cosimo Cecchi
65166c36b9
themingbackground: fix drawing for repeating positioned images
...
When we determine the fill rectangle for an image layer, and the image
is not repeating, we should also position the rectangle according to the
values of background-position, or we will always fill a tiny slice at
the top/left of the clip box.
https://bugzilla.gnome.org/show_bug.cgi?id=677109
2012-05-30 12:16:11 -04:00
Cosimo Cecchi
bce34d80d4
reftests: add a reftest for repeating/positioned background patterns
...
This currently fails.
https://bugzilla.gnome.org/show_bug.cgi?id=677109
2012-05-30 12:16:11 -04:00
Benjamin Otte
3a8cec5f17
reftests: Add a simple reftest for background-position
...
This is mostly to ensure that the background-positioning feature keeps
working and to demonstrate it.
https://bugzilla.gnome.org/show_bug.cgi?id=677109
2012-05-30 12:16:11 -04:00
Murray Cumming
b3f2583a46
gtk_application_new(): Docs: application_id may now be null.
...
https://bugzilla.gnome.org/show_bug.cgi?id=671249
2012-05-28 16:16:56 +02:00
Matej Urbančič
8637fd3546
Updated Slovenian translation
2012-05-28 15:31:13 +02:00
Matej Urbančič
59c7de68be
Updated Slovenian translation
2012-05-28 14:58:14 +02:00
Daniel Mustieles
dd59504276
Updated Spanish translation
2012-05-27 12:33:56 +02:00
Daniel Mustieles
269e3ccb29
Updated Spanish translation
2012-05-27 12:29:55 +02:00
Matthias Clasen
2f015698db
Remove gtk_accel_group_query from the docs
...
It is marked as "internal" in the headers, and the struct it
returns is not documented either.
2012-05-26 15:16:04 -04:00
Matthias Clasen
b2d9e8ab24
Link to the 2.x deprecated index in the migration guide
2012-05-26 15:11:49 -04:00
Matthias Clasen
667a270fc6
Document "set" properties a bit
...
Both GtkTextTag and GtkCellRenderer make use of "set" properties
which are a bit special. Document this.
https://bugzilla.gnome.org/show_bug.cgi?id=531319
2012-05-26 15:06:00 -04:00
Matthias Clasen
f27ed9ae80
Correct the docs for GDK_MSB_FIRST
...
https://bugzilla.gnome.org/show_bug.cgi?id=571254
2012-05-26 14:40:12 -04:00
Matthias Clasen
d7550bb8fb
Mention cairo_save/restore in the ::draw migration docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=646798
2012-05-26 13:45:06 -04:00
Matthias Clasen
9cca320a7f
Reword lockbutton docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=659613
2012-05-26 13:29:48 -04:00
Matthias Clasen
8742f6f09c
Clarify the gtk_style_context_add_provider docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=643490
2012-05-26 12:24:13 -04:00
Matthias Clasen
6c9d82de8d
Mention GTK_DIALOG_NO_SEPARATOR in migration docs
...
http://bugzilla.gnome.org/show_bug.cgi?id=647779
2012-05-26 12:19:51 -04:00
Matthias Clasen
c7e7d32c68
Change the stock help accel to F1
...
https://bugzilla.gnome.org/show_bug.cgi?id=162865
2012-05-26 12:09:13 -04:00
Matthias Clasen
aee7544d99
gtk-demo: Add a help stock menuitem
2012-05-26 12:08:52 -04:00
Matthias Clasen
2cecc1f922
GtkToolbar: Prevent accidental drag starts
...
We don't want to start drags on double- or triple clicks, and
doing so causes problems for embedded range widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=675535
2012-05-25 23:17:43 -04:00
Matthias Clasen
33d2af0036
fix the build
2012-05-25 23:14:02 -04:00
Matthias Clasen
1bb7e28c90
Fix the build on Solaris
...
http://bugzilla.gnome.org/show_bug.cgi?id=663991
2012-05-25 23:13:42 -04:00
Matthias Clasen
d1b5d0567b
Fix doc comment
...
The introspection annotation for gtk_im_context_get_surrounding
was missing a :.
2012-05-25 22:58:55 -04:00
Matthias Clasen
46cc815829
Add a custom css example
2012-05-25 22:03:47 -04:00