Matthias Clasen
17059f9c17
GtkToolItem: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:12 -04:00
Matthias Clasen
3074fcf31d
GtkToolButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:11 -04:00
Matthias Clasen
db8101c998
GtkToggleToolButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:11 -04:00
Matthias Clasen
b73e810613
GtkStyleContext: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:11 -04:00
Matthias Clasen
1208539eff
GtkStatusIcon: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:10 -04:00
Matthias Clasen
9321b30b0b
GtkSpinner: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:10 -04:00
Matthias Clasen
d03752cdcc
GtkSpinButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:10 -04:00
Matthias Clasen
83669856b2
GtkSizeGroup: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:09 -04:00
Matthias Clasen
4867e95291
GtkSeparatorToolItem: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:09 -04:00
Matthias Clasen
710a5b3a90
GtkSearchBar: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:09 -04:00
Matthias Clasen
115faae371
GtkSearchBar: Handle lack of an entry
...
We were not dealing with the possibility of priv->entry being
NULL in all places.
2014-06-09 13:31:09 -04:00
Matthias Clasen
0dd1102cc4
GtkSeparator: Explicitly notify orientation
2014-06-09 13:31:08 -04:00
Matthias Clasen
ed6f9c1ee9
GtkScrolledWindow: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:08 -04:00
Matthias Clasen
570194640e
GtkScrollable: Use G_PARAM_EXPLICIT_NOTIFY
...
Implementors will have to be adjusted.
2014-06-09 13:31:08 -04:00
Matthias Clasen
0505a189d3
GtkScaleButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:08 -04:00
Matthias Clasen
1740663584
GtkScale: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:07 -04:00
Matthias Clasen
f80ff85745
GtkRecentChooserMenu: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:07 -04:00
Matthias Clasen
e6f413c6a7
GtkRange: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:07 -04:00
Matthias Clasen
f446ffdd5d
GtkProgressbar: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:07 -04:00
Matthias Clasen
e1d1ed863e
GtkPrintOperation: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:07 -04:00
Matthias Clasen
8915e9cf42
GtkPopover: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:06 -04:00
Matthias Clasen
22cc9749c9
GtkPaned: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:06 -04:00
Matthias Clasen
c93355616f
GtkNotebook: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:06 -04:00
Matthias Clasen
47615f32bf
GtkMessageDialog: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:06 -04:00
Matthias Clasen
c1540464b7
GtkMenuShell: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:06 -04:00
Matthias Clasen
cfbfeb1b3c
GtkMenuButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:06 -04:00
Matthias Clasen
0d528ab391
GtkMenuBar: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:05 -04:00
Matthias Clasen
60fbb2bb89
GtkMenu: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:05 -04:00
Matthias Clasen
3f3f26d8a1
GtkLinkButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:05 -04:00
Matthias Clasen
45c84a63a3
GtkLevelBar: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:05 -04:00
Matthias Clasen
46828a41b0
GtkLayout: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:05 -04:00
Matthias Clasen
6ac00a7ff7
GtkInfoBar: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:04 -04:00
Matthias Clasen
726d603f61
GtkIMContext: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:04 -04:00
Matthias Clasen
720561475d
GtkIconView: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:04 -04:00
Matthias Clasen
68673963fc
GtkImage: Use G_PARAM_EXPLICIT_NOTIFY
...
And make use of the new icon helper API to avoid
redundant notification.
2014-06-09 13:31:04 -04:00
Matthias Clasen
7e40d74b0b
GtkIconHelper: Change setters to return success
...
This makes it easier to avoid redundant notifications in users.
2014-06-09 13:31:04 -04:00
Matthias Clasen
d1f6858b36
GtkHeaderBar: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:04 -04:00
Matthias Clasen
efc2166c25
GtkGrid: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:03 -04:00
Matthias Clasen
f195322254
GtkGestureSingle: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:03 -04:00
Matthias Clasen
11224f521d
GtkGesturePan: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:03 -04:00
Matthias Clasen
372223ac94
GtkRecentChooserDefault: Adapt to explicit notify
2014-06-09 13:31:03 -04:00
Matthias Clasen
f6e5f88454
GtkRecentChooser: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:03 -04:00
Matthias Clasen
110f859899
GtkEventController: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:02 -04:00
Matthias Clasen
eebb73032a
GtkFontButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:02 -04:00
Matthias Clasen
2a7bed6858
GtkFontButton Trivial cleanup
...
Replace GTK_PARAM_READABLE|GTK_PARAM_WRITABLE by GTK_PARAM_READWRITE.
2014-06-09 13:31:02 -04:00
Matthias Clasen
eb34ff5b48
GtkFontButton: Fix the handling of show-preview-button
...
We were not storing the value at all, and not notifying.
2014-06-09 13:31:02 -04:00
Matthias Clasen
595a44680a
GtkFontChooser: Use G_PARAM_EXPLICIT_NOTIFY for show-preview-entry
...
Implementors will have to be adjusted.
2014-06-09 13:31:01 -04:00
Matthias Clasen
6877253e14
GtkFlowBox: Explicitly notify orientation
2014-06-09 13:31:01 -04:00
Matthias Clasen
43ba93971c
GtkExpander: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:01 -04:00
Matthias Clasen
544b5b0fe6
GtkEventBox: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:01 -04:00
Matthias Clasen
e3dc90dc9b
GtkToggleButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:01 -04:00
Matthias Clasen
bce70ca75e
GtkMenuItem: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:00 -04:00
Matthias Clasen
3ae562aca2
GtkFrame: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:00 -04:00
Matthias Clasen
331c28b369
GtkEntryCompletion: Use G_PARAM_EXPLICIT_NOTIFY
...
Also, use the setter for text-column, internally.
2014-06-09 13:31:00 -04:00
Matthias Clasen
07af47ce3e
GtkEntryBuffer: Use G_PARAM_EXPLICIT_NOTIFY
...
Also avoid redundant notification for max-length.
2014-06-09 13:31:00 -04:00
Matthias Clasen
ec6056a574
GtkEntry: Explicitly notify for populate-all
2014-06-09 13:30:59 -04:00
Matthias Clasen
056acf92ec
GtkEntry: Don't forget to notify for the tooltip markup props
2014-06-09 13:30:59 -04:00
Matthias Clasen
c411de437a
GtkColorChooserWidget: Explicitly notify for use-alpha
2014-06-09 13:30:59 -04:00
Matthias Clasen
a215a4c762
GtkColorChooserDialog: Explicitly notify for use-alpha
2014-06-09 13:30:59 -04:00
Matthias Clasen
d5a119ae9b
GtkColorChooser: Use G_PARAM_EXPLICIT_NOTIFY for use-alpha
...
Implementors will need to adjust.
2014-06-09 13:30:58 -04:00
Matthias Clasen
b28123dd3c
GtkColorButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:58 -04:00
Matthias Clasen
2f82250cc1
GtkCheckMenuItem: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:58 -04:00
Matthias Clasen
bfc1a2118f
GtkCellView: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:58 -04:00
Matthias Clasen
d33b14bfbe
GtkCellView: Explicitly notify for orientation
2014-06-09 13:30:57 -04:00
Matthias Clasen
2d88a3ae30
GtkCellRendererToggle: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:57 -04:00
Matthias Clasen
c96f5b953a
GtkCellRendererText: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:57 -04:00
Matthias Clasen
ce76a47d68
GtkCellRendererSpin: Use G_PARAM_EXPLICIT_NOTIFY
...
Also avoid redundant notification for ::digits.
2014-06-09 13:30:56 -04:00
Matthias Clasen
31654f4515
GtkCellRendererProgress: Use G_PARAM_EXPLICIT_NOTIFY
...
Also add explicit notification and avoid redundant notification
for some properties.
2014-06-09 13:30:56 -04:00
Matthias Clasen
af4d142df5
GtkCellRendererCombo: Use G_PARAM_EXPLICIT_NOTIFY
...
And add explicit notification for some properties.
2014-06-09 13:30:56 -04:00
Matthias Clasen
da4a1e1594
GtkCellRenderer: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:56 -04:00
Matthias Clasen
be25e4ebcb
GtkCellAreaBox: Explicitly notify orientation
2014-06-09 13:30:56 -04:00
Matthias Clasen
510c2cdfb6
GtkWindow: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:55 -04:00
Matthias Clasen
05cabd3557
GtkWindow: Trivial cleanup
2014-06-09 13:30:55 -04:00
Matthias Clasen
8677446fe0
GtkLabel: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:55 -04:00
Matthias Clasen
1720eb4713
GtkComboBox: Notify for has-frame and editing-canceled
2014-06-09 13:30:55 -04:00
Matthias Clasen
9722ae0458
GtkCellEditable: Use G_PARAM_EXPLICIT_NOTIFY
...
This is an interface property, so all implementors will have
to adjust to this.
2014-06-09 13:30:55 -04:00
Matthias Clasen
5ce3d8e74f
GtkAppChooserButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:54 -04:00
Matthias Clasen
d6cae074a6
GtkContainer: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:54 -04:00
Matthias Clasen
acad03f77b
GtkWidget: Use G_PARAM_EXPLICIT_NOTIFY
...
A few properties here are special, and can't benefit from it:
those which are just shorthands, like ::margin and ::expand,
and those that have explicit -set properties, like::hexpand
and ::vexpand.
2014-06-09 13:30:54 -04:00
Matthias Clasen
2e04899ee5
GtkOrientable use G_PARAM_EXPLICIT_NOTIFY
...
This one is a little tricky, since we override this property
in many places, and you cannot add flags when overriding. So,
all places where this is overridden will have to make sure to
notify explicitly.
2014-06-09 13:30:54 -04:00
Matthias Clasen
126942f04c
GtkEntry: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:54 -04:00
Matthias Clasen
1139b21997
GtkCellRendererText: Use G_PARAM_EXPLICIT_NOTIFY for 'alignment'
2014-06-09 13:30:54 -04:00
Matthias Clasen
8b1757b6e0
GtkCellAreaBox: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:54 -04:00
Matthias Clasen
d5c56ea780
GtkCalendar: Use G_PARAM_EXPLICIT_NOTIFY
...
And make sure we correctly notify for all properties.
2014-06-09 13:30:53 -04:00
Matthias Clasen
c5c3c335a6
GtkAspectFrame: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:53 -04:00
Matthias Clasen
b9e7d1e8a6
GtkApplicationWindow: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:53 -04:00
Matthias Clasen
1bb880af36
GtkApplicationWindow: Avoid a crash
...
In several places, we were not correctly dealing with the
possibility of application not being set.
2014-06-09 13:30:53 -04:00
Matthias Clasen
81c35b5b6e
GtkAppChooserWidget: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:53 -04:00
Matthias Clasen
ed28a71bf2
GtkAppChooserButton: Fix a possible crash
...
We were not correctly dealing with content_type being NULL
in one place.
2014-06-09 13:30:53 -04:00
Matthias Clasen
a27ba44331
GtkComboBox: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:53 -04:00
Matthias Clasen
5e04bd04c8
GtkCellRendererSpinner: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:52 -04:00
Matthias Clasen
f4e60bc36d
GtkCellRendererAccel: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:52 -04:00
Matthias Clasen
e423c045d5
GtkButtonBox: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:52 -04:00
Matthias Clasen
f531b0757c
GtkBox: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:52 -04:00
Matthias Clasen
06564f5df6
GtkBox: Convert to g_object_install_properties
2014-06-09 13:30:52 -04:00
Matthias Clasen
e54525729e
GtkBox: Move overridden property ids to the end
...
This will make it easier to convert to g_object_install_properties
in the next commit.
2014-06-09 13:30:52 -04:00
Matthias Clasen
d218e17a2a
GtkButton: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:52 -04:00
Matthias Clasen
62d591a550
GtkButton: Convert to g_object_class_install_properties
2014-06-09 13:30:51 -04:00
Matthias Clasen
fba83da3ee
GtkAccelLabel: use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:51 -04:00
Matthias Clasen
10f8ea27bf
GtkAccelLabel: Convert to g_object_class_install_properties
2014-06-09 13:30:51 -04:00
Matthias Clasen
bc46df34fc
GtkAboutDialog: Use a setter for wrap-license
...
This avoids redundant notification.
2014-06-09 13:30:51 -04:00
Matthias Clasen
09a589b716
GtkAboutDialog: Fix a parameter check
...
When we expanded the GtkLicense enumeration in 3.12, we forgot
to update the limit check in gtk_about_dialog_set_license_type.
Caught by testing property notification for enum properties.
2014-06-09 13:30:51 -04:00
Matthias Clasen
06ab3e7477
GtkAboutDialog: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:51 -04:00
Matthias Clasen
c8acad2816
GtkAboutDialog: Convert to g_object_class_install_properties
2014-06-09 13:30:51 -04:00
Matthias Clasen
fae5302eae
GtkRevealer: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:51 -04:00
Matthias Clasen
07e180fef0
GtkRevealer: Convert to g_object_class_install_properties
2014-06-09 13:30:51 -04:00
Matthias Clasen
51d17910a1
GtkFlowBox: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:50 -04:00
Matthias Clasen
b549e52c2c
GtkFlowBox: Convert to g_object_class_install_properties
2014-06-09 13:30:50 -04:00
Matthias Clasen
45801c8f2c
GtkFlowBox: Move overridden prop ids to the end
...
This makes it easier to convert to g_object_class_install_properties
in the next commit.
2014-06-09 13:30:50 -04:00
Matthias Clasen
ac08d6a421
GtkFlowBox: Drop unused prop ids
...
No h/valign properties here.
2014-06-09 13:30:50 -04:00
Matthias Clasen
6e03ac9958
GtkListBox: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:50 -04:00
Matthias Clasen
d591341bd1
GtkStack: Avoid a few redundant notify emissions
...
A few of the property setters were missing the
standard checks.
2014-06-09 13:30:50 -04:00
Matthias Clasen
0a681f9224
GtkStack: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:30:49 -04:00
Juan R. Garcia Blanco
15c34b22d2
inspector: Fix build with quartz backend
...
Add -xobjective-c to libgtkinspector_la_CFLAGS to handle objc headers.
2014-06-08 11:52:45 +02:00
Matthias Clasen
3aa1350bd0
GtkWindow: always input-shape csd windows
...
Even if we don't have border windows, we need to set the input
shape so we ignore clicks in the shadow region.
2014-06-06 22:07:14 -04:00
Matthias Clasen
3266b4dd9b
inspector: Make picking more robust
...
Apparently ClutterOffscreen returns NULL as a window.
While that is not cool, we shouldn't crash.
2014-06-06 13:35:40 -04:00
Matthias Clasen
02a44c454c
GtkDialog: Be a little more careful about button placement
...
We were applying response based heuristics, even if the button
is explicitly put in the headerbar. That broke button placement
in some epiphany dialogs, such as the Cookies one. Therefore,
restrict the heuristics to action widgets that are added through
gtk_widget_add_action_widget() or <child type="action">, where it
is not possible to specify placement explicitly.
2014-06-06 13:00:06 -04:00
Matthias Clasen
9c6c4fdeb8
GtkDialog: avoid a crash
...
Just because use-header-bar is set, it is not safe to assume
every action widget is in the headerbar, so be careful when
setting child properties.
2014-06-06 12:20:57 -04:00
Chun-wei Fan
d8de23bef6
gtk/gtkkineticscrolling.c: Include fallback-c89.c
...
... as round() is being used, which is for C99 and later. fallback-c89.c
includes math.h as well.
2014-06-06 14:47:19 +08:00
Matthias Clasen
763f0a37c1
inspector: Avoid a crash
...
An unset action-name should not cause us to crash.
2014-06-05 21:08:56 -04:00
Matthias Clasen
7aadd6fd2e
Remove unintentional addition
...
Debugging leftovers.
2014-06-05 18:12:42 -04:00
Matthias Clasen
d724175e49
GtkDialog: Improve the buildable implementation
...
When combining action child type with <action-widgets> to assign
response ids, we were not properly updating buttons that ended up
getting added to the headerbar before they have a response id.
Fix this by reapplying the headerbar button setup after parsing
<action-widgets>, and make sure to also update the suggested-action
style class.
2014-06-05 18:08:45 -04:00
Carlos Garnacho
246e6cd0b9
combobox: Fix reentrancy in gtk_combo_box_popdown()
...
If called when already popped down, warnings would be issued due
to priv->grab_pointer being unexpectedly NULL, this would happen
in regular operation when selecting items in appears-as-list mode.
So both add a NULL check for priv->grab_pointer, and bail out early
if the popup window is already hidden.
2014-06-05 21:16:05 +02:00
Lieven van der Heide
828594d5bd
scrolledwindow: Replace kinetic scrolling with GtkKineticScrolling
...
Two GtkKineticScrolling helpers are used, one per axis direction.
https://bugzilla.gnome.org/show_bug.cgi?id=729608
2014-06-05 16:49:23 +02:00
Lieven van der Heide
c726226825
gtk: Add kinetic scrolling helper
...
GtkKineticScrolling implements the actual physics laws for friction
and springs. When created, position/velocity/boundaries/constants are
given, so at every gtk_kinetic_scrolling_tick() it returns the current
position, and whether the system is in rest.
https://bugzilla.gnome.org/show_bug.cgi?id=729608
2014-06-05 16:49:23 +02:00
Carlos Garnacho
3ffb4fa699
flowbox: Use gestures for event management
...
A multipress gesture takes care of item selection/activation, and
a drag gesture is used to manage events when rubberbanding selection
is performed.
2014-06-05 16:15:54 +02:00
Carlos Garnacho
933ff62f66
listbox: Use multipress gesture for row selection/activation
...
This gesture replaces the button_press/release_event handlers.
2014-06-05 16:15:54 +02:00
Carlos Garnacho
8dcdec58eb
label: Use gestures for event management
...
A multipress gesture takes care of link handling, and char/word/all
selection mode on selectable labels. A drag gesture is used for both
text selection and DnD checks on selectable labels.
2014-06-05 16:15:54 +02:00
Carlos Garnacho
26dff0d783
range: Use GtkGesture for event management
...
A multipress gesture takes care of clicks, and where those happened.
If the click is meant to move the slider while pressed, the drag gesture
takes over, dragging the slider while active.
2014-06-05 16:15:54 +02:00
Carlos Garnacho
fbb3fdda8c
expander: Use multipress gesture for event management
...
This actually acts regardless of the value n_press, alternatively
expanding and collapsing the GtkExpander.
2014-06-05 16:15:54 +02:00
Carlos Garnacho
90424289fb
widget: reset all controllers when the widget becomes insensitive
...
Widgets becoming insensitive won't receive further events, but there
could be chances the controllers don't get properly notified and reset
in those situations.
2014-06-05 16:15:54 +02:00
Matthias Clasen
14d1a5cba4
inspector: Make GMenu content show up
...
My problem was that all the content is usually hidden away
in sections, so without recursion, nothing shows up. So,
implement the recursion then.
2014-06-05 09:29:18 -04:00
Matthias Clasen
af8bd96e6e
Forgotten file
2014-06-05 08:35:07 -04:00
Matthias Clasen
2346ccde43
inspector: show GMenus
...
This does not quite work yet, and I have no idea why.
2014-06-05 08:32:15 -04:00
Ryan Lortie
8011d853e1
GtkMenuTracker: fix signal handler argument list
...
The signal handler for the visibility of menu items changing had the
wrong signature, resulting in the GParamSpec from the notify signal
being treated as a boolean (which was always true). This resulted in
items being added over and over and never being removed.
Fix that...
2014-06-05 08:29:59 -04:00
Matthias Clasen
582504cc33
inspector: Actually destroy the property editors
...
We were never finalizing any of the popovers used for editing
properties. Fix that.
2014-06-05 05:57:50 -04:00
Matthias Clasen
7a8092998a
inspector: Fix a memory leak
2014-06-05 05:57:50 -04:00
Matthias Clasen
27f692da2d
inspector: Add an initial action editor
...
Use a popup, like we do for properties. For now, it allows
activating the action (with parameter, if necessary) and
setting the state.
2014-06-05 05:57:49 -04:00
Chun-wei Fan
bbed824320
gtk/deprecated/gtkcolorsel.c: Include gtkwindowgroup.h
...
Since commit 872fbfac
the GtkWindowGroup was split out from the GtkWindow
sources, so include gtkwindowgroup.h to avoid C4013 warnings/errors
(implicit declaration of ...) on gtk_window_group_add_window().
2014-06-05 14:45:35 +08:00
Matthias Clasen
2bbea2bc93
Expand GtkWindowGroup docs
2014-06-04 21:25:05 -04:00
Matthias Clasen
23aeb955ce
inspector: Lower the inspector window when picking
...
This avoids the problem of the inspector window covering the
widget you want to pick.
2014-06-04 20:29:10 -04:00
Matthias Clasen
205e8f7e58
inspector: Show the widget tree when picking
...
Makes more sense that way.
2014-06-04 20:12:42 -04:00
Matthias Clasen
1c232066b8
inspector: Go to the desired tab
...
We were setting the next-tab properly, but were trying to
read it off the wrong object. Now, going from a cell renderer
attribute mapping to the model, or from an action-name to the
action actually works.
2014-06-04 19:28:24 -04:00
Carlos Garnacho
cb059bfc1b
widget: Set GDK_BUTTON1_MASK on emulated pointer events
...
The touch_event handler was missing those when emulating pointer events
for the widgets that get GDK_TOUCH_MASK set, but have no specialized
touch handlers.
2014-06-04 13:44:56 +02:00
Matthias Clasen
7a0642743d
Fix up internal function naming
...
Even if you believe this functionality belongs into gdk, it
is not ok to name internal functions in gtkwindow.c gdk_window...
2014-06-04 06:38:20 -04:00
Matthias Clasen
872fbfacd3
Split GtkWindowGroup into its own file
...
gtkwindow.c is too big and too messy. This is a small step
towards making it better.
2014-06-04 06:24:05 -04:00
Carlos Garnacho
25f5da5018
widget: Ensure all gestures outside a grab scope are cancelled
...
This code is a product of early stages in the gestures branch, where
capturing would have an effect outside grab boundaries. But this isn't
really the case, so every gesture outside the grab scope must be reset
to avoid keeping stale data.
2014-06-03 16:13:25 +02:00
Carlos Garnacho
26ced6abad
widget: Only deny a sequence if it was previously claimed
...
Before this change, a sequence being claimed deep in the event propagation
chain would make the sequence go denied on every ancestor, regardless of
previous state.
To make things more consistent, only deny the sequence if it was previously
claimed, so the behavior is the same for gesture groups within the widget
than for those outside the widget.
The gestures testsuite has been updated to reflect this new behavior.
2014-06-03 15:59:03 +02:00
Carlos Garnacho
c773859c99
gesture: Ensure late gestures handling the sequence get the group state
...
It might happen that a gesture claims a sequence before any other gesture
in its group even handled a single event from that sequence. In that case,
ensure the state is set accordingly right when the sequence is handled in
those.
The "group" gesture testcase has been updated to observe this behavior.
2014-06-03 15:59:03 +02:00
Matthias Clasen
f6cf7fee73
inspector: Parse custom css with a delay
...
The CSS editor was feeling a little sluggish, because it was
reparsing and reapplying the CSS on every keystroke. Add a small
delay, to make this feel smoother.
2014-06-03 09:44:28 -04:00