[gnome-todo] fixup! window: Move headerbar to task lists workspace
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] fixup! window: Move headerbar to task lists workspace
- Date: Thu, 16 Sep 2021 17:52:22 +0000 (UTC)
commit 31d64d69cd5bd7e31ad6b8d7ceea9c693bd31b99
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Sep 14 19:47:28 2021 -0300
fixup! window: Move headerbar to task lists workspace
src/gui/gtd-window.c | 28 ----------------------------
1 file changed, 28 deletions(-)
---
diff --git a/src/gui/gtd-window.c b/src/gui/gtd-window.c
index c516d055..99e2771c 100644
--- a/src/gui/gtd-window.c
+++ b/src/gui/gtd-window.c
@@ -342,34 +342,6 @@ on_workspace_removed_cb (PeasExtensionSet *extension_set,
GTD_EXIT;
}
-static GtkWidget*
-create_workspace_row_func (gpointer item,
- gpointer user_data)
-{
- GtkWidget *label;
- GtkWidget *image;
- GtkWidget *box;
-
- box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
- gtk_widget_set_margin_start (box, 6);
- gtk_widget_set_margin_end (box, 6);
- gtk_widget_set_margin_top (box, 3);
- gtk_widget_set_margin_bottom (box, 3);
-
- image = gtk_image_new ();
- g_object_bind_property (item, "icon", image, "gicon", G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
-
- label = gtk_label_new ("");
- gtk_widget_set_hexpand (label, TRUE);
- gtk_label_set_xalign (GTK_LABEL (label), 0.0);
- g_object_bind_property (item, "title", label, "label", G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
-
- gtk_box_append (GTK_BOX (box), image);
- gtk_box_append (GTK_BOX (box), label);
-
- return box;
-}
-
/*
* GtkWindow overrides
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]