[gimp] app: rename convert-type-dialog.[ch] to convert-indexed-dialog.[ch]
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: rename convert-type-dialog.[ch] to convert-indexed-dialog.[ch]
- Date: Sat, 30 Apr 2016 16:49:36 +0000 (UTC)
commit 5aff776a8af135f24baa533035d1fb4ae710df89
Author: Michael Natterer <mitch gimp org>
Date: Sat Apr 30 18:49:02 2016 +0200
app: rename convert-type-dialog.[ch] to convert-indexed-dialog.[ch]
app/actions/image-commands.c | 10 +++++-----
app/dialogs/Makefile.am | 4 ++--
...vert-type-dialog.c => convert-indexed-dialog.c} | 10 +++++-----
...vert-type-dialog.h => convert-indexed-dialog.h} | 14 +++++++-------
po/POTFILES.in | 2 +-
5 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/app/actions/image-commands.c b/app/actions/image-commands.c
index abc85fe..529832d 100644
--- a/app/actions/image-commands.c
+++ b/app/actions/image-commands.c
@@ -57,8 +57,8 @@
#include "display/gimpdisplayshell.h"
#include "dialogs/color-profile-dialog.h"
+#include "dialogs/convert-indexed-dialog.h"
#include "dialogs/convert-precision-dialog.h"
-#include "dialogs/convert-type-dialog.h"
#include "dialogs/grid-dialog.h"
#include "dialogs/image-merge-layers-dialog.h"
#include "dialogs/image-new-dialog.h"
@@ -223,10 +223,10 @@ image_convert_base_type_cmd_callback (GtkAction *action,
break;
case GIMP_INDEXED:
- dialog = convert_type_dialog_new (image,
- action_data_get_context (data),
- widget,
- GIMP_PROGRESS (display));
+ dialog = convert_indexed_dialog_new (image,
+ action_data_get_context (data),
+ widget,
+ GIMP_PROGRESS (display));
break;
}
diff --git a/app/dialogs/Makefile.am b/app/dialogs/Makefile.am
index 8374b9b..9160631 100644
--- a/app/dialogs/Makefile.am
+++ b/app/dialogs/Makefile.am
@@ -30,10 +30,10 @@ libappdialogs_a_sources = \
color-profile-dialog.h \
color-profile-import-dialog.c \
color-profile-import-dialog.h \
+ convert-indexed-dialog.c \
+ convert-indexed-dialog.h \
convert-precision-dialog.c \
convert-precision-dialog.h \
- convert-type-dialog.c \
- convert-type-dialog.h \
data-delete-dialog.c \
data-delete-dialog.h \
fade-dialog.c \
diff --git a/app/dialogs/convert-type-dialog.c b/app/dialogs/convert-indexed-dialog.c
similarity index 98%
rename from app/dialogs/convert-type-dialog.c
rename to app/dialogs/convert-indexed-dialog.c
index f4f74b7..f93948c 100644
--- a/app/dialogs/convert-type-dialog.c
+++ b/app/dialogs/convert-indexed-dialog.c
@@ -39,7 +39,7 @@
#include "widgets/gimpviewabledialog.h"
#include "widgets/gimpwidgets-utils.h"
-#include "convert-type-dialog.h"
+#include "convert-indexed-dialog.h"
#include "gimp-intl.h"
@@ -89,10 +89,10 @@ static GimpPalette *saved_palette = NULL;
/* public functions */
GtkWidget *
-convert_type_dialog_new (GimpImage *image,
- GimpContext *context,
- GtkWidget *parent,
- GimpProgress *progress)
+convert_indexed_dialog_new (GimpImage *image,
+ GimpContext *context,
+ GtkWidget *parent,
+ GimpProgress *progress)
{
IndexedDialog *dialog;
GtkWidget *button;
diff --git a/app/dialogs/convert-type-dialog.h b/app/dialogs/convert-indexed-dialog.h
similarity index 67%
rename from app/dialogs/convert-type-dialog.h
rename to app/dialogs/convert-indexed-dialog.h
index 509dccc..59c07da 100644
--- a/app/dialogs/convert-type-dialog.h
+++ b/app/dialogs/convert-indexed-dialog.h
@@ -15,14 +15,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __CONVERT_TYPE_DIALOG_H__
-#define __CONVERT_TYPE_DIALOG_H__
+#ifndef __CONVERT_INDEXED_DIALOG_H__
+#define __CONVERT_INDEXED_DIALOG_H__
-GtkWidget * convert_type_dialog_new (GimpImage *image,
- GimpContext *context,
- GtkWidget *parent,
- GimpProgress *progress);
+GtkWidget * convert_indexed_dialog_new (GimpImage *image,
+ GimpContext *context,
+ GtkWidget *parent,
+ GimpProgress *progress);
-#endif /* __CONVERT_TYPE_DIALOG_H__ */
+#endif /* __CONVERT_INDEXED_DIALOG_H__ */
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7d615ac..8138ee9 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -192,8 +192,8 @@ app/dialogs/action-search-dialog.c
app/dialogs/channel-options-dialog.c
app/dialogs/color-profile-dialog.c
app/dialogs/color-profile-import-dialog.c
+app/dialogs/convert-indexed-dialog.c
app/dialogs/convert-precision-dialog.c
-app/dialogs/convert-type-dialog.c
app/dialogs/data-delete-dialog.c
app/dialogs/dialogs-constructors.c
app/dialogs/dialogs.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]