[sound-juicer] Use SjTreeView and SjCellRendererText
- From: Phillip Wood <pwood src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Use SjTreeView and SjCellRendererText
- Date: Fri, 15 Aug 2014 13:26:32 +0000 (UTC)
commit b98e954f4fe0e76c527efe6fa9ac04dab84e1239
Author: Phillip Wood <phillip wood dunelm org uk>
Date: Tue Apr 29 12:19:05 2014 +0100
Use SjTreeView and SjCellRendererText
Use the new widgets to improve the editing of track details.
https://bugzilla.gnome.org/show_bug.cgi?id=151469
data/sound-juicer.ui | 2 +-
src/sj-main.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/sound-juicer.ui b/data/sound-juicer.ui
index c8dff55..430e832 100644
--- a/data/sound-juicer.ui
+++ b/data/sound-juicer.ui
@@ -411,7 +411,7 @@
<property name="vscrollbar_policy">automatic</property>
<property name="shadow_type">in</property>
<child>
- <object class="GtkTreeView" id="track_listview">
+ <object class="SjTreeView" id="track_listview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
diff --git a/src/sj-main.c b/src/sj-main.c
index 8025f11..e2232fd 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -39,6 +39,7 @@
#include <gst/gst.h>
#include <gst/pbutils/encoding-profile.h>
+#include "sj-cell-renderer-text.h"
#include "rb-gst-media-types.h"
#include "sj-about.h"
#include "sj-metadata.h"
@@ -2038,7 +2039,7 @@ add_editable_listview_column (const char *title,
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
- renderer = gtk_cell_renderer_text_new ();
+ renderer = sj_cell_renderer_text_new ();
g_signal_connect (renderer,
"editing-started",
G_CALLBACK (on_cell_editing_started),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]