Michael Catanzaro
3905726627
notebook: redraw arrows after closing a tab
...
Thanks to Daniel Boles for helping with a crash in an earlier version of
this patch.
https://bugzilla.gnome.org/show_bug.cgi?id=777547
2017-02-04 12:57:08 -06:00
Timm Bäder
f251c5bf94
spinbutton: Fix right and middle click on +/- buttons
...
Tell the gesture that we handle all buttons and actually claim the
gesture in the ::pressed handler
2017-02-01 21:05:27 +01:00
Daniel Boles
2f2ec4fec8
searchentry: Fix typo in documentation
2017-01-31 09:39:39 +00:00
Timm Bäder
2f6d60d6af
stack: Fix node position during crossfade
2017-01-30 18:11:15 +01:00
Timm Bäder
2aea8dfee9
togglebutton: Move :inconsistent to GtkCheckButton
2017-01-30 18:11:00 +01:00
Timm Bäder
66d584ce6e
togglebutton: Move :draw-indicator property to GtkCheckButton
...
It's not used in GtkToggleButton at all, only in GtkCheckButton and
GtkRadioButton.
2017-01-30 18:11:00 +01:00
Timm Bäder
1a0577b3f4
checkbutton: Remove unused vfunc
2017-01-30 18:11:00 +01:00
Timm Bäder
eb0c5a6a6c
checkbutton: Remove unused function prototype
2017-01-30 18:11:00 +01:00
Timm Bäder
6c6ed7496c
widget: Remove gtk_widget_class_list_style_properties
...
Unused.
2017-01-30 18:11:00 +01:00
Timm Bäder
de56947e86
gtkbuilder: Remove unused struct
2017-01-30 18:11:00 +01:00
Timm Bäder
c82fee4882
build: Stop compressing ui files
...
It's slower at runtime. Instead, strip blanks.
2017-01-30 18:11:00 +01:00
Piotr Drąg
bfaed659f1
Fix translator comments
...
They need to be exactly one line above a string to show up in .po files.
2017-01-28 01:13:12 +01:00
Michael Catanzaro
03c026e6b6
Revert "notebook: redraw arrows after closing a tab"
...
This reverts commit 218beb2ef4
.
2017-01-27 08:54:24 -06:00
Michael Catanzaro
218beb2ef4
notebook: redraw arrows after closing a tab
...
https://bugzilla.gnome.org/show_bug.cgi?id=777547
2017-01-24 08:33:35 -06:00
Timm Bäder
572639fed7
widget: Remove gtk_widget_get_preferred_size mention from docs
...
Mention gtk_widget_measure instead.
2017-01-22 15:01:53 +01:00
Timm Bäder
82e49952e5
flowbox: Measure child widget sizes using gtk_widget_measure
2017-01-22 15:01:40 +01:00
Timm Bäder
f05402ce2b
widget: Remove warning about already visible widgets
...
That was just added by mistake of course.
2017-01-22 14:48:28 +01:00
Timm Bäder
56a58655fe
Remove unnecessary gtk_widget_show calls
2017-01-22 14:38:21 +01:00
Timm Bäder
dc904ffaf9
gtkfontbutton: hexpand the font label
...
To restore the previous look.
2017-01-22 14:38:21 +01:00
Daniel Boles
90b9dc458f
combobox: Stop pointlessly NULL-checking the menu
...
We now have a valid menu to use at all times.
2017-01-21 21:34:46 +00:00
Daniel Boles
8c980445e3
combobox: Move area and menu to .ui file
...
Now that priv->area is guaranteed to be constructed by us, and not
passed in by a user, we can move it to the .ui file and stop manually
managing its lifetime altogether. And once the area is there, we can
move the menu there too (and stop pointlessly destroying/rebuilding it).
2017-01-21 21:34:46 +00:00
Daniel Boles
439fcf7578
combobox: Remove property cell-area
...
The CellArea is going to become a pure implementation detail & be moved
to the .ui, instead of letting users mess with it (if anyone ever did).
2017-01-21 21:34:45 +00:00
Daniel Boles
36413a8eca
combobox: Reuse code rather than reimplementing it
...
We already have cell_layout_is_sensitive() to get whether at least one
cell in a Layout is sensitive, which we need because CellLayout/View
do not implement foreach(). So, since we wrote that, we can use it to
check our CellArea too, instead of doing foreach with a custom callback.
2017-01-21 19:00:10 +00:00
Daniel Boles
c7e4c82df4
combobox: some code cleanups
...
* Merge adjacent if statements with the same condition
* Add a space between a function and its declaration
2017-01-21 18:59:27 +00:00
Daniel Boles
c5c0127e10
menushell: Fix select_last() to get last, not 1st
...
It was broken in the same way as select_first(), as explained in
commit a5211adb22
2017-01-21 18:55:46 +00:00
Daniel Boles
c662e691ed
combobox: Fix documentation typo bx => box
2017-01-21 16:13:44 +00:00
Daniel Boles
a5211adb22
menushell: Make select_first() do that, not last…
...
It was looping over all items, not breaking out when it found the first
selectable one, and then selecting the _last_ selectable one (if any)
found. So, it did exactly the opposite of its name. This made me quite
baffled when opening a submenu with right-arrow put me at its last item.
Originally, the loop set to_select and broke if the current item was
selectable and not tear-off, meaning that it would correctly select the
first suitable item. However, when tear-off functionality was removed
in commit 4ed9452e90
, so was the break.
2017-01-21 15:50:54 +00:00
Piotr Drąg
e47bd31e6a
Fix CSS spelling in a translatable string
2017-01-20 23:46:38 +01:00
Daniel Boles
71d7a1b3d0
menushell: Don’t dereference before typechecking
2017-01-20 22:15:42 +00:00
Daniel Boles
802f838aa0
combobox: If typechecking, don’t reference before
2017-01-20 21:08:58 +00:00
Timm Bäder
ab051fd53f
Don't hide windows and popovers in init()
...
Instead, don't make them visible in gtk_widget_init in the first place.
2017-01-20 21:51:05 +01:00
Timm Bäder
b1408c9694
fontbutton: Be a GtkWidget
2017-01-20 21:51:03 +01:00
Timm Bäder
6376aaf44b
assistant: Don't forget to remove child widgets
2017-01-20 21:50:02 +01:00
Timm Bäder
0f2e043c3d
toolitemgroup: Properly remove internal child widget
...
We now need to use gtk_widget_unparent and can't just destroy it.
2017-01-20 21:50:02 +01:00
Timm Bäder
4bd2a9bca9
popovermenu: Remove forall implementation
2017-01-20 21:50:02 +01:00
Timm Bäder
3fb4b079e1
button: Don't explicitly show child widgets
2017-01-20 21:50:02 +01:00
Timm Bäder
c36ad400fa
recorder: Adapt to widget visibility changes
...
We now need to explicitly hide the details label.
2017-01-20 21:50:02 +01:00
Timm Bäder
3ec15d98fa
Fix some widget visibility fallout
2017-01-20 21:37:08 +01:00
Timm Bäder
f4341ee9f7
widget: Remove show-all property
...
Doesn't make sense anymore now that gtk_widget_show_all is gone.
2017-01-20 21:37:07 +01:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Timm Bäder
13b001b77c
widget: Remove show_all vfunc
2017-01-20 21:33:38 +01:00
Timm Bäder
5f57e3b711
filechooserbutton: Be a GtkWidget
...
Instead of subclassing GtkBox to have 2 child widgets, subclass
GtkWidget and only render one of them.
2017-01-20 21:33:38 +01:00
Timm Bäder
d862c5c6df
sizerequest: Use gtk_widget_measure to measure widget sizes
2017-01-20 21:33:38 +01:00
Timm Bäder
9679c4f0e0
gtkbuilder: Improve error messages
2017-01-20 21:33:37 +01:00
Timm Bäder
2a84be4ae5
shortcutswindow: Unset search_bar in dispose
...
And check for null-ness in unmap. This prevents a crash when the window
is first disposed and then unmapped.
2017-01-20 21:33:37 +01:00
Timm Bäder
5dbf8458f5
shortcutswindow: Use GtkButton:icon-name for search button
2017-01-20 21:33:37 +01:00
Timm Bäder
524bf22db7
shortcutsshortcut: Be a GtkWidget
...
Instead of subclassing GtkBox and overriding _add to not work, subclass
GtkWidget and add a normal GtkBox as a child widget.
2017-01-20 21:33:37 +01:00
Timm Bäder
8085884277
gtkshortcutswindow: Adapt to GtkWidget visibility changes
2017-01-20 21:33:37 +01:00
Timm Bäder
02c2887772
filechooser: adapt to GtkWidget:visible changes
2017-01-20 21:33:37 +01:00
Timm Bäder
b1eccd770e
coloreditor: Hide overlay boxes
2017-01-20 21:33:37 +01:00