Removed "medit" stock icon

master
Yevgen Muntyan 2008-09-09 21:10:43 -05:00
parent e5b1f5f445
commit ee5e5d6325
6 changed files with 4 additions and 14 deletions

View File

@ -238,7 +238,7 @@ get_unused_bookmark_no (MooEdit *edit)
{
guint i;
const GSList *list;
char used[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
char used[10] = {0};
list = moo_edit_list_bookmarks (edit);

View File

@ -71,7 +71,6 @@ _moo_utils_mod_init (void)
add_constant (mod, "GETTEXT_PACKAGE", GETTEXT_PACKAGE);
add_constant (mod, "STOCK_MEDIT", MOO_STOCK_MEDIT);
add_constant (mod, "STOCK_TERMINAL", MOO_STOCK_TERMINAL);
add_constant (mod, "STOCK_KEYBOARD", MOO_STOCK_KEYBOARD);
add_constant (mod, "STOCK_RESTART", MOO_STOCK_RESTART);

View File

@ -147,7 +147,6 @@ mooutils_sources = \
moowindow.h \
stock-file-24.h \
stock-file-selector-24.h \
stock-medit.h \
stock-select-all-16.h \
stock-select-all-24.h \
stock-terminal-24.h
@ -191,8 +190,8 @@ mooutils_pixmaps = \
$(srcdir)/pixmaps/keepontop.png \
$(srcdir)/pixmaps/sticky.png
CLEANFILES += stock-moo.h stock-medit.h
BUILT_SOURCES += stock-moo.h stock-medit.h
CLEANFILES += stock-moo.h
BUILT_SOURCES += stock-moo.h
stock-moo.h: $(mooutils_pixmaps)
$(GDK_PIXBUF_CSOURCE) --static --build-list \
MOO_HIDE_ICON $(srcdir)/pixmaps/hide.png \
@ -202,10 +201,6 @@ stock-moo.h: $(mooutils_pixmaps)
MOO_ATTACH_ICON $(srcdir)/pixmaps/attach.png \
MOO_KEEP_ON_TOP_ICON $(srcdir)/pixmaps/keepontop.png \
> $@.tmp && mv $@.tmp $@
stock-medit.h: pixmaps/medit.png
$(GDK_PIXBUF_CSOURCE) --static --build-list \
MEDIT_ICON $(srcdir)/pixmaps/medit.png \
> $@.tmp && mv $@.tmp $@
libmooutils_SOURCES_ = $(mooutils_sources)
nodist_libmooutils_SOURCES_ = marshals.c

View File

@ -18,7 +18,6 @@
#include "mooutils/stock-terminal-24.h"
#include "mooutils/stock-file-selector-24.h"
#include "mooutils/stock-file-24.h"
#include "stock-medit.h"
#include "mooutils/mooi18n.h"
#include <gtk/gtk.h>
#include <string.h>
@ -223,8 +222,6 @@ _moo_stock_init (void)
add_icon (factory, MOO_STOCK_TERMINAL, "terminal", 24, MOO_GNOME_TERMINAL_ICON);
add_icon (factory, MOO_STOCK_MEDIT, "medit", 24, MEDIT_ICON);
#if !GTK_CHECK_VERSION(2,10,0)
add_icon2 (factory, GTK_STOCK_SELECT_ALL, "edit-select-all",
24, STOCK_SELECT_ALL_24, 16, STOCK_SELECT_ALL_16);

View File

@ -22,7 +22,6 @@
G_BEGIN_DECLS
#define MOO_STOCK_MEDIT "moo-medit"
#define MOO_STOCK_TERMINAL "moo-terminal"
#define MOO_STOCK_KEYBOARD GTK_STOCK_SELECT_FONT
#define MOO_STOCK_MENU GTK_STOCK_INDEX

View File

@ -59,7 +59,7 @@ def main(argv):
website="http://mooedit.sourceforge.net/",
website_label="http://mooedit.sourceforge.net/",
default_ui=ui,
logo=moo.utils.STOCK_MEDIT)
logo="medit")
if (not new_instance and app.send_files(files)) or not app.init():
gtk.gdk.notify_startup_complete()