Matthias Clasen
86adead803
inspector: Minimal support for attributes
...
Show mapping information for cell renderer properties; no editing
yet.
2014-05-10 22:04:24 -04:00
Matthias Clasen
e87addd9ae
inspector: Show interfaces in the object hierarchy
...
This gives a more complete picture.
2014-05-10 22:04:24 -04:00
Matthias Clasen
bf9d22f10f
inspector: Add columns and cell renderers to the tree
...
These are interesting objects that are worth displaying in the tree.
2014-05-10 22:04:23 -04:00
Matthias Clasen
4a68eb6250
inspector: Improve handling of object-valued properties
...
When showing the objects in the tree, use the property name
as the name thats shown in the list. This makes it easier
to differentiate e.g. hadjustment and vadjustment in a
GtkScrolledWindow.
2014-05-10 22:04:23 -04:00
Matthias Clasen
9b65955961
inspector: Fix object-valued properties
...
The code for dealing with object-valued properties had several
bugs that lead to crashes. This change makes it work.
2014-05-10 22:04:23 -04:00
Matthias Clasen
08f2456d5f
inspector: Change label of widget tree
...
The tree contains other objects besides widgets, so label it
'Objects'.
2014-05-10 22:04:22 -04:00
Matthias Clasen
c9dba4b8e0
inspector: Show signals
...
Add a tab that shows available signals for each object. For now,
we only show if each signal has handlers connected or now. More
functionality will be added later.
2014-05-10 22:04:22 -04:00
Matthias Clasen
5fa71c69d8
inspector: Select a window initially
...
The list of toplevels also includes hidden combobox popups
and the like, so we have to be a little careful. To ensure
the right choice, we now pick the first visible window
that is not a GtkInspectorWindow.
2014-05-10 22:04:21 -04:00
Matthias Clasen
a3713b51ff
inspector: Drop an unused function
2014-05-10 22:04:21 -04:00
Matthias Clasen
e586af3cf4
inspector: Make translatable
...
Mark strings in the source and in the templates as translatable.
We use the same extract-strings utility as for libgtk itself.
2014-05-10 22:04:20 -04:00
Matthias Clasen
643b6f147b
Move modules/other/parasite to modules/inspector
...
No need for the extra subdirectory, and the name should
match the module name.
2014-05-10 22:04:20 -04:00
Matthias Clasen
ccff3e952d
Rename parasite to gtkinspector
...
This avoids namespace collisions with the original
gtkparasite project, and adds the gtk prefix to
all symbols and type names.
2014-05-10 22:04:20 -04:00
Matthias Clasen
87e3484aa7
parasite: Don't open a window upon load
...
Instead, we want to let GTK+ open a window whose life-cycle
it can control. We just ensure that all our types are registered
when the module is loaded, so GTK+ can find them.
2014-05-10 22:04:18 -04:00
Matthias Clasen
38bbde200e
parasite: Two fixes for the property cell renderer
2014-05-10 22:04:18 -04:00
Matthias Clasen
d7c5b55846
parasite: Some formatting cleanup
2014-05-10 22:04:18 -04:00
Matthias Clasen
36494dc8f4
parasite: Include file cleanup
2014-05-10 22:04:17 -04:00
Matthias Clasen
5b249be1f9
parasite: Use a template for window
2014-05-10 22:04:17 -04:00
Matthias Clasen
33ccb00221
parasite: some formatting tweaks
2014-05-10 22:04:17 -04:00
Matthias Clasen
33d2044406
parasite: Use a template for themes
2014-05-10 22:04:16 -04:00
Matthias Clasen
ee7cc6d189
parasite: Use a template for prop list
2014-05-10 22:04:16 -04:00
Matthias Clasen
ead05d0954
parasite: Use template for widget tree
2014-05-10 22:04:15 -04:00
Matthias Clasen
6f1a786413
parasite: Use template for classes list
2014-05-10 22:04:15 -04:00
Matthias Clasen
0eb330613b
parasite: Use template for css editor
2014-05-10 22:04:15 -04:00
Matthias Clasen
3c22fc4ef6
parasite: Use template for object hierarchy
2014-05-10 22:04:14 -04:00
Matthias Clasen
3f5d21abec
parasite: Use template for button path
2014-05-10 22:04:14 -04:00
Matthias Clasen
e43aeb9a1f
parasite: Allow panes to shrink
...
The notebook is too wide.
2014-05-10 22:04:14 -04:00
Matthias Clasen
5fcd6ba21b
parasite: Use the right icon name for inspect
2014-05-10 22:04:14 -04:00
Matthias Clasen
828acee981
parasite: Don't show hicolor as an icon theme
...
It really isn't.
2014-05-10 22:04:13 -04:00
Matthias Clasen
9bc7cfa6ba
parasite: Don't show key themes
...
But show the builtin theme, even if it doesn't show up in the
filesystem.
2014-05-10 22:04:13 -04:00
Matthias Clasen
9fbb704418
parasite: Turn the inspect button back into an image button
2014-05-10 22:04:12 -04:00
Matthias Clasen
8f96238194
parasite: Make flashing work better
...
The positioning of the highlight window was not reliable; instead
just use a after-handler for the draw signal, in the same way that
drag highlights are drawn by GTK+ itself.
And copy the code for grabbing a widget via pointer from testgtk;
that code is known to work.
2014-05-10 22:04:12 -04:00
Matthias Clasen
01cb166819
parasite: Drop an unused field
2014-05-10 22:04:11 -04:00
Matthias Clasen
f78d91e5fc
parasite: Make child properties insensitive when empty
...
When the selected object is not a widget, make the child property
list insensitive.
2014-05-10 22:04:11 -04:00
Matthias Clasen
413faa55a0
parasite: Display child properties too
2014-05-10 22:04:10 -04:00
Matthias Clasen
2166a9b163
parasite: Use a window group
...
By putting the parasite window in a separate group, we can interact
with it even when there is a modal dialog blocking the application
window
2014-05-10 22:04:10 -04:00
Matthias Clasen
81af602dda
Initial import
...
This is a copy of https://github.com/chipx86/gtkparasite.git
with minimal edits to make it build.
2014-05-10 22:04:09 -04:00
Cosimo Cecchi
67981b1831
modules: remove the pixbuf engine directory
...
This is not used anywhere, and is commented out of the build because it
doesn't compile. Time for some spring cleaning...
2014-05-01 11:22:11 +02:00
Antoine Jacoutot
8ede929ef7
prevent redefinition of typedef GtkPrinterCloudprint
...
https://bugzilla.gnome.org/show_bug.cgi?id=727009
2014-03-25 12:24:41 +01:00
Marek Kasik
b95ce71b89
printing: Fail nicely when /tmp is not writable
...
Don't crash when /tmp is not writable when printing to file.
Show that getting of printer details failed for CUPS printers.
https://bugzilla.gnome.org/show_bug.cgi?id=693200
2014-03-17 14:37:34 -04:00
Rico Tzschichholz
239903d2f1
printbackends: Fix make dist
2014-03-03 07:33:53 +01:00
Tim Waugh
aaae0ca8ba
New cloudprint GTK+ print module for Google Cloud Print.
...
This is a web service provided by Google that allows people to
share their printers (https://www.google.com/cloudprint/learn/ ).
In addition to being able to print to printers shared on Google Cloud
Print, there is an equivalent of "Print to file" in the form of "Save to
Google Drive".
The cloudprint module uses gnome-online-accounts to obtain the OAuth 2.0
access token for the Google account.
Currently it can discover available printers, get simple details about
them such as display name and status, and submit jobs without any
special options.
https://bugzilla.gnome.org/show_bug.cgi?id=723368
2014-02-28 11:45:03 +01:00
William Jon McCann
469d333aa2
docs: use Returns: consistently
...
Instead of Return value:
2014-02-19 18:56:05 -05:00
Andika Triwidada
0a768d274d
Changed obsolete FSF portal addresses to web address
...
Fixed https://bugzilla.gnome.org/show_bug.cgi?id=721530
2014-01-12 19:56:49 +07:00
Marek Kasik
9513d3b2a4
printing: Don't leak http connection to CUPS
...
Close http connection to CUPS after execution
of request which created it.
https://bugzilla.gnome.org/show_bug.cgi?id=720535
2013-12-19 12:59:26 +01:00
Marek Kasik
083f834dd7
printing: Don't double free connection to CUPS
...
Don't call httpClose() on http connections which are created
outside of GtkCupsRequest in GtkCupsRequest's functions.
https://bugzilla.gnome.org/show_bug.cgi?id=720338
2013-12-14 16:33:02 -05:00
Jehan
4e4c248077
Bug 712536 - Themes with gap_(start|end)_file but no actual file crash
...
Code factorization in commit 34fd123
reintroduced bug fixed in 0d396ab
with non-equivalent factorized tests.
2013-12-05 00:53:17 +13:00
Marek Kasik
118b09c68c
printing: Fix memory leak when listing Avahi printers
...
Return values of g_variant_get_child_value() were not unreffed
correctly together with one value returned by g_variant_get().
Use g_variant_get_data() instead of copying each byte separately.
https://bugzilla.gnome.org/show_bug.cgi?id=712799
2013-11-25 10:27:39 +01:00
Emmanuele Bassi
34fd1234a6
pixbuf-engine: Clean up error conditions and destructors
...
Simplify the error checks and move all common behaviour into a utility
function.
https://bugzilla.gnome.org/show_bug.cgi?id=712536
2013-11-22 22:17:07 -05:00
Emmanuele Bassi
01dfd8bb6e
pixbuf-engine: Improve ThemePixbuf clean up functions
...
Make theme_pixbuf_destroy() NULL-safe like g_free(), and add a clear
function in the spirit of the g_clear_* family of functions.
https://bugzilla.gnome.org/show_bug.cgi?id=712536
2013-11-22 22:17:07 -05:00
Jehan
0d396abf22
Themes with specified gap images but no actual file crash.
...
https://bugzilla.gnome.org/show_bug.cgi?id=712536
2013-11-22 22:17:07 -05:00