summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* notification: default to being invisiblewip/ernestask/gtk4Ernestas Kulik2018-03-111-1/+1
| | | | Otherwise, the animation/timeout stuff breaks.
* notification: remove visibility_notify_event overrideErnestas Kulik2018-03-111-25/+7
| | | | | The event no longer exists, so the bulk of the handler is moved to the show/hide overrides.
* notification: use an event controller for motion eventsErnestas Kulik2018-03-111-145/+49
| | | | This allows us to drop the GdkWindow stuff.
* notification: use gtk_widget_measure()Ernestas Kulik2018-03-111-153/+125
|
* notification: use snapshot API for drawingErnestas Kulik2018-03-111-66/+40
| | | | | The applied style classes allow us to not draw the background and frame manually, and we can avoid using GdkWindow API for animating.
* notification: remove include_internals from forall()Ernestas Kulik2018-03-111-2/+1
| | | | The parameter no longer exists.
* notification: use g_timeout_add()Ernestas Kulik2018-03-111-7/+3
| | | | The GDK thread functions have been removed.
* Add test for GdNotificationErnestas Kulik2018-03-112-0/+89
|
* notification: use gtk_button_new_from_icon_name()Ernestas Kulik2018-03-111-4/+1
|
* main-view: connect to generic event vfuncErnestas Kulik2018-03-111-37/+102
| | | | | The vfunc for cursor events are gone and using gestures isn’t working out too well for this.
* main-list-view: set up a clip regionErnestas Kulik2018-03-111-0/+19
| | | | Otherwise we draw the rubberband effect outside the window.
* main-list-view: use snapshot API for renderingErnestas Kulik2018-03-111-15/+13
|
* toggle-pixbuf-renderer: use snapshot API for renderingErnestas Kulik2018-03-111-9/+18
|
* main-icon-view: remove style propertyErnestas Kulik2018-03-111-7/+0
|
* toggle-pixbuf-renderer: copy gtk_paint_spinner() from GTK+Ernestas Kulik2018-03-111-10/+68
| | | | | | | | gtk_paint_spinner() has been removed with no straightforward replacement that allows to set the step value. See https://bugzilla.gnome.org/show_bug.cgi?id=782023 and https://bugzilla.gnome.org/show_bug.cgi?id=782396.
* toggle-pixbuf-renderer: hardcode icon sizeErnestas Kulik2018-03-111-15/+5
| | | | Widget style properties are now goneski.
* Add test for GdMainViewErnestas Kulik2018-03-112-0/+134
|
* main-icon-view: use snapshot API for renderingErnestas Kulik2018-03-111-14/+30
|
* main-icon-box: use gestures for cursor eventsErnestas Kulik2018-03-111-98/+103
|
* main-icon-box: drop fake event stuffErnestas Kulik2018-03-111-13/+0
| | | | | | | There is no replacement for that and this leaves keyboard navigation broken. See https://bugzilla.gnome.org/show_bug.cgi?id=774914.
* main-icon-box-child: remove calls to gtk_set_no_show_all()Ernestas Kulik2018-03-111-3/+0
|
* Add test for GdMainBoxErnestas Kulik2018-03-112-0/+348
|
* main-icon-box-icon: use gtk_widget_measure()Ernestas Kulik2018-03-111-17/+10
|
* Replace GtkTarget{Entry,List} with GdkContentFormatsErnestas Kulik2018-03-113-11/+22
| | | | | Also see c863ac0f90dfdeea5e17293594686063187d689c in GTK+ about the same-app checks.
* Drop info parameter from drag-data-getErnestas Kulik2018-03-113-14/+2
|
* Remove calls to gtk_widget_show_all()Ernestas Kulik2018-03-114-7/+0
|
* margin-container: use gtk_widget_measure()Ernestas Kulik2018-03-111-78/+49
| | | | It replaces the gtk_widget_get_preferred_*() functions.
* Remove calls to gtk_container_class_handle_border_width()Ernestas Kulik2018-03-112-3/+0
|
* margin-container: remove call to gtk_widget_set_redraw_on_allocate()Ernestas Kulik2018-03-111-1/+0
|
* Remove calls to gtk_widget_set_allocation()Ernestas Kulik2018-03-112-3/+0
| | | | It was removed with no replacement - it’s done automatically.
* Use new gtk_widget_size_allocate() signatureErnestas Kulik2018-03-113-10/+19
|
* Add test for GdMarginContainerErnestas Kulik2018-03-102-0/+72
|
* Add test for GdTwoLinesRendererErnestas Kulik2018-03-102-2/+93
|
* icon-utils: drop GtkCssProvider load error argumentErnestas Kulik2018-03-101-9/+16
| | | | | The only way now to know when an parsing error occurs is to connect to the parsing-error signal.
* styled-text-renderer: use snapshot API for renderingErnestas Kulik2018-03-101-9/+9
|
* Add test for GdStyledTextRendererErnestas Kulik2018-03-102-0/+122
|
* Move tests to subdirErnestas Kulik2018-03-104-6/+6
|
* two-lines-renderer: use snapshot API for renderingErnestas Kulik2018-03-101-15/+15
|
* Drop state arguments from GtkStyleContext gettersErnestas Kulik2018-03-105-37/+17
|
* tests: drop obsolete APIErnestas Kulik2018-03-042-4/+6
| | | | | gtk_init() now takes no arguments and widgets are visible by default, so no gtk_widget_show_all().
* build: switch to GTK+ 4Ernestas Kulik2018-03-044-4/+4
|
* margin-container: don’t include config.hErnestas Kulik2018-03-021-2/+0
| | | | Probably an oversight from 3b8e843d841b4a7236c2a8f21c164b0d2a616400.
* meson: Fix missing implicit dependency on gtk-hacksfosero2018-02-231-1/+3
| | | | | Both main-icon-box and main-view need gtk-hacks during build time. Make these widgets depend on gtk-hacks by default.
* main-icon-box-child: Show a spinner to reflect GdMainBoxItem::pulseDebarshi Ray2018-02-121-0/+30
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=793295
* main-icon-box-child: Shuffle some code aroundDebarshi Ray2018-02-121-82/+82
| | | | | | This will make the subsequent commit easier to read. https://bugzilla.gnome.org/show_bug.cgi?id=793295
* two-lines-renderer: Don't ignore the y-offset when renderingIsaque Galdino2018-02-011-1/+2
| | | | | | | | | | | | Otherwise, currently, the text is oddly biased towards the upper edge of the cell. This is very clearly noticeable when there's no sub-title, but is also discernable, although to a lesser degree, when there is. This also matches what GtkCellRendererText does. Some changes by Debarshi Ray. https://bugzilla.gnome.org/show_bug.cgi?id=792665
* two-lines-renderer: Don't ignore the aligned area's y-offsetDebarshi Ray2018-02-011-1/+1
| | | | | | This also matches what GtkCellRendererText does. https://bugzilla.gnome.org/show_bug.cgi?id=792665
* two-lines-renderer: Simplify codeDebarshi Ray2018-02-011-7/+1
| | | | | | | The PangoLayouts are only needed for gd_two_lines_renderer_get_size, which can prepare them itself. https://bugzilla.gnome.org/show_bug.cgi?id=792665
* main-icon-view: Explicitly specify the vertical alignment of the textDebarshi Ray2018-02-011-0/+1
| | | | | | | | | | | | | | The text rendered by the TwoLinesRenderer is vertically aligned to touch its border with the TogglePixbufRenderer. This was only working this way because TwoLinesRenderer was ignoring its y-offset and always treating it as zero. Ignoring the y-offset causes problems when the TwoLinesRenderer needs to obey some other alignment, and will, therefore, be fixed in the subsequent commits. To prevent those fixes from breaking the MainIconView it is necessary to specify the desired vertical alignment. https://bugzilla.gnome.org/show_bug.cgi?id=792665
* libgd.m4: Fix order for gtk-hacksMarinus Schraal2017-12-151-6/+6
| | | | | | | | | | Order gtk-hacks below widgets requiring it in the macro. Apparently the order of conditional dependencies matter for m4 macros. For example, main-view is depending on gtk-hacks, but gtk-hacks is defined before main-view and did not get picked up. This resulted in linking errors when gtk-hacks itself was omitted from the superprojects init.