Compare commits

..

No commits in common. "master" and "enlightenment-0.18" have entirely different histories.

5 changed files with 30 additions and 63 deletions

47
.gitignore vendored
View File

@ -1,47 +0,0 @@
*~
*.o
*.lo
*.la
ABOUT-NLS
Makefile
Makefile.in
aclocal.m4
autom4te.cache/
config.guess
config.h
config.h.in
config.log
config.rpath
config.status
config.sub
configure
depcomp
e-module-mem.edj
e_modules-mem.spec
install-sh
libtool
ltmain.sh
m4/*.m4
mem.edj
missing
mkinstalldirs
module.desktop
po/*.gmo
po/Makefile
po/Makefile.in
po/Makefile.in.in
po/Makevars.template
po/POTFILES
po/Rules-quot
po/boldquot.sed
po/en@boldquot.header
po/en@quot.header
po/insert-header.sin
po/mem.pot
po/quot.sed
po/remove-potcdate.sed
po/remove-potcdate.sin
po/stamp-po
src/.deps/
src/.libs/
stamp-h1

View File

@ -2,12 +2,24 @@
Encoding=UTF-8
Type=Link
Name=Mem
Name[Name]=Mem
Name[ab]=
Name[ca]=
Name[cs]=
Name[de]=
Name[el]=Μνήμη
Name[eo]=Memoro
Name[es]=
Name[fr]=Mémoire
Name[gl]=
Name[hu]=Memória
Name[it]=
Name[ja]=
Name[ko]=
Name[pt]=Memória
Name[ru]=Память
Name[sr]=
Name[tr]=
Comment=Used to monitor memory utilization.
Comment[cs]=Zobrazí využití paměti.
Comment[el]=Χρησιμοποιείται για την παρατήρηση της μνήμης.

View File

@ -11,45 +11,45 @@ msgstr ""
"Last-Translator: Stanislav Sedov <Unknown>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Параметры модуля mem"
msgstr "Параметры модуля mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Основные параметры"
msgstr "Основные параметры"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Всегда отображать текстовые подписи"
msgstr "Всегда отображать текстовые подписи"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Отображать текстовые подписи при наведении указателя мыши"
msgstr "Отображать текстовые подписи при наведении указателя мыши"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Отображать значения в процентах"
msgstr "Отображать значения в процентах"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Игнорировать память в буферах"
msgstr "Игнорировать память в буферах"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Игнорировать память для кеша"
msgstr "Игнорировать память для кеша"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Интервал проверки:"
msgstr "Интервал проверки:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f секунд(ы)"
msgstr "%1.0f секунд(ы)"
#: ../src/e_mod_main.c:105
msgid "Mem"
@ -57,10 +57,10 @@ msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Настройка"
msgstr "Настройка"
#~ msgid "Enlightenment Mem Monitor Module"
#~ msgstr "Модуль слежения за памятью"
#~ msgstr "Модуль слежения за памятью"
#~ msgid "This module is used to monitor memory."
#~ msgstr "Этот модуль используется для слежения за состоянием памяти."
#~ msgstr "Этот модуль используется для слежения за состоянием памяти."

View File

@ -27,6 +27,7 @@ _config_mem_module (Config_Item * ci)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
E_Container *con;
char buf[4096];
v = E_NEW (E_Config_Dialog_View, 1);
@ -38,7 +39,8 @@ _config_mem_module (Config_Item * ci)
snprintf (buf, sizeof (buf), "%s/e-module-mem.edj",
e_module_dir_get (mem_config->module));
cfd = e_config_dialog_new (NULL, D_ ("Mem Settings"), "Mem",
con = e_container_current_get (e_manager_current_get ());
cfd = e_config_dialog_new (con, D_ ("Mem Settings"), "Mem",
"_e_modules_mem_config_dialog", buf, 0, v, ci);
mem_config->config_dialog = cfd;
}

View File

@ -169,8 +169,8 @@ _mem_cb_mouse_down (void *data, Evas * e, Evas_Object * obj, void *event_info)
e_gadcon_canvas_zone_geometry_get (inst->gcc->gadcon, &x, &y, &w, &h);
e_menu_activate_mouse (m,
e_zone_current_get(),
x + ev->output.x,
e_util_zone_current_get (e_manager_current_get
()), x + ev->output.x,
y + ev->output.y, 1, 1,
E_MENU_POP_DIRECTION_AUTO, ev->timestamp);
evas_event_feed_mouse_up (inst->gcc->gadcon->evas, ev->button,