Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | notification: default to being invisiblewip/ernestask/gtk4 | Ernestas Kulik | 2018-03-11 | 1 | -1/+1 |
| | | | | Otherwise, the animation/timeout stuff breaks. | ||||
* | notification: remove visibility_notify_event override | Ernestas Kulik | 2018-03-11 | 1 | -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 events | Ernestas Kulik | 2018-03-11 | 1 | -145/+49 |
| | | | | This allows us to drop the GdkWindow stuff. | ||||
* | notification: use gtk_widget_measure() | Ernestas Kulik | 2018-03-11 | 1 | -153/+125 |
| | |||||
* | notification: use snapshot API for drawing | Ernestas Kulik | 2018-03-11 | 1 | -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 Kulik | 2018-03-11 | 1 | -2/+1 |
| | | | | The parameter no longer exists. | ||||
* | notification: use g_timeout_add() | Ernestas Kulik | 2018-03-11 | 1 | -7/+3 |
| | | | | The GDK thread functions have been removed. | ||||
* | Add test for GdNotification | Ernestas Kulik | 2018-03-11 | 2 | -0/+89 |
| | |||||
* | notification: use gtk_button_new_from_icon_name() | Ernestas Kulik | 2018-03-11 | 1 | -4/+1 |
| | |||||
* | main-view: connect to generic event vfunc | Ernestas Kulik | 2018-03-11 | 1 | -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 region | Ernestas Kulik | 2018-03-11 | 1 | -0/+19 |
| | | | | Otherwise we draw the rubberband effect outside the window. | ||||
* | main-list-view: use snapshot API for rendering | Ernestas Kulik | 2018-03-11 | 1 | -15/+13 |
| | |||||
* | toggle-pixbuf-renderer: use snapshot API for rendering | Ernestas Kulik | 2018-03-11 | 1 | -9/+18 |
| | |||||
* | main-icon-view: remove style property | Ernestas Kulik | 2018-03-11 | 1 | -7/+0 |
| | |||||
* | toggle-pixbuf-renderer: copy gtk_paint_spinner() from GTK+ | Ernestas Kulik | 2018-03-11 | 1 | -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 size | Ernestas Kulik | 2018-03-11 | 1 | -15/+5 |
| | | | | Widget style properties are now goneski. | ||||
* | Add test for GdMainView | Ernestas Kulik | 2018-03-11 | 2 | -0/+134 |
| | |||||
* | main-icon-view: use snapshot API for rendering | Ernestas Kulik | 2018-03-11 | 1 | -14/+30 |
| | |||||
* | main-icon-box: use gestures for cursor events | Ernestas Kulik | 2018-03-11 | 1 | -98/+103 |
| | |||||
* | main-icon-box: drop fake event stuff | Ernestas Kulik | 2018-03-11 | 1 | -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 Kulik | 2018-03-11 | 1 | -3/+0 |
| | |||||
* | Add test for GdMainBox | Ernestas Kulik | 2018-03-11 | 2 | -0/+348 |
| | |||||
* | main-icon-box-icon: use gtk_widget_measure() | Ernestas Kulik | 2018-03-11 | 1 | -17/+10 |
| | |||||
* | Replace GtkTarget{Entry,List} with GdkContentFormats | Ernestas Kulik | 2018-03-11 | 3 | -11/+22 |
| | | | | | Also see c863ac0f90dfdeea5e17293594686063187d689c in GTK+ about the same-app checks. | ||||
* | Drop info parameter from drag-data-get | Ernestas Kulik | 2018-03-11 | 3 | -14/+2 |
| | |||||
* | Remove calls to gtk_widget_show_all() | Ernestas Kulik | 2018-03-11 | 4 | -7/+0 |
| | |||||
* | margin-container: use gtk_widget_measure() | Ernestas Kulik | 2018-03-11 | 1 | -78/+49 |
| | | | | It replaces the gtk_widget_get_preferred_*() functions. | ||||
* | Remove calls to gtk_container_class_handle_border_width() | Ernestas Kulik | 2018-03-11 | 2 | -3/+0 |
| | |||||
* | margin-container: remove call to gtk_widget_set_redraw_on_allocate() | Ernestas Kulik | 2018-03-11 | 1 | -1/+0 |
| | |||||
* | Remove calls to gtk_widget_set_allocation() | Ernestas Kulik | 2018-03-11 | 2 | -3/+0 |
| | | | | It was removed with no replacement - it’s done automatically. | ||||
* | Use new gtk_widget_size_allocate() signature | Ernestas Kulik | 2018-03-11 | 3 | -10/+19 |
| | |||||
* | Add test for GdMarginContainer | Ernestas Kulik | 2018-03-10 | 2 | -0/+72 |
| | |||||
* | Add test for GdTwoLinesRenderer | Ernestas Kulik | 2018-03-10 | 2 | -2/+93 |
| | |||||
* | icon-utils: drop GtkCssProvider load error argument | Ernestas Kulik | 2018-03-10 | 1 | -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 rendering | Ernestas Kulik | 2018-03-10 | 1 | -9/+9 |
| | |||||
* | Add test for GdStyledTextRenderer | Ernestas Kulik | 2018-03-10 | 2 | -0/+122 |
| | |||||
* | Move tests to subdir | Ernestas Kulik | 2018-03-10 | 4 | -6/+6 |
| | |||||
* | two-lines-renderer: use snapshot API for rendering | Ernestas Kulik | 2018-03-10 | 1 | -15/+15 |
| | |||||
* | Drop state arguments from GtkStyleContext getters | Ernestas Kulik | 2018-03-10 | 5 | -37/+17 |
| | |||||
* | tests: drop obsolete API | Ernestas Kulik | 2018-03-04 | 2 | -4/+6 |
| | | | | | gtk_init() now takes no arguments and widgets are visible by default, so no gtk_widget_show_all(). | ||||
* | build: switch to GTK+ 4 | Ernestas Kulik | 2018-03-04 | 4 | -4/+4 |
| | |||||
* | margin-container: don’t include config.h | Ernestas Kulik | 2018-03-02 | 1 | -2/+0 |
| | | | | Probably an oversight from 3b8e843d841b4a7236c2a8f21c164b0d2a616400. | ||||
* | meson: Fix missing implicit dependency on gtk-hacks | fosero | 2018-02-23 | 1 | -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::pulse | Debarshi Ray | 2018-02-12 | 1 | -0/+30 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=793295 | ||||
* | main-icon-box-child: Shuffle some code around | Debarshi Ray | 2018-02-12 | 1 | -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 rendering | Isaque Galdino | 2018-02-01 | 1 | -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-offset | Debarshi Ray | 2018-02-01 | 1 | -1/+1 |
| | | | | | | This also matches what GtkCellRendererText does. https://bugzilla.gnome.org/show_bug.cgi?id=792665 | ||||
* | two-lines-renderer: Simplify code | Debarshi Ray | 2018-02-01 | 1 | -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 text | Debarshi Ray | 2018-02-01 | 1 | -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-hacks | Marinus Schraal | 2017-12-15 | 1 | -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. |