Revision: 5034
http://geany.svn.sourceforge.net/geany/?rev=5034&view=rev
Author: statc
Date: 2010-06-17 14:52:29 +0000 (Thu, 17 Jun 2010)
Log Message:
-----------
Update copyright information
Modified Paths:
--------------
branches/sm/src/sm.c
branches/sm/src/sm.h
Modified: branches/sm/src/sm.c
===================================================================
--- branches/sm/src/sm.c 2010-06-17 14:52:09 UTC (rev 5033)
+++ branches/sm/src/sm.c 2010-06-17 14:52:29 UTC (rev 5034)
@@ -1,7 +1,7 @@
/*
* sm.c - this file is part of Geany, a fast and lightweight IDE
*
- * Copyright 2009 Eugene Arshinov <earshinov(at)gmail(dot)com>
+ * Copyright 2009-2010 Eugene Arshinov <earshinov(at)gmail(dot)com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: branches/sm/src/sm.h
===================================================================
--- branches/sm/src/sm.h 2010-06-17 14:52:09 UTC (rev 5033)
+++ branches/sm/src/sm.h 2010-06-17 14:52:29 UTC (rev 5034)
@@ -1,7 +1,7 @@
/*
* sm.h - this file is part of Geany, a fast and lightweight IDE
*
- * Copyright 2009 Eugene Arshinov <earshinov(at)gmail(dot)com>
+ * Copyright 2009-2010 Eugene Arshinov <earshinov(at)gmail(dot)com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5033
http://geany.svn.sourceforge.net/geany/?rev=5033&view=rev
Author: statc
Date: 2010-06-17 14:52:09 +0000 (Thu, 17 Jun 2010)
Log Message:
-----------
Stupid fix to use gdk_set_sm_client_id() properly
Modified Paths:
--------------
branches/sm/src/sm.c
Modified: branches/sm/src/sm.c
===================================================================
--- branches/sm/src/sm.c 2010-06-17 14:51:49 UTC (rev 5032)
+++ branches/sm/src/sm.c 2010-06-17 14:52:09 UTC (rev 5033)
@@ -138,12 +138,13 @@
if (smc_conn)
return;
- gdk_set_sm_client_id(libsm_client_id);
smc_conn = sm_connect(libsm_client_id, &new_client_id);
if (!smc_conn)
return;
+ gdk_set_sm_client_id(new_client_id);
+
sm_store_props(argv0, new_client_id);
sm_set_constant_props(smc_conn);
free(new_client_id);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5027
http://geany.svn.sourceforge.net/geany/?rev=5027&view=rev
Author: ntrel
Date: 2010-06-16 15:26:04 +0000 (Wed, 16 Jun 2010)
Log Message:
-----------
Remove template strings (not sure why gcc doesn't warn about unused static data?).
Modified Paths:
--------------
trunk/src/templates.c
Modified: trunk/src/templates.c
===================================================================
--- trunk/src/templates.c 2010-06-16 15:22:56 UTC (rev 5026)
+++ trunk/src/templates.c 2010-06-16 15:26:04 UTC (rev 5027)
@@ -46,75 +46,7 @@
static GtkWidget *new_with_template_menu = NULL; /* submenu used for both file menu and toolbar */
-
-/* TODO: implement custom insertion templates, put these into files in data/templates */
-
-/* default templates, only for initial tempate file creation on first start of Geany */
-static const gchar templates_gpl_notice[] = "\
-This program is free software; you can redistribute it and/or modify\n\
-it under the terms of the GNU General Public License as published by\n\
-the Free Software Foundation; either version 2 of the License, or\n\
-(at your option) any later version.\n\
-\n\
-This program is distributed in the hope that it will be useful,\n\
-but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\
-GNU General Public License for more details.\n\
-\n\
-You should have received a copy of the GNU General Public License\n\
-along with this program; if not, write to the Free Software\n\
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,\n\
-MA 02110-1301, USA.\n\
-";
-
-static const gchar templates_bsd_notice[] = "\
-Redistribution and use in source and binary forms, with or without\n\
-modification, are permitted provided that the following conditions are\n\
-met:\n\
-\n\
-* Redistributions of source code must retain the above copyright\n\
- notice, this list of conditions and the following disclaimer.\n\
-* Redistributions in binary form must reproduce the above\n\
- copyright notice, this list of conditions and the following disclaimer\n\
- in the documentation and/or other materials provided with the\n\
- distribution.\n\
-* Neither the name of the {company} nor the names of its\n\
- contributors may be used to endorse or promote products derived from\n\
- this software without specific prior written permission.\n\
-\n\
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\
-\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\
-";
-
-static const gchar templates_function_description[] = "\
-\n\
-name: {functionname}\n\
-@param\n\
-@return\n\
-";
-
-static const gchar templates_fileheader[] = "\
-{filename}\n\
-\n\
-Copyright {year} {developer} <{mail}>\n\
-\n\
-{gpl}\
-";
-
-static const gchar templates_changelog[] = "\
-{date} {developer} <{mail}>\n\
-\n\
- * \n\n\n";
-
+/* TODO: implement custom insertion templates instead? */
static gchar *templates[GEANY_MAX_TEMPLATES];
/* We should probably remove filetype templates support soon - users can use custom
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5026
http://geany.svn.sourceforge.net/geany/?rev=5026&view=rev
Author: ntrel
Date: 2010-06-16 15:22:56 +0000 (Wed, 16 Jun 2010)
Log Message:
-----------
Remove completed branch.
Removed Paths:
-------------
branches/unstable/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.