[gimp] app: select the first axis so the shown curve makes sense
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: select the first axis so the shown curve makes sense
- Date: Tue, 16 Feb 2010 09:56:03 +0000 (UTC)
commit a10b8421d92ec4c369f4aabe1af50a4a4ebdcedf
Author: Michael Natterer <mitch gimp org>
Date: Tue Feb 16 10:53:52 2010 +0100
app: select the first axis so the shown curve makes sense
app/widgets/gimpdeviceinfoeditor.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpdeviceinfoeditor.c b/app/widgets/gimpdeviceinfoeditor.c
index 718e7e8..f1bd06a 100644
--- a/app/widgets/gimpdeviceinfoeditor.c
+++ b/app/widgets/gimpdeviceinfoeditor.c
@@ -255,6 +255,7 @@ gimp_device_info_editor_init (GimpDeviceInfoEditor *editor)
sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (view));
gtk_tree_selection_set_mode (sel, GTK_SELECTION_BROWSE);
+ gtk_tree_selection_select_iter (sel, &private->axis_iters[0]);
g_signal_connect (sel, "changed",
G_CALLBACK (gimp_device_info_editor_axis_selected),
@@ -566,7 +567,7 @@ gimp_device_info_editor_set_axes (GimpDeviceInfoEditor *editor)
for (i = GDK_AXIS_X; i < GDK_AXIS_LAST; i++)
{
- gchar input_name[23];
+ gchar input_name[16];
gint j;
for (j = 0; j < n_axes; j++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]