projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
'quit -> "want to save?" -> yes -> cancel' should go back to working on the unsaved...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
dock_timetrack.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/dock_timetrack.cpp
b/synfig-studio/trunk/src/gtkmm/dock_timetrack.cpp
index
45e9723
..
89864d6
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/dock_timetrack.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/dock_timetrack.cpp
@@
-2,7
+2,7
@@
/*! \file dock_timetrack.cpp
** \brief Template File
**
/*! \file dock_timetrack.cpp
** \brief Template File
**
-** $Id
: dock_timetrack.cpp,v 1.1.1.1 2005/01/07 03:34:36 darco Exp
$
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@
-349,12
+349,18
@@
public:
if(adjustment.get_page_size()>get_height())
adjustment.set_page_size(get_height());
if(adjustment.get_page_size()>get_height())
adjustment.set_page_size(get_height());
- cellrenderer_time_track->set_fixed_size(-1,18);
+ int row_height = 0;
+ if(getenv("SYNFIG_TIMETRACK_ROW_HEIGHT"))
+ row_height = atoi(getenv("SYNFIG_TIMETRACK_ROW_HEIGHT"));
+ if (row_height < 3)
+ row_height = 18;
+
+ cellrenderer_time_track->set_fixed_size(-1,row_height);
}
}
void
}
}
void
- on_waypoint_clicked(const Glib::ustring &
path_string
, synfig::Waypoint waypoint,int button)
+ on_waypoint_clicked(const Glib::ustring &
/*path_string*/
, synfig::Waypoint waypoint,int button)
{
/*
Gtk::TreePath path(path_string);
{
/*
Gtk::TreePath path(path_string);
@@
-394,7
+400,14
@@
Dock_Timetrack::Dock_Timetrack():
{
table_=0;
widget_timeslider_= new Widget_Timeslider();
{
table_=0;
widget_timeslider_= new Widget_Timeslider();
- widget_timeslider_->set_size_request(-1,22);
+
+ int header_height = 0;
+ if(getenv("SYNFIG_TIMETRACK_HEADER_HEIGHT"))
+ header_height = atoi(getenv("SYNFIG_TIMETRACK_HEADER_HEIGHT"));
+ if (header_height < 3)
+ header_height = 22;
+
+ widget_timeslider_->set_size_request(-1,header_height);
hscrollbar_=new Gtk::HScrollbar();
vscrollbar_=new Gtk::VScrollbar();
}
hscrollbar_=new Gtk::HScrollbar();
vscrollbar_=new Gtk::VScrollbar();
}