Adrian Johnson
a77f209f23
Default to hard margins not available
...
unless the print backend explicitly provides them.
2009-12-01 17:39:54 +01:00
Adrian Johnson
826d800b74
Set unix printer hard margins on print context
2009-12-01 17:39:26 +01:00
Christian Persch
efa90e4182
Allow getting the printer's hard margins
...
Adds a way to get the unprintable area of the printer. Bug #468989 .
2009-12-01 17:39:01 +01:00
Matthias Clasen
1d6b7f6de8
Another make dist fix
2009-11-30 16:55:32 -05:00
Matthias Clasen
2c0dbe0a0a
Doc fixes
2009-11-30 16:14:11 -05:00
Matthias Clasen
8ecd77ffd1
Add a release note about statusbar internal hierarchy changes
2009-11-30 14:06:57 -05:00
Matthias Clasen
ba1c9ae2bc
Another make check fix
2009-11-30 13:50:39 -05:00
Matthias Clasen
9d6ddfdc51
Make dist fixes
2009-11-30 13:10:36 -05:00
Christian Dywan
6dfdf0fadf
Fallback to gtk_show_uri for print preview if the command fails
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=601682
2009-11-30 13:20:43 +01:00
Christian Dywan
cb49a28f8c
Mention exact property names in notebook tab packing deprecation
...
Follow-up for bug 596083.
2009-11-30 12:55:29 +01:00
Matthias Clasen
d0083b5df3
Whitespace fixes
2009-11-29 19:48:16 -05:00
Matthias Clasen
478ca88ae5
Use a url label instead of a link button
...
This looks nicer, and allows us to make the url-hook work again
for the website url. Fixes bug 603201.
2009-11-29 19:00:28 -05:00
Matthias Clasen
6abb399ef4
Trivial doc typo fix
2009-11-29 19:00:10 -05:00
Matthias Clasen
324ff48edc
Avoid a harmless warning
...
In labels with colored, underlined text, the link handling code
would spit out a warning, even if no links are around.
See 603302.
2009-11-29 17:19:58 -05:00
Matthias Clasen
c08ed56f13
Allow holding compose key while entering a sequence
...
This broke when we started allowing Super, Hyper and Meta as
accel modifiers. See bug 601959.
2009-11-28 21:47:36 -05:00
Matthias Clasen
bbb4e4910b
Make the toolbar-style and toolbar-size settings work
...
This broke when moving the setting from gtktoolbar.c to gtksettings.c.
Spotted by Christian Persch in bug 603271.
2009-11-28 21:43:59 -05:00
Matthias Clasen
d8dfad3eb9
Fix small documentation problems after the toolpalette merge
...
Several Since tags were wrong. Spotted by Christian Persch in
bug 603268.
2009-11-28 20:59:56 -05:00
Alexander Larsson
4e0b7bf6fe
Position new ui nodes correctly when existing dirty dead nodes exist
...
If you add a new ui node that was recently removed it will still be
in the tree, but marked dirty. In this case we previously just used
the old node, which meant it wouldn't get the same position as if
the dirty nodes had been processed first (and deleted) before the
new node was added.
We handle this by detecting this case and reposition the node as if
it was new.
https://bugzilla.gnome.org/show_bug.cgi?id=603128
2009-11-28 20:49:37 -05:00
Matthew Barnes
25a8c7316d
Bug 601869 - GtkUIManager assumes too much about popup menus
...
Check that the child of a popup menu item is actually a GtkAccelLabel
before setting its "accel-closure" property.
2009-11-28 20:00:07 -05:00
Christian Persch
5bf30c2885
Make the action widgets internal children of GtkNotebook
...
So they're not included in the result of gtk_container_foreach() which
preserves it as a convenient way to get the list of all notebook content
widgets.
Bug #601409 .
2009-11-28 18:05:09 +01:00
Matthias Clasen
6dfb21e616
Rework a broken workaround for a Java bug
...
This was committed to fix bug 568263, but it is not correct, as
pointed out in 601611.
2009-11-28 10:29:35 -05:00
Matthias Clasen
53218f5c82
Improve docs of two style properties
...
See discussion in bug 561334. Based on a patch by Paul Bolle.
2009-11-28 02:17:40 -05:00
Matthias Clasen
84254039f2
Handle reparenting out of a socket
...
Although it isnt' allowed by the XEMBED protocol, its possible
that the plug window will be reparented out of the socket without
the socket having done so. See bug 123569. Patch by David Jander.
2009-11-27 23:49:04 -05:00
Javier Jardón
2040547d96
Move documentation to inline comments: GtkStock
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-11-28 03:05:09 +01:00
Javier Jardón
0ef8f52567
Move documentation from templates to inline comments: GtkWidget
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-11-28 02:59:06 +01:00
Christian Persch
65485cbc7c
Add UI manager attribute to always show image in menu items
...
Add always-show-image="true|false" attribute to <menuitem> element in UI
manager markup. If present, it overrides the always-show-image property
on image menu items. Bug #589842 .
2009-11-27 19:14:43 +01:00
Christian Persch
e571273d81
Add gtk_action_[sg]et_always_show_image()
...
Add a way to tell a GtkAction to have its menu item proxies always show
their image. Bug #589842 .
2009-11-27 19:14:35 +01:00
Michael Natterer
1e476186cb
Add missing single-include guards
2009-11-27 15:58:13 +01:00
Kristian Rietveld
2ef9b989bf
Bug 596473 - Second double-click of GtkTreeView row doesn't emit...
...
Rework double click handling in GtkTreeView. We cannot blindly use
the 2BUTTON_PRESS and 3BUTTON_PRESS events. In case a user does two
fast double clicks, we receive a 3BUTTON_PRESS and BUTTON_PRESS. We
cannot easily deduce two double clicks from this.
We have removed the bookkeeping using row references of the last paths
clicked. Instead we monitor event time, (x, y) coordinates and compare
against double-click-time and double-click-distance ourselves.
2009-11-27 13:48:16 +01:00
Kristian Rietveld
dd511e825a
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
...
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2009-11-27 13:48:16 +01:00
Kristian Rietveld
d3592dc22c
Logically re-group fields in GtkTreePrivate structure
...
This should now cause much less of a headache than before. Fields have
been properly reordered, each group has been given a comment. Since the
GtkTreePrivate structure is private (as the name says), this should not
have any effect on ABI.
2009-11-27 13:48:16 +01:00
Matthias Clasen
0567ea1c18
Add customary args to gtk_style_paint_spinner()
...
...and adjust all callers.
2009-11-27 01:23:55 -05:00
Matthias Clasen
14fb7dfb7e
Fix a doc comment
2009-11-27 00:46:18 -05:00
Matthias Clasen
111dd859ba
Fix a doc comment
2009-11-27 00:45:22 -05:00
Matthias Clasen
6255df0982
Fix a doc comment
2009-11-27 00:43:51 -05:00
Matthias Clasen
927aaa43f9
Remove duplicate doc comments.
...
These can only serve to confuse gtk-doc.
2009-11-27 00:42:54 -05:00
Matthias Clasen
3faf7d0214
Fix a doc comment
2009-11-27 00:39:26 -05:00
Matthias Clasen
7ad6bb3eb6
Un-doc-commentify a comment
2009-11-27 00:37:20 -05:00
Matthias Clasen
13d5d37bc7
Fix a doc comment
2009-11-27 00:37:03 -05:00
Matthias Clasen
1f8d468123
Adjust default value for GtkToolItemGroup::label
2009-11-27 00:14:37 -05:00
Matthias Clasen
4362400018
Exclude GtkToolItemGroup::label-widget from default value test
2009-11-27 00:11:59 -05:00
Matthias Clasen
37255486d4
Merge branch 'master' into toolpalette
2009-11-26 23:54:55 -05:00
Matthias Clasen
837775af7b
Fix up docs, and set up the aliasing machinery
2009-11-26 23:52:20 -05:00
Matthias Clasen
7aa1d6fcaf
Fix another doc typo
2009-11-26 18:56:25 -05:00
Christian Persch
ba218a7789
Make setting the icon-size property on GTK_IMAGE_GICON images work
...
Bug #602725 .
2009-11-23 17:03:55 +01:00
Johannes Schmid
bffd43bd8f
toolpalette: Don't call gdk_window_process_updates() in the animation callback
...
That does not seem to make any difference.
2009-11-18 10:38:45 +01:00
Alberto Garcia
087348a55d
Bug 601512 - Remove unnecessary check in GtkTreeModelFilter
...
gtk_tree_model_filter_set_visible_func() is checking for
priv->visible_func, but that is always going to be NULL since there's
no way to call this function twice.
Besides that the code itself is wrong, since it tries to call
priv->visible_destroy without making sure that it's not NULL
2009-11-15 13:42:36 +01:00
Christian Dywan
0bc6680564
Implement gtk_statusbar_get_message_area and "message_area" child
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=594535
2009-11-12 18:57:37 +01:00
Christian Dywan
00d87c2563
[gtk/gtkwindow] Added accessor for GTK_WINDOW ()->type
...
There already is the "type" property, but an accessor
function for it would be intuitive: gtk_window_get_window_type()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=595498
2009-11-11 20:07:39 +01:00
Marek Kasik
c32c2882b2
Rotate figures on landscape icons in page setup dialog
...
Rotate figures on landscape and reverse landscape icons
to match output of print (#599402 ).
2009-11-11 14:21:11 +01:00
Johannes Schmid
ffce5223fc
toolpalette: Fixed inconsistent spacing
2009-11-11 10:02:36 +01:00
Johannes Schmid
0e2a5509f6
toolpalette: fixed trailing whitespaces
2009-11-11 09:42:49 +01:00
Johannes Schmid
0886416f26
toolpalette: Fixed documentation
2009-11-11 09:38:32 +01:00
Johannes Schmid
fe216c9367
toolpalette: allow to reset same adjustment
2009-11-11 09:33:49 +01:00
Johannes Schmid
3b2ae9dc3e
toolpalettte: Fixed some style issues
2009-11-11 09:32:15 +01:00
Johannes Schmid
e8b640104e
toolpalette: Always show text horizontally
2009-11-11 09:27:00 +01:00
Javier Jardón
c366d5c89e
Fix incorrect GtkMovementStep description
...
Reported by James Campos here:
https://bugzilla.gnome.org/show_bug.cgi?id=601432
2009-11-10 20:42:13 +01:00
Javier Jardón
e8e82802a4
Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro
2009-11-10 20:26:59 +01:00
Tor Lillqvist
0e87c90539
Revert "Fix compilation warning: Use G_POINTER_TO_UINT"
...
GPOINTER_TO_UINT() *does* drop the upper 32 bits on 64-bit
Windows. After all, it by definition produces a (32-bit) unsigned int.
The GLib commit mentioned in the reverted commit's log message just
means that it does this without any compiler warning about casting
from pointer to integer of smaller size, as it first casts to a 64-bit
integer, then casts that to a (32-bit) int.
We must use the GdkNativeWindow cast here so that on 64-bit Windows
the gpointer data in embedded_list is converted to a (64-bit) native
window handle without going through 32-bit truncation. If ifdefs are
required to avoid compiler warnings on X11, so be it then. Probably it
would be best to introduce a GDK_GPOINTER_TO_NATIVE_WINDOW() macro in
gdktypes.h.
This reverts commit 78151dc7d4
.
2009-11-10 16:17:33 +02:00
Javier Jardón
cb301e6dbb
Fix compilation warning: Use a variable to store the return value
2009-11-09 22:39:54 +01:00
Johannes Schmid
1de2a55eaf
Ported gtktoolpalette from a custom array to GPtrArray.
...
...and some mixed fixes of things mentioned in the bug report
2009-11-09 22:16:15 +01:00
Javier Jardón
21f6e1841a
Fix compilation warning: Use G_GNUC_UNUSED macro
...
add_builtin_module() is only used into #define block of code
2009-11-09 21:49:47 +01:00
Javier Jardón
78151dc7d4
Fix compilation warning: Use G_POINTER_TO_UINT
...
GPOINTER_TO_UINT() doesn't drops the upper 32 bits on Win64 anymore.
The Glib commit e4194cb055e44f8a1bd2ab666ead9fa040bcdb89 solved this
problem.
2009-11-09 21:18:22 +01:00
Javier Jardón
3143a344a7
Fix compilation warning: Disable unused function
...
Use #if 0 to disable unused gtk_text_btree_node_invalidate_downward()
2009-11-09 20:56:54 +01:00
Christian Dywan
148ffd2cc9
Clarify documentation of gtk_notebook_set_action_widget
2009-11-09 16:36:17 +01:00
Javier Jardón
f1f6d76078
Fix some compilation warnings
...
Use the proper G*_TO_POINTER macro
2009-11-09 10:27:30 +01:00
Javier Jardón
1919f55647
Fix compilation warning: initialize variable to NO_MATCH
2009-11-09 09:41:51 +01:00
Javier Jardón
8831a44902
Fix warning: Use parentheses around '&&' within '||'
2009-11-09 09:36:41 +01:00
Javier Jardón
e70a46c7e3
Fix compilation warning: initialize the variable
2009-11-09 09:36:15 +01:00
Matthias Clasen
c605474fa9
Add GtkBuilder support for notebook action area.
...
Allow to place children into the notebooks action areas by using
"action-start" or "action-end" as the type.
2009-11-08 21:34:29 -05:00
Matthias Clasen
c7e4a1a012
Add an 'action area' to GtkNotebook
...
Add support for putting widgets in the tab area, before or after
the tabs. This was requested a long time ago in bug 116650. The
implementation is the work of Johannes Schmid.
2009-11-08 21:28:17 -05:00
Robin Stocker
26e2c7f398
Example for setting default action in gtk_drag_dest_set
2009-11-08 01:35:42 +01:00
Paul Pogonyshev
bb036097c3
Trivial typo fix.
2009-11-08 01:10:45 +02:00
Johannes Schmid
02a9d9afd8
Remove G_GNUC_UNUSED
2009-11-07 10:56:59 +01:00
Javier Jardón
8082aad271
Use "Deprecated:" gtk-doc symbol corrently
...
Also, added some suggestion about replacements for deprecated functions
2009-11-06 03:03:40 +01:00
Nicola Fontana
1e1131c959
Do not use static GTypeInfo and GInterfaceInfo
...
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
2009-11-06 01:21:09 +01:00
Christian Dywan
e41f4e85cf
Improve accessibility context and description of the spinner
...
https://bugzilla.gnome.org/show_bug.cgi?id=598758
2009-11-06 00:56:30 +01:00
Bruce Cowan
2f9bd297bb
Fix tooltips in GtkColorSelection
...
Tooltips made reference to palette, even though it may not have been
visible. Bug #600150 .
2009-11-05 23:22:32 +00:00
Javier Jardón
1a02671437
Fix compilation warning: Use gpointer variables
2009-11-02 23:49:00 +01:00
Benjamin Otte
ba9f53397f
Don't keep the filesystem model alive while querying files
...
This allows disposing of the filesystemmodel while the file enumeration
is still happening.
As the filechooser does not disconnect its signals because it assumes it
is the only owner of the model, this also prevents a SEGV when emitting
the "load-finished" signal in that case.
2009-11-02 20:11:09 +01:00
Benjamin Otte
8632d8763d
Simplify cleanup code
...
The patch ensures that the file browse model can only get removed in one
place, so it's easier to clean up.
2009-11-02 20:11:03 +01:00
Matthias Clasen
80de4ab0d9
Another property formatting fix
2009-11-01 18:53:51 -05:00
Matthias Clasen
0a9a1bec93
Work around a gtk-doc formatting problem
2009-11-01 16:41:48 -05:00
Matthias Clasen
097b254e4b
Documentation and stylistic fixups
2009-11-01 16:12:43 -05:00
Javier Jardón
550796d897
Fix some compilation warnings
...
Use proper gint8 array variable instead a string
2009-10-30 18:36:03 +01:00
Javier Jardón
8763551b6b
Fix warning: cast to gint*
2009-10-30 18:34:35 +01:00
Javier Jardón
3388a1b146
Use "Since: 2.x" instead "Since 2.x"
2009-10-30 18:11:44 +01:00
Javier Jardón
0a9843c1b9
Fix warning: some casts to gchar*
2009-10-30 04:27:32 +01:00
Javier Jardón
07236ee745
Remove statement with no effect
2009-10-30 04:19:10 +01:00
Javier Jardón
cbba733b47
Fix warning: cast to gchar*
2009-10-30 04:17:29 +01:00
Matthias Clasen
0f78a6c89a
Allow setting type hints on unmapped windows
...
We set the hint on map, so it makes sense to check for GTK_WIDGET_MAPPED,
not GTK_WIDGET_VISIBLE as the code currently does.
2009-10-28 12:13:58 -04:00
Johannes Schmid
ed41fa8b50
Fixed GtkToolPalette API docs to mention 2.20 instead of 2.18
2009-10-28 13:17:13 +01:00
Johannes Schmid
e83013c066
Fix custom label handling in gtktoolitemgroup
2009-10-28 13:11:37 +01:00
Johannes Schmid
c229306a18
Merge branch 'master' into toolpalette
2009-10-28 10:57:46 +01:00
Yevgen Muntyan
4ff709c24b
Use standard mac shortcuts: add gtk/gtkrc.key.mac
...
This completes commit 3c510f028f
https://bugzilla.gnome.org/show_bug.cgi?id=530351
2009-10-28 00:54:28 +01:00
Christian Dywan
da8dde446d
Deprecate functions according to deprecated GtkButton signals
...
https://bugzilla.gnome.org/show_bug.cgi?id=599218
2009-10-27 22:42:25 +01:00
Christian Dywan
6271cb9672
Don't use deprecated button signal functions in clist and combo
2009-10-27 22:42:24 +01:00
Christian Dywan
4f0b0d0775
Don't use structure fields of GtkAccelMap in GtkSocket
...
https://bugzilla.gnome.org/show_bug.cgi?id=599403
2009-10-27 21:27:28 +01:00
Christian Dywan
f4d5ed5397
Allow removing all closures with gtk_accel_group_disconnect
...
https://bugzilla.gnome.org/show_bug.cgi?id=599403
2009-10-27 21:25:56 +01:00
Marek Kasik
33ec0ecf05
Don't assign a GtkPageOrientation to a boolean value
...
GtkPrintOperationPrivate->orientation is a boolean value.
2009-10-27 17:35:37 +01:00