gnomeradio r214 - in trunk: . src
- From: mfcn svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomeradio r214 - in trunk: . src
- Date: Tue, 11 Nov 2008 21:01:13 +0000 (UTC)
Author: mfcn
Date: Tue Nov 11 21:01:13 2008
New Revision: 214
URL: http://svn.gnome.org/viewvc/gnomeradio?rev=214&view=rev
Log:
* src/gui.c (main):
* src/lirc.c (execute_lirc_command):
Add a lirc command "toggle visible" (patch provided by Grant Petersen);
Fixes #558344
Modified:
trunk/ChangeLog
trunk/src/gui.c
trunk/src/lirc.c
Modified: trunk/src/gui.c
==============================================================================
--- trunk/src/gui.c (original)
+++ trunk/src/gui.c Tue Nov 11 21:01:13 2008
@@ -50,6 +50,8 @@
GtkWidget* mute_button, *preset_combo;
GtkAdjustment *adj;
GtkTooltips *tooltips;
+GtkWidget* app;
+
int mom_ps;
gnomeradio_settings settings;
@@ -1076,7 +1078,6 @@
int main(int argc, char* argv[])
{
- GtkWidget* app;
GList *ptr;
GnomeClient *client;
GError *err = NULL;
Modified: trunk/src/lirc.c
==============================================================================
--- trunk/src/lirc.c (original)
+++ trunk/src/lirc.c Tue Nov 11 21:01:13 2008
@@ -35,6 +35,7 @@
extern GtkWidget* mute_button, *preset_combo;
extern GtkAdjustment *adj;
extern GtkTooltips *tooltips;
+extern GtkWidget *app;
extern int mom_ps;
extern gnomeradio_settings settings;
@@ -86,6 +87,10 @@
{
change_preset(FALSE);
}
+ else if (strcasecmp (cmd, "toggle visible") == 0)
+ {
+ toggle_mainwindow_visibility(app);
+ }
else if (strncasecmp (cmd, "preset ", 7) == 0)
{
int tmp = 0, ret;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]