Skip to content

Commit

Permalink
Maintenence and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AkselMeola committed Aug 30, 2020
1 parent 26aaf93 commit 14912e8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
6 changes: 5 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,13 @@ $(TARGET): $(OBJ)
clean:
rm -f $(TARGET) $(OBJECTS)/*.o *~ core $(INCDIR)/*~

install:
install-user:
cp purplecron.so $(HOME)/.purple/plugins/

# How the fuck to figure out the lib64 and lib usage ???
install:
cp purplecron.so /usr/lib/purple-2/.purple/plugins/

try:
-purple-remote quit
cp purplecron.so $(HOME)/.purple/plugins/
Expand Down
23 changes: 0 additions & 23 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,29 +290,6 @@ get_plugin_pref_frame(PurplePlugin *plugin)
purple_plugin_pref_set_bounds(pref, 5, 3600);
purple_plugin_pref_frame_add(frame, pref);

/*
pref = purple_plugin_pref_new_with_name_and_label(PREF_STRANGER,
_("When a file-transfer request arrives from a user who is\n"
"*not* on your buddy list:"));
purple_plugin_pref_set_type(pref, PURPLE_PLUGIN_PREF_CHOICE);
purple_plugin_pref_add_choice(pref, _("Ask"), GINT_TO_POINTER(FT_ASK));
purple_plugin_pref_add_choice(pref, _("Auto Accept"), GINT_TO_POINTER(FT_ACCEPT));
purple_plugin_pref_add_choice(pref, _("Auto Reject"), GINT_TO_POINTER(FT_REJECT));
purple_plugin_pref_frame_add(frame, pref);
pref = purple_plugin_pref_new_with_name_and_label(PREF_NOTIFY,
_("Notify with a popup when an autoaccepted file transfer is complete\n"
"(only when there's no conversation with the sender)"));
purple_plugin_pref_frame_add(frame, pref);
pref = purple_plugin_pref_new_with_name_and_label(PREF_NEWDIR,
_("Create a new directory for each user"));
purple_plugin_pref_frame_add(frame, pref);
pref = purple_plugin_pref_new_with_name_and_label(PREF_ESCAPE,
_("Escape the filenames"));
purple_plugin_pref_frame_add(frame, pref);
*/
return frame;
}

Expand Down
Empty file added src/obj/.gitkeep
Empty file.

0 comments on commit 14912e8

Please sign in to comment.