mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Fix path layout and Czech stats, and rewrite the install docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
737e27deb0
commit
2cb3565df5
16 changed files with 349 additions and 869 deletions
|
|
@ -4,6 +4,13 @@
|
|||
/* Settings */
|
||||
/* ------------------------------------------------------------------ */
|
||||
|
||||
static GtkWidget *settings_popover;
|
||||
|
||||
void settings_open(void) {
|
||||
if (settings_popover)
|
||||
gtk_popover_popup(GTK_POPOVER(settings_popover));
|
||||
}
|
||||
|
||||
void draw_theme_swatch(GtkDrawingArea *area, cairo_t *cr,
|
||||
int width, int height, gpointer data) {
|
||||
ThemeId id = (ThemeId)GPOINTER_TO_INT(data);
|
||||
|
|
@ -215,6 +222,7 @@ GtkWidget *build_settings_button(void) {
|
|||
G_CALLBACK(gtk_widget_queue_draw), icon);
|
||||
|
||||
popover = gtk_popover_new();
|
||||
settings_popover = popover;
|
||||
gtk_widget_add_css_class(popover, "settings-popover");
|
||||
gtk_popover_set_has_arrow(GTK_POPOVER(popover), TRUE);
|
||||
gtk_popover_set_position(GTK_POPOVER(popover), GTK_POS_BOTTOM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue