gnome-commander r2452 - in trunk: . doc/C src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2452 - in trunk: . doc/C src
- Date: Mon, 9 Feb 2009 19:38:23 +0000 (UTC)
Author: epiotr
Date: Mon Feb 9 19:38:23 2009
New Revision: 2452
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2452&view=rev
Log:
Fixed problem #570727 (usage of deprecated gnome_url_show)
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/doc/C/gnome-commander.xml
trunk/src/gnome-cmd-user-actions.cc
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Mon Feb 9 19:38:23 2009
@@ -11,6 +11,7 @@
* Fixed problem #554598 (GNOME Goal: LINGUAS)
* Fixed problem #556664 (bookmarks can not be saved for mounted devices)
* Fixed problem #567404 (crash when INSERT pressed over subdir)
+ * Fixed problem #570727 (usage of deprecated gnome_url_show)
* Fixed problem with setting equal pane size in horizontal mode
New features:
Modified: trunk/doc/C/gnome-commander.xml
==============================================================================
--- trunk/doc/C/gnome-commander.xml (original)
+++ trunk/doc/C/gnome-commander.xml Mon Feb 9 19:38:23 2009
@@ -5927,6 +5927,9 @@
<para>Fixed problem #567404 (crash when INSERT pressed over subdir)</para>
</listitem>
<listitem>
+ <para>Fixed problem #570727 (usage of deprecated gnome_url_show)</para>
+ </listitem>
+ <listitem>
<para>Fixed problem with setting equal pane size in horizontal mode</para>
</listitem>
</itemizedlist>
Modified: trunk/src/gnome-cmd-user-actions.cc
==============================================================================
--- trunk/src/gnome-cmd-user-actions.cc (original)
+++ trunk/src/gnome-cmd-user-actions.cc Mon Feb 9 19:38:23 2009
@@ -1567,8 +1567,13 @@
{
GError *error = NULL;
+#if GTK_CHECK_VERSION (2, 14, 0)
+ if (!gtk_show_uri (NULL, "http://www.nongnu.org/gcmd/", GDK_CURRENT_TIME, &error))
+ gnome_cmd_error_message (_("There was an error opening home page."), error);
+#else
if (!gnome_url_show ("http://www.nongnu.org/gcmd/", &error))
gnome_cmd_error_message (_("There was an error opening home page."), error);
+#endif
}
@@ -1576,8 +1581,13 @@
{
GError *error = NULL;
+#if GTK_CHECK_VERSION (2, 14, 0)
+ if (!gtk_show_uri (NULL, "http://bugzilla.gnome.org/browse.cgi?product=gnome-commander", GDK_CURRENT_TIME, &error))
+ gnome_cmd_error_message (_("There was an error reporting problem."), error);
+#else
if (!gnome_url_show("http://bugzilla.gnome.org/browse.cgi?product=gnome-commander", &error))
gnome_cmd_error_message (_("There was an error reporting problem."), error);
+#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]