Commit d228ff4c authored by Xavier de Blas's avatar Xavier de Blas

0.6-svn3 treeview_persons has contextual menu improved dialog_about

0.6-svn3
treeview_persons has contextual menu
improved dialog_about
created an icon and shown in all windows (svn add done)
changed icon of "text available" on image_test
Fixed bug (created on 0.6-svn2) on click on any test "more" (check all diffs on src/gui for a similar bug)

svn path=/trunk/; revision=313
parent ce9910ca
......@@ -78,6 +78,7 @@ RESOURCES_IMAGES = -resource:images/mini/no_image.png,mini/no_image.png \
-resource:images/preferences-system.png,preferences-system.png \
-resource:images/stock_delete.png,stock_delete.png \
-resource:images/delete_last.png,delete_last.png \
-resource:images/chronojump_icon.png,chronojump_icon.png \
RESOURCES_REPORT = -resource:images/chronojump_logo.png,chronojump_logo.png \
-resource:images/report_web_style.css,report_web_style.css \
......
CHRONOJUMP DETAILED CHANGELOG:
21 oct 2007
0.6-svn3
treeview_persons has contextual menu
improved dialog_about
created an icon and shown in all windows (svn add done)
changed icon of "text available" on image_test
Fixed bug (created on 0.6-svn2) on click on any test "more" (check all diffs on src/gui for a similar bug)
12 oct 2007
0.6-svn2
......
......@@ -10080,6 +10080,7 @@ If you need more, just repeat the operation later.</property>
<property name="fixed_height_mode">False</property>
<property name="hover_selection">False</property>
<property name="hover_expand">False</property>
<signal name="button_release_event" handler="on_treeview_button_release_event" last_modification_time="Sun, 21 Oct 2007 00:32:56 GMT"/>
</widget>
</child>
</widget>
......@@ -10219,7 +10220,7 @@ If you need more, just repeat the operation later.</property>
<child>
<widget class="GtkImage" id="image_test_text_available">
<property name="visible">True</property>
<property name="stock">gtk-justify-fill</property>
<property name="stock">gtk-yes</property>
<property name="icon_size">4</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
......@@ -10748,6 +10749,7 @@ If you need more, just repeat the operation later.</property>
<property name="hover_selection">False</property>
<property name="hover_expand">False</property>
<signal name="cursor_changed" handler="on_treeview_jumps_cursor_changed" last_modification_time="Sat, 28 Jan 2006 17:41:08 GMT"/>
<signal name="button_release_event" handler="on_treeview_button_release_event" last_modification_time="Sun, 21 Oct 2007 00:33:23 GMT"/>
</widget>
</child>
</widget>
......@@ -13691,39 +13693,14 @@ If you need more, just repeat the operation later.</property>
<property name="homogeneous">False</property>
<property name="spacing">8</property>
<child>
<widget class="GtkLabel" id="label201">
<property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;Chronojump&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkTable" id="table28">
<property name="visible">True</property>
<property name="n_rows">3</property>
<property name="n_rows">4</property>
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
<property name="row_spacing">8</property>
<property name="column_spacing">8</property>
<property name="column_spacing">14</property>
<child>
<widget class="GtkLabel" id="label202">
......@@ -13746,8 +13723,8 @@ If you need more, just repeat the operation later.</property>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
......@@ -13774,8 +13751,8 @@ If you need more, just repeat the operation later.</property>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
......@@ -13802,8 +13779,8 @@ If you need more, just repeat the operation later.</property>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
......@@ -13830,8 +13807,8 @@ If you need more, just repeat the operation later.</property>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
......@@ -13858,8 +13835,8 @@ If you need more, just repeat the operation later.</property>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
......@@ -13886,8 +13863,55 @@ If you need more, just repeat the operation later.</property>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label201">
<property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;Chronojump&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkImage" id="image_logo">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_padding">8</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
......
......@@ -31,7 +31,7 @@ public class ChronoJump
ChronoJumpWindow chronoJumpWin;
private static string [] authors = {"Xavier de Blas", "Juan Gonzalez", "Juan Fernando Pardo"};
private static string progversion = "0.6-svn2";
private static string progversion = "0.6-svn3";
private static string progname = "Chronojump";
private string runningFileName; //useful for knowing if there are two chronojump instances
......
......@@ -59,6 +59,8 @@ public class Constants
public static string FileNameLogo = "chronojump_logo.png";
public static string FileNameCSS = "report_web_style.css";
public static string FileNameIcon = "chronojump_icon.png";
//30 colors defined
public static string [] Colors = {
"Blue", "Coral", "Cyan", "Gray", "Green", "Pink", "Salmon", "Yellow",
......
......@@ -21,11 +21,13 @@
using System;
using Gtk;
using Gdk;
using Glade;
public class About
{
[Widget] Gtk.Dialog dialog_about;
[Widget] Gtk.Image image_logo;
[Widget] Gtk.Label dialog_about_label_version;
[Widget] Gtk.Label dialog_about_label_developers;
[Widget] Gtk.Label dialog_about_label_translators;
......@@ -36,6 +38,14 @@ public class About
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "dialog_about", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(dialog_about);
//put logo image
Pixbuf pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameLogo);
image_logo.Pixbuf = pixbuf;
dialog_about_label_version.Text = version;
dialog_about_label_translators.Text = translators;
......
......@@ -397,6 +397,9 @@ public class ChronoJumpWindow
gxml = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "app1", null);
gxml.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(app1);
//show chronojump logo on down-left area
changeTestImage("", "", "LOGO");
......@@ -771,6 +774,68 @@ Console.WriteLine("+++++++++++++++++ 7 ++++++++++++++++");
}
}
private void on_treeview_button_release_event (object o, ButtonReleaseEventArgs args) {
Gdk.EventButton e = args.Event;
Gtk.TreeView myTv = (Gtk.TreeView) o;
if (e.Button == 3) {
if(myTv == treeview_persons) {
Console.WriteLine("treeview_persons!!!!");
treeviewPersonsContextMenu(currentPerson);
}
else if(myTv == treeview_jumps) {
/*
Console.WriteLine("treeview_jumps!!!!");
TreeModel model;
TreeIter iter;
Jump myJump = new Jump();
if (((TreeSelection)o).GetSelected(out model, out iter)) {
myJump.UniqueID = myTreeViewJumps.EventSelectedID;
}
treeviewJumpsContextMenu(myJump);
*/
}
else
Console.WriteLine(myTv.ToString());
}
}
private void treeviewPersonsContextMenu(Person myPerson) {
Menu myMenu = new Menu ();
Gtk.MenuItem myItem;
myItem = new MenuItem ( Catalog.GetString("Edit") + " " + myPerson.Name);
myItem.Activated += on_edit_current_person_clicked;
myMenu.Attach( myItem, 0, 1, 0, 1 );
myItem = new MenuItem ( Catalog.GetString("Show all tests of") + " " + myPerson.Name);
myItem.Activated += on_show_all_person_events_activate;
myMenu.Attach( myItem, 0, 1, 1, 2 );
Gtk.SeparatorMenuItem mySep = new SeparatorMenuItem();
myMenu.Attach( mySep, 0, 1, 2, 3 );
myItem = new MenuItem ( string.Format(Catalog.GetString("Delete {0} from this session"),myPerson.Name));
myItem.Activated += on_delete_current_person_from_session_activate;
myMenu.Attach( myItem, 0, 1, 3, 4 );
myMenu.Popup();
myMenu.ShowAll();
}
/*
private void treeviewJumpsContextMenu(Jump myJump) {
Menu myMenu = new Menu ();
Gtk.MenuItem myItem;
//myItem = new MenuItem ( Catalog.GetString("Edit") + " " + myJump.UniqueID + "(" + myJump.PersonName + ")");
myItem = new MenuItem ( Catalog.GetString("Edit") + " " + myJump.UniqueID);
myItem.Activated += on_edit_selected_jump_clicked;
myMenu.Attach( myItem, 0, 1, 0, 1 );
myMenu.Popup();
myMenu.ShowAll();
}
*/
/* ---------------------------------------------------------
* ---------------- TREEVIEW JUMPS ------------------------
* --------------------------------------------------------
......
......@@ -45,6 +45,9 @@ public class ChronopicConnection
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "chronopic_connection", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(chronopic_connection);
}
static public ChronopicConnection Show ()
......
......@@ -46,6 +46,9 @@ public class ConfirmWindowJumpRun
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "confirm_window", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(confirm_window);
label1.Text = text1;
label2.Text = text2;
this.table = table;
......@@ -107,6 +110,9 @@ public class ConfirmWindow
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "confirm_window", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(confirm_window);
label1.Text = text1;
label2.Text = text2;
}
......
......@@ -39,6 +39,9 @@ public class DialogCalendar
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "dialog_calendar", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(dialog_calendar);
dialog_calendar.Title = calendarTitle;
fakeButtonDateChanged = new Button();
......
......@@ -34,6 +34,9 @@ public class DialogHelp
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "dialog_help", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(dialog_help);
label_message.Text = message;
}
......
......@@ -38,6 +38,9 @@ public class DialogImageTest
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "dialog_image_test", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(dialog_image_test);
label_name_description.Text = "<b>" + myEventType.Name + "</b>" + " - " + myEventType.Description;
label_name_description.UseMarkup = true;
......
......@@ -37,6 +37,9 @@ public class DialogMessage
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "dialog_message", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(dialog_message);
//with this, user doesn't see a moving/changing creation window
dialog_message.Hide();
......
......@@ -43,6 +43,9 @@ public class ErrorWindow
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "error_window", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(error_window);
label1.Text = text1;
}
......
......@@ -412,16 +412,16 @@ public class EventMoreWindow
public Gtk.Button button_selected;
public EventMoreWindow () {
/*
/*
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "jumps_runs_more", null);
gladeXML.Autoconnect(this);
*/
//name, startIn, weight, description
store = new TreeStore(typeof (string), typeof (string), typeof (string), typeof (string));
initializeThings();
*/
}
protected void initializeThings()
......
......@@ -165,6 +165,9 @@ public class EventExecuteWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "event_execute", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(event_execute);
//this hides it when it's creating (hiding and showing tables stuff)
//then user doesn't see a moving/changing creation window
......
......@@ -61,6 +61,9 @@ public class EventGraphConfigureWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "event_graph_configure", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(event_graph_configure);
}
//bool reallyShow
......
......@@ -36,6 +36,9 @@ public class HelpPorts
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "dialog_help_ports", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(dialog_help_ports);
string messageInfo;
string messageDetected = "";
......
......@@ -49,6 +49,9 @@ public class EditJumpWindow : EditEventWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "edit_event", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(edit_event);
eventBigTypeString = Catalog.GetString("jump");
}
......@@ -200,6 +203,9 @@ public class EditJumpRjWindow : EditJumpWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "edit_event", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(edit_event);
eventBigTypeString = Catalog.GetString("reactive jump");
}
......@@ -330,6 +336,10 @@ public class RepairJumpRjWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "repair_sub_event", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(repair_sub_event);
this.jumpRj = myJump;
//this.pDN = pDN;
......@@ -713,6 +723,9 @@ public class JumpExtraWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "jump_extra", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(jump_extra);
}
static public JumpExtraWindow Show (JumpType myJumpType)
......@@ -872,6 +885,9 @@ public class JumpsMoreWindow : EventMoreWindow
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "jumps_runs_more", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(jumps_runs_more);
selectedEventType = EventType.Types.JUMP.ToString();
//name, startIn, weight, description
......@@ -891,13 +907,16 @@ public class JumpsMoreWindow : EventMoreWindow
}
protected override void createTreeView (Gtk.TreeView tv) {
Console.WriteLine("AAAAAAAAA");
tv.HeadersVisible=true;
int count = 0;
Console.WriteLine("BBBBBBBBBB");
tv.AppendColumn ( Catalog.GetString ("Name"), new CellRendererText(), "text", count++);
tv.AppendColumn ( Catalog.GetString ("Start inside"), new CellRendererText(), "text", count++);
tv.AppendColumn ( Catalog.GetString ("Extra weight"), new CellRendererText(), "text", count++);
tv.AppendColumn ( Catalog.GetString ("Description"), new CellRendererText(), "text", count++);
Console.WriteLine("CCCCCCCCCC");
}
protected override void fillTreeView (Gtk.TreeView tv, TreeStore store)
......@@ -1037,6 +1056,9 @@ public class JumpsRjMoreWindow : EventMoreWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "jumps_runs_more", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(jumps_runs_more);
//if jumps_runs_more is opened to showing Rj jumpTypes make it wider
jumps_runs_more.Resize(600,300);
......
......@@ -59,6 +59,9 @@ public class JumpTypeAddWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "jump_type_add", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(jump_type_add);
}
static public JumpTypeAddWindow Show ()
......
......@@ -40,6 +40,9 @@ public class LanguageWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "language_window", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(language_window);
}
static public LanguageWindow Show ()
......
......@@ -59,6 +59,9 @@ public class PersonRecuperateWindow {
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "person_recuperate", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(person_recuperate);
this.sessionID = sessionID;
......@@ -247,6 +250,9 @@ public class PersonsRecuperateFromOtherSessionWindow : PersonRecuperateWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "person_recuperate", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(person_recuperate);
//this class doesn't allow to search by name
......@@ -539,6 +545,10 @@ public class PersonAddWindow {
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "person_win", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(person_win);
this.sessionID = sessionID;
button_accept.Sensitive = false; //only make sensitive when required values are inserted
......@@ -678,8 +688,11 @@ public class PersonModifyWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "person_win", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(person_win);
this.sessionID = sessionID;
person_win.Title = Catalog.GetString ("Edit jumper");
}
......@@ -872,6 +885,10 @@ public class PersonAddMultipleWindow {
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "person_add_multiple", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(person_add_multiple);
this.sessionID = sessionID;
}
......@@ -1089,6 +1106,9 @@ public class PersonShowAllEventsWindow {
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "person_show_all_events", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(person_show_all_events);
this.sessionID = sessionID;
this.currentPerson = currentPerson;
......
......@@ -65,6 +65,9 @@ public class PreferencesWindow {
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "preferences", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(preferences);
if(entryChronopic.Length > 0) {
entry_chronopic.Text = entryChronopic;
}
......
......@@ -42,6 +42,9 @@ public class EditPulseWindow : EditEventWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "edit_event", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(edit_event);
eventBigTypeString = Catalog.GetString("pulse");
}
......@@ -139,6 +142,9 @@ public class PulseExtraWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "pulse_extra", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(pulse_extra);
}
static public PulseExtraWindow Show (PulseType myPulseType)
......@@ -267,6 +273,10 @@ public class RepairPulseWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "repair_sub_event", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(repair_sub_event);
this.myPulse = myPulse;
repair_sub_event.Title = Catalog.GetString("Repair pulse");
......
......@@ -40,6 +40,9 @@ public class EditReactionTimeWindow : EditEventWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "edit_event", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(edit_event);
eventBigTypeString = Catalog.GetString("reaction time");
}
......
......@@ -94,6 +94,9 @@ public class RepetitiveConditionsWindow
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "repetitive_conditions", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(repetitive_conditions);
putNonStandardIcons();
}
......
......@@ -63,6 +63,9 @@ public class ReportWindow {
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "report_window", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(report_window);
this.report = report;
......
......@@ -46,6 +46,9 @@ public class EditRunWindow : EditEventWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "edit_event", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(edit_event);
eventBigTypeString = Catalog.GetString("run");
}
......@@ -163,6 +166,9 @@ public class EditRunIntervalWindow : EditRunWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "edit_event", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(edit_event);
eventBigTypeString = Catalog.GetString("intervallic run");
}
......@@ -284,6 +290,10 @@ public class RepairRunIntervalWindow
Glade.XML gladeXML;
gladeXML = Glade.XML.FromAssembly (Util.GetGladePath() + "chronojump.glade", "repair_sub_event", null);
gladeXML.Autoconnect(this);
//put an icon to window
UtilGtk.IconWindow(repair_sub_event);