Commit 88373c4d authored by Lucas Rocha's avatar Lucas Rocha Committed by Lucas Almeida Rocha

general code cleanup and marked strings for proper translation. change

2007-11-13  Lucas Rocha  <lucasr@gnome.org>

	* plugin/postr/eog-postr-plugin.c,
	plugins/postr/postr.eog-plugin.desktop.in: general code cleanup and marked
	strings for proper translation.
	* MAINTAINERS: change file to official format.

svn path=/trunk/; revision=5
parent 06c2b298
2007-11-13 Lucas Rocha <lucasr@gnome.org>
* plugin/postr/eog-postr-plugin.c,
plugins/postr/postr.eog-plugin.desktop.in: general code cleanup and marked
strings for proper translation.
* MAINTAINERS: change file to official format.
2007-08-06 Lucas Rocha <lucasr@gnome.org>
* Initial import.
Lucas Rocha <lucasr@gnome.org>
Lucas Rocha
E-mail: lucasr@gnome.org
Userid: lucasr
......@@ -19,11 +19,11 @@ libpostr_la_LDFLAGS = \
# Plugin Info
plugin_in_files = postr.eog-plugin.in
plugin_in_files = postr.eog-plugin.desktop.in
%.eog-plugin: %.eog-plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
%.eog-plugin: %.eog-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.eog-plugin.in=.eog-plugin)
plugin_DATA = $(plugin_in_files:.eog-plugin.desktop.in=.eog-plugin)
EXTRA_DIST = $(plugin_in_files)
......
......@@ -4,8 +4,6 @@
#include "eog-postr-plugin.h"
#include <string.h> /* For strlen (...) */
#include <gmodule.h>
#include <glib/gi18n-lib.h>
......@@ -47,9 +45,9 @@ static const GtkActionEntry action_entries[] =
{
{ "RunPostr",
"postr",
"Upload to Flickr",
N_("Upload to Flickr"),
NULL,
"Upload your pictures to Flickr",
N_("Upload your pictures to Flickr"),
G_CALLBACK (postr_cb) }
};
......@@ -65,29 +63,6 @@ free_window_data (WindowData *data)
g_free (data);
}
static void
update_ui_real (EogWindow *window,
WindowData *data)
{
#if 0
EogView *view;
eog_debug (DEBUG_PLUGINS);
view = eog_window_get_active_view (window);
gtk_action_group_set_sensitive (data->ui_action_group,
(view != NULL));
if (data->dialog != NULL)
{
gtk_dialog_set_response_sensitive (GTK_DIALOG (data->dialog->dialog),
GTK_RESPONSE_OK,
(view != NULL));
}
#endif
}
static void
eog_postr_plugin_init (EogPostrPlugin *plugin)
{
......@@ -141,8 +116,6 @@ impl_activate (EogPlugin *plugin,
"RunPostr",
GTK_UI_MANAGER_MENUITEM,
FALSE);
update_ui_real (window, data);
}
static void
......
......@@ -3,7 +3,7 @@ Module=postr
IAge=2
_Name=Flickr Uploader
Icon=postr
_Description=Upload your photos to Flickr.
_Description=Upload your pictures to Flickr
Authors=Lucas Rocha <lucasr@gnome.org>
Copyright=Copyright © 2007 Lucas Rocha
Website=http://www.gnome.org/projects/eog
plugins/postr/postr.eog-plugin.in
plugins/postr/postr.eog-plugin.desktop.in
plugins/postr/eog-postr-plugin.c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment