| tvkaista-0.986/gitlog | | tvkaista-0.987/gitlog |
| | 1 | commit 627976cc76f55a1a35bd81dd7690ff2678f29d29 |
| | 2 | Author: Tomi Ollila <too@iki.fi> |
| | 3 | Date: Sun Feb 7 23:01:25 2010 +0200 |
| | 4 | |
| | 5 | Versio 0.987 |
| | 6 | |
| | 7 | M Makefile |
| | 8 | |
| | 9 | commit 9a4c19439820289a0337c4cc7db42444f5ed0afc |
| | 10 | Author: Tomi Ollila <too@iki.fi> |
| | 11 | Date: Sun Feb 7 23:00:48 2010 +0200 |
| | 12 | |
| | 13 | id oli vaihtunut findid:ksi (pitäiskö mätsätä epätarkemmin ?) |
| | 14 | |
| | 15 | M tvkaista-helper.pl |
| | 16 | |
| | 17 | commit 15e883464fb35181ac9392786452c633f5dd5f43 |
| | 18 | Author: Tomi Ollila <too@iki.fi> |
| | 19 | Date: Sun Feb 7 22:18:43 2010 +0200 |
| | 20 | |
| | 21 | Urgh, one 'null' missing |
| | 22 | |
| | 23 | M tvkaista_gtkui.c |
| | 24 | |
| | 25 | commit daa6dfeca638c9577748cbc900da9f4940c75e27 |
| | 26 | Author: Tomi Ollila <too@iki.fi> |
| | 27 | Date: Sun Jan 10 23:55:48 2010 +0200 |
| | 28 | |
| | 29 | lataajakoodia... |
| | 30 | |
| | 31 | M tvkaista_gtkdlm.c |
| | 32 | |
| | 33 | commit cb6b1db89315633abf4c54b3489966d315de8115 |
| | 34 | Author: Muu <wubi@ubuntu.ubuntu-domain> |
| | 35 | Date: Sat Jan 9 20:24:28 2010 +0200 |
| | 36 | |
| | 37 | latauskilkekoodia... |
| | 38 | |
| | 39 | M tvkaista_gtkdlm.c |
| | 40 | |
| | 41 | commit a6ab721707f0cb5e17709800341c6c0a94845e53 |
| | 42 | Author: Tomi Ollila <too@iki.fi> |
| | 43 | Date: Thu Jan 7 23:18:18 2010 +0200 |
| | 44 | |
| | 45 | lataus-kilkkeen alku. aButton() -rajapintakorjaus. |
| | 46 | |
| | 47 | A tvkaista_gtkdlm.c |
| | 48 | M tvkaista_gtkpw.c |
| | 49 | M tvkaista_gtkui.c |
| | 50 | |
| 1 | commit 432e48fe9644923078590b4617e16de3ef8c2742 | 51 | commit 432e48fe9644923078590b4617e16de3ef8c2742 |
| 2 | Author: Tomi Ollila <too@iki.fi> | 52 | Author: Tomi Ollila <too@iki.fi> |
| 3 | Date: Sun Jan 3 21:53:45 2010 +0200 | 53 | Date: Sun Jan 3 21:53:45 2010 +0200 |
| tvkaista-0.986/tvkaista-helper.pl | | tvkaista-0.987/tvkaista-helper.pl |
| 189 | $title = strdecode $1 if /<title>(.*)<\/title>/; | 189 | $title = strdecode $1 if /<title>(.*)<\/title>/; |
| 190 | $secs = secsof $1 if /<pubDate>(.*)<\/pubDate>/; | 190 | $secs = secsof $1 if /<pubDate>(.*)<\/pubDate>/; |
| 191 | $desc = strdecode $1 if /<description>(.*)<\/description>/; | 191 | $desc = strdecode $1 if /<description>(.*)<\/description>/; |
| 192 | $id = $1 if /<link>.*\?id=(\d+)/; | 192 | $id = $1 if /<link>.*\?findid=(\d+)/; |
| 193 | | 193 | |
| 194 | if ( /<ttl>/ ) { | 194 | if ( /<ttl>/ ) { |
| 195 | $desc =~ /channel:\s*(.*)/; | 195 | $desc =~ /channel:\s*(.*)/; |
| tvkaista-0.986/tvkaista_gtkpw.c | | tvkaista-0.987/tvkaista_gtkpw.c |
| 20 | * All rights reserved | 20 | * All rights reserved |
| 21 | * | 21 | * |
| 22 | * Created: Wed 29 Apr 2009 20:19:00 EEST too | 22 | * Created: Wed 29 Apr 2009 20:19:00 EEST too |
| 23 | * Last modified: Mon 11 May 2009 11:06:15 EEST too | 23 | * Last modified: Thu 07 Jan 2010 23:14:48 EET too |
| 24 | */ | 24 | */ |
| 25 | | 25 | |
| 26 | #include <gtk/gtk.h> | 26 | #include <gtk/gtk.h> |
| 133 | } | 133 | } |
| 134 | | 134 | |
| 135 | GtkWidget * aButton(const char * text, | 135 | GtkWidget * aButton(const char * text, |
| 136 | void (*clickmethod)(void *), gpointer clickdata) | 136 | void (*clickmethod)(GtkWidget * w, void *), |
| | 137 | gpointer clickdata) |
| 137 | { | 138 | { |
| 138 | GtkWidget * button = GTK_WIDGET(gtk_button_new_with_label(text)); | 139 | GtkWidget * button = GTK_WIDGET(gtk_button_new_with_label(text)); |
| 139 | | 140 | |
| tvkaista-0.986/tvkaista_gtkui.c | | tvkaista-0.987/tvkaista_gtkui.c |
| 922 | } | 922 | } |
| 923 | | 923 | |
| 924 | GtkWidget * aButton(const char * text, | 924 | GtkWidget * aButton(const char * text, |
| 925 | void (*clickmethod)(void *), gpointer clickdata) | 925 | void (*clickmethod)(GtkWidget *, void *), |
| | 926 | gpointer clickdata) |
| 926 | { | 927 | { |
| 927 | GtkWidget * button = GTK_WIDGET(gtk_button_new_with_label(text)); | 928 | GtkWidget * button = GTK_WIDGET(gtk_button_new_with_label(text)); |
| 928 | | 929 | |
| 1047 | } | 1048 | } |
| 1048 | | 1049 | |
| 1049 | bool relist_view_cb(void); | 1050 | bool relist_view_cb(void); |
| 1050 | void update_pressed(void * uu) | 1051 | void update_pressed(GtkWidget * w, void * uu) |
| 1051 | { | 1052 | { |
| 1052 | (void)uu; | 1053 | (void)w; (void)uu; |
| 1053 | | 1054 | |
| 1054 | if (G.childexit_cb) { | 1055 | if (G.childexit_cb) { |
| 1055 | ModalMessageDialog("edellinen toiminto ajossa"); | 1056 | ModalMessageDialog("edellinen toiminto ajossa"); |
| 1056 | return; | 1057 | return; |
| 1057 | } | 1058 | } |
| 1058 | | 1059 | |
| 1059 | runbgcommand(G_helper, "gui", "update"); | 1060 | runbgcommand(G_helper, "gui", "update", null); |
| 1060 | G.childexit_cb = relist_view_cb; | 1061 | G.childexit_cb = relist_view_cb; |
| 1061 | } | 1062 | } |
| 1062 | | 1063 | |
| 1101 | speeds[speed], null); | 1102 | speeds[speed], null); |
| 1102 | } | 1103 | } |
| 1103 | | 1104 | |
| 1104 | void play_pressed(void * uu) | 1105 | void play_pressed(GtkWidget * w, void * uu) |
| 1105 | { | 1106 | { |
| 1106 | (void)uu; | 1107 | (void)w; (void)uu; |
| 1107 | | 1108 | |
| 1108 | if (G.childexit_cb) { | 1109 | if (G.childexit_cb) { |
| 1109 | ModalMessageDialog("edellinen toiminto ajossa"); | 1110 | ModalMessageDialog("edellinen toiminto ajossa"); |
| 1119 | handle_program(players[indx]); | 1120 | handle_program(players[indx]); |
| 1120 | } | 1121 | } |
| 1121 | | 1122 | |
| 1122 | void save_pressed(void * uu) | 1123 | void save_pressed(GtkWidget * w, void * uu) |
| 1123 | { | 1124 | { |
| 1124 | (void)uu; | 1125 | (void)w; (void)uu; |
| 1125 | | 1126 | |
| 1126 | if (G.childexit_cb) { | 1127 | if (G.childexit_cb) { |
| 1127 | ModalMessageDialog("edellinen toiminto ajossa"); | 1128 | ModalMessageDialog("edellinen toiminto ajossa"); |