diff options
author | Koen Kooi <koen@openembedded.org> | 2007-02-07 10:04:04 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-02-07 10:04:04 +0000 |
commit | 38a94e6cb8f772f29ebf8e25e1fe5cb34711d324 (patch) | |
tree | c2a8332a723fed2ff05fb095f73e03c4b2b26818 /packages/gpephone/xoo-vm | |
parent | 4fcd37c8af2c23d84fab538eb08d2b14134af8cc (diff) |
gpephone: add recipes from http://linuxtogo.org/~florian/gpepe/
* They still need to be run through oe-stylize.py
* things like linphone need to get merged with their original counterparts in OE
Diffstat (limited to 'packages/gpephone/xoo-vm')
-rw-r--r-- | packages/gpephone/xoo-vm/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/gpephone/xoo-vm/gpephone-vm.patch | 84 |
2 files changed, 84 insertions, 0 deletions
diff --git a/packages/gpephone/xoo-vm/.mtn2git_empty b/packages/gpephone/xoo-vm/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/gpephone/xoo-vm/.mtn2git_empty diff --git a/packages/gpephone/xoo-vm/gpephone-vm.patch b/packages/gpephone/xoo-vm/gpephone-vm.patch new file mode 100644 index 0000000000..601b471315 --- /dev/null +++ b/packages/gpephone/xoo-vm/gpephone-vm.patch @@ -0,0 +1,84 @@ +Index: src/callbacks.c +=================================================================== +--- src/callbacks.c (revision 1459) ++++ src/callbacks.c (working copy) +@@ -37,10 +37,20 @@ + quit (FakeApp * app) + { + kill (app->xnest_pid, SIGKILL); ++ system ("killall -9 voicecall && rm -f /tmp/.voc.pid"); ++ system ("halt"); /* evil, but it will do the trick */ + gtk_main_quit (); + } + + void ++on_take_screenshot_activate (GtkMenuItem * menuitem, FakeApp * app) ++{ ++ gchar *cmd = g_strdup_printf("DISPLAY=%s gpe-scap", app->xnest_dpy_name); ++ system (cmd); ++ g_free (cmd); ++} ++ ++void + on_quit_activate (GtkMenuItem * menuitem, FakeApp * app) + { + quit (app); +Index: src/callbacks.h +=================================================================== +--- src/callbacks.h (revision 1459) ++++ src/callbacks.h (working copy) +@@ -8,6 +8,8 @@ + + void on_quit_activate (GtkMenuItem * menuitem, FakeApp * app); + ++void on_take_screenshot_activate (GtkMenuItem * menuitem, FakeApp * app); ++ + void on_about_activate (GtkMenuItem * menuitem, FakeApp * app); + + void on_window_destroy (GtkObject * widget, FakeApp * app); +Index: src/main.c +=================================================================== +--- src/main.c (revision 1459) ++++ src/main.c (working copy) +@@ -78,6 +78,9 @@ + glade_xml_signal_connect_data (glade, "on_quit_activate", + (GCallback) on_quit_activate, app); + ++ glade_xml_signal_connect_data (glade, "on_take_screenshot_activate", ++ (GCallback) on_take_screenshot_activate, app); ++ + glade_xml_signal_connect_data (glade, "on_about_activate", + (GCallback) on_about_activate, app); + +Index: data/Xoo.glade +=================================================================== +--- data/Xoo.glade (revision 1459) ++++ data/Xoo.glade (working copy) +@@ -77,11 +77,26 @@ + </child> + + <child> ++ <widget class="GtkMenuItem" id="take_screenshot"> ++ <property name="visible">True</property> ++ <property name="label" translatable="yes">_Screenshot</property> ++ <property name="use_underline">True</property> ++ <signal name="activate" handler="on_take_screenshot_activate" last_modification_time="Sa, 03 Feb 2007 12:08:36 GMT"/> ++ </widget> ++ </child> ++ ++ <child> ++ <widget class="GtkSeparatorMenuItem" id="separatormenuitem1"> ++ <property name="visible">True</property> ++ </widget> ++ </child> ++ ++ <child> + <widget class="GtkImageMenuItem" id="quit"> + <property name="visible">True</property> + <property name="label">gtk-quit</property> + <property name="use_stock">True</property> +- <signal name="activate" handler="on_quit_activate" last_modification_time="Mon, 08 Nov 2004 12:08:36 GMT"/> ++ <signal name="activate" handler="on_quit_activate" last_modification_time="Sa, 03 Feb 2007 12:08:36 GMT"/> + </widget> + </child> + </widget> |