summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2009-03-18 02:00:05 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2009-03-18 02:00:05 +0000
commite61f0af71d088431277a5c1f6c2e2ea67c0119ba (patch)
tree08daf09486bd0e5fb6b6a44a2be62940cab838d3
parenta38b2ee79492649766a0ceb6ebf0a2cbc4c457e0 (diff)
downloadgnome-applets-e61f0af71d088431277a5c1f6c2e2ea67c0119ba.tar.gz
gnome-applets-e61f0af71d088431277a5c1f6c2e2ea67c0119ba.tar.xz
gnome-applets-e61f0af71d088431277a5c1f6c2e2ea67c0119ba.zip
support https in minicommander
-rw-r--r--gnome-applets.spec9
-rw-r--r--mini-commander-https.patch13
2 files changed, 21 insertions, 1 deletions
diff --git a/gnome-applets.spec b/gnome-applets.spec
index 970db5e..b0ead8d 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -35,7 +35,7 @@
Summary: Small applications for the GNOME panel
Name: gnome-applets
Version: 2.25.92
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
License: GPLv2+ and GFDL
Group: User Interface/Desktops
@@ -61,6 +61,9 @@ Patch40: gnome-applets-null-battstat.patch
# and keep the mixer hidden away from the add to panel dialog
Patch41: gnome-applets-no-mixer-icon.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=575782
+Patch42: minicommander-https.patch
+
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
@@ -144,6 +147,7 @@ and more.
%patch31 -p1 -b .fix-find
%patch40 -p1 -b .battstat-null
%patch41 -p1 -b .no-mixer-icon
+%patch42 -p1 -b .minicommander-https
# We don't ship gnome-system-tools
rm -rf modemlights
@@ -338,6 +342,9 @@ fi
%{_datadir}/PolicyKit/policy/org.gnome.cpufreqselector.policy
%changelog
+* Tue Mar 17 2009 Matthias Clasen <mclasen@redhat.com> - 1:2.25.92-2
+- Support https in minicommander (#490387)
+
* Mon Mar 2 2009 Matthias Clasen <mclasen@redhat.com> - 1:2.25.92-1
- Update to 2.25.92
diff --git a/mini-commander-https.patch b/mini-commander-https.patch
new file mode 100644
index 0000000..117a9aa
--- /dev/null
+++ b/mini-commander-https.patch
@@ -0,0 +1,13 @@
+diff -up gnome-applets-2.25.92/mini-commander/src/mc-default-macros.h.https gnome-applets-2.25.92/mini-commander/src/mc-default-macros.h
+--- gnome-applets-2.25.92/mini-commander/src/mc-default-macros.h.https 2009-03-17 21:53:14.032776258 -0400
++++ gnome-applets-2.25.92/mini-commander/src/mc-default-macros.h 2009-03-17 21:54:05.907524832 -0400
+@@ -39,7 +39,7 @@ typedef struct {
+ * installed into the schemas.
+ */
+ static const MCDefaultMacro mc_default_macros [] = {
+- { "^(http://.*)$", "gnome-open \\1" },
++ { "^(https?://.*)$", "gnome-open \\1" },
+ { "^(ftp://.*)", "gnome-open \\1" },
+ { "^(www\\..*)$", "gnome-open http://\\1" },
+ { "^(ftp\\..*)$", "gnome-open ftp://\\1" },
+diff -up gnome-applets-2.25.92/mini-commander/src/mc-install-default-macros.c.https gnome-applets-2.25.92/mini-commander/src/mc-install-default-macros.c