From 3b28138c7112af33ea73c64cfcca2d38328da515 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Thu, 20 Jan 2011 19:57:42 +0000 Subject: [PATCH] (trunk) #3926: use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients -- change the filename from add-dialog.[ch] to open-dialog.[ch]. whoooo --- gtk/Makefile.am | 4 ++-- gtk/main.c | 2 +- gtk/{add-dialog.c => open-dialog.c} | 2 +- gtk/{add-dialog.h => open-dialog.h} | 0 po/POTFILES.in | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename gtk/{add-dialog.c => open-dialog.c} (99%) rename gtk/{add-dialog.h => open-dialog.h} (100%) diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 45b8a3fd8..462c3830a 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -31,7 +31,6 @@ AM_LDFLAGS = \ noinst_HEADERS = \ actions.h \ - add-dialog.h \ conf.h \ details.h \ dialogs.h \ @@ -49,6 +48,7 @@ noinst_HEADERS = \ makemeta-ui.h \ msgwin.h \ notify.h \ + open-dialog.h \ relocate.h \ stats.h \ torrent-cell-renderer.h \ @@ -67,7 +67,6 @@ dbus_generated_sources = tr-core-dbus.h transmission_gtk_SOURCES = \ actions.c \ - add-dialog.c \ conf.c \ details.c \ dialogs.c \ @@ -80,6 +79,7 @@ transmission_gtk_SOURCES = \ makemeta-ui.c \ msgwin.c \ notify.c \ + open-dialog.c \ relocate.c \ stats.c \ torrent-cell-renderer.c \ diff --git a/gtk/main.c b/gtk/main.c index 1cce564a0..9b40feb68 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -49,7 +49,6 @@ #include #include "actions.h" -#include "add-dialog.h" #include "conf.h" #include "details.h" #include "dialogs.h" @@ -57,6 +56,7 @@ #include "makemeta-ui.h" #include "msgwin.h" #include "notify.h" +#include "open-dialog.h" #include "relocate.h" #include "stats.h" #include "tr-core.h" diff --git a/gtk/add-dialog.c b/gtk/open-dialog.c similarity index 99% rename from gtk/add-dialog.c rename to gtk/open-dialog.c index b3b76e2ce..2024905b9 100644 --- a/gtk/add-dialog.c +++ b/gtk/open-dialog.c @@ -18,10 +18,10 @@ #include #include /* tr_is_same_file() */ -#include "add-dialog.h" #include "conf.h" #include "file-list.h" #include "hig.h" +#include "open-dialog.h" #include "tr-prefs.h" /**** diff --git a/gtk/add-dialog.h b/gtk/open-dialog.h similarity index 100% rename from gtk/add-dialog.h rename to gtk/open-dialog.h diff --git a/po/POTFILES.in b/po/POTFILES.in index cc027a6fb..be02504da 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,6 +1,5 @@ [encoding: UTF-8] gtk/actions.c -gtk/add-dialog.c gtk/conf.c gtk/details.c gtk/dialogs.c @@ -11,6 +10,7 @@ gtk/main.c gtk/makemeta-ui.c gtk/msgwin.c gtk/notify.c +gtk/open-dialog.c gtk/relocate.c gtk/stats.c gtk/torrent-cell-renderer.c -- 2.40.0