diff options
-rw-r--r-- | plugins/NewStory/src/history_array.h | 5 | ||||
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 17 | ||||
-rw-r--r-- | plugins/NewStory/src/templates.cpp | 6 | ||||
-rw-r--r-- | plugins/NewStory/src/templates.h | 1 |
4 files changed, 0 insertions, 29 deletions
diff --git a/plugins/NewStory/src/history_array.h b/plugins/NewStory/src/history_array.h index bf688aefdb..32582b5b8f 100644 --- a/plugins/NewStory/src/history_array.h +++ b/plugins/NewStory/src/history_array.h @@ -92,7 +92,6 @@ public: OUTGOING = 0x002, MESSAGES = 0x004, FILES = 0x008, - URLS = 0x010, STATUS = 0x020, OTHER = 0x040, EVENTTEXT = 0x080, @@ -147,10 +146,6 @@ public: if (!(flags & FILES)) return false; break; - case EVENTTYPE_URL: - if (!(flags & URLS)) - return false; - break; case EVENTTYPE_STATUSCHANGE: if (!(flags & STATUS)) return false; diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 181d1db10d..5da4a8009d 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -728,12 +728,6 @@ static void BeginEditItem(HWND hwnd, NewstoryListData *data, int index) colorid = !(item->dbe.flags&DBEF_SENT) ? COLOR_INFILE : COLOR_OUTFILE; break; - case EVENTTYPE_URL: - tpl = TPL_COPY_URL; - fontid = !(item->dbe.flags&DBEF_SENT) ? FONT_INURL : FONT_OUTURL; - colorid = !(item->dbe.flags&DBEF_SENT) ? COLOR_INURL : COLOR_OUTURL; - break; - case EVENTTYPE_STATUSCHANGE: tpl = TPL_COPY_SIGN; fontid = FONT_STATUS; @@ -804,11 +798,6 @@ static int LayoutItem(HWND hwnd, HistoryArray *items, int index) fontid = !(item->dbe.flags&DBEF_SENT) ? FONT_INFILE : FONT_OUTFILE; break; - case EVENTTYPE_URL: - tpl = TPL_URL; - fontid = !(item->dbe.flags&DBEF_SENT) ? FONT_INURL : FONT_OUTURL; - break; - case EVENTTYPE_STATUSCHANGE: tpl = TPL_SIGN; fontid = FONT_STATUS; @@ -870,12 +859,6 @@ static int PaintItem(HDC hdc, HistoryArray *items, int index, int top, int width colorid = !(item->dbe.flags&DBEF_SENT) ? COLOR_INFILE : COLOR_OUTFILE; break; - case EVENTTYPE_URL: - tpl = TPL_URL; - fontid = !(item->dbe.flags&DBEF_SENT) ? FONT_INURL : FONT_OUTURL; - colorid = !(item->dbe.flags&DBEF_SENT) ? COLOR_INURL : COLOR_OUTURL; - break; - case EVENTTYPE_STATUSCHANGE: tpl = TPL_SIGN; fontid = FONT_STATUS; diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp index d388a2c9f3..da74186b59 100644 --- a/plugins/NewStory/src/templates.cpp +++ b/plugins/NewStory/src/templates.cpp @@ -34,9 +34,6 @@ TemplateInfo templates[TPL_COUNT] = { "tpl/msglog/file", _T("Message Log"), ICO_FILE, _T("Files"), _T("%I%i[b]%N, %t:[/b]%n%M"), 0, 0, { vfGlobal, vfContact, vfEvent, vfFile, 0 } }, - { "tpl/msglog/url", _T("Message Log"), ICO_URL, _T("URLs"), - _T("%I%i[b]%N, %t:[/b]%n%M"), 0, 0, - { vfGlobal, vfContact, vfEvent, vfUrl, 0 } }, { "tpl/msglog/status", _T("Message Log"), ICO_SIGNIN, _T("Status Changes"), _T("%I%i[b]%N, %t:[/b]%n%M"), 0, 0, { vfGlobal, vfContact, vfEvent, vfSign, 0 } }, @@ -276,9 +273,6 @@ void vfEvent(int, TemplateVars *vars, MCONTACT, HistoryArray::ItemData *item) case EVENTTYPE_FILE: hIcon = GetIcon(ICO_FILE); break; - case EVENTTYPE_URL: - hIcon = GetIcon(ICO_URL); - break; case EVENTTYPE_STATUSCHANGE: hIcon = GetIcon(ICO_SIGNIN); break; diff --git a/plugins/NewStory/src/templates.h b/plugins/NewStory/src/templates.h index 95cbe8f8e9..afa00189df 100644 --- a/plugins/NewStory/src/templates.h +++ b/plugins/NewStory/src/templates.h @@ -42,7 +42,6 @@ enum TPL_MESSAGE, TPL_FILE, - TPL_URL, TPL_SIGN, TPL_OTHER, |