Carlos Garnacho
25488633ec
GtkStyleContext: Add gtk_render_background().
2010-12-04 15:36:54 +01:00
Carlos Garnacho
13812de971
GtkThemingEngine: Add vmethod to render backgrounds.
2010-12-04 15:36:54 +01:00
Carlos Garnacho
01a8e06842
GtkStyleContext: Add gtk_render_arrow().
2010-12-04 15:36:54 +01:00
Carlos Garnacho
b7ca7d19ee
GtkThemingEngine: Add vmethod to render arrows.
2010-12-04 15:36:54 +01:00
Carlos Garnacho
1c15b140a9
GtkStyleContext: Add gtk_render_option().
2010-12-04 15:36:53 +01:00
Carlos Garnacho
263f6de0e5
GtkThemingEngine: Add vmethod to render radio buttons.
2010-12-04 15:36:53 +01:00
Carlos Garnacho
401625b8b3
GtkStyleContext: Add gtk_render_check().
2010-12-04 15:36:53 +01:00
Carlos Garnacho
acf4306bcd
GtkThemingEngine: Add vmethod to render checkboxes.
2010-12-04 15:36:53 +01:00
Carlos Garnacho
bf7a9914dd
GtkThemingEngine: Add accessors to style classes.
2010-12-04 15:36:53 +01:00
Carlos Garnacho
fe4a6cea73
GtkWidget: Add widget path to style context.
2010-12-04 15:36:53 +01:00
Carlos Garnacho
1d2aa61407
GtkStyleContext: Add child style classes.
...
Child style classes are like style classes, but with additional positional
information. This would be usually set by the parent container.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
9a76d1a332
GtkStyleContext: Add style classes.
...
Style classes are the replacement of detail strings.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
bd3b97d82b
GtkStyleContext: Relate to a GtkThemingEngine.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
0171c76871
GtkThemingEngine: Add module loading capabilities.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
57be029b15
Add GtkThemingEngine.
...
GtkThemingEngine will be the theming engines base class, with default
implementations for all paint functions, and readonly access to the
related GtkStyleContext data.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
b7e6ae3983
GtkStyleContext: Add gtk_style_context_[gs]et_path()
...
This relates a GtkStyleContext with a widget path, so
all style querying would happen based on it.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
9794b6adf9
GtkWidget: Add gtk_widget_get_path().
...
This function composes and returns a GtkWidgetPath representing
the passed widget.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
61360dfddf
Add GtkWidgetPath.
...
GtkWidgetPath represents a widget path. It will mainly used by theming
engines to know detail about the widget hierarchy without actually
accessing the widget.
2010-12-04 15:36:51 +01:00
Carlos Garnacho
835cc7049c
GtkStyleContext: Add getters and setter for state.
2010-12-04 15:36:51 +01:00
Carlos Garnacho
3f93c714ae
GtkWidget: Add gtk_widget_get_style_context().
...
There will be one GtkStyleContext per widget, at the moment its
lifetime is tied to the widget's, but it could be narrowed down
to GTK_WIDGET_REALIZED.
2010-12-04 15:36:51 +01:00
Carlos Garnacho
2e96770e0b
Add GtkStateFlags.
...
It basically represents GtkStateType as a flag set.
2010-12-04 15:36:50 +01:00
Carlos Garnacho
8a7e035ac7
GtkStateType: Add inconsistent and focused state.
2010-12-04 15:36:50 +01:00
Carlos Garnacho
b82355c76e
GtkStyleContext: Fix typo.
2010-12-04 15:36:50 +01:00
Carlos Garnacho
28b7782d78
GtkStyleSet: Add method to register border property.
2010-12-04 15:36:50 +01:00
Carlos Garnacho
16484f8459
GtkStyleSet: Add method to register font properties.
2010-12-04 15:36:49 +01:00
Carlos Garnacho
1a3d964615
GtkStyleContext: Add methods to query composed style.
2010-12-04 15:36:49 +01:00
Carlos Garnacho
2da033b18c
GtkStyleSet: Return default value if value is not set.
2010-12-04 15:36:49 +01:00
Carlos Garnacho
9fdcbd7a84
GtkStyleSet: Add valist and varargs getters/setters.
2010-12-04 15:36:48 +01:00
Carlos Garnacho
2bf7483e74
GtkStyleSet: Use property GQuark as store keys.
2010-12-04 15:36:48 +01:00
Carlos Garnacho
4c60de4783
GtkStyleSet: Add style property registration funcs.
...
Also some properties have been added as a default set.
2010-12-04 15:36:48 +01:00
Carlos Garnacho
2b425d89c8
Add GtkStyleContext.
...
GtkStyleContext will conglomerate the information of several
GtkStyleProviders for widgets and theme engines to query it.
2010-12-04 15:36:48 +01:00
Carlos Garnacho
530ae15f96
gtkstyleset.h: Add declaration for gtk_style_set_merge().
2010-12-04 15:36:48 +01:00
Carlos Garnacho
f969470ad8
GtkStyleSet: Implement GtkStyleProvider.
...
As simple as it can get.
2010-12-04 15:36:47 +01:00
Carlos Garnacho
019fa73308
Add GtkStyleProvider, an interface to provide style details.
...
The get_style() function isn't final yet, further parameters
should be added to query details based on the widget hierarchy,
name, etc.
2010-12-04 15:36:47 +01:00
Carlos Garnacho
f601abd25f
Add GtkStyleSet, a store of style properties.
...
At the moment there's only basic API for adding,
removing and clearing a property. There's also
API to merge 2 GtkStyleSets.
2010-12-04 15:36:47 +01:00
Carlos Garnacho
06288b5ae8
Add GTK_STATE_LAST to mark the end of GtkState enum.
2010-12-04 15:36:47 +01:00
Michael Natterer
e4cbe47a11
gtk: properly indent calls to gdk_threads_add_timeout()
2010-12-02 23:01:12 +01:00
Benjamin Otte
0b6c184eaa
label: Clarify docs for gtk_label_get_layout()
2010-12-02 20:21:05 +01:00
Benjamin Otte
b3e8504111
x11: Don't include gdkprivate.h in gdkx.h
...
It's private, mkay?
And include it directly where we need it anyway.
2010-12-02 20:21:05 +01:00
Benjamin Otte
a6b407cf4a
gtk: Fix typos in comment
2010-12-02 20:21:05 +01:00
Benjamin Otte
f5be938840
gtk: Don't include private GDK headers
...
Use the function that exists for this purpose instead.
2010-12-02 20:21:05 +01:00
Benjamin Otte
3494f87a10
API: Remove GdkNoExposeEvent
...
It's not used by anyone and not supported by any backend but X11.
2010-12-02 20:21:04 +01:00
Benjamin Otte
804c2c8350
cellrenderer: Fix docs to say cairo_t instead of GdkDrawable
2010-12-02 20:21:04 +01:00
Benjamin Otte
771fa78257
textbuffer: Remove check for GdkDrawable
...
This should only have been used for stipple patterns, and those are gone
now.
2010-12-02 20:21:02 +01:00
Benjamin Otte
a7e6d6c4b4
gtk: Avoid GdkDrawable usage, including needless casts
2010-12-02 20:21:02 +01:00
Benjamin Otte
e724054d19
API: Remove GDK_WINDOW_XWINDOW() macro
...
Use GDK_WINDOW_XID() instead.
THis was done using sed, so there might be issues resulting to that.
Feel free to fix.
2010-12-02 20:20:56 +01:00
Bastien Nocera
66122b369e
gtk: Centre the text under the icon in GtkIconView
...
No point in setting the alignment to centre if we don't center it
within the cell itself.
2010-12-02 15:04:32 +00:00
Matthias Clasen
dd678ac323
Avoid a warning when finalizing toolbars
...
Recent changes cause disposing menus to emit ::deactivate. So better
disconnect the deactivate handler first.
2010-12-01 23:32:35 -05:00
Cosimo Cecchi
6587652433
app-chooser-button: don't insert empty rows in the combobox
2010-12-01 20:18:12 +01:00
Cosimo Cecchi
b17f033857
app-chooser-button: add a note in the docs
2010-12-01 17:04:22 +01:00
Cosimo Cecchi
6e6379c633
app-chooser: add docs and symbols coverage for new API
2010-12-01 17:04:22 +01:00
Cosimo Cecchi
510d65ba08
app-chooser-button: add gtk_app_chooser_button_set_active_custom_item()
...
This allows to pre-select a custom item.
2010-12-01 17:04:22 +01:00
Cosimo Cecchi
9ffd1f7adb
app-chooser-button: make sure to always get a valid iter
...
Even in case there are no installed applications for our content type.
2010-12-01 17:03:51 +01:00
Bastien Nocera
959fc60c47
gtk: Allow hiding the trough/slider in GtkScale
...
When setting a GtkRange's upper and lower values to the same
value, the slider will not be drawn any more.
https://bugzilla.gnome.org/show_bug.cgi?id=549720
2010-12-01 15:39:50 +00:00
Emmanuele Bassi
b9859de917
switch: Fix the attribution line
...
Thomas Wood pointed out that the original MxGtkLightSwitch widget upon
which I based the behaviour of GtkSwitch was not written by him; the
original authors are:
Joshua Lock
Robert Staudinger
Jussi Kukkonen
My apologies to all of them.
2010-11-30 21:54:48 +00:00
Cosimo Cecchi
117e88646f
Merge branch 'open-with-dialog'
2010-11-30 17:31:59 +01:00
Cosimo Cecchi
4fe23cae78
app-chooser: other misc doc fixes
2010-11-30 17:27:53 +01:00
Cosimo Cecchi
960516bf33
app-chooser: add more symbols & docs
2010-11-30 16:30:33 +01:00
Cosimo Cecchi
cb916f2746
Merge branch 'master' into open-with-dialog
...
Conflicts:
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
2010-11-30 16:27:28 +01:00
Guillaume Desmottes
8076dbfb5c
gtkspinner: don't setup the timeout twice ( #636129 )
2010-11-30 15:59:49 +01:00
Cosimo Cecchi
5f942b1232
app-chooser-button: remove leftover typedef
2010-11-30 15:04:50 +01:00
Cosimo Cecchi
50e967d17b
build: order new files alphabetically
2010-11-30 15:04:00 +01:00
Cosimo Cecchi
d8ef15c592
app-chooser: update docs
2010-11-30 15:03:33 +01:00
Ryan Lortie
922324553b
Bug 619148 - "active ID" properties (GtkComboBox)
...
Based on a patch by Matthias, add an "active-id" property for
GtkComboBox and add some convenience API for GtkComboBoxText.
Also, add a test case to gtk-demo.
2010-11-30 00:29:16 -05:00
Emmanuele Bassi
781d4faf4c
a11y: Use ATK macros and clean up/2 - GtkSpinner
...
ATK provides macros to the same effect as G_DEFINE_TYPE; using these
macros has the advantage of removing tons of duplicated code and
reducing the maintainership burden.
The widgets with inline accessibility implementation should switch to
these macros, and clean up the code.
https://bugzilla.gnome.org/show_bug.cgi?id=636060
2010-11-30 02:06:57 +00:00
Emmanuele Bassi
e7966a2c0c
a11y: Use ATK macros and clean up/1 - GtkAssistant
...
ATK provides macros to the same effect as G_DEFINE_TYPE; using these
macros has the advantage of removing tons of duplicated code and
reducing the maintainership burden.
The widgets with inline accessibility implementation should switch to
these macros, and clean up the code.
https://bugzilla.gnome.org/show_bug.cgi?id=636060
2010-11-30 02:06:56 +00:00
Matthias Clasen
2fffce2c23
Forgotten changes
2010-11-29 16:47:45 -05:00
Javier Jardón
f07480eb44
GtkSwitch: Add missing "Since: 3.0" tags
2010-11-29 22:00:49 +01:00
Matthias Clasen
9c1e61e9aa
Revert c00b85bf3f
...
This needs more work, currently we do dupe targets when copying
target entries in various places, and consequently free them
later. To do this correctly, the strings need to be interned
or something like that.
2010-11-29 13:00:04 -05:00
Matthias Clasen
670dfdb7cc
Re-add some conditionals to symbols files
...
We need to keep the ifdefs for platform abi differences.
2010-11-29 12:47:44 -05:00
Cosimo Cecchi
51cb082022
app-chooser-online: rework of the online module
...
- the _get_default() method is now async
- the PackageKit module will return NULL in case PackageKit is not
available in the session bus
- the dummy module doesn't exist anymore
- the dialog won't display the online button in case there's no module
available
2010-11-29 18:10:06 +01:00
Matthias Clasen
6b5221380e
remove some duplicate symbols
2010-11-29 12:04:38 -05:00
Matthias Clasen
2451e6f690
Small doc fixup
2010-11-29 11:25:10 -05:00
Cosimo Cecchi
134e74177e
app-chooser-button: tabs to spaces
2010-11-29 16:10:58 +01:00
Cosimo Cecchi
232a5c7b3b
app-chooser-button: change the API approach for custom items
...
Introduce a 'custom-item-activated' on the widget, which behaves
similairly to GtkEntryCompletion::action-activated, i.e. is emitted when
a custom item is chosen from the dropdown list.
Clients can use the name provided when adding the item as a detail for
the signal, to get notified when that specific item is activated, or use
the signal without details to get notifications for all custom items.
2010-11-29 16:04:59 +01:00
Emmanuele Bassi
1f71d641e8
switch: Use ATK macros to reduce the amount of code
...
And the insanity.
Reviewed-by: Christian Persch <chpe@gnome.org>
2010-11-29 14:06:02 +00:00
Emmanuele Bassi
9ad31a5a21
switch: Use the right value for comparison
2010-11-29 13:23:28 +00:00
Emmanuele Bassi
ae95cdf8fc
switch: Add accessibility implementation
...
Modelled on GailToggleButton.
https://bugzilla.gnome.org/show_bug.cgi?id=634987
2010-11-29 12:52:10 +00:00
Emmanuele Bassi
0cd0e4091f
Add GtkSwitch, a "light-switch" like widget
...
The GtkSwitch widget is a simple UI control that has two states: on and
off. Toggling between the states is possible by clicking the widget or
by dragging the handle.
https://bugzilla.gnome.org/show_bug.cgi?id=634987
2010-11-29 12:52:10 +00:00
Cosimo Cecchi
8ae7993397
app-chooser-button: include gtk-docs for show-dialog-item
2010-11-29 12:25:52 +01:00
Cosimo Cecchi
06f501fa07
app-chooser-button: rename GtkAppChooserComboBox -> GtkAppChooserButton
2010-11-29 12:19:18 +01:00
Emmanuele Bassi
1779ae79a1
rgba: Invert the arguments and improve bindability
...
Since parse() is a method of the Gdk.RGBA class, the GdkRGBA pointer
should be the first argument, and the string the second one, to allow a
more natural binding.
https://bugzilla.gnome.org/show_bug.cgi?id=635879
2010-11-28 19:01:51 +00:00
Matthias Clasen
289ad41bd1
Fix recursion in the GtkIconView accessible initialization
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634474
2010-11-27 20:56:09 -05:00
Cosimo Cecchi
67e842be87
app-chooser-combobox: add a method to trigger the GtkAppChooserDialog
...
It's an optional special item in the combobox, turned off by default.
2010-11-25 17:30:01 +01:00
Tristan Van Berkom
eb5a500495
Changing GtkBox:fill child property default back to TRUE.
...
Since Havoc's patches introducing the GtkWidget halign/valign
properties, fill should always be TRUE. If the widget should
not fill its allocated space then it should set the halign or
valign properties for that purpose.
This also consequently fixes bug 634592.
2010-11-25 14:37:02 +09:00
Tristan Van Berkom
6716e7c3f1
Fixed GtkMenuShell to deactivate itself at dispose time
...
Since GdkDevice stuff, it seems that destroying an active
menu doesnt get rid of all the device grabery, this fixes
bug 635693.
2010-11-25 14:08:55 +09:00
Matthias Clasen
a498d9a9ba
Coding style fixups
...
This commit adjusts the app chooser code to GTK+ coding style:
- line up prototypes
- remove some excess {}
- remove tabs and trailing whitespace
- add docs
2010-11-24 18:32:05 -05:00
Matthias Clasen
47308db2ba
Fix reference counting for icons
2010-11-24 16:09:55 -05:00
Michael Natterer
c00b85bf3f
Bug 565665 - GtkTargetEntry member target should be const char *
2010-11-24 21:01:45 +01:00
Cosimo Cecchi
183d75b812
app-chooser-combobox: make refresh properly work with custom items
...
The refresh implementation leaves the custom items in place, and just
refreshes the recommended applications.
2010-11-24 19:08:17 +01:00
Cosimo Cecchi
2a95707b4c
app-chooser-combobox: add an initial implementation
...
GtkAppChooserCombobox is an implementation of GtkAppChooser inside a
combobox that shows recommended applications for a given content type.
2010-11-24 18:45:42 +01:00
Cosimo Cecchi
627f9b70a7
app-chooser-dialog: add a 'Forget Association' context menu item
2010-11-24 17:12:08 +01:00
Cosimo Cecchi
6b900cf276
app-chooser-widget: add a 'populate-popup' signal for context menus
...
This way applications can append items to the menu, which will
automatically show when there's more than one item in it.
2010-11-24 17:12:04 +01:00
Benjamin Otte
e0fb7a86e5
gtk: Remove GtkRuler
...
It is really bad code, mostly unused and no one stepped up to fix it.
Note that Gtk developers do not object to a ruler widget in priciple,
just to the current implementation. If someone wants to propose a sane
version, please don't hesitate.
https://bugzilla.gnome.org/show_bug.cgi?id=613942
2010-11-24 16:56:10 +01:00
Benjamin Otte
c5e25b1532
gtk: Remove unused variables from build scripts
...
ALL_FILES and INCLUDE_VARIABLES are unused
2010-11-24 16:40:40 +01:00
Benjamin Otte
0c0b1c3a46
gtk: Uncruftify gtk.symbols
2010-11-24 16:39:32 +01:00
Cosimo Cecchi
067b4ccb33
Revert "open-with-dialog: remove automatic setting of support-for-type"
...
This reverts commit 4cfe121296
.
Conflicts:
gtk/gtkappchooserdialog.c
2010-11-24 15:49:47 +01:00
Tor Lillqvist
4e59750ac0
No fsync on Windows
2010-11-24 14:36:29 +02:00
Michael Natterer
fb5dd9f72f
Move all GdkDevice members to private and add one missing accessor
2010-11-23 20:25:13 +01:00
Cosimo Cecchi
abf3b4af07
open-with-widget: make sure to escape the string we use for markup
2010-11-23 18:15:28 +01:00
Cosimo Cecchi
d0c35d63e0
Revert "open-with-widget: don't check if the app supports URIs/files"
...
This reverts commit b432242078
.
2010-11-23 18:10:01 +01:00
Cosimo Cecchi
05bb715c51
app-chooser: rename GtkOpenWith to GtkAppChooser
2010-11-23 17:50:15 +01:00
Cosimo Cecchi
6f0a605891
open-with-dialog: don't show the 'Show More...' button in all mode
2010-11-23 16:53:23 +01:00
Cosimo Cecchi
b432242078
open-with-widget: don't check if the app supports URIs/files
...
Because some apps are broken wrt. this property.
2010-11-23 16:53:23 +01:00
Cosimo Cecchi
e861180a03
open-with-widget: add a show-default property
2010-11-23 16:53:23 +01:00
Cosimo Cecchi
0833894c38
open-with-widget: remove context menu
...
The widget should not modify itself the application list in any way.
2010-11-23 16:53:22 +01:00
Cosimo Cecchi
cb934ad868
open-with-widget: remove radio mode
...
It's not useful for now.
2010-11-23 16:53:22 +01:00
Cosimo Cecchi
9d550fe42a
open-with-pk: don't show an error if no apps are found
...
gnome-packagekit already shows a message dialog for us.
2010-11-23 16:53:22 +01:00
Cosimo Cecchi
04eb875e86
open-with-diaolog: set the default text according to the dialog mode
2010-11-23 16:53:22 +01:00
Cosimo Cecchi
1be137ae9f
open-with-widget: let the default fallback text be customizable
...
We'll set it from the dialog.
2010-11-23 16:53:22 +01:00
Cosimo Cecchi
2cb1b7e891
open-with: move the "Show more applications" button in the dialog
...
It doesn't really belong in the widget now that we have the new states.
2010-11-23 16:53:22 +01:00
Cosimo Cecchi
4cfe121296
open-with-dialog: remove automatic setting of support-for-type
...
We don't want to hardcode any kind of policy in these widgets/dialogs from
now on.
2010-11-23 16:53:22 +01:00
Cosimo Cecchi
3b6941f087
open-with: add a public _refresh() method
...
This can be useful now that we're splitting some items from the widget.
2010-11-23 16:53:22 +01:00
Cosimo Cecchi
f12ff4b676
open-with-widget: move to a property-based state
...
We can enable on-demand one of the three sections (recommended,
fallback, other apps) or use the special ALL property to display everything
uncategorized.
These properties are also easily bindable from outside.
2010-11-23 16:53:17 +01:00
Cosimo Cecchi
09b8d37b8a
open-with-dialog: use misc_set_alignment instead of widget_set_halign
2010-11-23 16:51:41 +01:00
Cosimo Cecchi
e7194c31a7
open-with-pk: don't set error if the user cancelled the installation
2010-11-23 16:51:40 +01:00
Cosimo Cecchi
9df2c0910d
open-with-dialog: integrate the online capability
2010-11-23 16:51:40 +01:00
Cosimo Cecchi
d4e1dd9734
open-with: add a PackageKit module for online lookup of applications
...
It's implemented with a GIOExtensionPoint, which has two
implementations:
- a dummy one, which just errors out
- a PackageKit one, which looks up for the specified content type using
the PK DBus API and GDBus.
The PK module is optional, and can be compiled out at configure time.
TODO: a Win32 implementation of the module.
2010-11-23 16:51:40 +01:00
Cosimo Cecchi
86a8f99806
open-with-widget: don't forget to set the search column
...
Otherwise find-as-you-type won't work at all.
2010-11-23 16:51:40 +01:00
Cosimo Cecchi
4becd25bf5
open-with-widget: don't sort by name recommended apps
2010-11-23 16:51:40 +01:00
William Jon McCann
9bbbfe3aa8
Using italics here actually introduces more visual clutter than anything
2010-11-23 16:51:40 +01:00
William Jon McCann
370ecf0ee8
Use Related instead of the somewhat jargonny fallback
2010-11-23 16:51:40 +01:00
William Jon McCann
3c7e6cd49c
Use other instead of more
...
More doesn't make sense when there are no apps in the list and
they aren't just more apps they are apps in another category.
2010-11-23 16:51:40 +01:00
William Jon McCann
8ea4faf0d3
The colon is a bit unneccessary and looks a bit ugly
2010-11-23 16:51:40 +01:00
William Jon McCann
1226070b93
Improve wording of no apps text
2010-11-23 16:51:40 +01:00
William Jon McCann
d09550b2d2
Simplify title and heading
2010-11-23 16:51:40 +01:00
Cosimo Cecchi
8b16f73f88
open-with-widget: don't set border in the widget box
2010-11-23 16:51:40 +01:00
Cosimo Cecchi
9a1cd83933
open-with-widget: add support for fallback applications
...
Needs some new API in GIO, which is not yet merged.
2010-11-23 16:51:40 +01:00
Cosimo Cecchi
a443eb8602
open-with-dialog: remove old declarations
2010-11-23 16:51:40 +01:00
Cosimo Cecchi
1bb2a1b9ec
open-with: remove obsolete code
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
9150f6b13a
open-with-widget: simplify code a bit
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
a6a56d4194
open-with-widget: add a "Show more applications" button
...
So that we don't always show them all unconditionally in HEADINGS mode.
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
7d8e7e5f1d
open-with-widget: make the list more pretty
...
Use bigger icons, with bold names and italic descriptions next to them.
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
9ffe52c049
open-with-dialog: don't ever show_all()
...
As there might be some elements in the widget that we don't want to
always show.
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
254cc6aca6
open-with-widget: add a context menu for recommended entries
...
We can put "Forget association" there, which removes the application
from the recommended list.
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
2f5073fbb3
open-with-dialog: remove the mode from the dialog, we won't use it anymore
...
According to the new design, the dialog should automatically do the
right thing wrt. app association and default handling.
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
cf25ec8fa7
open-with: first attempt to split the dialog into a widget + interface
...
Like GtkFileChooser does; GtkOpenWith is a generic interface, which is
now implemented by both GtkOpenWithDialog and GtkOpenWithWidget (and in
the future also by GtkOpenWithComboBox).
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
a4283d7bab
open-with: turn the show_all_applications boolean into an enum
...
We have three modes of showing applications now:
- RECOMMENDED mode: shows only the recommended applications
- ALL mode: shows all applications, uncategorized
- HEADINGS: shows headings for recommended and other applications
(default).
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
77b5fcfa93
open-with: add docs and integrate with the build GTK+ conventions
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
8c8f7f83ba
open-with: add gtk_open_with_dialog_get_mode()
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
df8ccfb800
open-with: change the API to make it symmetric for GFile or content-type
...
It's much more convenient this way.
2010-11-23 16:51:39 +01:00
Cosimo Cecchi
accb766db2
open-with: add misc utility API to the dialog
...
- _set/get_show_other_applications() is a way to only display
recommended applications in the dialog
- _set/get_show_set_as_default_button() is a way to control the
"Remember this application" checkbox
We also get rid of he "application-selected" signal, in favour of a
_get_selected_application() API inspired by GtkFileChooser.
2010-11-23 16:51:38 +01:00
Cosimo Cecchi
a8cf63cc84
open-with: add xpadding to the treeview renderers
...
We use a GtkCellRenderer hack for this.
2010-11-23 16:51:38 +01:00
Cosimo Cecchi
ee9a7a3baf
open-with: cope with NULL GAppInfo
...
It's not that the GAppInfo can actually be NULL, but we use the store to
save headings too, which have no GAppInfo in their rows.
2010-11-23 16:51:38 +01:00
Cosimo Cecchi
1d67b4ac26
open-with: don't override the class signal handler, as it's RUN_LAST
...
And explain why in a comment; basically we want our handler to always
run before client code.
2010-11-23 16:51:38 +01:00
Cosimo Cecchi
c8ea415873
open-with: don't use gtk_misc_* functions
...
They're so passe'!
2010-11-23 16:51:38 +01:00
Cosimo Cecchi
3d044a7c3e
open-with: add a "show-other-applications" property
...
This is useful for use-cases where showing a list of all the installed
applications can be confusing. We can control that with a property now.
2010-11-23 16:51:38 +01:00
Cosimo Cecchi
be18ca45f0
open-with: initial implementation of GtkOpenWithDialog
2010-11-23 16:51:38 +01:00
Colin Walters
6c6b493926
iconcache: Ensure we don't lose data on power loss
...
fsync() should ensure our data hits disk; since corrupt icon
caches break all apps, we need to ensure it's valid.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=635307
2010-11-22 20:49:59 +01:00
John (J5) Palmieri
f2a187f27a
[gi] add array annotations for DnD related methods
2010-11-19 15:06:40 -05:00
Michael Natterer
bc0e6b2b21
gtk: remove GtkWidget::size-request
...
Fixes Bug 633324 - Stop invoking size-request completely
2010-11-19 19:38:48 +01:00
Martin Pitt
3431f7a2d7
GtkRadioButtons: Mark group arguments as "allow-none"
...
In the current introspection data, the various gtk_radio_button_new_*
constructors take an existing group or widget. These all allow passing a NULL
widget or group list, so that it becomes easy to build a radio button list in a
loop (pass in None the first time, and the previously created button in all
other iterations).
Add the missing "allow-none" tag to the introspection data, so that this will
also eventually work for GIR users. NB that it does not actually work for some
constructors yet (like new_with_label_from_widget()) due to
https://bugzilla.gnome.org/show_bug.cgi?id=561264 .
https://bugzilla.gnome.org/show_bug.cgi?id=635253
2010-11-19 16:29:43 +01:00
Michael Natterer
c2fd7e8350
gtk: draw the frame around the spinbutton's buttons conditionally
...
(depending on GtkEntry::has-frame)
2010-11-19 14:55:47 +01:00
Javier Jardón
4e3db2e3a8
gtkcombobox: Use accessor functions to access GtkTreeViewColumn
2010-11-19 08:38:12 +01:00
Javier Jardón
224ce2cf6c
gtktreeview: Use accessor functions to access GtkTreeViewColumn
2010-11-19 08:38:12 +01:00
Javier Jardón
c4be956473
gtkentry: move public members to private structure
2010-11-19 08:38:12 +01:00
Javier Jardón
8c941d2b4e
Add _gtk_entry_get_im_context() internal accessor
...
It's needed by gtktreeview
2010-11-19 06:15:27 +01:00
Javier Jardón
fb3429e507
gtkcombobox: Do not access GtkEntry internals
...
It's not needed anymore
2010-11-19 06:15:27 +01:00
Javier Jardón
dec57f8ce9
Create a private header to access some GtkButton variables
2010-11-19 06:15:26 +01:00
Javier Jardón
c295ab0943
gtktbutton: Move public members to private structure
2010-11-19 06:15:26 +01:00
Javier Jardón
29fc179a89
gtkplug: Do not leak in gtk_plug_realize()
...
Indeed, we should check for window->wmclass_name
Reported by Guillaume Desmottes in bug
https://bugzilla.gnome.org/show_bug.cgi?id=635175
2010-11-18 17:52:18 +01:00
Tristan Van Berkom
c03a3ca601
Fixing GtkScrolledWindow inconsistent scrollbar visibility.
...
Also removing the hack to prevent hangs which is properly fixed by
the preceeding commit.
2010-11-19 00:53:19 +09:00
Tristan Van Berkom
f20ac5792f
Fixing hangs with GtkScrolledWindow
...
Now gtk_widget_size_allocate() unsets the resize_needed flags
before returning, essentially this means that any widget that
has a queued resize and is allocated before resize time, including
queued resizes from inside a size_allocate() method will be
cancelled.
2010-11-19 00:53:13 +09:00
Michael Natterer
881282e055
gtk: honor entry->has_frame again draw the frame conditionally
...
when GtkEntry had visible windows, it was never noticed that we always
draw the frame, because the text_area window would cover it if
draw_frame was FALSE.
2010-11-18 01:06:57 +01:00
Michael Natterer
3ec8daa66c
gtk: draw the progress only on the text area
...
so it doesn't extend under GtkSpinButton's buttons.
2010-11-18 01:06:57 +01:00
Javier Jardón
10d5686fe1
docs: Move Height-for-width geometry management virtual methods docs
2010-11-17 23:58:26 +01:00
Federico Mena Quintero
b8cde53350
bgo#634558 - filechooser - Actually focus the Search entry when selecting the Search shortcut
...
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-11-16 10:58:16 -06:00
John (J5) Palmieri
6ebc15028b
[gi] add "array" annotations to GtkAboutDialog methods
...
* set_authors, set_documenters and set_artists required the array annotation
to work properly
2010-11-16 11:07:20 -05:00
Javier Jardón
70d95f04e7
gtkmain: Remove deprecated gtk_init_add() function
...
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2010-11-16 06:54:01 +01:00
Javier Jardón
77d6bd12b9
Deprecate GtkCallbackMarshal and GtkFunction
...
As they're only used by already deprecated API
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2010-11-16 06:54:01 +01:00
Javier Jardón
5f3d819746
GtkArg is deprecated since 2.2
2010-11-16 06:43:16 +01:00
Javier Jardón
d45fd566b1
docs: Add cross-reference in GtkAlign docs
2010-11-16 03:51:53 +01:00
Javier Jardón
9e78176685
docs: Fix a typo in gtk_button_set_alignment() docs
2010-11-16 03:37:42 +01:00
John (J5) Palmieri
a3da018a64
[gi] add "out" annotations to gtk_tree_store_sort_column_id params
2010-11-15 12:14:43 -05:00
Carlos Garcia Campos
3b90a21763
docs: Mention that tooltip_column text should be escaped in GtkIconView
2010-11-14 12:39:48 +01:00
Javier Jardón
97862638ec
docs: Update URL of some documentation links
...
http://developer.gnome.org -> http://library.gnome.org
2010-11-14 01:24:19 +01:00
Owen W. Taylor
63913ffe54
Pass the correct GDK library when working around Debian libtool
...
We need to link against gdk/libgdk-x11-3.0.la, not
gdk/x11/libgdk-x11.la, which is the convenience library containing
the backend functions.
2010-11-10 17:10:45 -05:00
Murray Cumming
7c21974009
gtk_dialog_get_content_area(): Fix the docs.
...
This returns a GtkBox now, not a GtkVBox.
Language bindings may need to adjust their APIs accordingly.
2010-11-10 11:35:34 +01:00
Murray Cumming
ba4dde9b45
gtkdialog.c: Remove trailing whitespace
2010-11-10 11:35:09 +01:00
Chun-wei Fan
8c674c5d84
gtklabel.c: Added hack for rint()
2010-11-10 10:21:08 +08:00
Chun-wei Fan
086bfc723e
gtkwocket-win32.c Added missing include to avoid C4013
2010-11-10 10:15:45 +08:00
Chun-wei Fan
ce3680fe15
Merge ssh://git.gnome.org/git/gtk+
2010-11-10 10:14:13 +08:00
Chun-wei Fan
76dc9e6b53
gtk: fix C99-style variable declarations in various sources
2010-11-10 10:08:14 +08:00
John (J5) Palmieri
eb34f3350f
[introspection] mark invokers for gtkeditable vfuncs
2010-11-09 21:00:14 -05:00
Matthias Clasen
6929db78a3
fix up accidental exports
2010-11-09 13:51:55 -05:00
Matthias Clasen
185bb2837b
Another attempt at scrolledwindow size allocation
...
Patches taken from bug 633278.
2010-11-09 13:19:42 -05:00
Colin Walters
4acf92c08d
introspection: Explicitly include libgdk-x11.la when scanning gtk
...
Debian changed the behavior of libtool to not follow dependencies
from .la files. Fortunately, the scanner explicitly looks at the
.la files to see if they're really shared; if not it doesn't add
them to the .gir, so there's no cost.
https://bugzilla.gnome.org/show_bug.cgi?id=633405
2010-11-09 11:37:25 -05:00
Matthias Clasen
6613fc7b36
Fix the doc build
2010-11-09 08:16:33 -05:00
Matthias Clasen
88366ad5fe
Don't export _gtk_cell_renderer_calc_offset
...
This is just a private convenience function, and exporting _-prefixed
functions doesn't work with our libtool setup. Just do the 3 line
calculation in gail.
2010-11-09 08:15:06 -05:00
Matthias Clasen
1ddf183bac
Fix entry completion window sizing
...
I don't think we are at the end of scrolledwindow tweaks yet,
but this will make things work for now, as they used to.
https://bugzilla.gnome.org/show_bug.cgi?id=633670
2010-11-08 18:39:02 -05:00
Patrick Bernaud
76ba033f59
docs: Move documentation to inline comments: GtkPaned
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634338
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-08 23:22:03 +01:00
Patrick Bernaud
6a93e3bbe1
docs: Move documentation to inline comments: GtkProgressBar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634339
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-08 23:21:57 +01:00
Patrick Bernaud
692024940c
docs: Move documentation to inline comments: GtkPageSetup
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634340
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-08 23:21:49 +01:00
Hans Breuer
9452b271a0
Bug 609622 - disappearing statusicon
...
Windows 7 is managing status icon visibility across process lifetime,
which did not work with GTK+ create icons. Apparently the mechanism
does not require use of new API (like suggested by MSDN), but it is
enough to give a "unique" tooltip at creation time.
Formerly this initial tooltip was not set at all, later setting via
gtk_status_icon_set_tooltip_text() is not enough, but luckily
different follow-up tooltips don't disturb the intended behavior.
(cherry picked from commit ae0544c636
)
(cherry picked from commit 8a9d458baf
)
2010-11-07 23:58:29 +01:00
Hans Breuer
dc40e17af8
Update msvc build
2010-11-07 23:35:04 +01:00
Matthias Clasen
9dfeee8127
Make GtkFileChooserButton behave as expected when expanding
2010-11-07 11:22:07 -05:00
Garrett Regier
3aad9f6617
docs: Move documentation to inline comments: GtkCellView
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 18:21:36 +01:00
Garrett Regier
d5593dec9e
docs: Move documentation to inline comments: GtkCellRendererText
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 18:21:36 +01:00
Javier Jardón
6cfd907290
docs: Move documentation to inline comments: GtkCellRenderer
2010-11-06 18:21:35 +01:00
Javier Jardón
c418ea89e5
docs: Move documentation to inline comments: GtkSettings
2010-11-06 18:21:35 +01:00
Garrett Regier
aa4c96544b
docs: Move documentation to inline comments: GtkColorSelection
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 17:42:00 +01:00
Garrett Regier
65536550c5
docs: Move documentation to inline comments: GtkLayout
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-11-06 17:42:00 +01:00
Tor Lillqvist
8f98c7f68c
Add _gtk_cell_renderer_calc_offset
2010-11-06 14:12:14 +02:00
Javier Jardón
c08e7f01fe
docs: move documentation to inline comments: GtkColorButton
2010-11-06 03:26:14 +01:00
Javier Jardón
5efde9d6d0
docs: move documentation to inline comments: GtkTreeView
2010-11-06 03:26:14 +01:00
Javier Jardón
f90bdb33c8
docs: Move documentation to inline comments: GtkTextView
2010-11-06 03:26:14 +01:00
Matthias Clasen
04ba8ef77a
GtkApplication: rewrite example application
...
The intended way of using GtkApplication is mainly by subclassing,
so make the example do that.
2010-11-05 16:26:51 -04:00
Matthias Clasen
ef3cc732cb
GtkApplication: drop Quit from the docs
...
GtkApplication does not currently implement any default actions.
2010-11-05 16:26:51 -04:00
Javier Jardón
0e0c4ee129
docs: move documentation to inline comments: GtkEntry
2010-11-05 20:49:20 +01:00
Cosimo Cecchi
a994a9f945
icon-theme: always force icon sizes for emblems
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-05 16:28:32 +01:00
Cosimo Cecchi
5071aa72ad
icon-theme: support pixbufs implementing the GIcon interface
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-05 16:28:32 +01:00
Cosimo Cecchi
f437507d4d
gtkwindow: properly set the window icon list ( #631331 )
...
This was probably a rendering-cleanup regression.
2010-11-05 16:26:30 +01:00
Murray Cumming
d1829ecd74
GtkWidget/GtkContainer: Slight fixes to geometry-management docs.
...
Replace it's with its in several places.
Replace some , with .
Replace some ; with .
Fix some plurals.
Other minor corrections.
2010-11-04 16:37:54 +01:00
Murray Cumming
897a333744
GtkWidget: Document the size-request signal deprecation.
...
Hopefully my text is correct.
2010-11-04 16:11:25 +01:00
Matthias Clasen
10f0e991da
Handle empty button boxes gracefully
...
https://bugzilla.gnome.org/show_bug.cgi?id=633915
2010-11-03 23:01:09 -04:00
Christian Dywan
1c14268687
Only show Desktop in file chooser button if there is one
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=632894
2010-11-03 19:19:19 +01:00
Ryan Lortie
fbdcf193ae
gtktoolitemgroup: don't use GTimeSpec
...
Use gint64 time instead.
2010-11-03 08:26:27 -04:00
Javier Jardón
1f1e7c37ad
Revert "Move the /*< private >*/ at the correct position"
...
All the object structures is opaque
This reverts commit c59ca4f6b9
.
2010-11-03 03:38:06 +01:00
Javier Jardón
4e0a50db9e
docs: Improve cross-referencing on GtkGrid docs
2010-11-03 03:31:57 +01:00
Javier Jardón
dab457fbc6
docs: Fix gtk-doc markup in GtkWidget docs
2010-11-03 03:31:46 +01:00
Murray Cumming
764f627733
Fix tiny documetnation typo.
2010-11-02 10:43:42 +01:00
Murray Cumming
d3aa89fc11
GtkScrollable: Improve the documentation text.
2010-11-02 09:23:24 +01:00
Murray Cumming
c4714662b1
Removed a trailing enum comma.
2010-11-01 23:09:21 +01:00
Ignacio Casal Quinteiro
d8d73163fd
Normalize boolean.
2010-11-01 22:59:21 +01:00
Ignacio Casal Quinteiro
37dc91f012
Do not use gbooleans to save some bits.
2010-11-01 22:43:35 +01:00
Paolo Borelli
5dddcb1fa5
Get rid of unused shaped_object list in _GtkTextLineDisplay
...
https://bugzilla.gnome.org/show_bug.cgi?id=631076
2010-11-01 17:09:58 +01:00
Matthias Clasen
69c7213ba9
GtkToolitemGroup: Use monotonic clock for animation timeout
2010-11-01 11:43:15 -04:00
Ignacio Casal Quinteiro
1fad7eaf85
Add caseless unit tests for textiter.
2010-11-01 15:21:53 +01:00
Ignacio Casal Quinteiro
2f98a1c8b3
Add case insensitive to GtkTextIter. Fixes bug #61852 .
...
This code has been taken from GtkSourceView so also kudos to Paolo Maggi
and Paolo Borelli for helping with this patch.
2010-11-01 15:21:48 +01:00
Paolo Borelli
42910194a9
Fix backward search bug exposed by the unit test
...
When searching with multiple lines first_line_start/end were initialized
to the last line start/end iters
2010-11-01 15:21:43 +01:00
Ignacio Casal Quinteiro
be703155aa
Add unit tests for textiter.
2010-11-01 15:21:39 +01:00
Matthias Clasen
9ff207bd25
Avoid exporting an extra symbol
2010-11-01 09:17:21 -04:00
Matthias Clasen
816f08872a
Fix make check
2010-11-01 09:17:21 -04:00
Paolo Borelli
c59ca4f6b9
Move the /*< private >*/ at the correct position
2010-11-01 14:15:03 +01:00
Matthias Clasen
54a5e37136
Fix interaction between scrolling menus and automatic mnemonics
...
https://bugzilla.gnome.org/show_bug.cgi?id=612611
2010-10-31 15:53:07 -04:00
Michael Natterer
d1a58b78be
gtk: remove all border_width handling from the button box
...
and let GtkContainer do the job; fixes doubled border widths. GtkBox
did already delegate border handling to Gtkcontainer, which interacted
badly with a subclass that didn't.
2010-10-31 20:16:19 +01:00
Michael Natterer
476b4c248c
gtk: fix automatic width of spin buttons which have no width in chars set
2010-10-31 20:03:55 +01:00
Matthias Clasen
c6a379dc62
GtkAssistant: Mention custom pages in the introduction
2010-10-31 14:34:35 -04:00
Michael Natterer
3a0afce509
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-10-31 19:22:28 +01:00
Bastien Nocera
cbbfd7beb6
GtkAssistant: Add custom page type
...
The custom page type will not show any buttons by default, and
it is left to the application to add its own buttons instead.
The _next_page() and _previous_page() functions can be used
for the back and forward buttons used by the application.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-10-31 16:08:46 +00:00
Bastien Nocera
b5abd10940
GtkAssistant: Add more details about buttons shown
...
Add more documentation about which buttons will be shown for which
type of GtkAssistant page.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-10-31 16:08:46 +00:00
Matthias Clasen
c5e9526faf
Improve GtkAssistant docs
2010-10-30 21:30:23 -04:00
Martin Nordholts
cdda7f9151
Handle NULL intp in test_increment_intp()
...
Support passing NULL for &int to gtk_test_display_button_window() so
we can use that function also when we are not interested in counting
clicks.
2010-10-31 00:49:38 +02:00
Tristan Van Berkom
ae71cf7209
Fixed hangs in TextView and ToolPalette
...
Fixed the hangs by adding a ->inside_allocation flag and avoiding to
queue resizes while inside the allocation loop. The extra queue'd resizes
were causing the scrolled window size_allocate() to perform the guess
again and again thus causing an infinite loop.
2010-10-30 23:10:43 +09:00
Tristan Van Berkom
338001ae48
Fixing typo in scrolled window
...
Seems with GtkScrollable interface we were setting the hadjustment as
the vadjustment, thanks to Cosimo Cecchi who debugged this and finally
found the typo.
2010-10-30 23:09:14 +09:00
Javier Jardón
73bac5af3b
Emphasize that GtkBox and GtkTable can be replaced by GtkGrid
2010-10-30 06:53:44 +02:00
Javier Jardón
a9894d4cf4
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 05:22:58 +02:00
Matthias Clasen
630b2c58b4
Fix initial size allocation with child widgets
...
On some cases, it would take a resize of the window for children
to 'jump into place'.
https://bugzilla.gnome.org/show_bug.cgi?id=633500
2010-10-29 21:15:13 -04:00
Javier Jardón
570b90e218
Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()
2010-10-30 02:26:24 +02:00
Javier Jardón
217036975a
Use gtk_scale_new() instead gtk_[v|h]scale_new()
2010-10-30 02:26:24 +02:00
Javier Jardón
8177ad320e
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
2010-10-30 02:26:23 +02:00
Javier Jardón
b3a7d401a1
Use gtk_paned_new() instead gtk_[v|h]paned_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
8d008790be
Use gtk_separator_new() instead gtk_[v|h]separator_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
e31304fb7b
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
2010-10-30 02:26:23 +02:00
Michael Natterer
8154a5930d
gtk: remove declarations of removed internal functions
2010-10-29 20:24:41 +02:00
Matthias Clasen
b2397d3d7e
Don't set get_preferred_width_for_height to NULL
...
The size request machinery expects that it is non-NULL.
2010-10-29 12:58:24 -04:00
Matthias Clasen
ac3fe174f7
GtkComboBox: Add a constructor that takes a model and adds an entry
...
https://bugzilla.gnome.org/show_bug.cgi?id=633050
2010-10-29 12:28:42 -04:00
Javier Jardón
8b512bd9dd
Re-enable deprecation guards
2010-10-29 05:10:52 +02:00
Matthias Clasen
7da5cd5fe6
ifdef X-specific stuff
...
gdk_x11_ APIs can only be used inside #ifdef GDK_WINDOWING_X11.
2010-10-28 14:27:04 -04:00
Matthias Clasen
7018c2acc7
GtkButtonBox doesn't do height-for-width
...
GtkButtonBox doesn't do height-for-width, therefore we should
explicitly set these methods to NULL instead of hoping that the
inherited GtkBox implementations work ok.
2010-10-28 14:25:50 -04:00
John (J5) Palmieri
a863697784
[introspection] annotate delete_text invoker to match do_delete_text v-method
2010-10-28 13:25:10 -04:00
Ignacio Casal Quinteiro
60feed7360
Remove useless vars.
2010-10-28 11:54:05 +02:00
Tristan Van Berkom
c41ec57fb0
Fire a warning if there are any handlers connected to the deprecated "size-request" signal.
2010-10-28 16:00:19 +09:00
Tristan Van Berkom
18f46adb7d
Added a runtime warning if any class is implementing the ->size_request() vfunc.
2010-10-28 15:41:00 +09:00
Tristan Van Berkom
2f3e51389e
Merge branch 'kill-size-request'
2010-10-28 15:30:32 +09:00
Tristan Van Berkom
7af16e8d91
Make GtkPathBar use set_size_request() instead of the "size-request" signal.
2010-10-28 15:17:06 +09:00
Tristan Van Berkom
1523509467
Removed size_request from GtkToolItemGroup
...
Ofcourse GtkToolPalette needs real migration to height-for-width
apis, this patch just removes the need for the size_request
signal and vfunc.
2010-10-28 15:16:06 +09:00
Tristan Van Berkom
6e22c646c6
Use gtk_widget_set_size_request() instead of handling "size-request" signals.
2010-10-28 14:56:04 +09:00
Matthias Clasen
48d0be545c
Fix the build
2010-10-27 13:01:21 -04:00
Matthias Clasen
a84b81d4fe
Fix gtk_fixed_get_preferred_width
...
When dealing with widths, use x, not y.
Spotted by Ignacio Casal Quintero.
2010-10-27 12:53:47 -04:00
Bastien Nocera
94c8390ad7
gtk: Fix crasher when loading symbolic icons
...
If the style didn't include symbolic colors for either success,
warning or error, gtk_icon_info_load_symbolic_for_style() would crash.
Instead, make sure we don't try to use the colors if they're not
available, and fallback on default colors inside
_gtk_icon_info_load_symbolic_internal().
2010-10-27 17:52:30 +01:00
Owen W. Taylor
cb287cde00
GtkSocket: Add error trap around call to XFixesChangeSaveSet()
...
Previously any X error from XFixesChangeSaveSet() was being eaten
by the subsequent error trap when sending a client message. With
asynchronous error traps, that side effect no longer occurs, so
we need to add a proper error trap around the call to
XFixesChangeSaveSet().
https://bugzilla.gnome.org/show_bug.cgi?id=633274
2010-10-27 12:40:59 -04:00
Tristan Van Berkom
d13bf0801d
Revert "Removed size_request from GtkTextView"
...
This reverts commit 87dfa724eb
.
I pushed this to the wrong branch, ouch sorry.
2010-10-28 01:40:51 +09:00
Matthias Clasen
e3bf39b2e6
Remove size_request from GtkSocket
...
This is only preliminary, GtkSocket can do minimal/natural width
properly, there's code for that in the extended-layout branch.
2010-10-27 11:18:47 -04:00
Matthias Clasen
f5207ab647
Don't g_free gslice-allocated structures
...
This was causing memory corruption when removing remote plugs from
sockets.
2010-10-27 11:18:46 -04:00
Matthias Clasen
fb0a72dc0f
Remove size_request from GtkScale
2010-10-27 11:18:46 -04:00
Tristan Van Berkom
a41436c40f
Removed size_request from GtkTearoffMenuItem
2010-10-27 23:59:43 +09:00
Tristan Van Berkom
c33a2b7237
Fixed remaining call to ->size_request in GtkTextView.
2010-10-27 23:34:58 +09:00
Tristan Van Berkom
1132f54dcc
Removing size_request from GtkTextView
2010-10-27 23:25:05 +09:00
Matthias Clasen
8f9807ac15
Remove size_request from GtkSeparatorToolItem
2010-10-27 10:17:58 -04:00
Tristan Van Berkom
87dfa724eb
Removed size_request from GtkTextView
2010-10-27 22:59:49 +09:00
Matthias Clasen
17c1bb4e52
Remove size_request from gtkToolItem
2010-10-27 09:54:44 -04:00
Tristan Van Berkom
7a85a31cc4
Removing size_request from GtkToolPalette
...
Note GtkToolPalette is internally height-for-width, it needs to
be refactored to cooperate with GTK+'s height-for-width geometry
management properly.
2010-10-27 22:51:35 +09:00
Matthias Clasen
1205f5a230
Remove size_request from GtkToolbar
...
This is just a bandaid fix, the toolbar should really return proper
min/natural sizes, so that we can handle the overflow properly.
2010-10-27 09:41:37 -04:00
Matthias Clasen
f7740fe580
Remove size_request from GtkTable
2010-10-27 09:33:41 -04:00
Tristan Van Berkom
add32bab71
Removing size_request from GtkTreeview.
...
This should be implemented as propery height-for-width by
the treeview-refactor branch. This commit includes a FIXME
comment that scroll adjustments should not be updated from
inside size requests but only after receiving an allocation.
2010-10-27 22:28:41 +09:00
Matthias Clasen
1184295620
Remove size_request from GtkRuler
2010-10-27 09:23:07 -04:00
Matthias Clasen
fc081e7847
Remove size_request from GtkPathBar
2010-10-27 09:13:26 -04:00
Matthias Clasen
7947f1933e
Remove size_request from GtkSeparator
2010-10-27 08:33:42 -04:00
Matthias Clasen
d95f8ae2e2
Remove size_request from GtkRange
2010-10-27 08:10:40 -04:00
Matthias Clasen
2b728f66a8
Fix a typo
2010-10-27 07:57:19 -04:00
Matthias Clasen
9b60d27b83
Remove size_request from GtkPaned
...
This is not the final word; GtkPaned should really implement
height-for-width, but I didn't have time to complete that now.
2010-10-27 07:55:27 -04:00
Tristan Van Berkom
80ac6c9701
Removed size_request from GtkOffscreenWindow
2010-10-27 14:43:30 +09:00
Tristan Van Berkom
9a80908c91
Removed size_request from GtkNotebook
2010-10-27 14:35:04 +09:00
Tristan Van Berkom
2dca7ad91d
Removed size_request from GtkMenuBar
2010-10-27 14:30:07 +09:00
Tristan Van Berkom
c8c3cf9beb
Removed size_request from GtkImageMenuItem
2010-10-27 14:12:41 +09:00
Tristan Van Berkom
814cd2c3ff
Removed size_request from GtkIconView.
2010-10-27 14:11:36 +09:00
Tristan Van Berkom
7e3e0636aa
Remove size_request from GtkHandleBox
2010-10-27 13:56:46 +09:00
Tristan Van Berkom
393bd507bb
Fixed unused variable in get_preferred_height().
2010-10-27 13:56:13 +09:00
Matthias Clasen
ac1bb229d1
Remove size_request from GtkSpinButton
2010-10-26 23:46:06 -04:00
Matthias Clasen
e45e9b187b
Remove size_request from GtkProgressBar
2010-10-26 23:30:48 -04:00
Matthias Clasen
4ca87168d4
Remove size_reuqest from GtkImage
2010-10-26 23:16:40 -04:00
Matthias Clasen
86cb8d02d3
Remove size_request from GtkLayout
2010-10-26 23:08:15 -04:00
Matthias Clasen
909a005cb2
Remove size_request from GtkHSV
2010-10-26 23:08:01 -04:00
Matthias Clasen
58354f2036
Remove size_request from GtkFixed
2010-10-26 23:07:56 -04:00
Matthias Clasen
2432bf4a58
Remove size_request from GtkEntry
2010-10-26 21:41:13 -04:00
Matthias Clasen
3bb3dc72e3
Remove size_request from GtkCheckButton
2010-10-26 21:29:58 -04:00
Matthias Clasen
f85543af98
Remove size_request from GtkCalendar
2010-10-26 21:06:40 -04:00
Matthias Clasen
8178e6016a
Remove size_request from GtkButtonBox
2010-10-26 20:57:40 -04:00
Matthias Clasen
d08e8aac62
Remove size_request from GtkAssistant
2010-10-26 20:57:23 -04:00
Javier Jardón
e0e6d5b4df
Fix gtk-doc markup: /* <private> */ should be /*< private >*/
2010-10-26 18:35:04 +02:00
Matthias Clasen
b69232e51b
Stop calling GtkWidget parameters 'request'
...
There were at least a few places where we were using GTK_WIDGET()
on something that was already a GtkWidget*, just because it was
named wrong.
2010-10-26 10:53:46 -04:00
Xan Lopez
9c7016ab87
gtkcomboboxtext: remove unused variable
2010-10-26 15:18:35 +09:00
Javier Jardón
5aea672e00
gtk.symbols: Add scrollable policy API
2010-10-26 06:07:43 +02:00
Javier Jardón
8dd7ae38f9
gtkfilechooserentry: Use accessor functions to access GtkEntry
2010-10-26 06:07:43 +02:00
Javier Jardón
0b72acf78d
gtkspinbutton: Use accessor functions to access GtkEntry
2010-10-26 06:07:42 +02:00
Javier Jardón
f5615022a7
Use accessor functions to access GtkButton
2010-10-26 06:07:42 +02:00
Javier Jardón
8991603c88
gtktogglebutton: move public members to private structure
2010-10-26 06:07:42 +02:00
Javier Jardón
49446ed57c
gtktogglebutton: Add _gtk_toggle_button_set_active private accessor
...
It's needed by gtkradiobutton
2010-10-26 06:07:42 +02:00
Javier Jardón
a93e79f8d2
gtkradiobutton: Use accessor functions to access GtkToggleButton
2010-10-26 06:07:42 +02:00
Javier Jardón
783d18650b
gtkcheckbutton: Use accessor functions to access GtkToggleButton
2010-10-26 06:07:42 +02:00
Javier Jardón
356cfaa084
gtktoggletoolbutton: Use accessor functions to access GtkToggleButton
2010-10-26 06:07:42 +02:00
Tristan Van Berkom
3fe0fb4ed9
Added GtkScrollablePolicy property to scrollable interface
...
This patch adds the GtkScrollablePolicy type property to GtkScrollable
and implements it in all subclasses. GtkScrolledWindow observes this
property to make a good guess about when to show/hide scrollbars for
height-for-width content.
Most scrollable children do not do height-for-width *yet* but
most certainly will (toolpalette, treeview, iconview, textview
widgets all TODO), for scrollable widgets that do have a minimum
and natural size, it's important for them to observe the state
of this property in order to properly drive the scroll adjustments
according to the desired GtkScrollablePolicy. This patch makes
GtkViewport do this.
Patch also adds tests/testscrolledwindow.c to display the effects
of this property.
2010-10-26 10:15:56 +09:00
Matthias Clasen
c406b6ed22
Add new GdkRGBA apis to gtk.symbols
2010-10-25 13:49:37 -04:00
=Christian Persch
d3f1745493
Use g_ascii_strto[u]ll instead of strto[u]l
...
We don't want GtkBuilder input to be locale-dependent.
Bug #632503
2010-10-25 12:22:20 -04:00
Matthias Clasen
503698f587
Support resetting cell renderer colors with NULL again
...
This functionality was lost when GdkRGBA was introduced.
Bug 632936
2010-10-25 11:17:24 -04:00
Matthias Clasen
52a7553b2c
GtkCalendar: turn into a no-window widget
...
After these changes, GtkCalendar only has a few input-only windows
left for catching input events. All drawing goes to the parent
window now.
2010-10-24 14:43:05 -04:00
Matthias Clasen
520a6aeb8f
Fix up docs
2010-10-23 23:41:08 +02:00
Matthias Clasen
1be9b7f782
Some GtkApplication cleanups
...
Remove no-longer-needed vfuncs, no longer existing functions,
and improve the docs here and there.
2010-10-23 21:24:24 +02:00
Matthias Clasen
7651c231e0
Revert the id-column patch
...
It didn't quite turn out as I wanted it.
I'll put it in bug 619148 for now.
2010-10-23 19:34:20 +02:00
Tristan Van Berkom
051dcde4bf
Fixed fallout from GtkScrollable patches.
...
The scrollable patch removed set_scroll_adjustments (NULL, NULL) from
gtk_tree_view_init() which ensured the treeview would have adjustments
at all times, this patch adds set_v/hadjustment (NULL) to _init to ensure
the same thing (without it, there are crashes when trying to access the
adjustments notably from set_headers_visible() in gedit).
2010-10-23 22:53:06 +09:00
Tristan Van Berkom
ed63ae2bd3
Fixed push/pop_recursion_check() to not fire warnings for expected code.
...
I.e. Since we are now calling get_preferred_width() to ensure a good 'for_size'
for get_height_for_width() we need to avoid warning about this internal expected
recursion.
2010-10-23 20:03:41 +09:00
Javier Jardón
0dd5eb4b61
docs: GtkComboBoxText: more fixes
2010-10-23 03:03:50 +02:00
Javier Jardón
d94adcf643
docs: Some fixes in GtkComboboxText notations
2010-10-23 03:01:35 +02:00
Matthias Clasen
a94db5b3b9
Fix distcheck
2010-10-23 02:31:30 +02:00
Matthias Clasen
9fb36fff36
Add a way to associate numeric ids with combobox values
...
This will let us use combo boxes as property editors for
GSettings enmerations easily.
2010-10-23 02:31:30 +02:00
Javier Jardón
38dbb84095
gtkadjustment: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
96f2f2ff5b
gtkscrollbar: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
ec0c739520
gtktreemodelfilter: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
8d3b36d534
gtktreeselection: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
e51daa79fe
gtktreesortable: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
16cf23959f
gtktreeviewcolumn: Move documentation to inline comments
2010-10-23 00:31:36 +02:00
Javier Jardón
8f766d36f4
gtktreestore: Move documentation to inline comments
2010-10-23 00:31:36 +02:00
Carlos Garnacho
d2781bc74b
GtkBuilder: Prepare for parsing GdkRGBA types.
2010-10-22 20:14:57 +02:00
Carlos Garnacho
d1140d0b1e
GtkCellRendererText: Add [foreground|background]-rgba properties
...
These properties use GdkRGBA to render the cell renderer's content.
Note that Pango attributes are used to render the foreground color,
so the alpha value is currently ignored.
2010-10-22 20:14:57 +02:00
Carlos Garnacho
5fbf20c2d8
GtkCellRenderer: Add ::cell-background-rgba property
...
This property uses GdkRGBA in order to render the cell renderer's
background.
2010-10-22 20:14:57 +02:00
Carlos Garnacho
1bbbd005a4
GtkColorButton: Add API to deal with GdkRGBA.
2010-10-22 20:14:57 +02:00
Carlos Garnacho
cb5b74e9c6
GtkColorSelection: Add API to deal with GdkRGBA.
...
The hook to change the global palette is still unchanged, it is quite
tied to GdkColor and the color format used to store the palette in
GtkSettings.
2010-10-22 20:14:56 +02:00
Carlos Garnacho
e351a48d6a
Make gtk_icon_info_load_symbolic() Take GdkRGBA colors.
2010-10-22 20:14:56 +02:00
Carlos Garnacho
684c9415ee
GtkCellView: Add gtk_cell_view_set_background_rgba()
...
A ::background-rgba property was also added, this API is meant
to replace the gtk_cell_view_set_background_color() call.
2010-10-22 20:14:56 +02:00
Matthias Clasen
c750003168
Point to GtkGrid from the GtkBox and GtkTable docs
2010-10-22 19:59:29 +02:00
Matthias Clasen
09ec50af90
Remove GtkScrollablePolicy again
...
This was a miscommunication, the properties need to live elsewhere.
2010-10-22 19:24:03 +02:00
Matthias Clasen
0d9ebb501d
Move min-display-width/height to GtkScrolledWindow
...
It is just too annoying to have to implement these properties in
every scrollable. Instead, we now have ::min-content-height/width
in GtkScrolledWindow.
We also add GtkScrollablePolicy to determine how to size the
scrollable content.
2010-10-22 19:21:17 +02:00
Emmanuele Bassi
ce5a29bc38
recent-manager: Coalesce multiple changes
...
Since the ::changed implementation of GtkRecentManager implies a
synchronous write operation, when we receive multiple requests to emit a
::changed signal we might end up blocking.
This change coalesces multiple ::changed emission requests using the
following sequence:
• the first request will install a timeout in 250 ms, which will
emit the ::changed signal
• each further request while the timeout has not been emitted
will increase a counter
‣ if the counter reaches 250 before the timeout has been
emitted, then the RecentManager will remove the timeout
source and force a signal emission and reset the counter
This sequence should guarantee that frequent ::changed emission requests
are coalesced, and also guarantee that we don't let them dangle for too
long.
https://bugzilla.gnome.org/show_bug.cgi?id=616997
2010-10-22 18:08:48 +01:00
Christian Dywan
5ef2b46d64
Don't declare various unused variables in gtk_grid_set_orientation
2010-10-22 19:05:40 +02:00
Alberto Garcia
d6a73fd5b0
Assign all g_signal_connect() and friends to gulong variables
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821
2010-10-22 18:58:47 +02:00
Javier Jardón
56d5b45443
GtkExpander: avoid use of gtk_get_event_widget()
...
We can compare the window to the window instead of the widget to the widget.
2010-10-22 18:21:44 +02:00
Javier Jardón
8999053b5f
docs: Add gtk-doc notation
...
to emphasize that GtkMisc and GtkAdjustment are not encouraged in new code
2010-10-22 17:59:38 +02:00
Michael Natterer
1f77384ab3
gtk: undef DISABLE_DEPRECATED around including our own header
...
so we can see our own deprecated API and don't get warnings.
2010-10-22 17:10:49 +02:00
Michael Natterer
3dc1f09772
gtk: use the new scrollable API to get to the scroll adjustments
2010-10-22 17:10:49 +02:00
Tristan Van Berkom
d26ac6421b
Fixed problems with combination of height-for-width apis and
...
alignment/margin vfuncs adjust_size_request/allocation
Now get_height_for_width() will internally update the for_width
before passing it to the real height_for_width() vfunc, allowing
margins and extra space for alignments to be stripped, thus requesting
sufficient height for greater than natural widths (and also accounting
for margins properly). Test case adjusted in testadjustsize to ensure
proper behavior.
2010-10-23 00:11:37 +09:00
Michael Natterer
a46dec176e
gtk: use the new scrollable API to get scroll adjustments
2010-10-22 17:03:21 +02:00
Michael Natterer
8e7aed9489
gtk: fix tool palette scroll adjustment setting
...
Create a new adjustment if there was *no* adjustment passed in, not
the other way around. Also remove unused function
gtk_tool_palette_set_adjustment().
2010-10-22 17:01:58 +02:00
Michael Natterer
6d2e4c26bd
gtk: return 0 not NULL from functions returning gint
2010-10-22 16:54:45 +02:00
Matthias Clasen
8cd13d09e8
Discourage use of GtkMisc and GtkAlignment
2010-10-22 16:52:08 +02:00
Matthias Clasen
a9204e65dd
Remove child flipping from GtkGrid
...
We decided that this is not really the right thing to do, for one
thing, because it doesn't flip ::expand and ::margin properties
of children.
2010-10-22 16:43:45 +02:00
Matthias Clasen
8f0ae8e8a3
Add GtkGrid
...
GtkGrid is a container similar to GtkTable, without legacy
properties and unnecessary restrictions.
It does height-for-width geometry management.
2010-10-22 16:42:50 +02:00
Matthias Clasen
c10127156f
Make the docs build
2010-10-22 16:42:50 +02:00
Matthias Clasen
a7465c3479
Fix a typo
2010-10-22 16:42:50 +02:00
Michael Natterer
ba9efeda4b
gtk: add gtk_entry_get_text_area() and gtk_entry_get_icon_area()
...
as replacement for the removed get_foo_window() functions, so draw()
callbacks can figure where to paint.
2010-10-22 14:48:08 +02:00
Christian Persch
95610f2a14
recent-chooser: Use gtk_recent_info_get_gicon()
...
https://bugzilla.gnome.org/show_bug.cgi?id=617174
2010-10-22 12:20:55 +01:00
Christian Persch
b0fe3e49bb
Add gtk_recent_info_get_gicon()
...
https://bugzilla.gnome.org/show_bug.cgi?id=617174
2010-10-22 11:58:00 +01:00
Emmanuele Bassi
27b71e0143
recent-manager: Fix the documentation
...
The default RecentManager is not destroyed at the end of the process.
https://bugzilla.gnome.org/show_bug.cgi?id=602794
2010-10-22 11:54:53 +01:00
Emmanuele Bassi
03fc0dd5ca
recent-manager: Add RecentInfo.create_app_info()
...
A simple wrapper that makes it possible to create a GAppInfo from a
GtkRecentInfo blob.
2010-10-22 11:54:53 +01:00
Emmanuele Bassi
06758f1ab5
recent-manager: Move the file under XDG_USER_DATA
...
Do not use $HOME/.recently-used.xbel any more. No migration path is
included: we're breaking API anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=524304
2010-10-22 11:53:09 +01:00
Tadej Borovšak
55196a705f
Add GtkScrollable interface
...
The GtkScrollable interface provides "hadjustment" and "vadjustment"
properties that are used by GtkScrolledWindow. It replaces
the ::set_scroll_adjustment signal. The scrollable interface
also has ::min-display-width/height properties that can be
used to control the minimally visible part inside a scrolled window.
2010-10-22 11:03:45 +02:00
Tristan Van Berkom
86b3c1b65e
Enhanced GtkWidget documentation with regards to height-for-width geometry management.
2010-10-21 22:53:06 +09:00
Benjamin Otte
5e8baa5f63
container: Fix typo that caused madness
...
Interestingly, this typo has been causing madness since 2 months, but
Mitch complained only today.
2010-10-21 15:31:07 +02:00
Benjamin Otte
e6f95e9316
entry: No, you can not haz ununused variables
2010-10-21 15:08:14 +02:00
Christian Dywan
5862075e9d
comboboxtext: Add gtk_combo_box_text_remove_all()
...
https://bugzilla.gnome.org/show_bug.cgi?id=324899
2010-10-21 14:30:11 +02:00
Benjamin Otte
707d05bac0
progressbar: Remove declaration of nonexisting function
2010-10-21 14:30:11 +02:00
Benjamin Otte
715f57790b
socket: Fix compiler issues
2010-10-21 14:30:11 +02:00
Matthias Clasen
596da84312
Make GtkEntry a no-window widget
...
Use input-only windows for capturing input, and just draw onto
the parent window. This allows themes to make entries with rounded
corners. Patch by Boram Park.
https://bugzilla.gnome.org/show_bug.cgi?id=632736
2010-10-21 13:17:33 +02:00
Michael Natterer
e4654327df
gtk: change GtkIconView to "support" actual trees
...
Remove the check for GTK_TREE_MODEL_LIST_ONLY and make the view
display only the first level of the tree, ignoring all insert, remove
etc. events on the model's branches. This enables generic application
code which always produces GtkTreeStores (also for flat lists) to
display grids of these flat trees.
2010-10-21 12:57:55 +02:00
Matthias Clasen
331323e5c7
Make GtkSpinButton a no-window widget
...
We still retain an input-only window here for now, but all
the painting is done to the parent window.
2010-10-21 11:41:20 +02:00
Matthias Clasen
f4d57dbe98
Make GtkProgressBar a no-window widget
...
It doesn't really have a good reason for having a window.
2010-10-21 11:40:46 +02:00
Matthias Clasen
0a3fa74a52
Properly propagate expand flags
...
When showing a widget that already has need_compute_expand set,
we need to queue the recomputation on the parent.
2010-10-21 11:14:26 +02:00
Ryan Lortie
c7e1f567b6
GtkButton: avoid use of gtk_get_event_widget()
...
We can compare the window to the window instead of the widget to the
widget.
2010-10-21 00:37:29 +02:00
Ryan Lortie
56d2590b49
GtkIMContextSimple: avoid gdk_window_get_user_data
...
We lookup a widget to call a function on GtkWidget that ends up just
performing an operation directly on the GdkWindow again anyway
(beeping). There's already fallback code at the point of the call that
does exactly that anyway, so just do that all of the time.
2010-10-20 23:58:20 +02:00
Javier Jardón
3fcec464ac
gtk.symbols: Add missing GtkApplication api
2010-10-20 20:46:48 +02:00
Michael Natterer
c2f29f2cef
gtk: clean up GtkWidget signals
...
- add slots for damage-event, move-focus and keynav-failed
- reorder signals a bit so related stuff is grouped together
- some indentation fixes in the GtkWidgetClass
- remove the move-focus compat hack from GtkTextView
- turn the move-focus compat hack in GtkWindow into properly
implementing GtkWidget::move-focus()
2010-10-20 17:02:38 +02:00
Emmanuele Bassi
ef9a6f205c
Re-add copyright notice
...
https://bugzilla.gnome.org/show_bug.cgi?id=632677
2010-10-20 12:05:23 +01:00
Emmanuele Bassi
2cc059a0e7
Split off gtkprivate.h
...
The gtkprivate.h header contains GtkWidget-specific private symbols that
are not useful except in a handful of cases. Basically everything
includes gtkprivate.h for the GTK_PARAM_* macros.
https://bugzilla.gnome.org/show_bug.cgi?id=632539
2010-10-20 10:34:26 +01:00
Emmanuele Bassi
9b34bf17e5
build: Do not install gtkprivate.h
...
This is a private header file, and it should *not* be installed. It
should also not be scanned by the introspection machinery.
https://bugzilla.gnome.org/show_bug.cgi?id=632539
2010-10-20 10:34:25 +01:00
Emmanuele Bassi
9f9edb662e
settings: Move setting property registration in gtksettings.c
...
Some GtkSettings property are registered by other classes. This leads
to the "interesting" issue that setting GtkSettings:gtk-button-images
requires that the GtkButton class is referenced first - or that a
GtkButton is created.
https://bugzilla.gnome.org/show_bug.cgi?id=632538
2010-10-20 10:34:25 +01:00
Javier Jardón
9f035742e3
gtkapplication: fix docs
2010-10-20 11:07:11 +02:00
Matthias Clasen
0219eea4d7
Remove GtkComboBoxEntry and the combo box text api
2010-10-20 11:02:03 +02:00
Ryan Lortie
c5ebb61b6f
GtkApplication: add gtk_application_get_windows()
...
Return a GList of the GtkWindow objects for each window that has the
application set as its "application" property.
2010-10-19 21:10:02 +02:00
Javier Jardón
9b3ee686ea
Completely remove gtk_widget_hide_all
...
This completes commit d1a9d764a8
2010-10-19 20:25:33 +02:00
Matthias Clasen
d1a9d764a8
Remove gtk_widget_hide_all()
...
it's useless and a trap for programmers
https://bugzilla.gnome.org/show_bug.cgi?id=438318
2010-10-19 19:31:38 +02:00